Skip to content

Commit 1be133f

Browse files
chore: generate libraries at Fri Mar 22 03:08:47 UTC 2024 (#10603)
1 parent 6f3f978 commit 1be133f

File tree

280 files changed

+43124
-7744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

280 files changed

+43124
-7744
lines changed

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gapic_generator_version: 2.38.1
22
protobuf_version: '25.2'
3-
googleapis_commitish: 7aad45192aa74cb8fc874fe27c3abac56bf1a200
3+
googleapis_commitish: 5e2ca445cd8fd09440fbc7d296fa9b3e78effb68
44
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
55
synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5
66
template_excludes:

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,7 @@ public final GenerateContentResponse generateContent(String model, List<Content>
15171517
* .setModel("model104069929")
15181518
* .addAllContents(new ArrayList<Content>())
15191519
* .addAllTools(new ArrayList<Tool>())
1520+
* .setToolConfig(ToolConfig.newBuilder().build())
15201521
* .addAllSafetySettings(new ArrayList<SafetySetting>())
15211522
* .setGenerationConfig(GenerationConfig.newBuilder().build())
15221523
* .build();
@@ -1549,6 +1550,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ
15491550
* .setModel("model104069929")
15501551
* .addAllContents(new ArrayList<Content>())
15511552
* .addAllTools(new ArrayList<Tool>())
1553+
* .setToolConfig(ToolConfig.newBuilder().build())
15521554
* .addAllSafetySettings(new ArrayList<SafetySetting>())
15531555
* .setGenerationConfig(GenerationConfig.newBuilder().build())
15541556
* .build();
@@ -1582,6 +1584,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ
15821584
* .setModel("model104069929")
15831585
* .addAllContents(new ArrayList<Content>())
15841586
* .addAllTools(new ArrayList<Tool>())
1587+
* .setToolConfig(ToolConfig.newBuilder().build())
15851588
* .addAllSafetySettings(new ArrayList<SafetySetting>())
15861589
* .setGenerationConfig(GenerationConfig.newBuilder().build())
15871590
* .build();

java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6083,6 +6083,33 @@
60836083
"allDeclaredClasses": true,
60846084
"allPublicClasses": true
60856085
},
6086+
{
6087+
"name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig",
6088+
"queryAllDeclaredConstructors": true,
6089+
"queryAllPublicConstructors": true,
6090+
"queryAllDeclaredMethods": true,
6091+
"allPublicMethods": true,
6092+
"allDeclaredClasses": true,
6093+
"allPublicClasses": true
6094+
},
6095+
{
6096+
"name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig$Builder",
6097+
"queryAllDeclaredConstructors": true,
6098+
"queryAllPublicConstructors": true,
6099+
"queryAllDeclaredMethods": true,
6100+
"allPublicMethods": true,
6101+
"allDeclaredClasses": true,
6102+
"allPublicClasses": true
6103+
},
6104+
{
6105+
"name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig$Mode",
6106+
"queryAllDeclaredConstructors": true,
6107+
"queryAllPublicConstructors": true,
6108+
"queryAllDeclaredMethods": true,
6109+
"allPublicMethods": true,
6110+
"allDeclaredClasses": true,
6111+
"allPublicClasses": true
6112+
},
60866113
{
60876114
"name": "com.google.cloud.aiplatform.v1beta1.FunctionDeclaration",
60886115
"queryAllDeclaredConstructors": true,
@@ -14228,6 +14255,24 @@
1422814255
"allDeclaredClasses": true,
1422914256
"allPublicClasses": true
1423014257
},
14258+
{
14259+
"name": "com.google.cloud.aiplatform.v1beta1.ToolConfig",
14260+
"queryAllDeclaredConstructors": true,
14261+
"queryAllPublicConstructors": true,
14262+
"queryAllDeclaredMethods": true,
14263+
"allPublicMethods": true,
14264+
"allDeclaredClasses": true,
14265+
"allPublicClasses": true
14266+
},
14267+
{
14268+
"name": "com.google.cloud.aiplatform.v1beta1.ToolConfig$Builder",
14269+
"queryAllDeclaredConstructors": true,
14270+
"queryAllPublicConstructors": true,
14271+
"queryAllDeclaredMethods": true,
14272+
"allPublicMethods": true,
14273+
"allDeclaredClasses": true,
14274+
"allPublicClasses": true
14275+
},
1423114276
{
1423214277
"name": "com.google.cloud.aiplatform.v1beta1.TrainingConfig",
1423314278
"queryAllDeclaredConstructors": true,

java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ public void streamGenerateContentTest() throws Exception {
963963
.setModel("model104069929")
964964
.addAllContents(new ArrayList<Content>())
965965
.addAllTools(new ArrayList<Tool>())
966+
.setToolConfig(ToolConfig.newBuilder().build())
966967
.addAllSafetySettings(new ArrayList<SafetySetting>())
967968
.setGenerationConfig(GenerationConfig.newBuilder().build())
968969
.build();
@@ -987,6 +988,7 @@ public void streamGenerateContentExceptionTest() throws Exception {
987988
.setModel("model104069929")
988989
.addAllContents(new ArrayList<Content>())
989990
.addAllTools(new ArrayList<Tool>())
991+
.setToolConfig(ToolConfig.newBuilder().build())
990992
.addAllSafetySettings(new ArrayList<SafetySetting>())
991993
.setGenerationConfig(GenerationConfig.newBuilder().build())
992994
.build();

0 commit comments

Comments
 (0)