diff --git a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java index dcd3fa135d65..76a669f4892d 100644 --- a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java +++ b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java @@ -1408,6 +1408,7 @@ public final GenerateContentResponse generateContent(String model, List * GenerateContentRequest.newBuilder() * .setModel("model104069929") * .addAllContents(new ArrayList()) + * .setSystemInstruction(Content.newBuilder().build()) * .addAllTools(new ArrayList()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) @@ -1440,6 +1441,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ * GenerateContentRequest.newBuilder() * .setModel("model104069929") * .addAllContents(new ArrayList()) + * .setSystemInstruction(Content.newBuilder().build()) * .addAllTools(new ArrayList()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) @@ -1473,6 +1475,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ * GenerateContentRequest.newBuilder() * .setModel("model104069929") * .addAllContents(new ArrayList()) + * .setSystemInstruction(Content.newBuilder().build()) * .addAllTools(new ArrayList()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) diff --git a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonEndpointServiceStub.java b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonEndpointServiceStub.java index ea2859a0878b..3984c86e3db5 100644 --- a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonEndpointServiceStub.java +++ b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonEndpointServiceStub.java @@ -828,6 +828,11 @@ protected HttpJsonEndpointServiceStub( .setPost( "/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setPost( + "/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setPost( @@ -1002,6 +1007,11 @@ protected HttpJsonEndpointServiceStub( .setPost( "/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setPost( + "/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setPost( @@ -1192,6 +1202,11 @@ protected HttpJsonEndpointServiceStub( .setDelete( "/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setDelete( + "/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setDelete( @@ -1396,6 +1411,11 @@ protected HttpJsonEndpointServiceStub( .setDelete( "/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setDelete( + "/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setDelete( @@ -1598,6 +1618,11 @@ protected HttpJsonEndpointServiceStub( .setGet( "/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setGet( + "/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setGet("/ui/{name=projects/*/locations/*/studies/*/operations/*}") @@ -1802,6 +1827,11 @@ protected HttpJsonEndpointServiceStub( .setGet( "/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setGet( + "/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setGet( @@ -2009,6 +2039,11 @@ protected HttpJsonEndpointServiceStub( .setGet( "/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setGet( + "/ui/{name=projects/*/locations/*/persistentResources/*}/operations") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setGet( @@ -2131,7 +2166,7 @@ protected HttpJsonEndpointServiceStub( .build()) .addAdditionalBindings( HttpRule.newBuilder() - .setGet("/ui/{name=projects/*/locations/*/tuningJobs/*}/operations") + .setGet("/v1/{name=projects/*/locations/*/tuningJobs/*}/operations") .build()) .addAdditionalBindings( HttpRule.newBuilder() @@ -2195,6 +2230,11 @@ protected HttpJsonEndpointServiceStub( .setGet( "/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setGet( + "/v1/{name=projects/*/locations/*/persistentResources/*}/operations") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setGet( @@ -2409,6 +2449,11 @@ protected HttpJsonEndpointServiceStub( .setPost( "/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setPost( + "/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setPost( @@ -2598,6 +2643,11 @@ protected HttpJsonEndpointServiceStub( .setPost( "/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait") .build()) + .addAdditionalBindings( + HttpRule.newBuilder() + .setPost( + "/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait") + .build()) .addAdditionalBindings( HttpRule.newBuilder() .setPost( diff --git a/java-vertexai/google-cloud-vertexai/src/main/resources/META-INF/native-image/com.google.cloud.vertexai.api/reflect-config.json b/java-vertexai/google-cloud-vertexai/src/main/resources/META-INF/native-image/com.google.cloud.vertexai.api/reflect-config.json index 364ecf34b769..ddf363e467ab 100644 --- a/java-vertexai/google-cloud-vertexai/src/main/resources/META-INF/native-image/com.google.cloud.vertexai.api/reflect-config.json +++ b/java-vertexai/google-cloud-vertexai/src/main/resources/META-INF/native-image/com.google.cloud.vertexai.api/reflect-config.json @@ -2348,6 +2348,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.vertexai.api.SafetySetting$HarmBlockMethod", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.vertexai.api.SafetySetting$HarmBlockThreshold", "queryAllDeclaredConstructors": true, @@ -2411,6 +2420,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.vertexai.api.ShieldedVmConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.vertexai.api.ShieldedVmConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.vertexai.api.SmoothGradConfig", "queryAllDeclaredConstructors": true, diff --git a/java-vertexai/google-cloud-vertexai/src/test/java/com/google/cloud/vertexai/api/PredictionServiceClientTest.java b/java-vertexai/google-cloud-vertexai/src/test/java/com/google/cloud/vertexai/api/PredictionServiceClientTest.java index f61809b6dca1..45a4e2e1ef08 100644 --- a/java-vertexai/google-cloud-vertexai/src/test/java/com/google/cloud/vertexai/api/PredictionServiceClientTest.java +++ b/java-vertexai/google-cloud-vertexai/src/test/java/com/google/cloud/vertexai/api/PredictionServiceClientTest.java @@ -928,6 +928,7 @@ public void streamGenerateContentTest() throws Exception { GenerateContentRequest.newBuilder() .setModel("model104069929") .addAllContents(new ArrayList()) + .setSystemInstruction(Content.newBuilder().build()) .addAllTools(new ArrayList()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) @@ -952,6 +953,7 @@ public void streamGenerateContentExceptionTest() throws Exception { GenerateContentRequest.newBuilder() .setModel("model104069929") .addAllContents(new ArrayList()) + .setSystemInstruction(Content.newBuilder().build()) .addAllTools(new ArrayList()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorType.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorType.java index c6fd6afc8042..329860b16bab 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorType.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorType.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/accelerator_type.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorTypeProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorTypeProto.java index c942c2bbf7e4..0ae0196221f2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorTypeProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AcceleratorTypeProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/accelerator_type.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class AcceleratorTypeProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Attribution.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Attribution.java index b953e86566af..a2a0ca77aae4 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Attribution.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Attribution.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AttributionOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AttributionOrBuilder.java index f278306821e4..4cba8c50ede8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AttributionOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AttributionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface AttributionOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResources.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResources.java index 23d6d5dba55c..40fda7d63e8d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResources.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResources.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResourcesOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResourcesOrBuilder.java index e482ddb61f64..5abdf3c753f1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResourcesOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutomaticResourcesOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface AutomaticResourcesOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpec.java index 5c4c82a4cdcf..f30c319189a4 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpecOrBuilder.java index 18e97cd2d6fa..7a03ea9555c1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface AutoscalingMetricSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSource.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSource.java index 4e599fa8018c..8404cea212eb 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSource.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSource.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSourceOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSourceOrBuilder.java index 307a24739715..c7af670d39f5 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSourceOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AvroSourceOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface AvroSourceOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResources.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResources.java index 92298e4d78a5..b1b005038394 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResources.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResources.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResourcesOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResourcesOrBuilder.java index b0daf5d9e621..556739ed4b1f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResourcesOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BatchDedicatedResourcesOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BatchDedicatedResourcesOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestination.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestination.java index 79c78ebf6228..47c9a2be6d67 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestination.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestination.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestinationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestinationOrBuilder.java index 485a43a016ff..31becd5b746f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestinationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQueryDestinationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BigQueryDestinationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySource.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySource.java index e71b63bc6528..5f7441ff5c9d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySource.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySource.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySourceOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySourceOrBuilder.java index 2f456871f84d..fb4e43d9b543 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySourceOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BigQuerySourceOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BigQuerySourceOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Blob.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Blob.java index e785d5225c95..230f73fe4ae3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Blob.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Blob.java @@ -16,16 +16,17 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** * * *
- * Raw media bytes.
+ * Content blob.
  *
- * Text should not be sent as raw bytes, use the 'text' field.
+ * It's preferred to send as [text][google.cloud.aiplatform.v1.Part.text]
+ * directly rather than raw bytes.
  * 
* * Protobuf type {@code google.cloud.vertexai.v1.Blob} @@ -123,7 +124,7 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { * * *
-   * Required. Raw bytes for media formats.
+   * Required. Raw bytes.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -305,9 +306,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Raw media bytes.
+   * Content blob.
    *
-   * Text should not be sent as raw bytes, use the 'text' field.
+   * It's preferred to send as [text][google.cloud.aiplatform.v1.Part.text]
+   * directly rather than raw bytes.
    * 
* * Protobuf type {@code google.cloud.vertexai.v1.Blob} @@ -608,7 +610,7 @@ public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Raw bytes for media formats.
+     * Required. Raw bytes.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -623,7 +625,7 @@ public com.google.protobuf.ByteString getData() { * * *
-     * Required. Raw bytes for media formats.
+     * Required. Raw bytes.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -644,7 +646,7 @@ public Builder setData(com.google.protobuf.ByteString value) { * * *
-     * Required. Raw bytes for media formats.
+     * Required. Raw bytes.
      * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlobOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlobOrBuilder.java index 41018c9cc9fb..51c74d289dad 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlobOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlobOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BlobOrBuilder @@ -53,7 +53,7 @@ public interface BlobOrBuilder * * *
-   * Required. Raw bytes for media formats.
+   * Required. Raw bytes.
    * 
* * bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfig.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfig.java index 4ef4a5966c3f..f8296828d073 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfig.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfigOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfigOrBuilder.java index 3221a861599f..df8f172da10a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfigOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BlurBaselineConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BlurBaselineConfigOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArray.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArray.java index d2c59c0438cd..0bc0488f4362 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArray.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArray.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArrayOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArrayOrBuilder.java index 5b738e14ecb7..2d382d226993 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArrayOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/BoolArrayOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface BoolArrayOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java index b5c0768bf117..d0f4d5048a56 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CandidateOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CandidateOrBuilder.java index 0fc412a53656..dfd763ad4091 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CandidateOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CandidateOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CandidateOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Citation.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Citation.java index 4c2e6b727ecf..7a87d0f1428d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Citation.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Citation.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadata.java index d8ed98f4596f..f1ab24a591df 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadataOrBuilder.java index 105ee8d4cf11..b7d375133064 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CitationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationOrBuilder.java index 7ae3250eb39a..d88a19d96b4d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CitationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CitationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequest.java index d6113490c403..5507cdaef9bf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequestOrBuilder.java index fa4da574a8c0..9c75227b450c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ComputeTokensRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponse.java index 935173670fd7..3c101a5f52be 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponseOrBuilder.java index 7c4c576b2691..0616af996382 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ComputeTokensResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ComputeTokensResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestination.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestination.java index d5afb0ec906f..7d92d70c33af 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestination.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestination.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestinationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestinationOrBuilder.java index 5aca9c4321e7..fd1304b8f2d2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestinationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContainerRegistryDestinationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ContainerRegistryDestinationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Content.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Content.java index 92c224024109..cc2e9e62d1d5 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Content.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Content.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentOrBuilder.java index 987108a302f4..221d75e29dc3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ContentOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentProto.java index f4af34b40251..45c59fda5a97 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ContentProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class ContentProto { @@ -119,80 +119,88 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e_uri\030\002 \001(\tB\003\340A\002\"y\n\rVideoMetadata\0224\n\014sta" + "rt_offset\030\001 \001(\0132\031.google.protobuf.Durati" + "onB\003\340A\001\0222\n\nend_offset\030\002 \001(\0132\031.google.pro" - + "tobuf.DurationB\003\340A\001\"\226\002\n\020GenerationConfig" + + "tobuf.DurationB\003\340A\001\"\253\003\n\020GenerationConfig" + "\022\035\n\013temperature\030\001 \001(\002B\003\340A\001H\000\210\001\001\022\027\n\005top_p" + "\030\002 \001(\002B\003\340A\001H\001\210\001\001\022\027\n\005top_k\030\003 \001(\002B\003\340A\001H\002\210\001" + "\001\022!\n\017candidate_count\030\004 \001(\005B\003\340A\001H\003\210\001\001\022#\n\021" + "max_output_tokens\030\005 \001(\005B\003\340A\001H\004\210\001\001\022\033\n\016sto" - + "p_sequences\030\006 \003(\tB\003\340A\001B\016\n\014_temperatureB\010" - + "\n\006_top_pB\010\n\006_top_kB\022\n\020_candidate_countB\024" - + "\n\022_max_output_tokens\"\271\002\n\rSafetySetting\022=" - + "\n\010category\030\001 \001(\0162&.google.cloud.vertexai" - + ".v1.HarmCategoryB\003\340A\002\022R\n\tthreshold\030\002 \001(\016" - + "2:.google.cloud.vertexai.v1.SafetySettin" - + "g.HarmBlockThresholdB\003\340A\002\"\224\001\n\022HarmBlockT" - + "hreshold\022$\n HARM_BLOCK_THRESHOLD_UNSPECI" - + "FIED\020\000\022\027\n\023BLOCK_LOW_AND_ABOVE\020\001\022\032\n\026BLOCK" - + "_MEDIUM_AND_ABOVE\020\002\022\023\n\017BLOCK_ONLY_HIGH\020\003" - + "\022\016\n\nBLOCK_NONE\020\004\"\271\004\n\014SafetyRating\022=\n\010cat" - + "egory\030\001 \001(\0162&.google.cloud.vertexai.v1.H" - + "armCategoryB\003\340A\003\022P\n\013probability\030\002 \001(\01626." - + "google.cloud.vertexai.v1.SafetyRating.Ha" - + "rmProbabilityB\003\340A\003\022\036\n\021probability_score\030" - + "\005 \001(\002B\003\340A\003\022J\n\010severity\030\006 \001(\01623.google.cl" - + "oud.vertexai.v1.SafetyRating.HarmSeverit" - + "yB\003\340A\003\022\033\n\016severity_score\030\007 \001(\002B\003\340A\003\022\024\n\007b" - + "locked\030\003 \001(\010B\003\340A\003\"b\n\017HarmProbability\022 \n\034" - + "HARM_PROBABILITY_UNSPECIFIED\020\000\022\016\n\nNEGLIG" - + "IBLE\020\001\022\007\n\003LOW\020\002\022\n\n\006MEDIUM\020\003\022\010\n\004HIGH\020\004\"\224\001" - + "\n\014HarmSeverity\022\035\n\031HARM_SEVERITY_UNSPECIF" - + "IED\020\000\022\034\n\030HARM_SEVERITY_NEGLIGIBLE\020\001\022\025\n\021H" - + "ARM_SEVERITY_LOW\020\002\022\030\n\024HARM_SEVERITY_MEDI" - + "UM\020\003\022\026\n\022HARM_SEVERITY_HIGH\020\004\"N\n\020Citation" - + "Metadata\022:\n\tcitations\030\001 \003(\0132\".google.clo" - + "ud.vertexai.v1.CitationB\003\340A\003\"\252\001\n\010Citatio" - + "n\022\030\n\013start_index\030\001 \001(\005B\003\340A\003\022\026\n\tend_index" - + "\030\002 \001(\005B\003\340A\003\022\020\n\003uri\030\003 \001(\tB\003\340A\003\022\022\n\005title\030\004" - + " \001(\tB\003\340A\003\022\024\n\007license\030\005 \001(\tB\003\340A\003\0220\n\020publi" - + "cation_date\030\006 \001(\0132\021.google.type.DateB\003\340A" - + "\003\"\334\004\n\tCandidate\022\022\n\005index\030\001 \001(\005B\003\340A\003\0227\n\007c" - + "ontent\030\002 \001(\0132!.google.cloud.vertexai.v1." - + "ContentB\003\340A\003\022L\n\rfinish_reason\030\003 \001(\01620.go" - + "ogle.cloud.vertexai.v1.Candidate.FinishR" - + "easonB\003\340A\003\022C\n\016safety_ratings\030\004 \003(\0132&.goo" - + "gle.cloud.vertexai.v1.SafetyRatingB\003\340A\003\022" - + " \n\016finish_message\030\005 \001(\tB\003\340A\003H\000\210\001\001\022J\n\021cit" - + "ation_metadata\030\006 \001(\0132*.google.cloud.vert" - + "exai.v1.CitationMetadataB\003\340A\003\022L\n\022groundi" - + "ng_metadata\030\007 \001(\0132+.google.cloud.vertexa" - + "i.v1.GroundingMetadataB\003\340A\003\"\237\001\n\014FinishRe" - + "ason\022\035\n\031FINISH_REASON_UNSPECIFIED\020\000\022\010\n\004S" - + "TOP\020\001\022\016\n\nMAX_TOKENS\020\002\022\n\n\006SAFETY\020\003\022\016\n\nREC" - + "ITATION\020\004\022\t\n\005OTHER\020\005\022\r\n\tBLOCKLIST\020\006\022\026\n\022P" - + "ROHIBITED_CONTENT\020\007\022\010\n\004SPII\020\010B\021\n\017_finish" - + "_message\"T\n\007Segment\022\027\n\npart_index\030\001 \001(\005B" - + "\003\340A\003\022\030\n\013start_index\030\002 \001(\005B\003\340A\003\022\026\n\tend_in" - + "dex\030\003 \001(\005B\003\340A\003\"\215\002\n\024GroundingAttribution\022" - + "F\n\003web\030\003 \001(\01322.google.cloud.vertexai.v1." - + "GroundingAttribution.WebB\003\340A\001H\000\0227\n\007segme" - + "nt\030\001 \001(\0132!.google.cloud.vertexai.v1.Segm" - + "entB\003\340A\003\022%\n\020confidence_score\030\002 \001(\002B\006\340A\001\340" - + "A\003H\001\210\001\001\032+\n\003Web\022\020\n\003uri\030\001 \001(\tB\003\340A\003\022\022\n\005titl" - + "e\030\002 \001(\tB\003\340A\003B\013\n\treferenceB\023\n\021_confidence" - + "_score\"\211\001\n\021GroundingMetadata\022\037\n\022web_sear" - + "ch_queries\030\001 \003(\tB\003\340A\001\022S\n\026grounding_attri" - + "butions\030\002 \003(\0132..google.cloud.vertexai.v1" - + ".GroundingAttributionB\003\340A\001*\264\001\n\014HarmCateg" - + "ory\022\035\n\031HARM_CATEGORY_UNSPECIFIED\020\000\022\035\n\031HA" - + "RM_CATEGORY_HATE_SPEECH\020\001\022#\n\037HARM_CATEGO" - + "RY_DANGEROUS_CONTENT\020\002\022\034\n\030HARM_CATEGORY_" - + "HARASSMENT\020\003\022#\n\037HARM_CATEGORY_SEXUALLY_E" - + "XPLICIT\020\004B\311\001\n\035com.google.cloud.vertexai." - + "apiB\014ContentProtoP\001Z>cloud.google.com/go" - + "/aiplatform/apiv1/aiplatformpb;aiplatfor" - + "mpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "p_sequences\030\006 \003(\tB\003\340A\001\022\"\n\020presence_penal" + + "ty\030\010 \001(\002B\003\340A\001H\005\210\001\001\022#\n\021frequency_penalty\030" + + "\t \001(\002B\003\340A\001H\006\210\001\001\022\037\n\022response_mime_type\030\r " + + "\001(\tB\003\340A\001B\016\n\014_temperatureB\010\n\006_top_pB\010\n\006_t" + + "op_kB\022\n\020_candidate_countB\024\n\022_max_output_" + + "tokensB\023\n\021_presence_penaltyB\024\n\022_frequenc" + + "y_penalty\"\334\003\n\rSafetySetting\022=\n\010category\030" + + "\001 \001(\0162&.google.cloud.vertexai.v1.HarmCat" + + "egoryB\003\340A\002\022R\n\tthreshold\030\002 \001(\0162:.google.c" + + "loud.vertexai.v1.SafetySetting.HarmBlock" + + "ThresholdB\003\340A\002\022L\n\006method\030\004 \001(\01627.google." + + "cloud.vertexai.v1.SafetySetting.HarmBloc" + + "kMethodB\003\340A\001\"\224\001\n\022HarmBlockThreshold\022$\n H" + + "ARM_BLOCK_THRESHOLD_UNSPECIFIED\020\000\022\027\n\023BLO" + + "CK_LOW_AND_ABOVE\020\001\022\032\n\026BLOCK_MEDIUM_AND_A" + + "BOVE\020\002\022\023\n\017BLOCK_ONLY_HIGH\020\003\022\016\n\nBLOCK_NON" + + "E\020\004\"S\n\017HarmBlockMethod\022!\n\035HARM_BLOCK_MET" + + "HOD_UNSPECIFIED\020\000\022\014\n\010SEVERITY\020\001\022\017\n\013PROBA" + + "BILITY\020\002\"\271\004\n\014SafetyRating\022=\n\010category\030\001 " + + "\001(\0162&.google.cloud.vertexai.v1.HarmCateg" + + "oryB\003\340A\003\022P\n\013probability\030\002 \001(\01626.google.c" + + "loud.vertexai.v1.SafetyRating.HarmProbab" + + "ilityB\003\340A\003\022\036\n\021probability_score\030\005 \001(\002B\003\340" + + "A\003\022J\n\010severity\030\006 \001(\01623.google.cloud.vert" + + "exai.v1.SafetyRating.HarmSeverityB\003\340A\003\022\033" + + "\n\016severity_score\030\007 \001(\002B\003\340A\003\022\024\n\007blocked\030\003" + + " \001(\010B\003\340A\003\"b\n\017HarmProbability\022 \n\034HARM_PRO" + + "BABILITY_UNSPECIFIED\020\000\022\016\n\nNEGLIGIBLE\020\001\022\007" + + "\n\003LOW\020\002\022\n\n\006MEDIUM\020\003\022\010\n\004HIGH\020\004\"\224\001\n\014HarmSe" + + "verity\022\035\n\031HARM_SEVERITY_UNSPECIFIED\020\000\022\034\n" + + "\030HARM_SEVERITY_NEGLIGIBLE\020\001\022\025\n\021HARM_SEVE" + + "RITY_LOW\020\002\022\030\n\024HARM_SEVERITY_MEDIUM\020\003\022\026\n\022" + + "HARM_SEVERITY_HIGH\020\004\"N\n\020CitationMetadata" + + "\022:\n\tcitations\030\001 \003(\0132\".google.cloud.verte" + + "xai.v1.CitationB\003\340A\003\"\252\001\n\010Citation\022\030\n\013sta" + + "rt_index\030\001 \001(\005B\003\340A\003\022\026\n\tend_index\030\002 \001(\005B\003" + + "\340A\003\022\020\n\003uri\030\003 \001(\tB\003\340A\003\022\022\n\005title\030\004 \001(\tB\003\340A" + + "\003\022\024\n\007license\030\005 \001(\tB\003\340A\003\0220\n\020publication_d" + + "ate\030\006 \001(\0132\021.google.type.DateB\003\340A\003\"\334\004\n\tCa" + + "ndidate\022\022\n\005index\030\001 \001(\005B\003\340A\003\0227\n\007content\030\002" + + " \001(\0132!.google.cloud.vertexai.v1.ContentB" + + "\003\340A\003\022L\n\rfinish_reason\030\003 \001(\01620.google.clo" + + "ud.vertexai.v1.Candidate.FinishReasonB\003\340" + + "A\003\022C\n\016safety_ratings\030\004 \003(\0132&.google.clou" + + "d.vertexai.v1.SafetyRatingB\003\340A\003\022 \n\016finis" + + "h_message\030\005 \001(\tB\003\340A\003H\000\210\001\001\022J\n\021citation_me" + + "tadata\030\006 \001(\0132*.google.cloud.vertexai.v1." + + "CitationMetadataB\003\340A\003\022L\n\022grounding_metad" + + "ata\030\007 \001(\0132+.google.cloud.vertexai.v1.Gro" + + "undingMetadataB\003\340A\003\"\237\001\n\014FinishReason\022\035\n\031" + + "FINISH_REASON_UNSPECIFIED\020\000\022\010\n\004STOP\020\001\022\016\n" + + "\nMAX_TOKENS\020\002\022\n\n\006SAFETY\020\003\022\016\n\nRECITATION\020" + + "\004\022\t\n\005OTHER\020\005\022\r\n\tBLOCKLIST\020\006\022\026\n\022PROHIBITE" + + "D_CONTENT\020\007\022\010\n\004SPII\020\010B\021\n\017_finish_message" + + "\"T\n\007Segment\022\027\n\npart_index\030\001 \001(\005B\003\340A\003\022\030\n\013" + + "start_index\030\002 \001(\005B\003\340A\003\022\026\n\tend_index\030\003 \001(" + + "\005B\003\340A\003\"\215\002\n\024GroundingAttribution\022F\n\003web\030\003" + + " \001(\01322.google.cloud.vertexai.v1.Groundin" + + "gAttribution.WebB\003\340A\001H\000\0227\n\007segment\030\001 \001(\013" + + "2!.google.cloud.vertexai.v1.SegmentB\003\340A\003" + + "\022%\n\020confidence_score\030\002 \001(\002B\006\340A\001\340A\003H\001\210\001\001\032" + + "+\n\003Web\022\020\n\003uri\030\001 \001(\tB\003\340A\003\022\022\n\005title\030\002 \001(\tB" + + "\003\340A\003B\013\n\treferenceB\023\n\021_confidence_score\"\211" + + "\001\n\021GroundingMetadata\022\037\n\022web_search_queri" + + "es\030\001 \003(\tB\003\340A\001\022S\n\026grounding_attributions\030" + + "\002 \003(\0132..google.cloud.vertexai.v1.Groundi" + + "ngAttributionB\003\340A\001*\264\001\n\014HarmCategory\022\035\n\031H" + + "ARM_CATEGORY_UNSPECIFIED\020\000\022\035\n\031HARM_CATEG" + + "ORY_HATE_SPEECH\020\001\022#\n\037HARM_CATEGORY_DANGE" + + "ROUS_CONTENT\020\002\022\034\n\030HARM_CATEGORY_HARASSME" + + "NT\020\003\022#\n\037HARM_CATEGORY_SEXUALLY_EXPLICIT\020" + + "\004B\311\001\n\035com.google.cloud.vertexai.apiB\014Con" + + "tentProtoP\001Z>cloud.google.com/go/aiplatf" + + "orm/apiv1/aiplatformpb;aiplatformpb\252\002\032Go" + + "ogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\" + + "AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfor" + + "m::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -256,7 +264,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vertexai_v1_GenerationConfig_descriptor, new java.lang.String[] { - "Temperature", "TopP", "TopK", "CandidateCount", "MaxOutputTokens", "StopSequences", + "Temperature", + "TopP", + "TopK", + "CandidateCount", + "MaxOutputTokens", + "StopSequences", + "PresencePenalty", + "FrequencyPenalty", + "ResponseMimeType", }); internal_static_google_cloud_vertexai_v1_SafetySetting_descriptor = getDescriptor().getMessageTypes().get(6); @@ -264,7 +280,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vertexai_v1_SafetySetting_descriptor, new java.lang.String[] { - "Category", "Threshold", + "Category", "Threshold", "Method", }); internal_static_google_cloud_vertexai_v1_SafetyRating_descriptor = getDescriptor().getMessageTypes().get(7); diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequest.java index e8556574ccdb..ce1d29872209 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequestOrBuilder.java index fcf08b141d24..2d8c41c079cc 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CountTokensRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java index 369a8ed8abfc..4c859da92069 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponseOrBuilder.java index 14f9cc429848..2d03304f0aeb 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CountTokensResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadata.java index e9d1c6a7aedb..9a1ebb5061df 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadataOrBuilder.java index 0eaa18d314de..6e1039f35d13 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CreateEndpointOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequest.java index bd705f8897b9..5ed61b7fa46c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequestOrBuilder.java index 52216bcab9ff..1d1618c86340 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CreateEndpointRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestination.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestination.java index 2f030b0ed06c..4dc632ee2d64 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestination.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestination.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestinationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestinationOrBuilder.java index 248d406e27b5..56a6021e58f8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestinationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvDestinationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CsvDestinationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSource.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSource.java index c4ed20b40487..e2f2fe5c51d3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSource.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSource.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSourceOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSourceOrBuilder.java index da2c952756db..8a18239d8680 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSourceOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CsvSourceOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface CsvSourceOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResources.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResources.java index a09b21d08175..c70fffb2e1be 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResources.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResources.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResourcesOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResourcesOrBuilder.java index 26cd266ac55a..a611be4887ca 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResourcesOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DedicatedResourcesOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DedicatedResourcesOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequest.java index a58bdb705116..d58e9d1852bc 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequestOrBuilder.java index 0b0002373994..f4abb496c7e0 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteEndpointRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeleteEndpointRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadata.java index 2281db70a338..4f8be0c3c3d3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/operation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadataOrBuilder.java index 175d69e40d25..4e86b5224bda 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeleteOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/operation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeleteOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadata.java index 903329a340a1..ca9d1911f96b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadataOrBuilder.java index 2f49abe327a0..4a1689eef879 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeployModelOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequest.java index 9d1105997fa4..2a6463886513 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequestOrBuilder.java index b474486069d4..91ce55640dcf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeployModelRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponse.java index e20bdf380e53..c7a7642fcfe2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponseOrBuilder.java index f13432324a64..f22ba5e9bfa7 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployModelResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeployModelResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java index 8f4fd60f1da6..de845ba719d9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -687,6 +687,28 @@ public com.google.cloud.vertexai.api.ExplanationSpecOrBuilder getExplanationSpec : explanationSpec_; } + public static final int DISABLE_EXPLANATIONS_FIELD_NUMBER = 19; + private boolean disableExplanations_ = false; + /** + * + * + *
+   * If true, deploy the model without explainable feature, regardless the
+   * existence of
+   * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
+   * or
+   * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
+   * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + @java.lang.Override + public boolean getDisableExplanations() { + return disableExplanations_; + } + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 11; @SuppressWarnings("serial") @@ -919,6 +941,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, modelVersionId_); } + if (disableExplanations_ != false) { + output.writeBool(19, disableExplanations_); + } getUnknownFields().writeTo(output); } @@ -971,6 +996,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, modelVersionId_); } + if (disableExplanations_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, disableExplanations_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -999,6 +1027,7 @@ public boolean equals(final java.lang.Object obj) { if (hasExplanationSpec()) { if (!getExplanationSpec().equals(other.getExplanationSpec())) return false; } + if (getDisableExplanations() != other.getDisableExplanations()) return false; if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (getDisableContainerLogging() != other.getDisableContainerLogging()) return false; if (getEnableAccessLogging() != other.getEnableAccessLogging()) return false; @@ -1047,6 +1076,8 @@ public int hashCode() { hash = (37 * hash) + EXPLANATION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getExplanationSpec().hashCode(); } + hash = (37 * hash) + DISABLE_EXPLANATIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableExplanations()); hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getServiceAccount().hashCode(); hash = (37 * hash) + DISABLE_CONTAINER_LOGGING_FIELD_NUMBER; @@ -1243,6 +1274,7 @@ public Builder clear() { explanationSpecBuilder_.dispose(); explanationSpecBuilder_ = null; } + disableExplanations_ = false; serviceAccount_ = ""; disableContainerLogging_ = false; enableAccessLogging_ = false; @@ -1313,15 +1345,18 @@ private void buildPartial0(com.google.cloud.vertexai.api.DeployedModel result) { to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.serviceAccount_ = serviceAccount_; + result.disableExplanations_ = disableExplanations_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.disableContainerLogging_ = disableContainerLogging_; + result.serviceAccount_ = serviceAccount_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.enableAccessLogging_ = enableAccessLogging_; + result.disableContainerLogging_ = disableContainerLogging_; } if (((from_bitField0_ & 0x00001000) != 0)) { + result.enableAccessLogging_ = enableAccessLogging_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { result.privateEndpoints_ = privateEndpointsBuilder_ == null ? privateEndpoints_ : privateEndpointsBuilder_.build(); to_bitField0_ |= 0x00000004; @@ -1411,9 +1446,12 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.DeployedModel other) { if (other.hasExplanationSpec()) { mergeExplanationSpec(other.getExplanationSpec()); } + if (other.getDisableExplanations() != false) { + setDisableExplanations(other.getDisableExplanations()); + } if (!other.getServiceAccount().isEmpty()) { serviceAccount_ = other.serviceAccount_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); } if (other.getDisableContainerLogging() != false) { @@ -1521,26 +1559,26 @@ public Builder mergeFrom( case 90: { serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 90 case 104: { enableAccessLogging_ = input.readBool(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 104 case 114: { input.readMessage( getPrivateEndpointsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 114 case 120: { disableContainerLogging_ = input.readBool(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 120 case 138: @@ -1556,6 +1594,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 146 + case 152: + { + disableExplanations_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 152 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -3210,6 +3254,71 @@ public com.google.cloud.vertexai.api.ExplanationSpecOrBuilder getExplanationSpec return explanationSpecBuilder_; } + private boolean disableExplanations_; + /** + * + * + *
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + @java.lang.Override + public boolean getDisableExplanations() { + return disableExplanations_; + } + /** + * + * + *
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @param value The disableExplanations to set. + * @return This builder for chaining. + */ + public Builder setDisableExplanations(boolean value) { + + disableExplanations_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @return This builder for chaining. + */ + public Builder clearDisableExplanations() { + bitField0_ = (bitField0_ & ~0x00000200); + disableExplanations_ = false; + onChanged(); + return this; + } + private java.lang.Object serviceAccount_ = ""; /** * @@ -3290,7 +3399,7 @@ public Builder setServiceAccount(java.lang.String value) { throw new NullPointerException(); } serviceAccount_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3313,7 +3422,7 @@ public Builder setServiceAccount(java.lang.String value) { */ public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -3341,7 +3450,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceAccount_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3389,7 +3498,7 @@ public boolean getDisableContainerLogging() { public Builder setDisableContainerLogging(boolean value) { disableContainerLogging_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3411,7 +3520,7 @@ public Builder setDisableContainerLogging(boolean value) { * @return This builder for chaining. */ public Builder clearDisableContainerLogging() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); disableContainerLogging_ = false; onChanged(); return this; @@ -3462,7 +3571,7 @@ public boolean getEnableAccessLogging() { public Builder setEnableAccessLogging(boolean value) { enableAccessLogging_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3485,7 +3594,7 @@ public Builder setEnableAccessLogging(boolean value) { * @return This builder for chaining. */ public Builder clearEnableAccessLogging() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); enableAccessLogging_ = false; onChanged(); return this; @@ -3514,7 +3623,7 @@ public Builder clearEnableAccessLogging() { * @return Whether the privateEndpoints field is set. */ public boolean hasPrivateEndpoints() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -3564,7 +3673,7 @@ public Builder setPrivateEndpoints(com.google.cloud.vertexai.api.PrivateEndpoint } else { privateEndpointsBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3589,7 +3698,7 @@ public Builder setPrivateEndpoints( } else { privateEndpointsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3609,7 +3718,7 @@ public Builder setPrivateEndpoints( */ public Builder mergePrivateEndpoints(com.google.cloud.vertexai.api.PrivateEndpoints value) { if (privateEndpointsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && privateEndpoints_ != null && privateEndpoints_ != com.google.cloud.vertexai.api.PrivateEndpoints.getDefaultInstance()) { @@ -3621,7 +3730,7 @@ public Builder mergePrivateEndpoints(com.google.cloud.vertexai.api.PrivateEndpoi privateEndpointsBuilder_.mergeFrom(value); } if (privateEndpoints_ != null) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } return this; @@ -3641,7 +3750,7 @@ public Builder mergePrivateEndpoints(com.google.cloud.vertexai.api.PrivateEndpoi * */ public Builder clearPrivateEndpoints() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); privateEndpoints_ = null; if (privateEndpointsBuilder_ != null) { privateEndpointsBuilder_.dispose(); @@ -3665,7 +3774,7 @@ public Builder clearPrivateEndpoints() { * */ public com.google.cloud.vertexai.api.PrivateEndpoints.Builder getPrivateEndpointsBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return getPrivateEndpointsFieldBuilder().getBuilder(); } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModelOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModelOrBuilder.java index 384257a42d7a..1bc78da90a9a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModelOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModelOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DeployedModelOrBuilder @@ -394,6 +394,23 @@ public interface DeployedModelOrBuilder */ com.google.cloud.vertexai.api.ExplanationSpecOrBuilder getExplanationSpecOrBuilder(); + /** + * + * + *
+   * If true, deploy the model without explainable feature, regardless the
+   * existence of
+   * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
+   * or
+   * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
+   * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + boolean getDisableExplanations(); + /** * * diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequest.java index 20c80188d62a..e456c50614cb 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequestOrBuilder.java index 5f564fa29a4b..5e6d8617dc82 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DirectPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponse.java index 8500681e527c..93056ddb3aaf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponseOrBuilder.java index a0e0953e9941..10b9daa96a79 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DirectPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequest.java index d845f985d887..7df2852713b9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequestOrBuilder.java index 08e79ab71277..252c6733a6f9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DirectRawPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponse.java index 7d05649e2269..da98de3f86d5 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponseOrBuilder.java index a78a8c7de64d..0cb445fe58b2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DirectRawPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DirectRawPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpec.java index 49a61f48b051..2677ade9d102 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpecOrBuilder.java index b833f5473be9..179563122900 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DiskSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArray.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArray.java index aec21af71c53..e7441da41bbe 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArray.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArray.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArrayOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArrayOrBuilder.java index df32f34b0543..dc02c63a1071 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArrayOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DoubleArrayOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface DoubleArrayOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpec.java index 4efc09d3082e..397febf1ae39 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/encryption_spec.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecOrBuilder.java index 4eb1cfe778c9..3e9e63843f1e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/encryption_spec.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface EncryptionSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecProto.java index 57c1fcc411a5..17c66d614f33 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpecProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/encryption_spec.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class EncryptionSpecProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java index 88e93a073282..f26675faef09 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointOrBuilder.java index 4c01f510fdce..c019394a69e1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface EndpointOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointProto.java index 300b53733da2..2211ed0b0920 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class EndpointProto { @@ -96,7 +96,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud.goo" - + "gle.com/go/aiplatform/apiv1/aiplatformpb" - + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." - + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" - + "::Cloud::AIPlatform::V1b\006proto3" + + "Spec\022\034\n\024disable_explanations\030\023 \001(\010\022\027\n\017se" + + "rvice_account\030\013 \001(\t\022!\n\031disable_container" + + "_logging\030\017 \001(\010\022\035\n\025enable_access_logging\030" + + "\r \001(\010\022J\n\021private_endpoints\030\016 \001(\0132*.googl" + + "e.cloud.vertexai.v1.PrivateEndpointsB\003\340A" + + "\003B\026\n\024prediction_resources\"\217\001\n\020PrivateEnd" + + "points\022\035\n\020predict_http_uri\030\001 \001(\tB\003\340A\003\022\035\n" + + "\020explain_http_uri\030\002 \001(\tB\003\340A\003\022\034\n\017health_h" + + "ttp_uri\030\003 \001(\tB\003\340A\003\022\037\n\022service_attachment" + + "\030\004 \001(\tB\003\340A\003\"\232\001\n#PredictRequestResponseLo" + + "ggingConfig\022\017\n\007enabled\030\001 \001(\010\022\025\n\rsampling" + + "_rate\030\002 \001(\001\022K\n\024bigquery_destination\030\003 \001(" + + "\0132-.google.cloud.vertexai.v1.BigQueryDes" + + "tinationB\312\001\n\035com.google.cloud.vertexai.a" + + "piB\rEndpointProtoP\001Z>cloud.google.com/go" + + "/aiplatform/apiv1/aiplatformpb;aiplatfor" + + "mpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" + + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" + + "IPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -192,6 +193,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisplayName", "CreateTime", "ExplanationSpec", + "DisableExplanations", "ServiceAccount", "DisableContainerLogging", "EnableAccessLogging", diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointServiceProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointServiceProto.java index 2194a921d86c..55bfecd27b9f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointServiceProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EndpointServiceProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class EndpointServiceProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java index 8bbf88732555..d58f673b5d27 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOrBuilder.java index 81ea5b4ffb61..0d08bf0355e6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExamplesOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java index 69a29d3439fa..a1f9432b6053 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverrideOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverrideOrBuilder.java index f6191e0d28a3..4fd86e2dd353 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverrideOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverrideOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExamplesOverrideOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespace.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespace.java index cb8b78cbadec..f151b0526df3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespace.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespace.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespaceOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespaceOrBuilder.java index 1a16a6ecde51..ef646ed309e0 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespaceOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesRestrictionsNamespaceOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExamplesRestrictionsNamespaceOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequest.java index 1854d9f49bee..29e7162e9c58 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequestOrBuilder.java index 29c06da7ab77..fb778fae2ee2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplainRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponse.java index e672153102b1..157186b27488 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponseOrBuilder.java index 04649d7d30a0..14f11b6f75d3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplainResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplainResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Explanation.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Explanation.java index 3a2e265554d0..a1e4de909340 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Explanation.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Explanation.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java index 600e09df2297..796bbc73040c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation_metadata.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOrBuilder.java index 44d055680544..8cb245542978 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation_metadata.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverride.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverride.java index 42ba529fb78a..d22299a09cb2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverride.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverride.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverrideOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverrideOrBuilder.java index 34032e291f23..4661d09a9c20 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverrideOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataOverrideOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationMetadataOverrideOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataProto.java index f8962cde1365..23c8cddf82de 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadataProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation_metadata.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class ExplanationMetadataProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationOrBuilder.java index b3451ba27823..1afc2db63b07 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java index ec010e60bbf0..6aa30f549a4e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParametersOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParametersOrBuilder.java index fabe0a9b4c0d..1aa3993a0b53 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParametersOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParametersOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationParametersOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationProto.java index 8cefc18f9383..927f0b553b99 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class ExplanationProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpec.java index 3fdb98d0f113..5a860b783896 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOrBuilder.java index 877d2f5eecfa..88301732f994 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverride.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverride.java index 6bce1245692d..702f3f2bfb7d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverride.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverride.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverrideOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverrideOrBuilder.java index 5b362f3dc496..b2cb0f11a177 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverrideOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationSpecOverrideOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ExplanationSpecOverrideOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigma.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigma.java index a80a4b47a4fc..49ae3df428a8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigma.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigma.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigmaOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigmaOrBuilder.java index e26ef0f8cf9e..1df2793b753d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigmaOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FeatureNoiseSigmaOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface FeatureNoiseSigmaOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileData.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileData.java index 2686835dba76..61c082bf48a2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileData.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileData.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileDataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileDataOrBuilder.java index f3f930a29646..e1e8e0ccf380 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileDataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FileDataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface FileDataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCall.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCall.java index 4ade083a520f..c09d05da4dc6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCall.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCall.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCallOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCallOrBuilder.java index 4881325cb95f..368005653e86 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCallOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionCallOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface FunctionCallOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclaration.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclaration.java index 46715e1a53d2..d68ccaf27da5 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclaration.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclaration.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -79,8 +79,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the function to call.
    * Must start with a letter or an underscore.
-   * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-   * length of 64.
+   * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+   * maximum length of 64.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -105,8 +105,8 @@ public java.lang.String getName() { *
    * Required. The name of the function to call.
    * Must start with a letter or an underscore.
-   * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-   * length of 64.
+   * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+   * maximum length of 64.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -189,8 +189,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -217,8 +219,10 @@ public boolean hasParameters() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -247,8 +251,10 @@ public com.google.cloud.vertexai.api.Schema getParameters() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -688,8 +694,8 @@ public Builder mergeFrom( *
      * Required. The name of the function to call.
      * Must start with a letter or an underscore.
-     * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-     * length of 64.
+     * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+     * maximum length of 64.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -713,8 +719,8 @@ public java.lang.String getName() { *
      * Required. The name of the function to call.
      * Must start with a letter or an underscore.
-     * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-     * length of 64.
+     * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+     * maximum length of 64.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -738,8 +744,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The name of the function to call.
      * Must start with a letter or an underscore.
-     * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-     * length of 64.
+     * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+     * maximum length of 64.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -762,8 +768,8 @@ public Builder setName(java.lang.String value) { *
      * Required. The name of the function to call.
      * Must start with a letter or an underscore.
-     * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-     * length of 64.
+     * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+     * maximum length of 64.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -782,8 +788,8 @@ public Builder clearName() { *
      * Required. The name of the function to call.
      * Must start with a letter or an underscore.
-     * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-     * length of 64.
+     * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+     * maximum length of 64.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -927,8 +933,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -954,8 +962,10 @@ public boolean hasParameters() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -987,8 +997,10 @@ public com.google.cloud.vertexai.api.Schema getParameters() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1022,8 +1034,10 @@ public Builder setParameters(com.google.cloud.vertexai.api.Schema value) { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1054,8 +1068,10 @@ public Builder setParameters(com.google.cloud.vertexai.api.Schema.Builder builde * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1094,8 +1110,10 @@ public Builder mergeParameters(com.google.cloud.vertexai.api.Schema value) { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1126,8 +1144,10 @@ public Builder clearParameters() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1153,8 +1173,10 @@ public com.google.cloud.vertexai.api.Schema.Builder getParametersBuilder() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -1184,8 +1206,10 @@ public com.google.cloud.vertexai.api.SchemaOrBuilder getParametersOrBuilder() { * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclarationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclarationOrBuilder.java index 64dc5e4b4deb..37832e41fd6f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclarationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionDeclarationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface FunctionDeclarationOrBuilder @@ -30,8 +30,8 @@ public interface FunctionDeclarationOrBuilder *
    * Required. The name of the function to call.
    * Must start with a letter or an underscore.
-   * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-   * length of 64.
+   * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+   * maximum length of 64.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -45,8 +45,8 @@ public interface FunctionDeclarationOrBuilder *
    * Required. The name of the function to call.
    * Must start with a letter or an underscore.
-   * Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum
-   * length of 64.
+   * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
+   * maximum length of 64.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -90,8 +90,10 @@ public interface FunctionDeclarationOrBuilder * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -115,8 +117,10 @@ public interface FunctionDeclarationOrBuilder * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: @@ -140,8 +144,10 @@ public interface FunctionDeclarationOrBuilder * format. Reflects the Open API 3.03 Parameter Object. string Key: the name * of the parameter. Parameter names are case sensitive. Schema Value: the * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Example with 1 required and 1 optional - * parameter: type: OBJECT properties: + * parameters, this can be left unset. Parameter names must start with a + * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + * underscores with a maximum length of 64. Example with 1 required and 1 + * optional parameter: type: OBJECT properties: * param1: * type: STRING * param2: diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponse.java index 49a0860df37d..a28a3b32101d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponseOrBuilder.java index 61c209b8801e..501335dd5d3c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/FunctionResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface FunctionResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestination.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestination.java index 18fff1de8e03..886d04fd8e13 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestination.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestination.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestinationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestinationOrBuilder.java index afa51b0d4cd7..fe01c4c00ae7 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestinationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsDestinationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GcsDestinationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSource.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSource.java index fe75b86a0078..1b6aa04a8eaf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSource.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSource.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSourceOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSourceOrBuilder.java index a9b422e997f9..183e0d5d219a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSourceOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GcsSourceOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GcsSourceOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java index 72eff22ca758..33cf6b1bf994 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -223,6 +223,68 @@ public com.google.cloud.vertexai.api.ContentOrBuilder getContentsOrBuilder(int i return contents_.get(index); } + public static final int SYSTEM_INSTRUCTION_FIELD_NUMBER = 8; + private com.google.cloud.vertexai.api.Content systemInstruction_; + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the systemInstruction field is set. + */ + @java.lang.Override + public boolean hasSystemInstruction() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The systemInstruction. + */ + @java.lang.Override + public com.google.cloud.vertexai.api.Content getSystemInstruction() { + return systemInstruction_ == null + ? com.google.cloud.vertexai.api.Content.getDefaultInstance() + : systemInstruction_; + } + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.vertexai.api.ContentOrBuilder getSystemInstructionOrBuilder() { + return systemInstruction_ == null + ? com.google.cloud.vertexai.api.Content.getDefaultInstance() + : systemInstruction_; + } + public static final int TOOLS_FIELD_NUMBER = 6; @SuppressWarnings("serial") @@ -433,7 +495,7 @@ public com.google.cloud.vertexai.api.SafetySettingOrBuilder getSafetySettingsOrB */ @java.lang.Override public boolean hasGenerationConfig() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -492,7 +554,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < safetySettings_.size(); i++) { output.writeMessage(3, safetySettings_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getGenerationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { @@ -501,6 +563,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < tools_.size(); i++) { output.writeMessage(6, tools_.get(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(8, getSystemInstruction()); + } getUnknownFields().writeTo(output); } @@ -516,7 +581,7 @@ public int getSerializedSize() { for (int i = 0; i < safetySettings_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, safetySettings_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getGenerationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { @@ -525,6 +590,9 @@ public int getSerializedSize() { for (int i = 0; i < tools_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, tools_.get(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSystemInstruction()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -543,6 +611,10 @@ public boolean equals(final java.lang.Object obj) { if (!getModel().equals(other.getModel())) return false; if (!getContentsList().equals(other.getContentsList())) return false; + if (hasSystemInstruction() != other.hasSystemInstruction()) return false; + if (hasSystemInstruction()) { + if (!getSystemInstruction().equals(other.getSystemInstruction())) return false; + } if (!getToolsList().equals(other.getToolsList())) return false; if (!getSafetySettingsList().equals(other.getSafetySettingsList())) return false; if (hasGenerationConfig() != other.hasGenerationConfig()) return false; @@ -566,6 +638,10 @@ public int hashCode() { hash = (37 * hash) + CONTENTS_FIELD_NUMBER; hash = (53 * hash) + getContentsList().hashCode(); } + if (hasSystemInstruction()) { + hash = (37 * hash) + SYSTEM_INSTRUCTION_FIELD_NUMBER; + hash = (53 * hash) + getSystemInstruction().hashCode(); + } if (getToolsCount() > 0) { hash = (37 * hash) + TOOLS_FIELD_NUMBER; hash = (53 * hash) + getToolsList().hashCode(); @@ -719,6 +795,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getContentsFieldBuilder(); + getSystemInstructionFieldBuilder(); getToolsFieldBuilder(); getSafetySettingsFieldBuilder(); getGenerationConfigFieldBuilder(); @@ -737,20 +814,25 @@ public Builder clear() { contentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); + systemInstruction_ = null; + if (systemInstructionBuilder_ != null) { + systemInstructionBuilder_.dispose(); + systemInstructionBuilder_ = null; + } if (toolsBuilder_ == null) { tools_ = java.util.Collections.emptyList(); } else { tools_ = null; toolsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); if (safetySettingsBuilder_ == null) { safetySettings_ = java.util.Collections.emptyList(); } else { safetySettings_ = null; safetySettingsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); generationConfig_ = null; if (generationConfigBuilder_ != null) { generationConfigBuilder_.dispose(); @@ -803,18 +885,18 @@ private void buildPartialRepeatedFields( result.contents_ = contentsBuilder_.build(); } if (toolsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { tools_ = java.util.Collections.unmodifiableList(tools_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } result.tools_ = tools_; } else { result.tools_ = toolsBuilder_.build(); } if (safetySettingsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { safetySettings_ = java.util.Collections.unmodifiableList(safetySettings_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } result.safetySettings_ = safetySettings_; } else { @@ -828,10 +910,17 @@ private void buildPartial0(com.google.cloud.vertexai.api.GenerateContentRequest result.model_ = model_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.systemInstruction_ = + systemInstructionBuilder_ == null + ? systemInstruction_ + : systemInstructionBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.generationConfig_ = generationConfigBuilder_ == null ? generationConfig_ : generationConfigBuilder_.build(); - to_bitField0_ |= 0x00000001; + to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @@ -914,11 +1003,14 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.GenerateContentRequest ot } } } + if (other.hasSystemInstruction()) { + mergeSystemInstruction(other.getSystemInstruction()); + } if (toolsBuilder_ == null) { if (!other.tools_.isEmpty()) { if (tools_.isEmpty()) { tools_ = other.tools_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureToolsIsMutable(); tools_.addAll(other.tools_); @@ -931,7 +1023,7 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.GenerateContentRequest ot toolsBuilder_.dispose(); toolsBuilder_ = null; tools_ = other.tools_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); toolsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getToolsFieldBuilder() @@ -945,7 +1037,7 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.GenerateContentRequest ot if (!other.safetySettings_.isEmpty()) { if (safetySettings_.isEmpty()) { safetySettings_ = other.safetySettings_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureSafetySettingsIsMutable(); safetySettings_.addAll(other.safetySettings_); @@ -958,7 +1050,7 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.GenerateContentRequest ot safetySettingsBuilder_.dispose(); safetySettingsBuilder_ = null; safetySettings_ = other.safetySettings_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); safetySettingsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSafetySettingsFieldBuilder() @@ -1027,7 +1119,7 @@ public Builder mergeFrom( { input.readMessage( getGenerationConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 34 case 42: @@ -1049,6 +1141,13 @@ public Builder mergeFrom( } break; } // case 50 + case 66: + { + input.readMessage( + getSystemInstructionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1640,13 +1739,235 @@ public java.util.List getContents return contentsBuilder_; } + private com.google.cloud.vertexai.api.Content systemInstruction_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Content, + com.google.cloud.vertexai.api.Content.Builder, + com.google.cloud.vertexai.api.ContentOrBuilder> + systemInstructionBuilder_; + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the systemInstruction field is set. + */ + public boolean hasSystemInstruction() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The systemInstruction. + */ + public com.google.cloud.vertexai.api.Content getSystemInstruction() { + if (systemInstructionBuilder_ == null) { + return systemInstruction_ == null + ? com.google.cloud.vertexai.api.Content.getDefaultInstance() + : systemInstruction_; + } else { + return systemInstructionBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSystemInstruction(com.google.cloud.vertexai.api.Content value) { + if (systemInstructionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + systemInstruction_ = value; + } else { + systemInstructionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSystemInstruction( + com.google.cloud.vertexai.api.Content.Builder builderForValue) { + if (systemInstructionBuilder_ == null) { + systemInstruction_ = builderForValue.build(); + } else { + systemInstructionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeSystemInstruction(com.google.cloud.vertexai.api.Content value) { + if (systemInstructionBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && systemInstruction_ != null + && systemInstruction_ != com.google.cloud.vertexai.api.Content.getDefaultInstance()) { + getSystemInstructionBuilder().mergeFrom(value); + } else { + systemInstruction_ = value; + } + } else { + systemInstructionBuilder_.mergeFrom(value); + } + if (systemInstruction_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearSystemInstruction() { + bitField0_ = (bitField0_ & ~0x00000004); + systemInstruction_ = null; + if (systemInstructionBuilder_ != null) { + systemInstructionBuilder_.dispose(); + systemInstructionBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.vertexai.api.Content.Builder getSystemInstructionBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSystemInstructionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.vertexai.api.ContentOrBuilder getSystemInstructionOrBuilder() { + if (systemInstructionBuilder_ != null) { + return systemInstructionBuilder_.getMessageOrBuilder(); + } else { + return systemInstruction_ == null + ? com.google.cloud.vertexai.api.Content.getDefaultInstance() + : systemInstruction_; + } + } + /** + * + * + *
+     * Optional. The user provided system instructions for the model.
+     * Note: only text should be used in parts and content in each part will be in
+     * a separate paragraph.
+     * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Content, + com.google.cloud.vertexai.api.Content.Builder, + com.google.cloud.vertexai.api.ContentOrBuilder> + getSystemInstructionFieldBuilder() { + if (systemInstructionBuilder_ == null) { + systemInstructionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Content, + com.google.cloud.vertexai.api.Content.Builder, + com.google.cloud.vertexai.api.ContentOrBuilder>( + getSystemInstruction(), getParentForChildren(), isClean()); + systemInstruction_ = null; + } + return systemInstructionBuilder_; + } + private java.util.List tools_ = java.util.Collections.emptyList(); private void ensureToolsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { tools_ = new java.util.ArrayList(tools_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; } } @@ -1936,7 +2257,7 @@ public Builder addAllTools( public Builder clearTools() { if (toolsBuilder_ == null) { tools_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { toolsBuilder_.clear(); @@ -2106,7 +2427,7 @@ public java.util.List getToolsBuilde com.google.cloud.vertexai.api.Tool, com.google.cloud.vertexai.api.Tool.Builder, com.google.cloud.vertexai.api.ToolOrBuilder>( - tools_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + tools_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); tools_ = null; } return toolsBuilder_; @@ -2116,10 +2437,10 @@ public java.util.List getToolsBuilde java.util.Collections.emptyList(); private void ensureSafetySettingsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { safetySettings_ = new java.util.ArrayList(safetySettings_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -2368,7 +2689,7 @@ public Builder addAllSafetySettings( public Builder clearSafetySettings() { if (safetySettingsBuilder_ == null) { safetySettings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { safetySettingsBuilder_.clear(); @@ -2513,7 +2834,7 @@ public com.google.cloud.vertexai.api.SafetySetting.Builder addSafetySettingsBuil com.google.cloud.vertexai.api.SafetySetting.Builder, com.google.cloud.vertexai.api.SafetySettingOrBuilder>( safetySettings_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); safetySettings_ = null; @@ -2541,7 +2862,7 @@ public com.google.cloud.vertexai.api.SafetySetting.Builder addSafetySettingsBuil * @return Whether the generationConfig field is set. */ public boolean hasGenerationConfig() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -2585,7 +2906,7 @@ public Builder setGenerationConfig(com.google.cloud.vertexai.api.GenerationConfi } else { generationConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2607,7 +2928,7 @@ public Builder setGenerationConfig( } else { generationConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2624,7 +2945,7 @@ public Builder setGenerationConfig( */ public Builder mergeGenerationConfig(com.google.cloud.vertexai.api.GenerationConfig value) { if (generationConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000020) != 0) && generationConfig_ != null && generationConfig_ != com.google.cloud.vertexai.api.GenerationConfig.getDefaultInstance()) { @@ -2636,7 +2957,7 @@ public Builder mergeGenerationConfig(com.google.cloud.vertexai.api.GenerationCon generationConfigBuilder_.mergeFrom(value); } if (generationConfig_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -2653,7 +2974,7 @@ public Builder mergeGenerationConfig(com.google.cloud.vertexai.api.GenerationCon * */ public Builder clearGenerationConfig() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); generationConfig_ = null; if (generationConfigBuilder_ != null) { generationConfigBuilder_.dispose(); @@ -2674,7 +2995,7 @@ public Builder clearGenerationConfig() { * */ public com.google.cloud.vertexai.api.GenerationConfig.Builder getGenerationConfigBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return getGenerationConfigFieldBuilder().getBuilder(); } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequestOrBuilder.java index c1dbe68e72f7..757a3a08e3b2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GenerateContentRequestOrBuilder @@ -135,6 +135,53 @@ public interface GenerateContentRequestOrBuilder */ com.google.cloud.vertexai.api.ContentOrBuilder getContentsOrBuilder(int index); + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the systemInstruction field is set. + */ + boolean hasSystemInstruction(); + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The systemInstruction. + */ + com.google.cloud.vertexai.api.Content getSystemInstruction(); + /** + * + * + *
+   * Optional. The user provided system instructions for the model.
+   * Note: only text should be used in parts and content in each part will be in
+   * a separate paragraph.
+   * 
+ * + * + * optional .google.cloud.vertexai.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.vertexai.api.ContentOrBuilder getSystemInstructionOrBuilder(); + /** * * diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java index 438bd66091f5..4891f7c37bec 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -272,6 +272,27 @@ public enum BlockedReason implements com.google.protobuf.ProtocolMessageEnum { * OTHER = 2; */ OTHER(2), + /** + * + * + *
+       * Candidates blocked due to the terms which are included from the
+       * terminology blocklist.
+       * 
+ * + * BLOCKLIST = 3; + */ + BLOCKLIST(3), + /** + * + * + *
+       * Candidates blocked due to prohibited content.
+       * 
+ * + * PROHIBITED_CONTENT = 4; + */ + PROHIBITED_CONTENT(4), UNRECOGNIZED(-1), ; @@ -305,6 +326,27 @@ public enum BlockedReason implements com.google.protobuf.ProtocolMessageEnum { * OTHER = 2; */ public static final int OTHER_VALUE = 2; + /** + * + * + *
+       * Candidates blocked due to the terms which are included from the
+       * terminology blocklist.
+       * 
+ * + * BLOCKLIST = 3; + */ + public static final int BLOCKLIST_VALUE = 3; + /** + * + * + *
+       * Candidates blocked due to prohibited content.
+       * 
+ * + * PROHIBITED_CONTENT = 4; + */ + public static final int PROHIBITED_CONTENT_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -336,6 +378,10 @@ public static BlockedReason forNumber(int value) { return SAFETY; case 2: return OTHER; + case 3: + return BLOCKLIST; + case 4: + return PROHIBITED_CONTENT; default: return null; } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponseOrBuilder.java index 77e99371413b..18bed5e72964 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GenerateContentResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java index 28abea0af9f1..d5a28f0046d0 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -40,6 +40,7 @@ private GenerationConfig(com.google.protobuf.GeneratedMessageV3.Builder build private GenerationConfig() { stopSequences_ = com.google.protobuf.LazyStringArrayList.emptyList(); + responseMimeType_ = ""; } @java.lang.Override @@ -293,6 +294,135 @@ public com.google.protobuf.ByteString getStopSequencesBytes(int index) { return stopSequences_.getByteString(index); } + public static final int PRESENCE_PENALTY_FIELD_NUMBER = 8; + private float presencePenalty_ = 0F; + /** + * + * + *
+   * Optional. Positive penalties.
+   * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the presencePenalty field is set. + */ + @java.lang.Override + public boolean hasPresencePenalty() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Optional. Positive penalties.
+   * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The presencePenalty. + */ + @java.lang.Override + public float getPresencePenalty() { + return presencePenalty_; + } + + public static final int FREQUENCY_PENALTY_FIELD_NUMBER = 9; + private float frequencyPenalty_ = 0F; + /** + * + * + *
+   * Optional. Frequency penalties.
+   * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the frequencyPenalty field is set. + */ + @java.lang.Override + public boolean hasFrequencyPenalty() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * Optional. Frequency penalties.
+   * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The frequencyPenalty. + */ + @java.lang.Override + public float getFrequencyPenalty() { + return frequencyPenalty_; + } + + public static final int RESPONSE_MIME_TYPE_FIELD_NUMBER = 13; + + @SuppressWarnings("serial") + private volatile java.lang.Object responseMimeType_ = ""; + /** + * + * + *
+   * Optional. Output response mimetype of the generated candidate text.
+   * Supported mimetype:
+   * - `text/plain`: (default) Text output.
+   * - `application/json`: JSON response in the candidates.
+   * The model needs to be prompted to output the appropriate response type,
+   * otherwise the behavior is undefined.
+   * This is a preview feature.
+   * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The responseMimeType. + */ + @java.lang.Override + public java.lang.String getResponseMimeType() { + java.lang.Object ref = responseMimeType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseMimeType_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Output response mimetype of the generated candidate text.
+   * Supported mimetype:
+   * - `text/plain`: (default) Text output.
+   * - `application/json`: JSON response in the candidates.
+   * The model needs to be prompted to output the appropriate response type,
+   * otherwise the behavior is undefined.
+   * This is a preview feature.
+   * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for responseMimeType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResponseMimeTypeBytes() { + java.lang.Object ref = responseMimeType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseMimeType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -325,6 +455,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < stopSequences_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, stopSequences_.getRaw(i)); } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeFloat(8, presencePenalty_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeFloat(9, frequencyPenalty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseMimeType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, responseMimeType_); + } getUnknownFields().writeTo(output); } @@ -357,6 +496,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getStopSequencesList().size(); } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(8, presencePenalty_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(9, frequencyPenalty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseMimeType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, responseMimeType_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -397,6 +545,17 @@ public boolean equals(final java.lang.Object obj) { if (getMaxOutputTokens() != other.getMaxOutputTokens()) return false; } if (!getStopSequencesList().equals(other.getStopSequencesList())) return false; + if (hasPresencePenalty() != other.hasPresencePenalty()) return false; + if (hasPresencePenalty()) { + if (java.lang.Float.floatToIntBits(getPresencePenalty()) + != java.lang.Float.floatToIntBits(other.getPresencePenalty())) return false; + } + if (hasFrequencyPenalty() != other.hasFrequencyPenalty()) return false; + if (hasFrequencyPenalty()) { + if (java.lang.Float.floatToIntBits(getFrequencyPenalty()) + != java.lang.Float.floatToIntBits(other.getFrequencyPenalty())) return false; + } + if (!getResponseMimeType().equals(other.getResponseMimeType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -432,6 +591,16 @@ public int hashCode() { hash = (37 * hash) + STOP_SEQUENCES_FIELD_NUMBER; hash = (53 * hash) + getStopSequencesList().hashCode(); } + if (hasPresencePenalty()) { + hash = (37 * hash) + PRESENCE_PENALTY_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getPresencePenalty()); + } + if (hasFrequencyPenalty()) { + hash = (37 * hash) + FREQUENCY_PENALTY_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFrequencyPenalty()); + } + hash = (37 * hash) + RESPONSE_MIME_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getResponseMimeType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -577,6 +746,9 @@ public Builder clear() { candidateCount_ = 0; maxOutputTokens_ = 0; stopSequences_ = com.google.protobuf.LazyStringArrayList.emptyList(); + presencePenalty_ = 0F; + frequencyPenalty_ = 0F; + responseMimeType_ = ""; return this; } @@ -638,6 +810,17 @@ private void buildPartial0(com.google.cloud.vertexai.api.GenerationConfig result stopSequences_.makeImmutable(); result.stopSequences_ = stopSequences_; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.presencePenalty_ = presencePenalty_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.frequencyPenalty_ = frequencyPenalty_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.responseMimeType_ = responseMimeType_; + } result.bitField0_ |= to_bitField0_; } @@ -711,6 +894,17 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.GenerationConfig other) { } onChanged(); } + if (other.hasPresencePenalty()) { + setPresencePenalty(other.getPresencePenalty()); + } + if (other.hasFrequencyPenalty()) { + setFrequencyPenalty(other.getFrequencyPenalty()); + } + if (!other.getResponseMimeType().isEmpty()) { + responseMimeType_ = other.responseMimeType_; + bitField0_ |= 0x00000100; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -774,6 +968,24 @@ public Builder mergeFrom( stopSequences_.add(s); break; } // case 50 + case 69: + { + presencePenalty_ = input.readFloat(); + bitField0_ |= 0x00000040; + break; + } // case 69 + case 77: + { + frequencyPenalty_ = input.readFloat(); + bitField0_ |= 0x00000080; + break; + } // case 77 + case 106: + { + responseMimeType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 106 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1307,6 +1519,278 @@ public Builder addStopSequencesBytes(com.google.protobuf.ByteString value) { return this; } + private float presencePenalty_; + /** + * + * + *
+     * Optional. Positive penalties.
+     * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the presencePenalty field is set. + */ + @java.lang.Override + public boolean hasPresencePenalty() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Optional. Positive penalties.
+     * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The presencePenalty. + */ + @java.lang.Override + public float getPresencePenalty() { + return presencePenalty_; + } + /** + * + * + *
+     * Optional. Positive penalties.
+     * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The presencePenalty to set. + * @return This builder for chaining. + */ + public Builder setPresencePenalty(float value) { + + presencePenalty_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Positive penalties.
+     * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPresencePenalty() { + bitField0_ = (bitField0_ & ~0x00000040); + presencePenalty_ = 0F; + onChanged(); + return this; + } + + private float frequencyPenalty_; + /** + * + * + *
+     * Optional. Frequency penalties.
+     * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the frequencyPenalty field is set. + */ + @java.lang.Override + public boolean hasFrequencyPenalty() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Optional. Frequency penalties.
+     * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The frequencyPenalty. + */ + @java.lang.Override + public float getFrequencyPenalty() { + return frequencyPenalty_; + } + /** + * + * + *
+     * Optional. Frequency penalties.
+     * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The frequencyPenalty to set. + * @return This builder for chaining. + */ + public Builder setFrequencyPenalty(float value) { + + frequencyPenalty_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Frequency penalties.
+     * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFrequencyPenalty() { + bitField0_ = (bitField0_ & ~0x00000080); + frequencyPenalty_ = 0F; + onChanged(); + return this; + } + + private java.lang.Object responseMimeType_ = ""; + /** + * + * + *
+     * Optional. Output response mimetype of the generated candidate text.
+     * Supported mimetype:
+     * - `text/plain`: (default) Text output.
+     * - `application/json`: JSON response in the candidates.
+     * The model needs to be prompted to output the appropriate response type,
+     * otherwise the behavior is undefined.
+     * This is a preview feature.
+     * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The responseMimeType. + */ + public java.lang.String getResponseMimeType() { + java.lang.Object ref = responseMimeType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseMimeType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Output response mimetype of the generated candidate text.
+     * Supported mimetype:
+     * - `text/plain`: (default) Text output.
+     * - `application/json`: JSON response in the candidates.
+     * The model needs to be prompted to output the appropriate response type,
+     * otherwise the behavior is undefined.
+     * This is a preview feature.
+     * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for responseMimeType. + */ + public com.google.protobuf.ByteString getResponseMimeTypeBytes() { + java.lang.Object ref = responseMimeType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseMimeType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Output response mimetype of the generated candidate text.
+     * Supported mimetype:
+     * - `text/plain`: (default) Text output.
+     * - `application/json`: JSON response in the candidates.
+     * The model needs to be prompted to output the appropriate response type,
+     * otherwise the behavior is undefined.
+     * This is a preview feature.
+     * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The responseMimeType to set. + * @return This builder for chaining. + */ + public Builder setResponseMimeType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + responseMimeType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Output response mimetype of the generated candidate text.
+     * Supported mimetype:
+     * - `text/plain`: (default) Text output.
+     * - `application/json`: JSON response in the candidates.
+     * The model needs to be prompted to output the appropriate response type,
+     * otherwise the behavior is undefined.
+     * This is a preview feature.
+     * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearResponseMimeType() { + responseMimeType_ = getDefaultInstance().getResponseMimeType(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Output response mimetype of the generated candidate text.
+     * Supported mimetype:
+     * - `text/plain`: (default) Text output.
+     * - `application/json`: JSON response in the candidates.
+     * The model needs to be prompted to output the appropriate response type,
+     * otherwise the behavior is undefined.
+     * This is a preview feature.
+     * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for responseMimeType to set. + * @return This builder for chaining. + */ + public Builder setResponseMimeTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseMimeType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfigOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfigOrBuilder.java index 1a5e12b292b1..fd77186be57b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfigOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GenerationConfigOrBuilder @@ -199,4 +199,91 @@ public interface GenerationConfigOrBuilder * @return The bytes of the stopSequences at the given index. */ com.google.protobuf.ByteString getStopSequencesBytes(int index); + + /** + * + * + *
+   * Optional. Positive penalties.
+   * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the presencePenalty field is set. + */ + boolean hasPresencePenalty(); + /** + * + * + *
+   * Optional. Positive penalties.
+   * 
+ * + * optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The presencePenalty. + */ + float getPresencePenalty(); + + /** + * + * + *
+   * Optional. Frequency penalties.
+   * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the frequencyPenalty field is set. + */ + boolean hasFrequencyPenalty(); + /** + * + * + *
+   * Optional. Frequency penalties.
+   * 
+ * + * optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The frequencyPenalty. + */ + float getFrequencyPenalty(); + + /** + * + * + *
+   * Optional. Output response mimetype of the generated candidate text.
+   * Supported mimetype:
+   * - `text/plain`: (default) Text output.
+   * - `application/json`: JSON response in the candidates.
+   * The model needs to be prompted to output the appropriate response type,
+   * otherwise the behavior is undefined.
+   * This is a preview feature.
+   * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The responseMimeType. + */ + java.lang.String getResponseMimeType(); + /** + * + * + *
+   * Optional. Output response mimetype of the generated candidate text.
+   * Supported mimetype:
+   * - `text/plain`: (default) Text output.
+   * - `application/json`: JSON response in the candidates.
+   * The model needs to be prompted to output the appropriate response type,
+   * otherwise the behavior is undefined.
+   * This is a preview feature.
+   * 
+ * + * string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for responseMimeType. + */ + com.google.protobuf.ByteString getResponseMimeTypeBytes(); } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadata.java index d16b9a932d81..99dea8718acb 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/operation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadataOrBuilder.java index f904810dadaf..5dc579a2c0e1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenericOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/operation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GenericOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequest.java index 2faec8266bba..6ebf686a5aa1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequestOrBuilder.java index 0c83dfc8ada9..f391af8a456c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GetEndpointRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GetEndpointRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrieval.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrieval.java index b95257e6e8c4..78662d557505 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrieval.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrieval.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrievalOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrievalOrBuilder.java index a45b10552d0d..6a5b7fcada88 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrievalOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrievalOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GoogleSearchRetrievalOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttribution.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttribution.java index 6d1980582528..093b7a8db701 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttribution.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttribution.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttributionOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttributionOrBuilder.java index 3026cd831ec8..c085e0ba9b8a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttributionOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingAttributionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GroundingAttributionOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java index 2fcce13b3ba7..72b9117d2334 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadataOrBuilder.java index f0de898071a9..5b9adc982d78 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface GroundingMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/HarmCategory.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/HarmCategory.java index 85bded6c5774..225e3eaf366d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/HarmCategory.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/HarmCategory.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64Array.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64Array.java index 984a058840b6..4689570e08ba 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64Array.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64Array.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64ArrayOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64ArrayOrBuilder.java index ec0df16275c5..ba89d174a724 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64ArrayOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Int64ArrayOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface Int64ArrayOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttribution.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttribution.java index 4164aa71a0d8..971cb08636c9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttribution.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttribution.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttributionOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttributionOrBuilder.java index bfc9e69a9f5a..04781e9b7ee2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttributionOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IntegratedGradientsAttributionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface IntegratedGradientsAttributionOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IoProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IoProto.java index ccb0c6ab4eee..25be0660863f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IoProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/IoProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class IoProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequest.java index 3fbc28481210..03e85352991c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -137,9 +137,8 @@ public com.google.protobuf.ByteString getParentBytes() { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -179,9 +178,8 @@ public java.lang.String getFilter() { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -1019,9 +1017,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -1060,9 +1057,8 @@ public java.lang.String getFilter() { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -1101,9 +1097,8 @@ public com.google.protobuf.ByteString getFilterBytes() { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -1141,9 +1136,8 @@ public Builder setFilter(java.lang.String value) { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -1177,9 +1171,8 @@ public Builder clearFilter() { * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequestOrBuilder.java index 8706304a2a0c..3af611dc0c9b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ListEndpointsRequestOrBuilder @@ -63,9 +63,8 @@ public interface ListEndpointsRequestOrBuilder * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality @@ -94,9 +93,8 @@ public interface ListEndpointsRequestOrBuilder * names both snake_case and camelCase are supported. * * * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - * ID, - * i.e. the last segment of the Endpoint's [resource - * name][google.cloud.aiplatform.v1.Endpoint.name]. + * ID, i.e. the last segment of the Endpoint's + * [resource name][google.cloud.aiplatform.v1.Endpoint.name]. * * `display_name` supports `=` and `!=`. * * `labels` supports general map functions that is: * * `labels.key=value` - key:value equality diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponse.java index 5c51d809e0b9..141c6b847ee8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponseOrBuilder.java index d2ee1eb2ef99..36cde7ab6eb3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ListEndpointsResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LlmUtilityServiceProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LlmUtilityServiceProto.java index 815972e3e6bd..b3ef2634ce1b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LlmUtilityServiceProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LlmUtilityServiceProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class LlmUtilityServiceProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineResourcesProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineResourcesProto.java index 7cd3136eeff1..c3376db9b0dc 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineResourcesProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineResourcesProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class MachineResourcesProto { @@ -64,6 +64,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vertexai_v1_AutoscalingMetricSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vertexai_v1_AutoscalingMetricSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -101,13 +105,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\003\"L\n\010NfsMount\022\023\n\006server\030\001 \001(\tB\003\340A\002\022\021\n\004" + "path\030\002 \001(\tB\003\340A\002\022\030\n\013mount_point\030\003 \001(\tB\003\340A" + "\002\"A\n\025AutoscalingMetricSpec\022\030\n\013metric_nam" - + "e\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\322\001\n\035com.goo" - + "gle.cloud.vertexai.apiB\025MachineResources" - + "ProtoP\001Z>cloud.google.com/go/aiplatform/" - + "apiv1/aiplatformpb;aiplatformpb\252\002\032Google" - + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" - + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" - + "1b\006proto3" + + "e\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005\".\n\020Shielded" + + "VmConfig\022\032\n\022enable_secure_boot\030\001 \001(\010B\322\001\n" + + "\035com.google.cloud.vertexai.apiB\025MachineR" + + "esourcesProtoP\001Z>cloud.google.com/go/aip" + + "latform/apiv1/aiplatformpb;aiplatformpb\252" + + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" + + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" + + "tform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -188,6 +193,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "MetricName", "Target", }); + internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor, + new java.lang.String[] { + "EnableSecureBoot", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpec.java index 51fb26bc0dc9..7a3b8d8182e8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpecOrBuilder.java index 24d4f0a0542b..61d8e43278f9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MachineSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface MachineSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanation.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanation.java index 4bb9f08e68ac..b915b263374a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanation.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanation.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanationOrBuilder.java index 9aac1eebf6ad..e0815a296fba 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModelExplanationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ModelExplanationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadata.java index 9e7736312c0c..5455c4cf6d28 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadataOrBuilder.java index 27f97f913671..3b0d0743e9eb 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface MutateDeployedModelOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequest.java index b774646f7d39..341f55639e54 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequestOrBuilder.java index 19c62c8ae969..6688b560051e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface MutateDeployedModelRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponse.java index 320bfc4e3ea0..1d0101714ff3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponseOrBuilder.java index 6d2574313664..dc73efd80261 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/MutateDeployedModelResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface MutateDeployedModelResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Neighbor.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Neighbor.java index 10694f464d22..bc430c5e36c1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Neighbor.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Neighbor.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NeighborOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NeighborOrBuilder.java index f25f54311242..2ae1047d585f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NeighborOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NeighborOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface NeighborOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMount.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMount.java index c42b0f0e1e9c..4e1f3f3b5dde 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMount.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMount.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMountOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMountOrBuilder.java index ef8c6c5ef4e2..04096f176646 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMountOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/NfsMountOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface NfsMountOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OpenApiProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OpenApiProto.java index 80826af97bb8..21be315ad0f6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OpenApiProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OpenApiProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/openapi.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class OpenApiProto { @@ -48,25 +48,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n&google/cloud/vertexai/v1/openapi.proto" + "\022\030google.cloud.vertexai.v1\032\037google/api/f" + "ield_behavior.proto\032\034google/protobuf/str" - + "uct.proto\"\257\003\n\006Schema\0221\n\004type\030\001 \001(\0162\036.goo" + + "uct.proto\"\317\005\n\006Schema\0221\n\004type\030\001 \001(\0162\036.goo" + "gle.cloud.vertexai.v1.TypeB\003\340A\001\022\023\n\006forma" - + "t\030\007 \001(\tB\003\340A\001\022\030\n\013description\030\010 \001(\tB\003\340A\001\022\025" - + "\n\010nullable\030\006 \001(\010B\003\340A\001\0224\n\005items\030\002 \001(\0132 .g" - + "oogle.cloud.vertexai.v1.SchemaB\003\340A\001\022\021\n\004e" - + "num\030\t \003(\tB\003\340A\001\022I\n\nproperties\030\003 \003(\01320.goo" - + "gle.cloud.vertexai.v1.Schema.PropertiesE" - + "ntryB\003\340A\001\022\025\n\010required\030\005 \003(\tB\003\340A\001\022,\n\007exam" - + "ple\030\004 \001(\0132\026.google.protobuf.ValueB\003\340A\001\032S" - + "\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030" - + "\002 \001(\0132 .google.cloud.vertexai.v1.Schema:" - + "\0028\001*e\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STR" - + "ING\020\001\022\n\n\006NUMBER\020\002\022\013\n\007INTEGER\020\003\022\013\n\007BOOLEA" - + "N\020\004\022\t\n\005ARRAY\020\005\022\n\n\006OBJECT\020\006B\311\001\n\035com.googl" - + "e.cloud.vertexai.apiB\014OpenApiProtoP\001Z>cl" - + "oud.google.com/go/aiplatform/apiv1/aipla" - + "tformpb;aiplatformpb\252\002\032Google.Cloud.AIPl" - + "atform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002" - + "\035Google::Cloud::AIPlatform::V1b\006proto3" + + "t\030\007 \001(\tB\003\340A\001\022\022\n\005title\030\030 \001(\tB\003\340A\001\022\030\n\013desc" + + "ription\030\010 \001(\tB\003\340A\001\022\025\n\010nullable\030\006 \001(\010B\003\340A" + + "\001\022,\n\007default\030\027 \001(\0132\026.google.protobuf.Val" + + "ueB\003\340A\001\0224\n\005items\030\002 \001(\0132 .google.cloud.ve" + + "rtexai.v1.SchemaB\003\340A\001\022\026\n\tmin_items\030\025 \001(\003" + + "B\003\340A\001\022\026\n\tmax_items\030\026 \001(\003B\003\340A\001\022\021\n\004enum\030\t " + + "\003(\tB\003\340A\001\022I\n\nproperties\030\003 \003(\01320.google.cl" + + "oud.vertexai.v1.Schema.PropertiesEntryB\003" + + "\340A\001\022\025\n\010required\030\005 \003(\tB\003\340A\001\022\033\n\016min_proper" + + "ties\030\016 \001(\003B\003\340A\001\022\033\n\016max_properties\030\017 \001(\003B" + + "\003\340A\001\022\024\n\007minimum\030\020 \001(\001B\003\340A\001\022\024\n\007maximum\030\021 " + + "\001(\001B\003\340A\001\022\027\n\nmin_length\030\022 \001(\003B\003\340A\001\022\027\n\nmax" + + "_length\030\023 \001(\003B\003\340A\001\022\024\n\007pattern\030\024 \001(\tB\003\340A\001" + + "\022,\n\007example\030\004 \001(\0132\026.google.protobuf.Valu" + + "eB\003\340A\001\032S\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022/" + + "\n\005value\030\002 \001(\0132 .google.cloud.vertexai.v1" + + ".Schema:\0028\001*e\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006STRING\020\001\022\n\n\006NUMBER\020\002\022\013\n\007INTEGER\020\003\022\013" + + "\n\007BOOLEAN\020\004\022\t\n\005ARRAY\020\005\022\n\n\006OBJECT\020\006B\311\001\n\035c" + + "om.google.cloud.vertexai.apiB\014OpenApiPro" + + "toP\001Z>cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -83,12 +91,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Type", "Format", + "Title", "Description", "Nullable", + "Default", "Items", + "MinItems", + "MaxItems", "Enum", "Properties", "Required", + "MinProperties", + "MaxProperties", + "Minimum", + "Maximum", + "MinLength", + "MaxLength", + "Pattern", "Example", }); internal_static_google_cloud_vertexai_v1_Schema_PropertiesEntry_descriptor = diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OperationProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OperationProto.java index a0f5b854fec9..72fcaf5fab71 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OperationProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/OperationProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/operation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class OperationProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java index efed2b77c25b..5102820eee18 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Part.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PartOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PartOrBuilder.java index 7f486e7488f1..602d309ae542 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PartOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PartOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PartOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpec.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpec.java index b3b699d02780..ea17493b70ea 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpec.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpec.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpecOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpecOrBuilder.java index 6e08a12f1a51..19c8de6c6ec6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpecOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PersistentDiskSpecOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PersistentDiskSpecOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequest.java index 68fe80485111..ea1840d033e3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestOrBuilder.java index 5389b4d28520..2b391508e846 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfig.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfig.java index 9697264946a2..55f7cfb695e1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfig.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfigOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfigOrBuilder.java index 984a2fd6c9c0..c55a2f679117 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfigOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictRequestResponseLoggingConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PredictRequestResponseLoggingConfigOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponse.java index 39d35ebf749d..d05c01c1774d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponseOrBuilder.java index f39bb2fdaf70..558c8fcad739 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceProto.java index a4b25e70f9a8..da662d55ae58 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class PredictionServiceProto { @@ -216,112 +216,116 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "otobuf.ValueB\003\340A\002\0228\n\010contents\030\004 \003(\0132!.go" + "ogle.cloud.vertexai.v1.ContentB\003\340A\002\"N\n\023C" + "ountTokensResponse\022\024\n\014total_tokens\030\001 \001(\005" - + "\022!\n\031total_billable_characters\030\002 \001(\005\"\255\002\n\026" + + "\022!\n\031total_billable_characters\030\002 \001(\005\"\215\003\n\026" + "GenerateContentRequest\022\022\n\005model\030\005 \001(\tB\003\340" + "A\002\0228\n\010contents\030\002 \003(\0132!.google.cloud.vert" - + "exai.v1.ContentB\003\340A\002\0222\n\005tools\030\006 \003(\0132\036.go" - + "ogle.cloud.vertexai.v1.ToolB\003\340A\001\022E\n\017safe" - + "ty_settings\030\003 \003(\0132\'.google.cloud.vertexa" - + "i.v1.SafetySettingB\003\340A\001\022J\n\021generation_co" - + "nfig\030\004 \001(\0132*.google.cloud.vertexai.v1.Ge" - + "nerationConfigB\003\340A\001\"\246\005\n\027GenerateContentR" - + "esponse\022<\n\ncandidates\030\002 \003(\0132#.google.clo" - + "ud.vertexai.v1.CandidateB\003\340A\003\022^\n\017prompt_" - + "feedback\030\003 \001(\0132@.google.cloud.vertexai.v" - + "1.GenerateContentResponse.PromptFeedback" - + "B\003\340A\003\022W\n\016usage_metadata\030\004 \001(\0132?.google.c" - + "loud.vertexai.v1.GenerateContentResponse" - + ".UsageMetadata\032\253\002\n\016PromptFeedback\022i\n\014blo" - + "ck_reason\030\001 \001(\0162N.google.cloud.vertexai." - + "v1.GenerateContentResponse.PromptFeedbac" - + "k.BlockedReasonB\003\340A\003\022C\n\016safety_ratings\030\002" - + " \003(\0132&.google.cloud.vertexai.v1.SafetyRa" - + "tingB\003\340A\003\022!\n\024block_reason_message\030\003 \001(\tB" - + "\003\340A\003\"F\n\rBlockedReason\022\036\n\032BLOCKED_REASON_" - + "UNSPECIFIED\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\032f\n\r" - + "UsageMetadata\022\032\n\022prompt_token_count\030\001 \001(" - + "\005\022\036\n\026candidates_token_count\030\002 \001(\005\022\031\n\021tot" - + "al_token_count\030\003 \001(\0052\257\027\n\021PredictionServi" - + "ce\022\220\002\n\007Predict\022(.google.cloud.vertexai.v" - + "1.PredictRequest\032).google.cloud.vertexai" - + ".v1.PredictResponse\"\257\001\332A\035endpoint,instan" - + "ces,parameters\202\323\344\223\002\210\001\"9/v1/{endpoint=pro" - + "jects/*/locations/*/endpoints/*}:predict" - + ":\001*ZH\"C/v1/{endpoint=projects/*/location" - + "s/*/publishers/*/models/*}:predict:\001*\022\374\001" - + "\n\nRawPredict\022+.google.cloud.vertexai.v1." - + "RawPredictRequest\032\024.google.api.HttpBody\"" - + "\252\001\332A\022endpoint,http_body\202\323\344\223\002\216\001\"\"9/v1/{endpoint" - + "=projects/*/locations/*/endpoints/*}:exp" - + "lain:\001*\022\243\002\n\017GenerateContent\0220.google.clo" - + "ud.vertexai.v1.GenerateContentRequest\0321." - + "google.cloud.vertexai.v1.GenerateContent" - + "Response\"\252\001\332A\016model,contents\202\323\344\223\002\222\001\">/v1" - + "/{model=projects/*/locations/*/endpoints" - + "/*}:generateContent:\001*ZM\"H/v1/{model=pro" - + "jects/*/locations/*/publishers/*/models/" - + "*}:generateContent:\001*\022\267\002\n\025StreamGenerate" - + "Content\0220.google.cloud.vertexai.v1.Gener" - + "ateContentRequest\0321.google.cloud.vertexa" - + "i.v1.GenerateContentResponse\"\266\001\332A\016model," - + "contents\202\323\344\223\002\236\001\"D/v1/{model=projects/*/l" - + "ocations/*/endpoints/*}:streamGenerateCo" - + "ntent:\001*ZS\"N/v1/{model=projects/*/locati" - + "ons/*/publishers/*/models/*}:streamGener" - + "ateContent:\001*0\001\032M\312A\031aiplatform.googleapi" - + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\323\001\n\035com.google.cloud.vert" - + "exai.apiB\026PredictionServiceProtoP\001Z>clou" - + "d.google.com/go/aiplatform/apiv1/aiplatf" - + "ormpb;aiplatformpb\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "exai.v1.ContentB\003\340A\002\022G\n\022system_instructi" + + "on\030\010 \001(\0132!.google.cloud.vertexai.v1.Cont" + + "entB\003\340A\001H\000\210\001\001\0222\n\005tools\030\006 \003(\0132\036.google.cl" + + "oud.vertexai.v1.ToolB\003\340A\001\022E\n\017safety_sett" + + "ings\030\003 \003(\0132\'.google.cloud.vertexai.v1.Sa" + + "fetySettingB\003\340A\001\022J\n\021generation_config\030\004 " + + "\001(\0132*.google.cloud.vertexai.v1.Generatio" + + "nConfigB\003\340A\001B\025\n\023_system_instruction\"\315\005\n\027" + + "GenerateContentResponse\022<\n\ncandidates\030\002 " + + "\003(\0132#.google.cloud.vertexai.v1.Candidate" + + "B\003\340A\003\022^\n\017prompt_feedback\030\003 \001(\0132@.google." + + "cloud.vertexai.v1.GenerateContentRespons" + + "e.PromptFeedbackB\003\340A\003\022W\n\016usage_metadata\030" + + "\004 \001(\0132?.google.cloud.vertexai.v1.Generat" + + "eContentResponse.UsageMetadata\032\322\002\n\016Promp" + + "tFeedback\022i\n\014block_reason\030\001 \001(\0162N.google" + + ".cloud.vertexai.v1.GenerateContentRespon" + + "se.PromptFeedback.BlockedReasonB\003\340A\003\022C\n\016" + + "safety_ratings\030\002 \003(\0132&.google.cloud.vert" + + "exai.v1.SafetyRatingB\003\340A\003\022!\n\024block_reaso" + + "n_message\030\003 \001(\tB\003\340A\003\"m\n\rBlockedReason\022\036\n" + + "\032BLOCKED_REASON_UNSPECIFIED\020\000\022\n\n\006SAFETY\020" + + "\001\022\t\n\005OTHER\020\002\022\r\n\tBLOCKLIST\020\003\022\026\n\022PROHIBITE" + + "D_CONTENT\020\004\032f\n\rUsageMetadata\022\032\n\022prompt_t" + + "oken_count\030\001 \001(\005\022\036\n\026candidates_token_cou" + + "nt\030\002 \001(\005\022\031\n\021total_token_count\030\003 \001(\0052\257\027\n\021" + + "PredictionService\022\220\002\n\007Predict\022(.google.c" + + "loud.vertexai.v1.PredictRequest\032).google" + + ".cloud.vertexai.v1.PredictResponse\"\257\001\332A\035" + + "endpoint,instances,parameters\202\323\344\223\002\210\001\"9/v" + + "1/{endpoint=projects/*/locations/*/endpo" + + "ints/*}:predict:\001*ZH\"C/v1/{endpoint=proj" + + "ects/*/locations/*/publishers/*/models/*" + + "}:predict:\001*\022\374\001\n\nRawPredict\022+.google.clo" + + "ud.vertexai.v1.RawPredictRequest\032\024.googl" + + "e.api.HttpBody\"\252\001\332A\022endpoint,http_body\202\323" + + "\344\223\002\216\001\"" + + "\"9/v1/{endpoint=projects/*/locations/*/e" + + "ndpoints/*}:explain:\001*\022\243\002\n\017GenerateConte" + + "nt\0220.google.cloud.vertexai.v1.GenerateCo" + + "ntentRequest\0321.google.cloud.vertexai.v1." + + "GenerateContentResponse\"\252\001\332A\016model,conte" + + "nts\202\323\344\223\002\222\001\">/v1/{model=projects/*/locati" + + "ons/*/endpoints/*}:generateContent:\001*ZM\"" + + "H/v1/{model=projects/*/locations/*/publi" + + "shers/*/models/*}:generateContent:\001*\022\267\002\n" + + "\025StreamGenerateContent\0220.google.cloud.ve" + + "rtexai.v1.GenerateContentRequest\0321.googl" + + "e.cloud.vertexai.v1.GenerateContentRespo" + + "nse\"\266\001\332A\016model,contents\202\323\344\223\002\236\001\"D/v1/{mod" + + "el=projects/*/locations/*/endpoints/*}:s" + + "treamGenerateContent:\001*ZS\"N/v1/{model=pr" + + "ojects/*/locations/*/publishers/*/models" + + "/*}:streamGenerateContent:\001*0\001\032M\312A\031aipla" + + "tform.googleapis.com\322A.https://www.googl" + + "eapis.com/auth/cloud-platformB\323\001\n\035com.go" + + "ogle.cloud.vertexai.apiB\026PredictionServi" + + "ceProtoP\001Z>cloud.google.com/go/aiplatfor" + + "m/apiv1/aiplatformpb;aiplatformpb\252\002\032Goog" + + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" + + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -509,7 +513,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vertexai_v1_GenerateContentRequest_descriptor, new java.lang.String[] { - "Model", "Contents", "Tools", "SafetySettings", "GenerationConfig", + "Model", + "Contents", + "SystemInstruction", + "Tools", + "SafetySettings", + "GenerationConfig", }); internal_static_google_cloud_vertexai_v1_GenerateContentResponse_descriptor = getDescriptor().getMessageTypes().get(21); diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Presets.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Presets.java index 8786089d86ff..42aad03cebff 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Presets.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Presets.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PresetsOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PresetsOrBuilder.java index ea41f12c6923..a1c310f4859d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PresetsOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PresetsOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PresetsOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpoints.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpoints.java index e1c41771c3c0..7799483aa31d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpoints.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpoints.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpointsOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpointsOrBuilder.java index 9959c82819b3..687a2c1a5c5e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpointsOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PrivateEndpointsOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface PrivateEndpointsOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequest.java index 22bfe4dda4b9..afd72d7d51bf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequestOrBuilder.java index 59d34a30c5c0..2cb99911627d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RawPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface RawPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumed.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumed.java index df79d91f95cf..d3c8fe4f9c8f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumed.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumed.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumedOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumedOrBuilder.java index 67731de1e4bc..60508538f270 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumedOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ResourcesConsumedOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/machine_resources.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ResourcesConsumedOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Retrieval.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Retrieval.java index 771bb31c763d..57feedaaa5b1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Retrieval.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Retrieval.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RetrievalOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RetrievalOrBuilder.java index 870e53f95b39..1dd28f042210 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RetrievalOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RetrievalOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface RetrievalOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRating.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRating.java index 291284e61672..5917139a02d0 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRating.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRating.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRatingOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRatingOrBuilder.java index 56c32dd6c1a4..80a5f666da26 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRatingOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetyRatingOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SafetyRatingOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySetting.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySetting.java index 58f4bf0ffa36..835ec22ced1a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySetting.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySetting.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -41,6 +41,7 @@ private SafetySetting(com.google.protobuf.GeneratedMessageV3.Builder builder) private SafetySetting() { category_ = 0; threshold_ = 0; + method_ = 0; } @java.lang.Override @@ -268,6 +269,165 @@ private HarmBlockThreshold(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vertexai.v1.SafetySetting.HarmBlockThreshold) } + /** + * + * + *
+   * Probability vs severity.
+   * 
+ * + * Protobuf enum {@code google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod} + */ + public enum HarmBlockMethod implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The harm block method is unspecified.
+     * 
+ * + * HARM_BLOCK_METHOD_UNSPECIFIED = 0; + */ + HARM_BLOCK_METHOD_UNSPECIFIED(0), + /** + * + * + *
+     * The harm block method uses both probability and severity scores.
+     * 
+ * + * SEVERITY = 1; + */ + SEVERITY(1), + /** + * + * + *
+     * The harm block method uses the probability score.
+     * 
+ * + * PROBABILITY = 2; + */ + PROBABILITY(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * The harm block method is unspecified.
+     * 
+ * + * HARM_BLOCK_METHOD_UNSPECIFIED = 0; + */ + public static final int HARM_BLOCK_METHOD_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * The harm block method uses both probability and severity scores.
+     * 
+ * + * SEVERITY = 1; + */ + public static final int SEVERITY_VALUE = 1; + /** + * + * + *
+     * The harm block method uses the probability score.
+     * 
+ * + * PROBABILITY = 2; + */ + public static final int PROBABILITY_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static HarmBlockMethod valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static HarmBlockMethod forNumber(int value) { + switch (value) { + case 0: + return HARM_BLOCK_METHOD_UNSPECIFIED; + case 1: + return SEVERITY; + case 2: + return PROBABILITY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HarmBlockMethod findValueByNumber(int number) { + return HarmBlockMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vertexai.api.SafetySetting.getDescriptor().getEnumTypes().get(1); + } + + private static final HarmBlockMethod[] VALUES = values(); + + public static HarmBlockMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private HarmBlockMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod) + } + public static final int CATEGORY_FIELD_NUMBER = 1; private int category_ = 0; /** @@ -348,6 +508,49 @@ public com.google.cloud.vertexai.api.SafetySetting.HarmBlockThreshold getThresho : result; } + public static final int METHOD_FIELD_NUMBER = 4; + private int method_ = 0; + /** + * + * + *
+   * Optional. Specify if the threshold is used for probability or severity
+   * score. If not specified, the threshold is used for probability score.
+   * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for method. + */ + @java.lang.Override + public int getMethodValue() { + return method_; + } + /** + * + * + *
+   * Optional. Specify if the threshold is used for probability or severity
+   * score. If not specified, the threshold is used for probability score.
+   * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The method. + */ + @java.lang.Override + public com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod getMethod() { + com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod result = + com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.forNumber(method_); + return result == null + ? com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -372,6 +575,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, threshold_); } + if (method_ + != com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.HARM_BLOCK_METHOD_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, method_); + } getUnknownFields().writeTo(output); } @@ -391,6 +599,11 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, threshold_); } + if (method_ + != com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.HARM_BLOCK_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, method_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -409,6 +622,7 @@ public boolean equals(final java.lang.Object obj) { if (category_ != other.category_) return false; if (threshold_ != other.threshold_) return false; + if (method_ != other.method_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -424,6 +638,8 @@ public int hashCode() { hash = (53 * hash) + category_; hash = (37 * hash) + THRESHOLD_FIELD_NUMBER; hash = (53 * hash) + threshold_; + hash = (37 * hash) + METHOD_FIELD_NUMBER; + hash = (53 * hash) + method_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -565,6 +781,7 @@ public Builder clear() { bitField0_ = 0; category_ = 0; threshold_ = 0; + method_ = 0; return this; } @@ -607,6 +824,9 @@ private void buildPartial0(com.google.cloud.vertexai.api.SafetySetting result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.threshold_ = threshold_; } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.method_ = method_; + } } @java.lang.Override @@ -660,6 +880,9 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.SafetySetting other) { if (other.threshold_ != 0) { setThresholdValue(other.getThresholdValue()); } + if (other.method_ != 0) { + setMethodValue(other.getMethodValue()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -698,6 +921,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 16 + case 32: + { + method_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -920,6 +1149,113 @@ public Builder clearThreshold() { return this; } + private int method_ = 0; + /** + * + * + *
+     * Optional. Specify if the threshold is used for probability or severity
+     * score. If not specified, the threshold is used for probability score.
+     * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for method. + */ + @java.lang.Override + public int getMethodValue() { + return method_; + } + /** + * + * + *
+     * Optional. Specify if the threshold is used for probability or severity
+     * score. If not specified, the threshold is used for probability score.
+     * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for method to set. + * @return This builder for chaining. + */ + public Builder setMethodValue(int value) { + method_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify if the threshold is used for probability or severity
+     * score. If not specified, the threshold is used for probability score.
+     * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The method. + */ + @java.lang.Override + public com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod getMethod() { + com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod result = + com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.forNumber(method_); + return result == null + ? com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Optional. Specify if the threshold is used for probability or severity
+     * score. If not specified, the threshold is used for probability score.
+     * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The method to set. + * @return This builder for chaining. + */ + public Builder setMethod(com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + method_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify if the threshold is used for probability or severity
+     * score. If not specified, the threshold is used for probability score.
+     * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearMethod() { + bitField0_ = (bitField0_ & ~0x00000004); + method_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySettingOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySettingOrBuilder.java index 89af78026bc1..55d3724244d8 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySettingOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SafetySettingOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SafetySettingOrBuilder @@ -81,4 +81,35 @@ public interface SafetySettingOrBuilder * @return The threshold. */ com.google.cloud.vertexai.api.SafetySetting.HarmBlockThreshold getThreshold(); + + /** + * + * + *
+   * Optional. Specify if the threshold is used for probability or severity
+   * score. If not specified, the threshold is used for probability score.
+   * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for method. + */ + int getMethodValue(); + /** + * + * + *
+   * Optional. Specify if the threshold is used for probability or severity
+   * score. If not specified, the threshold is used for probability score.
+   * 
+ * + * + * .google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod method = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The method. + */ + com.google.cloud.vertexai.api.SafetySetting.HarmBlockMethod getMethod(); } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttribution.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttribution.java index 08649c276faa..0257ec7574d6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttribution.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttribution.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttributionOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttributionOrBuilder.java index 85ca7e994d38..41046a054d86 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttributionOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SampledShapleyAttributionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SampledShapleyAttributionOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Schema.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Schema.java index 7ef975ebafdf..4654746b3b39 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Schema.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Schema.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/openapi.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -44,9 +44,11 @@ private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Schema() { type_ = 0; format_ = ""; + title_ = ""; description_ = ""; enum_ = com.google.protobuf.LazyStringArrayList.emptyList(); required_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pattern_ = ""; } @java.lang.Override @@ -127,8 +129,9 @@ public com.google.cloud.vertexai.api.Type getType() { *
    * Optional. The format of the data.
    * Supported formats:
-   *  for NUMBER type: float, double
-   *  for INTEGER type: int32, int64
+   *  for NUMBER type: "float", "double"
+   *  for INTEGER type: "int32", "int64"
+   *  for STRING type: "email", "byte", etc
    * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -153,8 +156,9 @@ public java.lang.String getFormat() { *
    * Optional. The format of the data.
    * Supported formats:
-   *  for NUMBER type: float, double
-   *  for INTEGER type: int32, int64
+   *  for NUMBER type: "float", "double"
+   *  for INTEGER type: "int32", "int64"
+   *  for STRING type: "email", "byte", etc
    * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -174,6 +178,57 @@ public com.google.protobuf.ByteString getFormatBytes() { } } + public static final int TITLE_FIELD_NUMBER = 24; + + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * + * + *
+   * Optional. The title of the Schema.
+   * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The title of the Schema.
+   * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int DESCRIPTION_FIELD_NUMBER = 8; @SuppressWarnings("serial") @@ -243,13 +298,60 @@ public boolean getNullable() { return nullable_; } + public static final int DEFAULT_FIELD_NUMBER = 23; + private com.google.protobuf.Value default_; + /** + * + * + *
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the default field is set. + */ + @java.lang.Override + public boolean hasDefault() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The default. + */ + @java.lang.Override + public com.google.protobuf.Value getDefault() { + return default_ == null ? com.google.protobuf.Value.getDefaultInstance() : default_; + } + /** + * + * + *
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.protobuf.ValueOrBuilder getDefaultOrBuilder() { + return default_ == null ? com.google.protobuf.Value.getDefaultInstance() : default_; + } + public static final int ITEMS_FIELD_NUMBER = 2; private com.google.cloud.vertexai.api.Schema items_; /** * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -259,13 +361,14 @@ public boolean getNullable() { */ @java.lang.Override public boolean hasItems() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -281,7 +384,8 @@ public com.google.cloud.vertexai.api.Schema getItems() { * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -292,6 +396,42 @@ public com.google.cloud.vertexai.api.SchemaOrBuilder getItemsOrBuilder() { return items_ == null ? com.google.cloud.vertexai.api.Schema.getDefaultInstance() : items_; } + public static final int MIN_ITEMS_FIELD_NUMBER = 21; + private long minItems_ = 0L; + /** + * + * + *
+   * Optional. Minimum number of the elements for Type.ARRAY.
+   * 
+ * + * int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minItems. + */ + @java.lang.Override + public long getMinItems() { + return minItems_; + } + + public static final int MAX_ITEMS_FIELD_NUMBER = 22; + private long maxItems_ = 0L; + /** + * + * + *
+   * Optional. Maximum number of the elements for Type.ARRAY.
+   * 
+ * + * int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxItems. + */ + @java.lang.Override + public long getMaxItems() { + return maxItems_; + } + public static final int ENUM_FIELD_NUMBER = 9; @SuppressWarnings("serial") @@ -399,7 +539,8 @@ public int getPropertiesCount() { * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -423,7 +564,8 @@ public java.util.Map get * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -438,7 +580,8 @@ public java.util.Map get * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -461,7 +604,8 @@ public java.util.Map get * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -545,6 +689,169 @@ public com.google.protobuf.ByteString getRequiredBytes(int index) { return required_.getByteString(index); } + public static final int MIN_PROPERTIES_FIELD_NUMBER = 14; + private long minProperties_ = 0L; + /** + * + * + *
+   * Optional. Minimum number of the properties for Type.OBJECT.
+   * 
+ * + * int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minProperties. + */ + @java.lang.Override + public long getMinProperties() { + return minProperties_; + } + + public static final int MAX_PROPERTIES_FIELD_NUMBER = 15; + private long maxProperties_ = 0L; + /** + * + * + *
+   * Optional. Maximum number of the properties for Type.OBJECT.
+   * 
+ * + * int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxProperties. + */ + @java.lang.Override + public long getMaxProperties() { + return maxProperties_; + } + + public static final int MINIMUM_FIELD_NUMBER = 16; + private double minimum_ = 0D; + /** + * + * + *
+   * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
+   * Minimum value of the Type.INTEGER and Type.NUMBER
+   * 
+ * + * double minimum = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minimum. + */ + @java.lang.Override + public double getMinimum() { + return minimum_; + } + + public static final int MAXIMUM_FIELD_NUMBER = 17; + private double maximum_ = 0D; + /** + * + * + *
+   * Optional. Maximum value of the Type.INTEGER and Type.NUMBER
+   * 
+ * + * double maximum = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maximum. + */ + @java.lang.Override + public double getMaximum() { + return maximum_; + } + + public static final int MIN_LENGTH_FIELD_NUMBER = 18; + private long minLength_ = 0L; + /** + * + * + *
+   * Optional. SCHEMA FIELDS FOR TYPE STRING
+   * Minimum length of the Type.STRING
+   * 
+ * + * int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minLength. + */ + @java.lang.Override + public long getMinLength() { + return minLength_; + } + + public static final int MAX_LENGTH_FIELD_NUMBER = 19; + private long maxLength_ = 0L; + /** + * + * + *
+   * Optional. Maximum length of the Type.STRING
+   * 
+ * + * int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLength. + */ + @java.lang.Override + public long getMaxLength() { + return maxLength_; + } + + public static final int PATTERN_FIELD_NUMBER = 20; + + @SuppressWarnings("serial") + private volatile java.lang.Object pattern_ = ""; + /** + * + * + *
+   * Optional. Pattern of the Type.STRING to restrict a string to a regular
+   * expression.
+   * 
+ * + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pattern. + */ + @java.lang.Override + public java.lang.String getPattern() { + java.lang.Object ref = pattern_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pattern_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Pattern of the Type.STRING to restrict a string to a regular
+   * expression.
+   * 
+ * + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pattern. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPatternBytes() { + java.lang.Object ref = pattern_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pattern_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int EXAMPLE_FIELD_NUMBER = 4; private com.google.protobuf.Value example_; /** @@ -561,7 +868,7 @@ public com.google.protobuf.ByteString getRequiredBytes(int index) { */ @java.lang.Override public boolean hasExample() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -611,12 +918,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (type_ != com.google.cloud.vertexai.api.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getItems()); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 3); - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getExample()); } for (int i = 0; i < required_.size(); i++) { @@ -634,6 +941,39 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < enum_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, enum_.getRaw(i)); } + if (minProperties_ != 0L) { + output.writeInt64(14, minProperties_); + } + if (maxProperties_ != 0L) { + output.writeInt64(15, maxProperties_); + } + if (java.lang.Double.doubleToRawLongBits(minimum_) != 0) { + output.writeDouble(16, minimum_); + } + if (java.lang.Double.doubleToRawLongBits(maximum_) != 0) { + output.writeDouble(17, maximum_); + } + if (minLength_ != 0L) { + output.writeInt64(18, minLength_); + } + if (maxLength_ != 0L) { + output.writeInt64(19, maxLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pattern_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 20, pattern_); + } + if (minItems_ != 0L) { + output.writeInt64(21, minItems_); + } + if (maxItems_ != 0L) { + output.writeInt64(22, maxItems_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(23, getDefault()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 24, title_); + } getUnknownFields().writeTo(output); } @@ -646,7 +986,7 @@ public int getSerializedSize() { if (type_ != com.google.cloud.vertexai.api.Type.TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getItems()); } for (java.util.Map.Entry entry : @@ -660,7 +1000,7 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, properties__); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExample()); } { @@ -688,6 +1028,39 @@ public int getSerializedSize() { size += dataSize; size += 1 * getEnumList().size(); } + if (minProperties_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, minProperties_); + } + if (maxProperties_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(15, maxProperties_); + } + if (java.lang.Double.doubleToRawLongBits(minimum_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(16, minimum_); + } + if (java.lang.Double.doubleToRawLongBits(maximum_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(17, maximum_); + } + if (minLength_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(18, minLength_); + } + if (maxLength_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(19, maxLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pattern_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, pattern_); + } + if (minItems_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(21, minItems_); + } + if (maxItems_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(22, maxItems_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getDefault()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, title_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -705,15 +1078,31 @@ public boolean equals(final java.lang.Object obj) { if (type_ != other.type_) return false; if (!getFormat().equals(other.getFormat())) return false; + if (!getTitle().equals(other.getTitle())) return false; if (!getDescription().equals(other.getDescription())) return false; if (getNullable() != other.getNullable()) return false; + if (hasDefault() != other.hasDefault()) return false; + if (hasDefault()) { + if (!getDefault().equals(other.getDefault())) return false; + } if (hasItems() != other.hasItems()) return false; if (hasItems()) { if (!getItems().equals(other.getItems())) return false; } + if (getMinItems() != other.getMinItems()) return false; + if (getMaxItems() != other.getMaxItems()) return false; if (!getEnumList().equals(other.getEnumList())) return false; if (!internalGetProperties().equals(other.internalGetProperties())) return false; if (!getRequiredList().equals(other.getRequiredList())) return false; + if (getMinProperties() != other.getMinProperties()) return false; + if (getMaxProperties() != other.getMaxProperties()) return false; + if (java.lang.Double.doubleToLongBits(getMinimum()) + != java.lang.Double.doubleToLongBits(other.getMinimum())) return false; + if (java.lang.Double.doubleToLongBits(getMaximum()) + != java.lang.Double.doubleToLongBits(other.getMaximum())) return false; + if (getMinLength() != other.getMinLength()) return false; + if (getMaxLength() != other.getMaxLength()) return false; + if (!getPattern().equals(other.getPattern())) return false; if (hasExample() != other.hasExample()) return false; if (hasExample()) { if (!getExample().equals(other.getExample())) return false; @@ -733,14 +1122,24 @@ public int hashCode() { hash = (53 * hash) + type_; hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + NULLABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullable()); + if (hasDefault()) { + hash = (37 * hash) + DEFAULT_FIELD_NUMBER; + hash = (53 * hash) + getDefault().hashCode(); + } if (hasItems()) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItems().hashCode(); } + hash = (37 * hash) + MIN_ITEMS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinItems()); + hash = (37 * hash) + MAX_ITEMS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxItems()); if (getEnumCount() > 0) { hash = (37 * hash) + ENUM_FIELD_NUMBER; hash = (53 * hash) + getEnumList().hashCode(); @@ -753,6 +1152,26 @@ public int hashCode() { hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + getRequiredList().hashCode(); } + hash = (37 * hash) + MIN_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinProperties()); + hash = (37 * hash) + MAX_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxProperties()); + hash = (37 * hash) + MINIMUM_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMinimum())); + hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaximum())); + hash = (37 * hash) + MIN_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinLength()); + hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLength()); + hash = (37 * hash) + PATTERN_FIELD_NUMBER; + hash = (53 * hash) + getPattern().hashCode(); if (hasExample()) { hash = (37 * hash) + EXAMPLE_FIELD_NUMBER; hash = (53 * hash) + getExample().hashCode(); @@ -921,6 +1340,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDefaultFieldBuilder(); getItemsFieldBuilder(); getExampleFieldBuilder(); } @@ -932,16 +1352,31 @@ public Builder clear() { bitField0_ = 0; type_ = 0; format_ = ""; + title_ = ""; description_ = ""; nullable_ = false; + default_ = null; + if (defaultBuilder_ != null) { + defaultBuilder_.dispose(); + defaultBuilder_ = null; + } items_ = null; if (itemsBuilder_ != null) { itemsBuilder_.dispose(); itemsBuilder_ = null; } + minItems_ = 0L; + maxItems_ = 0L; enum_ = com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableProperties().clear(); required_ = com.google.protobuf.LazyStringArrayList.emptyList(); + minProperties_ = 0L; + maxProperties_ = 0L; + minimum_ = 0D; + maximum_ = 0D; + minLength_ = 0L; + maxLength_ = 0L; + pattern_ = ""; example_ = null; if (exampleBuilder_ != null) { exampleBuilder_.dispose(); @@ -989,31 +1424,65 @@ private void buildPartial0(com.google.cloud.vertexai.api.Schema result) { result.format_ = format_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.description_ = description_; + result.title_ = title_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.nullable_ = nullable_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { - result.items_ = itemsBuilder_ == null ? items_ : itemsBuilder_.build(); + if (((from_bitField0_ & 0x00000020) != 0)) { + result.default_ = defaultBuilder_ == null ? default_ : defaultBuilder_.build(); to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.items_ = itemsBuilder_ == null ? items_ : itemsBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.minItems_ = minItems_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.maxItems_ = maxItems_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { enum_.makeImmutable(); result.enum_ = enum_; } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000400) != 0)) { result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry); } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000800) != 0)) { required_.makeImmutable(); result.required_ = required_; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { + result.minProperties_ = minProperties_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.maxProperties_ = maxProperties_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.minimum_ = minimum_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.maximum_ = maximum_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.minLength_ = minLength_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.maxLength_ = maxLength_; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.pattern_ = pattern_; + } + if (((from_bitField0_ & 0x00080000) != 0)) { result.example_ = exampleBuilder_ == null ? example_ : exampleBuilder_.build(); - to_bitField0_ |= 0x00000002; + to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @@ -1071,21 +1540,35 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.Schema other) { bitField0_ |= 0x00000002; onChanged(); } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000004; + onChanged(); + } if (!other.getDescription().isEmpty()) { description_ = other.description_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (other.getNullable() != false) { setNullable(other.getNullable()); } + if (other.hasDefault()) { + mergeDefault(other.getDefault()); + } if (other.hasItems()) { mergeItems(other.getItems()); } + if (other.getMinItems() != 0L) { + setMinItems(other.getMinItems()); + } + if (other.getMaxItems() != 0L) { + setMaxItems(other.getMaxItems()); + } if (!other.enum_.isEmpty()) { if (enum_.isEmpty()) { enum_ = other.enum_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000200; } else { ensureEnumIsMutable(); enum_.addAll(other.enum_); @@ -1093,17 +1576,40 @@ public Builder mergeFrom(com.google.cloud.vertexai.api.Schema other) { onChanged(); } internalGetMutableProperties().mergeFrom(other.internalGetProperties()); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000400; if (!other.required_.isEmpty()) { if (required_.isEmpty()) { required_ = other.required_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000800; } else { ensureRequiredIsMutable(); required_.addAll(other.required_); } onChanged(); } + if (other.getMinProperties() != 0L) { + setMinProperties(other.getMinProperties()); + } + if (other.getMaxProperties() != 0L) { + setMaxProperties(other.getMaxProperties()); + } + if (other.getMinimum() != 0D) { + setMinimum(other.getMinimum()); + } + if (other.getMaximum() != 0D) { + setMaximum(other.getMaximum()); + } + if (other.getMinLength() != 0L) { + setMinLength(other.getMinLength()); + } + if (other.getMaxLength() != 0L) { + setMaxLength(other.getMaxLength()); + } + if (!other.getPattern().isEmpty()) { + pattern_ = other.pattern_; + bitField0_ |= 0x00040000; + onChanged(); + } if (other.hasExample()) { mergeExample(other.getExample()); } @@ -1142,7 +1648,7 @@ public Builder mergeFrom( case 18: { input.readMessage(getItemsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; break; } // case 18 case 26: @@ -1155,13 +1661,13 @@ public Builder mergeFrom( internalGetMutableProperties() .ensureBuilderMap() .put(properties__.getKey(), properties__.getValue()); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000400; break; } // case 26 case 34: { input.readMessage(getExampleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00080000; break; } // case 34 case 42: @@ -1174,7 +1680,7 @@ public Builder mergeFrom( case 48: { nullable_ = input.readBool(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 48 case 58: @@ -1186,7 +1692,7 @@ public Builder mergeFrom( case 66: { description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 66 case 74: @@ -1196,6 +1702,72 @@ public Builder mergeFrom( enum_.add(s); break; } // case 74 + case 112: + { + minProperties_ = input.readInt64(); + bitField0_ |= 0x00001000; + break; + } // case 112 + case 120: + { + maxProperties_ = input.readInt64(); + bitField0_ |= 0x00002000; + break; + } // case 120 + case 129: + { + minimum_ = input.readDouble(); + bitField0_ |= 0x00004000; + break; + } // case 129 + case 137: + { + maximum_ = input.readDouble(); + bitField0_ |= 0x00008000; + break; + } // case 137 + case 144: + { + minLength_ = input.readInt64(); + bitField0_ |= 0x00010000; + break; + } // case 144 + case 152: + { + maxLength_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 152 + case 162: + { + pattern_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 162 + case 168: + { + minItems_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 168 + case 176: + { + maxItems_ = input.readInt64(); + bitField0_ |= 0x00000100; + break; + } // case 176 + case 186: + { + input.readMessage(getDefaultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 186 + case 194: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 194 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1317,8 +1889,9 @@ public Builder clearType() { *
      * Optional. The format of the data.
      * Supported formats:
-     *  for NUMBER type: float, double
-     *  for INTEGER type: int32, int64
+     *  for NUMBER type: "float", "double"
+     *  for INTEGER type: "int32", "int64"
+     *  for STRING type: "email", "byte", etc
      * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1342,8 +1915,9 @@ public java.lang.String getFormat() { *
      * Optional. The format of the data.
      * Supported formats:
-     *  for NUMBER type: float, double
-     *  for INTEGER type: int32, int64
+     *  for NUMBER type: "float", "double"
+     *  for INTEGER type: "int32", "int64"
+     *  for STRING type: "email", "byte", etc
      * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1367,8 +1941,9 @@ public com.google.protobuf.ByteString getFormatBytes() { *
      * Optional. The format of the data.
      * Supported formats:
-     *  for NUMBER type: float, double
-     *  for INTEGER type: int32, int64
+     *  for NUMBER type: "float", "double"
+     *  for INTEGER type: "int32", "int64"
+     *  for STRING type: "email", "byte", etc
      * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1391,8 +1966,9 @@ public Builder setFormat(java.lang.String value) { *
      * Optional. The format of the data.
      * Supported formats:
-     *  for NUMBER type: float, double
-     *  for INTEGER type: int32, int64
+     *  for NUMBER type: "float", "double"
+     *  for INTEGER type: "int32", "int64"
+     *  for STRING type: "email", "byte", etc
      * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1411,8 +1987,9 @@ public Builder clearFormat() { *
      * Optional. The format of the data.
      * Supported formats:
-     *  for NUMBER type: float, double
-     *  for INTEGER type: int32, int64
+     *  for NUMBER type: "float", "double"
+     *  for INTEGER type: "int32", "int64"
+     *  for STRING type: "email", "byte", etc
      * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1431,6 +2008,112 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object title_ = ""; + /** + * + * + *
+     * Optional. The title of the Schema.
+     * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The title of the Schema.
+     * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. + */ + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The title of the Schema.
+     * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + title_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The title of the Schema.
+     * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The title of the Schema.
+     * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + private java.lang.Object description_ = ""; /** * @@ -1493,7 +2176,7 @@ public Builder setDescription(java.lang.String value) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1510,7 +2193,7 @@ public Builder setDescription(java.lang.String value) { */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1532,7 +2215,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1568,7 +2251,7 @@ public boolean getNullable() { public Builder setNullable(boolean value) { nullable_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1584,72 +2267,69 @@ public Builder setNullable(boolean value) { * @return This builder for chaining. */ public Builder clearNullable() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); nullable_ = false; onChanged(); return this; } - private com.google.cloud.vertexai.api.Schema items_; + private com.google.protobuf.Value default_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder, - com.google.cloud.vertexai.api.SchemaOrBuilder> - itemsBuilder_; + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + defaultBuilder_; /** * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; * - * @return Whether the items field is set. + * @return Whether the default field is set. */ - public boolean hasItems() { - return ((bitField0_ & 0x00000010) != 0); + public boolean hasDefault() { + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The items. + * @return The default. */ - public com.google.cloud.vertexai.api.Schema getItems() { - if (itemsBuilder_ == null) { - return items_ == null ? com.google.cloud.vertexai.api.Schema.getDefaultInstance() : items_; + public com.google.protobuf.Value getDefault() { + if (defaultBuilder_ == null) { + return default_ == null ? com.google.protobuf.Value.getDefaultInstance() : default_; } else { - return itemsBuilder_.getMessage(); + return defaultBuilder_.getMessage(); } } /** * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setItems(com.google.cloud.vertexai.api.Schema value) { - if (itemsBuilder_ == null) { + public Builder setDefault(com.google.protobuf.Value value) { + if (defaultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - items_ = value; + default_ = value; } else { - itemsBuilder_.setMessage(value); + defaultBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1657,19 +2337,18 @@ public Builder setItems(com.google.cloud.vertexai.api.Schema value) { * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setItems(com.google.cloud.vertexai.api.Schema.Builder builderForValue) { - if (itemsBuilder_ == null) { - items_ = builderForValue.build(); + public Builder setDefault(com.google.protobuf.Value.Builder builderForValue) { + if (defaultBuilder_ == null) { + default_ = builderForValue.build(); } else { - itemsBuilder_.setMessage(builderForValue.build()); + defaultBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1677,26 +2356,25 @@ public Builder setItems(com.google.cloud.vertexai.api.Schema.Builder builderForV * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeItems(com.google.cloud.vertexai.api.Schema value) { - if (itemsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && items_ != null - && items_ != com.google.cloud.vertexai.api.Schema.getDefaultInstance()) { - getItemsBuilder().mergeFrom(value); + public Builder mergeDefault(com.google.protobuf.Value value) { + if (defaultBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && default_ != null + && default_ != com.google.protobuf.Value.getDefaultInstance()) { + getDefaultBuilder().mergeFrom(value); } else { - items_ = value; + default_ = value; } } else { - itemsBuilder_.mergeFrom(value); + defaultBuilder_.mergeFrom(value); } - if (items_ != null) { - bitField0_ |= 0x00000010; + if (default_ != null) { + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -1705,18 +2383,17 @@ public Builder mergeItems(com.google.cloud.vertexai.api.Schema value) { * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder clearItems() { - bitField0_ = (bitField0_ & ~0x00000010); - items_ = null; - if (itemsBuilder_ != null) { - itemsBuilder_.dispose(); - itemsBuilder_ = null; + public Builder clearDefault() { + bitField0_ = (bitField0_ & ~0x00000020); + default_ = null; + if (defaultBuilder_ != null) { + defaultBuilder_.dispose(); + defaultBuilder_ = null; } onChanged(); return this; @@ -1725,159 +2402,899 @@ public Builder clearItems() { * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.vertexai.api.Schema.Builder getItemsBuilder() { - bitField0_ |= 0x00000010; + public com.google.protobuf.Value.Builder getDefaultBuilder() { + bitField0_ |= 0x00000020; onChanged(); - return getItemsFieldBuilder().getBuilder(); + return getDefaultFieldBuilder().getBuilder(); } /** * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.vertexai.api.SchemaOrBuilder getItemsOrBuilder() { - if (itemsBuilder_ != null) { - return itemsBuilder_.getMessageOrBuilder(); + public com.google.protobuf.ValueOrBuilder getDefaultOrBuilder() { + if (defaultBuilder_ != null) { + return defaultBuilder_.getMessageOrBuilder(); } else { - return items_ == null ? com.google.cloud.vertexai.api.Schema.getDefaultInstance() : items_; + return default_ == null ? com.google.protobuf.Value.getDefaultInstance() : default_; } } /** * * *
-     * Optional. Schema of the elements of Type.ARRAY.
+     * Optional. Default value of the data.
      * 
* - * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder, - com.google.cloud.vertexai.api.SchemaOrBuilder> - getItemsFieldBuilder() { - if (itemsBuilder_ == null) { - itemsBuilder_ = + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + getDefaultFieldBuilder() { + if (defaultBuilder_ == null) { + defaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder, - com.google.cloud.vertexai.api.SchemaOrBuilder>( - getItems(), getParentForChildren(), isClean()); - items_ = null; + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder>( + getDefault(), getParentForChildren(), isClean()); + default_ = null; } - return itemsBuilder_; + return defaultBuilder_; } - private com.google.protobuf.LazyStringArrayList enum_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureEnumIsMutable() { - if (!enum_.isModifiable()) { - enum_ = new com.google.protobuf.LazyStringArrayList(enum_); - } - bitField0_ |= 0x00000020; - } + private com.google.cloud.vertexai.api.Schema items_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder, + com.google.cloud.vertexai.api.SchemaOrBuilder> + itemsBuilder_; /** * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return A list containing the enum. + * @return Whether the items field is set. */ - public com.google.protobuf.ProtocolStringList getEnumList() { - enum_.makeImmutable(); - return enum_; + public boolean hasItems() { + return ((bitField0_ & 0x00000040) != 0); } /** * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The items. + */ + public com.google.cloud.vertexai.api.Schema getItems() { + if (itemsBuilder_ == null) { + return items_ == null ? com.google.cloud.vertexai.api.Schema.getDefaultInstance() : items_; + } else { + return itemsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setItems(com.google.cloud.vertexai.api.Schema value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + items_ = value; + } else { + itemsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setItems(com.google.cloud.vertexai.api.Schema.Builder builderForValue) { + if (itemsBuilder_ == null) { + items_ = builderForValue.build(); + } else { + itemsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeItems(com.google.cloud.vertexai.api.Schema value) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && items_ != null + && items_ != com.google.cloud.vertexai.api.Schema.getDefaultInstance()) { + getItemsBuilder().mergeFrom(value); + } else { + items_ = value; + } + } else { + itemsBuilder_.mergeFrom(value); + } + if (items_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearItems() { + bitField0_ = (bitField0_ & ~0x00000040); + items_ = null; + if (itemsBuilder_ != null) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.vertexai.api.Schema.Builder getItemsBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getItemsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.vertexai.api.SchemaOrBuilder getItemsOrBuilder() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilder(); + } else { + return items_ == null ? com.google.cloud.vertexai.api.Schema.getDefaultInstance() : items_; + } + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+     * Schema of the elements of Type.ARRAY.
+     * 
+ * + * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder, + com.google.cloud.vertexai.api.SchemaOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder, + com.google.cloud.vertexai.api.SchemaOrBuilder>( + getItems(), getParentForChildren(), isClean()); + items_ = null; + } + return itemsBuilder_; + } + + private long minItems_; + /** + * + * + *
+     * Optional. Minimum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minItems. + */ + @java.lang.Override + public long getMinItems() { + return minItems_; + } + /** + * + * + *
+     * Optional. Minimum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minItems to set. + * @return This builder for chaining. + */ + public Builder setMinItems(long value) { + + minItems_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Minimum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMinItems() { + bitField0_ = (bitField0_ & ~0x00000080); + minItems_ = 0L; + onChanged(); + return this; + } + + private long maxItems_; + /** + * + * + *
+     * Optional. Maximum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxItems. + */ + @java.lang.Override + public long getMaxItems() { + return maxItems_; + } + /** + * + * + *
+     * Optional. Maximum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxItems to set. + * @return This builder for chaining. + */ + public Builder setMaxItems(long value) { + + maxItems_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Maximum number of the elements for Type.ARRAY.
+     * 
+ * + * int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxItems() { + bitField0_ = (bitField0_ & ~0x00000100); + maxItems_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList enum_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureEnumIsMutable() { + if (!enum_.isModifiable()) { + enum_ = new com.google.protobuf.LazyStringArrayList(enum_); + } + bitField0_ |= 0x00000200; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the enum. + */ + public com.google.protobuf.ProtocolStringList getEnumList() { + enum_.makeImmutable(); + return enum_; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of enum. */ - public int getEnumCount() { - return enum_.size(); + public int getEnumCount() { + return enum_.size(); + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The enum at the given index. + */ + public java.lang.String getEnum(int index) { + return enum_.get(index); + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the enum at the given index. + */ + public com.google.protobuf.ByteString getEnumBytes(int index) { + return enum_.getByteString(index); + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The enum to set. + * @return This builder for chaining. + */ + public Builder setEnum(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnumIsMutable(); + enum_.set(index, value); + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enum to add. + * @return This builder for chaining. + */ + public Builder addEnum(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnumIsMutable(); + enum_.add(value); + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The enum to add. + * @return This builder for chaining. + */ + public Builder addAllEnum(java.lang.Iterable values) { + ensureEnumIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, enum_); + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnum() { + enum_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Possible values of the element of Type.STRING with enum format.
+     * For example we can define an Enum Direction as :
+     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * 
+ * + * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the enum to add. + * @return This builder for chaining. + */ + public Builder addEnumBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureEnumIsMutable(); + enum_.add(value); + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private static final class PropertiesConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.vertexai.api.SchemaOrBuilder, + com.google.cloud.vertexai.api.Schema> { + @java.lang.Override + public com.google.cloud.vertexai.api.Schema build( + com.google.cloud.vertexai.api.SchemaOrBuilder val) { + if (val instanceof com.google.cloud.vertexai.api.Schema) { + return (com.google.cloud.vertexai.api.Schema) val; + } + return ((com.google.cloud.vertexai.api.Schema.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry + defaultEntry() { + return PropertiesDefaultEntryHolder.defaultEntry; + } + }; + + private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.vertexai.api.SchemaOrBuilder, + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder> + properties_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.vertexai.api.SchemaOrBuilder, + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder> + internalGetProperties() { + if (properties_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + return properties_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.vertexai.api.SchemaOrBuilder, + com.google.cloud.vertexai.api.Schema, + com.google.cloud.vertexai.api.Schema.Builder> + internalGetMutableProperties() { + if (properties_ == null) { + properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + bitField0_ |= 0x00000400; + onChanged(); + return properties_; + } + + public int getPropertiesCount() { + return internalGetProperties().ensureBuilderMap().size(); + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetProperties().ensureBuilderMap().containsKey(key); + } + /** Use {@link #getPropertiesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getProperties() { + return getPropertiesMap(); + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map + getPropertiesMap() { + return internalGetProperties().getImmutableMap(); + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.vertexai.api.Schema getPropertiesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.vertexai.api.Schema defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableProperties().ensureBuilderMap(); + return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.vertexai.api.Schema getPropertiesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableProperties().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return propertiesConverter.build(map.get(key)); + } + + public Builder clearProperties() { + bitField0_ = (bitField0_ & ~0x00000400); + internalGetMutableProperties().clear(); + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeProperties(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableProperties().ensureBuilderMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableProperties() { + bitField0_ |= 0x00000400; + return internalGetMutableProperties().ensureMessageMap(); + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putProperties(java.lang.String key, com.google.cloud.vertexai.api.Schema value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableProperties().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000400; + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllProperties( + java.util.Map values) { + for (java.util.Map.Entry e : + values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableProperties().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000400; + return this; + } + /** + * + * + *
+     * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+     * Properties of Type.OBJECT.
+     * 
+ * + * + * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.vertexai.api.Schema.Builder putPropertiesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = + internalGetMutableProperties().ensureBuilderMap(); + com.google.cloud.vertexai.api.SchemaOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.vertexai.api.Schema.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.vertexai.api.Schema) { + entry = ((com.google.cloud.vertexai.api.Schema) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.vertexai.api.Schema.Builder) entry; + } + + private com.google.protobuf.LazyStringArrayList required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureRequiredIsMutable() { + if (!required_.isModifiable()) { + required_ = new com.google.protobuf.LazyStringArrayList(required_); + } + bitField0_ |= 0x00000800; + } + /** + * + * + *
+     * Optional. Required properties of Type.OBJECT.
+     * 
+ * + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the required. + */ + public com.google.protobuf.ProtocolStringList getRequiredList() { + required_.makeImmutable(); + return required_; } /** * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of required. + */ + public int getRequiredCount() { + return required_.size(); + } + /** + * + * + *
+     * Optional. Required properties of Type.OBJECT.
+     * 
+ * + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. - * @return The enum at the given index. + * @return The required at the given index. */ - public java.lang.String getEnum(int index) { - return enum_.get(index); + public java.lang.String getRequired(int index) { + return required_.get(index); } /** * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. - * @return The bytes of the enum at the given index. + * @return The bytes of the required at the given index. */ - public com.google.protobuf.ByteString getEnumBytes(int index) { - return enum_.getByteString(index); + public com.google.protobuf.ByteString getRequiredBytes(int index) { + return required_.getByteString(index); } /** * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. - * @param value The enum to set. + * @param value The required to set. * @return This builder for chaining. */ - public Builder setEnum(int index, java.lang.String value) { + public Builder setRequired(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureEnumIsMutable(); - enum_.set(index, value); - bitField0_ |= 0x00000020; + ensureRequiredIsMutable(); + required_.set(index, value); + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -1885,23 +3302,21 @@ public Builder setEnum(int index, java.lang.String value) { * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The enum to add. + * @param value The required to add. * @return This builder for chaining. */ - public Builder addEnum(java.lang.String value) { + public Builder addRequired(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureEnumIsMutable(); - enum_.add(value); - bitField0_ |= 0x00000020; + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -1909,20 +3324,18 @@ public Builder addEnum(java.lang.String value) { * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * - * @param values The enum to add. + * @param values The required to add. * @return This builder for chaining. */ - public Builder addAllEnum(java.lang.Iterable values) { - ensureEnumIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, enum_); - bitField0_ |= 0x00000020; + public Builder addAllRequired(java.lang.Iterable values) { + ensureRequiredIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, required_); + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -1930,18 +3343,16 @@ public Builder addAllEnum(java.lang.Iterable values) { * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ - public Builder clearEnum() { - enum_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + public Builder clearRequired() { + required_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); ; onChanged(); return this; @@ -1950,405 +3361,416 @@ public Builder clearEnum() { * * *
-     * Optional. Possible values of the element of Type.STRING with enum format.
-     * For example we can define an Enum Direction as :
-     * {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+     * Optional. Required properties of Type.OBJECT.
      * 
* - * repeated string enum = 9 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The bytes of the enum to add. + * @param value The bytes of the required to add. * @return This builder for chaining. */ - public Builder addEnumBytes(com.google.protobuf.ByteString value) { + public Builder addRequiredBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureEnumIsMutable(); - enum_.add(value); - bitField0_ |= 0x00000020; + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000800; onChanged(); return this; } - private static final class PropertiesConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.cloud.vertexai.api.SchemaOrBuilder, - com.google.cloud.vertexai.api.Schema> { - @java.lang.Override - public com.google.cloud.vertexai.api.Schema build( - com.google.cloud.vertexai.api.SchemaOrBuilder val) { - if (val instanceof com.google.cloud.vertexai.api.Schema) { - return (com.google.cloud.vertexai.api.Schema) val; - } - return ((com.google.cloud.vertexai.api.Schema.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry - defaultEntry() { - return PropertiesDefaultEntryHolder.defaultEntry; - } - }; - - private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + private long minProperties_; + /** + * + * + *
+     * Optional. Minimum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minProperties. + */ + @java.lang.Override + public long getMinProperties() { + return minProperties_; + } + /** + * + * + *
+     * Optional. Minimum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minProperties to set. + * @return This builder for chaining. + */ + public Builder setMinProperties(long value) { - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.cloud.vertexai.api.SchemaOrBuilder, - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder> - properties_; + minProperties_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Minimum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMinProperties() { + bitField0_ = (bitField0_ & ~0x00001000); + minProperties_ = 0L; + onChanged(); + return this; + } - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.cloud.vertexai.api.SchemaOrBuilder, - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder> - internalGetProperties() { - if (properties_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - return properties_; + private long maxProperties_; + /** + * + * + *
+     * Optional. Maximum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxProperties. + */ + @java.lang.Override + public long getMaxProperties() { + return maxProperties_; } + /** + * + * + *
+     * Optional. Maximum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxProperties to set. + * @return This builder for chaining. + */ + public Builder setMaxProperties(long value) { - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.cloud.vertexai.api.SchemaOrBuilder, - com.google.cloud.vertexai.api.Schema, - com.google.cloud.vertexai.api.Schema.Builder> - internalGetMutableProperties() { - if (properties_ == null) { - properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - bitField0_ |= 0x00000040; + maxProperties_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Maximum number of the properties for Type.OBJECT.
+     * 
+ * + * int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxProperties() { + bitField0_ = (bitField0_ & ~0x00002000); + maxProperties_ = 0L; onChanged(); - return properties_; + return this; } - public int getPropertiesCount() { - return internalGetProperties().ensureBuilderMap().size(); - } + private double minimum_; /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
+     * Minimum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double minimum = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minimum. */ @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetProperties().ensureBuilderMap().containsKey(key); - } - /** Use {@link #getPropertiesMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); + public double getMinimum() { + return minimum_; } /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
+     * Minimum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double minimum = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minimum to set. + * @return This builder for chaining. */ - @java.lang.Override - public java.util.Map - getPropertiesMap() { - return internalGetProperties().getImmutableMap(); + public Builder setMinimum(double value) { + + minimum_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; } /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
+     * Minimum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double minimum = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ - @java.lang.Override - public /* nullable */ com.google.cloud.vertexai.api.Schema getPropertiesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.vertexai.api.Schema defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableProperties().ensureBuilderMap(); - return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; + public Builder clearMinimum() { + bitField0_ = (bitField0_ & ~0x00004000); + minimum_ = 0D; + onChanged(); + return this; } + + private double maximum_; /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. Maximum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double maximum = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maximum. */ @java.lang.Override - public com.google.cloud.vertexai.api.Schema getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableProperties().ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return propertiesConverter.build(map.get(key)); - } - - public Builder clearProperties() { - bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableProperties().clear(); - return this; + public double getMaximum() { + return maximum_; } /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. Maximum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double maximum = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maximum to set. + * @return This builder for chaining. */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().ensureBuilderMap().remove(key); + public Builder setMaximum(double value) { + + maximum_ = value; + bitField0_ |= 0x00008000; + onChanged(); return this; } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map - getMutableProperties() { - bitField0_ |= 0x00000040; - return internalGetMutableProperties().ensureMessageMap(); - } /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. Maximum value of the Type.INTEGER and Type.NUMBER
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * double maximum = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ - public Builder putProperties(java.lang.String key, com.google.cloud.vertexai.api.Schema value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableProperties().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000040; + public Builder clearMaximum() { + bitField0_ = (bitField0_ & ~0x00008000); + maximum_ = 0D; + onChanged(); return this; } + + private long minLength_; /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE STRING
+     * Minimum length of the Type.STRING
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minLength. */ - public Builder putAllProperties( - java.util.Map values) { - for (java.util.Map.Entry e : - values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableProperties().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000040; - return this; + @java.lang.Override + public long getMinLength() { + return minLength_; } /** * * *
-     * Optional. Properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE STRING
+     * Minimum length of the Type.STRING
      * 
* - * - * map<string, .google.cloud.vertexai.v1.Schema> properties = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The minLength to set. + * @return This builder for chaining. */ - public com.google.cloud.vertexai.api.Schema.Builder putPropertiesBuilderIfAbsent( - java.lang.String key) { - java.util.Map builderMap = - internalGetMutableProperties().ensureBuilderMap(); - com.google.cloud.vertexai.api.SchemaOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.google.cloud.vertexai.api.Schema.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.google.cloud.vertexai.api.Schema) { - entry = ((com.google.cloud.vertexai.api.Schema) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.google.cloud.vertexai.api.Schema.Builder) entry; - } - - private com.google.protobuf.LazyStringArrayList required_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + public Builder setMinLength(long value) { - private void ensureRequiredIsMutable() { - if (!required_.isModifiable()) { - required_ = new com.google.protobuf.LazyStringArrayList(required_); - } - bitField0_ |= 0x00000080; + minLength_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; } /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. SCHEMA FIELDS FOR TYPE STRING
+     * Minimum length of the Type.STRING
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL]; * - * @return A list containing the required. + * @return This builder for chaining. */ - public com.google.protobuf.ProtocolStringList getRequiredList() { - required_.makeImmutable(); - return required_; + public Builder clearMinLength() { + bitField0_ = (bitField0_ & ~0x00010000); + minLength_ = 0L; + onChanged(); + return this; } + + private long maxLength_; /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Maximum length of the Type.STRING
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The count of required. + * @return The maxLength. */ - public int getRequiredCount() { - return required_.size(); + @java.lang.Override + public long getMaxLength() { + return maxLength_; } /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Maximum length of the Type.STRING
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL]; * - * @param index The index of the element to return. - * @return The required at the given index. + * @param value The maxLength to set. + * @return This builder for chaining. */ - public java.lang.String getRequired(int index) { - return required_.get(index); + public Builder setMaxLength(long value) { + + maxLength_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; } /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Maximum length of the Type.STRING
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL]; * - * @param index The index of the value to return. - * @return The bytes of the required at the given index. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString getRequiredBytes(int index) { - return required_.getByteString(index); + public Builder clearMaxLength() { + bitField0_ = (bitField0_ & ~0x00020000); + maxLength_ = 0L; + onChanged(); + return this; } + + private java.lang.Object pattern_ = ""; /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Pattern of the Type.STRING to restrict a string to a regular
+     * expression.
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; * - * @param index The index to set the value at. - * @param value The required to set. - * @return This builder for chaining. + * @return The pattern. */ - public Builder setRequired(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public java.lang.String getPattern() { + java.lang.Object ref = pattern_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pattern_ = s; + return s; + } else { + return (java.lang.String) ref; } - ensureRequiredIsMutable(); - required_.set(index, value); - bitField0_ |= 0x00000080; - onChanged(); - return this; } /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Pattern of the Type.STRING to restrict a string to a regular
+     * expression.
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The required to add. - * @return This builder for chaining. + * @return The bytes for pattern. */ - public Builder addRequired(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public com.google.protobuf.ByteString getPatternBytes() { + java.lang.Object ref = pattern_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pattern_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000080; - onChanged(); - return this; } /** * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Pattern of the Type.STRING to restrict a string to a regular
+     * expression.
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; * - * @param values The required to add. + * @param value The pattern to set. * @return This builder for chaining. */ - public Builder addAllRequired(java.lang.Iterable values) { - ensureRequiredIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, required_); - bitField0_ |= 0x00000080; + public Builder setPattern(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pattern_ = value; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -2356,17 +3778,17 @@ public Builder addAllRequired(java.lang.Iterable values) { * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Pattern of the Type.STRING to restrict a string to a regular
+     * expression.
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ - public Builder clearRequired() { - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - ; + public Builder clearPattern() { + pattern_ = getDefaultInstance().getPattern(); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -2374,22 +3796,22 @@ public Builder clearRequired() { * * *
-     * Optional. Required properties of Type.OBJECT.
+     * Optional. Pattern of the Type.STRING to restrict a string to a regular
+     * expression.
      * 
* - * repeated string required = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The bytes of the required to add. + * @param value The bytes for pattern to set. * @return This builder for chaining. */ - public Builder addRequiredBytes(com.google.protobuf.ByteString value) { + public Builder setPatternBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000080; + pattern_ = value; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -2413,7 +3835,7 @@ public Builder addRequiredBytes(com.google.protobuf.ByteString value) { * @return Whether the example field is set. */ public boolean hasExample() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -2453,7 +3875,7 @@ public Builder setExample(com.google.protobuf.Value value) { } else { exampleBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -2473,7 +3895,7 @@ public Builder setExample(com.google.protobuf.Value.Builder builderForValue) { } else { exampleBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -2489,7 +3911,7 @@ public Builder setExample(com.google.protobuf.Value.Builder builderForValue) { */ public Builder mergeExample(com.google.protobuf.Value value) { if (exampleBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00080000) != 0) && example_ != null && example_ != com.google.protobuf.Value.getDefaultInstance()) { getExampleBuilder().mergeFrom(value); @@ -2500,7 +3922,7 @@ public Builder mergeExample(com.google.protobuf.Value value) { exampleBuilder_.mergeFrom(value); } if (example_ != null) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00080000; onChanged(); } return this; @@ -2516,7 +3938,7 @@ public Builder mergeExample(com.google.protobuf.Value value) { * .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExample() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00080000); example_ = null; if (exampleBuilder_ != null) { exampleBuilder_.dispose(); @@ -2536,7 +3958,7 @@ public Builder clearExample() { * .google.protobuf.Value example = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Value.Builder getExampleBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00080000; onChanged(); return getExampleFieldBuilder().getBuilder(); } diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SchemaOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SchemaOrBuilder.java index 5f85753aca11..2ad41a60578d 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SchemaOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SchemaOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/openapi.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SchemaOrBuilder @@ -55,8 +55,9 @@ public interface SchemaOrBuilder *
    * Optional. The format of the data.
    * Supported formats:
-   *  for NUMBER type: float, double
-   *  for INTEGER type: int32, int64
+   *  for NUMBER type: "float", "double"
+   *  for INTEGER type: "int32", "int64"
+   *  for STRING type: "email", "byte", etc
    * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -70,8 +71,9 @@ public interface SchemaOrBuilder *
    * Optional. The format of the data.
    * Supported formats:
-   *  for NUMBER type: float, double
-   *  for INTEGER type: int32, int64
+   *  for NUMBER type: "float", "double"
+   *  for INTEGER type: "int32", "int64"
+   *  for STRING type: "email", "byte", etc
    * 
* * string format = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -80,6 +82,31 @@ public interface SchemaOrBuilder */ com.google.protobuf.ByteString getFormatBytes(); + /** + * + * + *
+   * Optional. The title of the Schema.
+   * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. + */ + java.lang.String getTitle(); + /** + * + * + *
+   * Optional. The title of the Schema.
+   * 
+ * + * string title = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. + */ + com.google.protobuf.ByteString getTitleBytes(); + /** * * @@ -122,7 +149,43 @@ public interface SchemaOrBuilder * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the default field is set. + */ + boolean hasDefault(); + /** + * + * + *
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The default. + */ + com.google.protobuf.Value getDefault(); + /** + * + * + *
+   * Optional. Default value of the data.
+   * 
+ * + * .google.protobuf.Value default = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.protobuf.ValueOrBuilder getDefaultOrBuilder(); + + /** + * + * + *
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -135,7 +198,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -148,7 +212,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Schema of the elements of Type.ARRAY.
+   * Optional. SCHEMA FIELDS FOR TYPE ARRAY
+   * Schema of the elements of Type.ARRAY.
    * 
* * .google.cloud.vertexai.v1.Schema items = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -156,6 +221,32 @@ public interface SchemaOrBuilder */ com.google.cloud.vertexai.api.SchemaOrBuilder getItemsOrBuilder(); + /** + * + * + *
+   * Optional. Minimum number of the elements for Type.ARRAY.
+   * 
+ * + * int64 min_items = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minItems. + */ + long getMinItems(); + + /** + * + * + *
+   * Optional. Maximum number of the elements for Type.ARRAY.
+   * 
+ * + * int64 max_items = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxItems. + */ + long getMaxItems(); + /** * * @@ -219,7 +310,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -231,7 +323,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -246,7 +339,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -258,7 +352,8 @@ public interface SchemaOrBuilder * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -274,7 +369,8 @@ com.google.cloud.vertexai.api.Schema getPropertiesOrDefault( * * *
-   * Optional. Properties of Type.OBJECT.
+   * Optional. SCHEMA FIELDS FOR TYPE OBJECT
+   * Properties of Type.OBJECT.
    * 
* * @@ -334,6 +430,113 @@ com.google.cloud.vertexai.api.Schema getPropertiesOrDefault( */ com.google.protobuf.ByteString getRequiredBytes(int index); + /** + * + * + *
+   * Optional. Minimum number of the properties for Type.OBJECT.
+   * 
+ * + * int64 min_properties = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minProperties. + */ + long getMinProperties(); + + /** + * + * + *
+   * Optional. Maximum number of the properties for Type.OBJECT.
+   * 
+ * + * int64 max_properties = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxProperties. + */ + long getMaxProperties(); + + /** + * + * + *
+   * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER
+   * Minimum value of the Type.INTEGER and Type.NUMBER
+   * 
+ * + * double minimum = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minimum. + */ + double getMinimum(); + + /** + * + * + *
+   * Optional. Maximum value of the Type.INTEGER and Type.NUMBER
+   * 
+ * + * double maximum = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maximum. + */ + double getMaximum(); + + /** + * + * + *
+   * Optional. SCHEMA FIELDS FOR TYPE STRING
+   * Minimum length of the Type.STRING
+   * 
+ * + * int64 min_length = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The minLength. + */ + long getMinLength(); + + /** + * + * + *
+   * Optional. Maximum length of the Type.STRING
+   * 
+ * + * int64 max_length = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLength. + */ + long getMaxLength(); + + /** + * + * + *
+   * Optional. Pattern of the Type.STRING to restrict a string to a regular
+   * expression.
+   * 
+ * + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pattern. + */ + java.lang.String getPattern(); + /** + * + * + *
+   * Optional. Pattern of the Type.STRING to restrict a string to a regular
+   * expression.
+   * 
+ * + * string pattern = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pattern. + */ + com.google.protobuf.ByteString getPatternBytes(); + /** * * diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Segment.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Segment.java index 7b5f519f52a2..d20bc1669471 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Segment.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Segment.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SegmentOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SegmentOrBuilder.java index 0ce03d1b4b8f..173039e882f3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SegmentOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SegmentOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SegmentOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfig.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfig.java new file mode 100644 index 000000000000..2edeacd4a2a3 --- /dev/null +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfig.java @@ -0,0 +1,562 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vertexai/v1/machine_resources.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.vertexai.api; + +/** + * + * + *
+ * A set of Shielded Instance options.
+ * See [Images using supported Shielded VM
+ * features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
+ * 
+ * + * Protobuf type {@code google.cloud.vertexai.v1.ShieldedVmConfig} + */ +public final class ShieldedVmConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.vertexai.v1.ShieldedVmConfig) + ShieldedVmConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ShieldedVmConfig.newBuilder() to construct. + private ShieldedVmConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ShieldedVmConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ShieldedVmConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vertexai.api.MachineResourcesProto + .internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vertexai.api.MachineResourcesProto + .internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vertexai.api.ShieldedVmConfig.class, + com.google.cloud.vertexai.api.ShieldedVmConfig.Builder.class); + } + + public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1; + private boolean enableSecureBoot_ = false; + /** + * + * + *
+   * Defines whether the instance has [Secure
+   * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot)
+   * enabled.
+   *
+   * Secure Boot helps ensure that the system only runs authentic software by
+   * verifying the digital signature of all boot components, and halting the
+   * boot process if signature verification fails.
+   * 
+ * + * bool enable_secure_boot = 1; + * + * @return The enableSecureBoot. + */ + @java.lang.Override + public boolean getEnableSecureBoot() { + return enableSecureBoot_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (enableSecureBoot_ != false) { + output.writeBool(1, enableSecureBoot_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enableSecureBoot_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.vertexai.api.ShieldedVmConfig)) { + return super.equals(obj); + } + com.google.cloud.vertexai.api.ShieldedVmConfig other = + (com.google.cloud.vertexai.api.ShieldedVmConfig) obj; + + if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.vertexai.api.ShieldedVmConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A set of Shielded Instance options.
+   * See [Images using supported Shielded VM
+   * features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
+   * 
+ * + * Protobuf type {@code google.cloud.vertexai.v1.ShieldedVmConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.vertexai.v1.ShieldedVmConfig) + com.google.cloud.vertexai.api.ShieldedVmConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vertexai.api.MachineResourcesProto + .internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vertexai.api.MachineResourcesProto + .internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vertexai.api.ShieldedVmConfig.class, + com.google.cloud.vertexai.api.ShieldedVmConfig.Builder.class); + } + + // Construct using com.google.cloud.vertexai.api.ShieldedVmConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enableSecureBoot_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vertexai.api.MachineResourcesProto + .internal_static_google_cloud_vertexai_v1_ShieldedVmConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.vertexai.api.ShieldedVmConfig getDefaultInstanceForType() { + return com.google.cloud.vertexai.api.ShieldedVmConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vertexai.api.ShieldedVmConfig build() { + com.google.cloud.vertexai.api.ShieldedVmConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vertexai.api.ShieldedVmConfig buildPartial() { + com.google.cloud.vertexai.api.ShieldedVmConfig result = + new com.google.cloud.vertexai.api.ShieldedVmConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.vertexai.api.ShieldedVmConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enableSecureBoot_ = enableSecureBoot_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.vertexai.api.ShieldedVmConfig) { + return mergeFrom((com.google.cloud.vertexai.api.ShieldedVmConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vertexai.api.ShieldedVmConfig other) { + if (other == com.google.cloud.vertexai.api.ShieldedVmConfig.getDefaultInstance()) return this; + if (other.getEnableSecureBoot() != false) { + setEnableSecureBoot(other.getEnableSecureBoot()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enableSecureBoot_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean enableSecureBoot_; + /** + * + * + *
+     * Defines whether the instance has [Secure
+     * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot)
+     * enabled.
+     *
+     * Secure Boot helps ensure that the system only runs authentic software by
+     * verifying the digital signature of all boot components, and halting the
+     * boot process if signature verification fails.
+     * 
+ * + * bool enable_secure_boot = 1; + * + * @return The enableSecureBoot. + */ + @java.lang.Override + public boolean getEnableSecureBoot() { + return enableSecureBoot_; + } + /** + * + * + *
+     * Defines whether the instance has [Secure
+     * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot)
+     * enabled.
+     *
+     * Secure Boot helps ensure that the system only runs authentic software by
+     * verifying the digital signature of all boot components, and halting the
+     * boot process if signature verification fails.
+     * 
+ * + * bool enable_secure_boot = 1; + * + * @param value The enableSecureBoot to set. + * @return This builder for chaining. + */ + public Builder setEnableSecureBoot(boolean value) { + + enableSecureBoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Defines whether the instance has [Secure
+     * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot)
+     * enabled.
+     *
+     * Secure Boot helps ensure that the system only runs authentic software by
+     * verifying the digital signature of all boot components, and halting the
+     * boot process if signature verification fails.
+     * 
+ * + * bool enable_secure_boot = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnableSecureBoot() { + bitField0_ = (bitField0_ & ~0x00000001); + enableSecureBoot_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.vertexai.v1.ShieldedVmConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vertexai.v1.ShieldedVmConfig) + private static final com.google.cloud.vertexai.api.ShieldedVmConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.vertexai.api.ShieldedVmConfig(); + } + + public static com.google.cloud.vertexai.api.ShieldedVmConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedVmConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.vertexai.api.ShieldedVmConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfigOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfigOrBuilder.java new file mode 100644 index 000000000000..f760d08b61e3 --- /dev/null +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ShieldedVmConfigOrBuilder.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vertexai/v1/machine_resources.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.vertexai.api; + +public interface ShieldedVmConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vertexai.v1.ShieldedVmConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Defines whether the instance has [Secure
+   * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot)
+   * enabled.
+   *
+   * Secure Boot helps ensure that the system only runs authentic software by
+   * verifying the digital signature of all boot components, and halting the
+   * boot process if signature verification fails.
+   * 
+ * + * bool enable_secure_boot = 1; + * + * @return The enableSecureBoot. + */ + boolean getEnableSecureBoot(); +} diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfig.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfig.java index 328cb4692b8a..2d103d212100 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfig.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfigOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfigOrBuilder.java index 4fe6f48641d7..439980850e4c 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfigOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SmoothGradConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface SmoothGradConfigOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequest.java index d3782eaa0791..ff0480097538 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequestOrBuilder.java index 362783c695fb..8fbcde20cc8f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamDirectPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponse.java index aa873f79be5e..5581d0a2431f 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponseOrBuilder.java index 95c78b5d1678..b4c60b531c33 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamDirectPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequest.java index 8dabd851b073..11867066bcd2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequestOrBuilder.java index fe35983efba8..92d76bf04d56 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamDirectRawPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponse.java index b165cacc17e8..659540e098a7 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponseOrBuilder.java index 403d32c4d812..6301e21a717a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamDirectRawPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamDirectRawPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequest.java index a45fa016c2b7..2def3960ca03 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequestOrBuilder.java index 4f30ef04b6a9..5832270ccaa2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamRawPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamRawPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequest.java index 844f162170f0..68aefadee7d9 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequestOrBuilder.java index 27745c4c13e3..4150e67b657b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamingPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponse.java index dea19a2c5633..92aaa92239e3 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponseOrBuilder.java index 4ad28f2d793a..69f67575eb30 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamingPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequest.java index 4ab3db101df8..5ca18477f925 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequestOrBuilder.java index fd2c23e03d4a..c04dfdcec5b0 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamingRawPredictRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponse.java index 4ecb11d71790..54e7bff7ff5e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponseOrBuilder.java index 904d66f6ce41..13edca1ed652 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StreamingRawPredictResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/prediction_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StreamingRawPredictResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArray.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArray.java index e24eb2500dd7..dc27a69d2efa 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArray.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArray.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArrayOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArrayOrBuilder.java index ddc519ff59cc..6a06a1889175 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArrayOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/StringArrayOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface StringArrayOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestination.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestination.java index 8edd6b965587..8f4bbe75b702 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestination.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestination.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestinationOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestinationOrBuilder.java index c94d9ac778c7..5e4c7be554f2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestinationOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TFRecordDestinationOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/io.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface TFRecordDestinationOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java index 1624ee1628bc..65cb0dc281ee 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TensorOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TensorOrBuilder.java index 289197b0802b..f8adc398b2f6 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TensorOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TensorOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface TensorOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfo.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfo.java index f05e369378fa..5677f9caac90 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfo.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfo.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfoOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfoOrBuilder.java index 515b4963acba..bcb10e0b2c44 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfoOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfoOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/llm_utility_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface TokensInfoOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java index e0ca2d3492aa..8c7a40e367ec 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tool.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolOrBuilder.java index a49dc8e20bbc..4e575067c99a 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface ToolOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolProto.java index 2de475a30f9c..293b2d585de2 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ToolProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class ToolProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Type.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Type.java index 9b9b7581d7da..b5b70e2d9905 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Type.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Type.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/openapi.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TypesProto.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TypesProto.java index 6d040bc3ae7f..043ba2db6fca 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TypesProto.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TypesProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/types.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public final class TypesProto { diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadata.java index aed04fddeb40..3c5ebbd5a4fd 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadataOrBuilder.java index 601ee96eb62f..0439a26bc23b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface UndeployModelOperationMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequest.java index 1a80fbe76a56..da1f400b7d59 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequestOrBuilder.java index 495c3b484018..8e0fe152a7bf 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface UndeployModelRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponse.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponse.java index 8e3357915c52..f8edd885e688 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponse.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponseOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponseOrBuilder.java index 56a53f7023e0..ed05257d150b 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponseOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UndeployModelResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface UndeployModelResponseOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequest.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequest.java index 9a1ca32088be..e4cf3c6fb801 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequest.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequestOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequestOrBuilder.java index 969754f4c4ed..96cefb894604 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequestOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/UpdateEndpointRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/endpoint_service.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface UpdateEndpointRequestOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearch.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearch.java index 87bf67f530a7..7e97231b58c1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearch.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearch.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** @@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. Fully-qualified Vertex AI Search's datastore resource ID.
    * Format:
-   * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+   * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
    * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -99,7 +99,7 @@ public java.lang.String getDatastore() { *
    * Required. Fully-qualified Vertex AI Search's datastore resource ID.
    * Format:
-   * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+   * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
    * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -468,7 +468,7 @@ public Builder mergeFrom( *
      * Required. Fully-qualified Vertex AI Search's datastore resource ID.
      * Format:
-     * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+     * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
      * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -492,7 +492,7 @@ public java.lang.String getDatastore() { *
      * Required. Fully-qualified Vertex AI Search's datastore resource ID.
      * Format:
-     * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+     * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
      * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -516,7 +516,7 @@ public com.google.protobuf.ByteString getDatastoreBytes() { *
      * Required. Fully-qualified Vertex AI Search's datastore resource ID.
      * Format:
-     * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+     * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
      * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -539,7 +539,7 @@ public Builder setDatastore(java.lang.String value) { *
      * Required. Fully-qualified Vertex AI Search's datastore resource ID.
      * Format:
-     * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+     * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
      * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -558,7 +558,7 @@ public Builder clearDatastore() { *
      * Required. Fully-qualified Vertex AI Search's datastore resource ID.
      * Format:
-     * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+     * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
      * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearchOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearchOrBuilder.java index b31423934914..daeb31a89878 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearchOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearchOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/tool.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface VertexAISearchOrBuilder @@ -30,7 +30,7 @@ public interface VertexAISearchOrBuilder *
    * Required. Fully-qualified Vertex AI Search's datastore resource ID.
    * Format:
-   * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+   * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
    * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -44,7 +44,7 @@ public interface VertexAISearchOrBuilder *
    * Required. Fully-qualified Vertex AI Search's datastore resource ID.
    * Format:
-   * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
+   * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
    * 
* * string datastore = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java index 0bc3f305ae18..b0dd1d233855 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadataOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadataOrBuilder.java index 5019ab7c507c..7367ade7aa7e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadataOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/content.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface VideoMetadataOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttribution.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttribution.java index fc38b81a4890..acdd66dd2099 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttribution.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttribution.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; /** diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttributionOrBuilder.java b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttributionOrBuilder.java index 1e4f3175207b..39c06ad726ee 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttributionOrBuilder.java +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/XraiAttributionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vertexai/v1/explanation.proto -// Protobuf Java Version: 3.25.2 +// Protobuf Java Version: 3.25.3 package com.google.cloud.vertexai.api; public interface XraiAttributionOrBuilder diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/content.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/content.proto index a29017a890f8..f7bdb7f30dd7 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/content.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/content.proto @@ -102,14 +102,15 @@ message Part { } } -// Raw media bytes. +// Content blob. // -// Text should not be sent as raw bytes, use the 'text' field. +// It's preferred to send as [text][google.cloud.aiplatform.v1.Part.text] +// directly rather than raw bytes. message Blob { // Required. The IANA standard MIME type of the source data. string mime_type = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Raw bytes for media formats. + // Required. Raw bytes. bytes data = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -152,6 +153,21 @@ message GenerationConfig { // Optional. Stop sequences. repeated string stop_sequences = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Positive penalties. + optional float presence_penalty = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Frequency penalties. + optional float frequency_penalty = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Output response mimetype of the generated candidate text. + // Supported mimetype: + // - `text/plain`: (default) Text output. + // - `application/json`: JSON response in the candidates. + // The model needs to be prompted to output the appropriate response type, + // otherwise the behavior is undefined. + // This is a preview feature. + string response_mime_type = 13 [(google.api.field_behavior) = OPTIONAL]; } // Safety settings. @@ -174,11 +190,27 @@ message SafetySetting { BLOCK_NONE = 4; } + // Probability vs severity. + enum HarmBlockMethod { + // The harm block method is unspecified. + HARM_BLOCK_METHOD_UNSPECIFIED = 0; + + // The harm block method uses both probability and severity scores. + SEVERITY = 1; + + // The harm block method uses the probability score. + PROBABILITY = 2; + } + // Required. Harm category. HarmCategory category = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The harm block threshold. HarmBlockThreshold threshold = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Specify if the threshold is used for probability or severity + // score. If not specified, the threshold is used for probability score. + HarmBlockMethod method = 4 [(google.api.field_behavior) = OPTIONAL]; } // Safety rating corresponding to the generated content. diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint.proto index 46d86c71556c..e7a0597eca13 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint.proto @@ -221,6 +221,13 @@ message DeployedModel { // will be used for the explanation configuration. ExplanationSpec explanation_spec = 9; + // If true, deploy the model without explainable feature, regardless the + // existence of + // [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] + // or + // [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]. + bool disable_explanations = 19; + // The service account that the DeployedModel's container runs as. Specify the // email address of the service account. If this service account is not // specified, the container runs as a service account that doesn't have access diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint_service.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint_service.proto index a74c4858bf1f..6894955e26f4 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint_service.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/endpoint_service.proto @@ -211,9 +211,8 @@ message ListEndpointsRequest { // names both snake_case and camelCase are supported. // // * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint - // ID, - // i.e. the last segment of the Endpoint's [resource - // name][google.cloud.aiplatform.v1.Endpoint.name]. + // ID, i.e. the last segment of the Endpoint's + // [resource name][google.cloud.aiplatform.v1.Endpoint.name]. // * `display_name` supports `=` and `!=`. // * `labels` supports general map functions that is: // * `labels.key=value` - key:value equality diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/machine_resources.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/machine_resources.proto index 469118c0616a..a410c60d9fb1 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/machine_resources.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/machine_resources.proto @@ -232,3 +232,17 @@ message AutoscalingMetricSpec { // (representing 60%) if not provided. int32 target = 2; } + +// A set of Shielded Instance options. +// See [Images using supported Shielded VM +// features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). +message ShieldedVmConfig { + // Defines whether the instance has [Secure + // Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) + // enabled. + // + // Secure Boot helps ensure that the system only runs authentic software by + // verifying the digital signature of all boot components, and halting the + // boot process if signature verification fails. + bool enable_secure_boot = 1; +} diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/openapi.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/openapi.proto index f72213380eb0..2d2109fdd648 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/openapi.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/openapi.proto @@ -62,30 +62,69 @@ message Schema { // Optional. The format of the data. // Supported formats: - // for NUMBER type: float, double - // for INTEGER type: int32, int64 + // for NUMBER type: "float", "double" + // for INTEGER type: "int32", "int64" + // for STRING type: "email", "byte", etc string format = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The title of the Schema. + string title = 24 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The description of the data. string description = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. Indicates if the value may be null. bool nullable = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Schema of the elements of Type.ARRAY. + // Optional. Default value of the data. + google.protobuf.Value default = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SCHEMA FIELDS FOR TYPE ARRAY + // Schema of the elements of Type.ARRAY. Schema items = 2 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Minimum number of the elements for Type.ARRAY. + int64 min_items = 21 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum number of the elements for Type.ARRAY. + int64 max_items = 22 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Possible values of the element of Type.STRING with enum format. // For example we can define an Enum Direction as : // {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} repeated string enum = 9 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Properties of Type.OBJECT. + // Optional. SCHEMA FIELDS FOR TYPE OBJECT + // Properties of Type.OBJECT. map properties = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Required properties of Type.OBJECT. repeated string required = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Minimum number of the properties for Type.OBJECT. + int64 min_properties = 14 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum number of the properties for Type.OBJECT. + int64 max_properties = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER + // Minimum value of the Type.INTEGER and Type.NUMBER + double minimum = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum value of the Type.INTEGER and Type.NUMBER + double maximum = 17 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SCHEMA FIELDS FOR TYPE STRING + // Minimum length of the Type.STRING + int64 min_length = 18 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum length of the Type.STRING + int64 max_length = 19 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Pattern of the Type.STRING to restrict a string to a regular + // expression. + string pattern = 20 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Example of the object. Will only populated when the object is the // root. google.protobuf.Value example = 4 [(google.api.field_behavior) = OPTIONAL]; diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/prediction_service.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/prediction_service.proto index 3a1134e41228..97bd9e856726 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/prediction_service.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/prediction_service.proto @@ -648,6 +648,12 @@ message GenerateContentRequest { // request. repeated Content contents = 2 [(google.api.field_behavior) = REQUIRED]; + // Optional. The user provided system instructions for the model. + // Note: only text should be used in parts and content in each part will be in + // a separate paragraph. + optional Content system_instruction = 8 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. A list of `Tools` the model may use to generate the next // response. // @@ -680,6 +686,13 @@ message GenerateContentResponse { // Candidates blocked due to other reason. OTHER = 2; + + // Candidates blocked due to the terms which are included from the + // terminology blocklist. + BLOCKLIST = 3; + + // Candidates blocked due to prohibited content. + PROHIBITED_CONTENT = 4; } // Output only. Blocked reason. diff --git a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/tool.proto b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/tool.proto index 00f605487ba7..d0e7466e981e 100644 --- a/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/tool.proto +++ b/java-vertexai/proto-google-cloud-vertexai-v1/src/main/proto/google/cloud/vertexai/v1/tool.proto @@ -68,8 +68,8 @@ message Tool { message FunctionDeclaration { // Required. The name of the function to call. // Must start with a letter or an underscore. - // Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum - // length of 64. + // Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a + // maximum length of 64. string name = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. Description and purpose of the function. @@ -80,8 +80,10 @@ message FunctionDeclaration { // format. Reflects the Open API 3.03 Parameter Object. string Key: the name // of the parameter. Parameter names are case sensitive. Schema Value: the // Schema defining the type used for the parameter. For function with no - // parameters, this can be left unset. Example with 1 required and 1 optional - // parameter: type: OBJECT properties: + // parameters, this can be left unset. Parameter names must start with a + // letter or an underscore and must only contain chars a-z, A-Z, 0-9, or + // underscores with a maximum length of 64. Example with 1 required and 1 + // optional parameter: type: OBJECT properties: // param1: // type: STRING // param2: @@ -135,7 +137,7 @@ message Retrieval { message VertexAISearch { // Required. Fully-qualified Vertex AI Search's datastore resource ID. // Format: - // projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` string datastore = 1 [(google.api.field_behavior) = REQUIRED]; }