StreamRawPredict
Perform a streaming online prediction with an arbitrary HTTP payload.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *streamRawPredictCallable() + *
DirectPredict
Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks.
Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
+ * StreamRawPredictRequest request =
+ * StreamRawPredictRequest.newBuilder()
+ * .setEndpoint(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setHttpBody(HttpBody.newBuilder().build())
+ * .build();
+ * ServerStream stream =
+ * predictionServiceClient.streamRawPredictCallable().call(request);
+ * for (HttpBody response : stream) {
+ * // Do something when a response is received.
+ * }
+ * }
+ * }
+ */
+ public final ServerStreamingCallable+ * Perform a streaming online prediction with an arbitrary HTTP payload. + *+ */ + default void streamRawPredict( + com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest request, + io.grpc.stub.StreamObserver
+ * Perform a streaming online prediction with an arbitrary HTTP payload. + *+ */ + public void streamRawPredict( + com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest request, + io.grpc.stub.StreamObserver
+ * Perform a streaming online prediction with an arbitrary HTTP payload. + *+ */ + public java.util.Iterator
SPII = 8;
*/
SPII(8),
+ /**
+ *
+ *
+ * + * The function call generated by the model is invalid. + *+ * + *
MALFORMED_FUNCTION_CALL = 9;
+ */
+ MALFORMED_FUNCTION_CALL(9),
UNRECOGNIZED(-1),
;
@@ -271,6 +281,16 @@ public enum FinishReason implements com.google.protobuf.ProtocolMessageEnum {
* SPII = 8;
*/
public static final int SPII_VALUE = 8;
+ /**
+ *
+ *
+ * + * The function call generated by the model is invalid. + *+ * + *
MALFORMED_FUNCTION_CALL = 9;
+ */
+ public static final int MALFORMED_FUNCTION_CALL_VALUE = 9;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -314,6 +334,8 @@ public static FinishReason forNumber(int value) {
return PROHIBITED_CONTENT;
case 8:
return SPII;
+ case 9:
+ return MALFORMED_FUNCTION_CALL;
default:
return null;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java
index d562aba31950..4c93494292d7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java
@@ -158,8 +158,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\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\020publicat"
- + "ion_date\030\006 \001(\0132\021.google.type.DateB\003\340A\003\"\346"
- + "\004\n\tCandidate\022\022\n\005index\030\001 \001(\005B\003\340A\003\0229\n\007cont"
+ + "ion_date\030\006 \001(\0132\021.google.type.DateB\003\340A\003\"\203"
+ + "\005\n\tCandidate\022\022\n\005index\030\001 \001(\005B\003\340A\003\0229\n\007cont"
+ "ent\030\002 \001(\0132#.google.cloud.aiplatform.v1.C"
+ "ontentB\003\340A\003\022N\n\rfinish_reason\030\003 \001(\01622.goo"
+ "gle.cloud.aiplatform.v1.Candidate.Finish"
@@ -169,28 +169,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "citation_metadata\030\006 \001(\0132,.google.cloud.a"
+ "iplatform.v1.CitationMetadataB\003\340A\003\022N\n\022gr"
+ "ounding_metadata\030\007 \001(\0132-.google.cloud.ai"
- + "platform.v1.GroundingMetadataB\003\340A\003\"\237\001\n\014F"
+ + "platform.v1.GroundingMetadataB\003\340A\003\"\274\001\n\014F"
+ "inishReason\022\035\n\031FINISH_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\022PROHIBITED_CONTENT\020\007\022\010\n\004SPII\020\010B\021\n\017"
- + "_finish_message\"\237\001\n\021GroundingMetadata\022\037\n"
- + "\022web_search_queries\030\001 \003(\tB\003\340A\001\022R\n\022search"
- + "_entry_point\030\004 \001(\0132,.google.cloud.aiplat"
- + "form.v1.SearchEntryPointB\003\340A\001H\000\210\001\001B\025\n\023_s"
- + "earch_entry_point\"H\n\020SearchEntryPoint\022\035\n"
- + "\020rendered_content\030\001 \001(\tB\003\340A\001\022\025\n\010sdk_blob"
- + "\030\002 \001(\014B\003\340A\001*\264\001\n\014HarmCategory\022\035\n\031HARM_CAT"
- + "EGORY_UNSPECIFIED\020\000\022\035\n\031HARM_CATEGORY_HAT"
- + "E_SPEECH\020\001\022#\n\037HARM_CATEGORY_DANGEROUS_CO"
- + "NTENT\020\002\022\034\n\030HARM_CATEGORY_HARASSMENT\020\003\022#\n"
- + "\037HARM_CATEGORY_SEXUALLY_EXPLICIT\020\004B\312\001\n\036c"
- + "om.google.cloud.aiplatform.v1B\014ContentPr"
- + "otoP\001Z>cloud.google.com/go/aiplatform/ap"
- + "iv1/aiplatformpb;aiplatformpb\252\002\032Google.C"
- + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat"
- + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b"
- + "\006proto3"
+ + "\020\006\022\026\n\022PROHIBITED_CONTENT\020\007\022\010\n\004SPII\020\010\022\033\n\027"
+ + "MALFORMED_FUNCTION_CALL\020\tB\021\n\017_finish_mes"
+ + "sage\"\237\001\n\021GroundingMetadata\022\037\n\022web_search"
+ + "_queries\030\001 \003(\tB\003\340A\001\022R\n\022search_entry_poin"
+ + "t\030\004 \001(\0132,.google.cloud.aiplatform.v1.Sea"
+ + "rchEntryPointB\003\340A\001H\000\210\001\001B\025\n\023_search_entry"
+ + "_point\"H\n\020SearchEntryPoint\022\035\n\020rendered_c"
+ + "ontent\030\001 \001(\tB\003\340A\001\022\025\n\010sdk_blob\030\002 \001(\014B\003\340A\001"
+ + "*\264\001\n\014HarmCategory\022\035\n\031HARM_CATEGORY_UNSPE"
+ + "CIFIED\020\000\022\035\n\031HARM_CATEGORY_HATE_SPEECH\020\001\022"
+ + "#\n\037HARM_CATEGORY_DANGEROUS_CONTENT\020\002\022\034\n\030"
+ + "HARM_CATEGORY_HARASSMENT\020\003\022#\n\037HARM_CATEG"
+ + "ORY_SEXUALLY_EXPLICIT\020\004B\312\001\n\036com.google.c"
+ + "loud.aiplatform.v1B\014ContentProtoP\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"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
index b0f7d40cd53f..081277ceab20 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
@@ -118,7 +118,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/pipeline_state.proto\032&google/cloud/aipl"
+ "atform/v1/value.proto\032\034google/protobuf/s"
+ "truct.proto\032\037google/protobuf/timestamp.p"
- + "roto\032\027google/rpc/status.proto\"\320\016\n\013Pipeli"
+ + "roto\032\027google/rpc/status.proto\"\364\016\n\013Pipeli"
+ "neJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name"
+ "\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.google.pro"
+ "tobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\004 \001(\013"
@@ -142,95 +142,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\031 \003(\t\022\024\n\014template_uri\030\023 \001(\t\022T\n\021template_"
+ "metadata\030\024 \001(\01324.google.cloud.aiplatform"
+ ".v1.PipelineTemplateMetadataB\003\340A\003\022\032\n\rsch"
- + "edule_name\030\026 \001(\tB\003\340A\003\032\370\005\n\rRuntimeConfig\022"
- + "]\n\nparameters\030\001 \003(\0132E.google.cloud.aipla"
- + "tform.v1.PipelineJob.RuntimeConfig.Param"
- + "etersEntryB\002\030\001\022!\n\024gcs_output_directory\030\002"
- + " \001(\tB\003\340A\002\022d\n\020parameter_values\030\003 \003(\0132J.go"
- + "ogle.cloud.aiplatform.v1.PipelineJob.Run"
- + "timeConfig.ParameterValuesEntry\022I\n\016failu"
- + "re_policy\030\004 \001(\01621.google.cloud.aiplatfor"
- + "m.v1.PipelineFailurePolicy\022b\n\017input_arti"
- + "facts\030\005 \003(\0132I.google.cloud.aiplatform.v1"
- + ".PipelineJob.RuntimeConfig.InputArtifact"
- + "sEntry\032.\n\rInputArtifact\022\025\n\013artifact_id\030\001"
- + " \001(\tH\000B\006\n\004kind\032T\n\017ParametersEntry\022\013\n\003key"
- + "\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.cloud.aip"
- + "latform.v1.Value:\0028\001\032N\n\024ParameterValuesE"
- + "ntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.googl"
- + "e.protobuf.Value:\0028\001\032z\n\023InputArtifactsEn"
- + "try\022\013\n\003key\030\001 \001(\t\022R\n\005value\030\002 \001(\0132C.google"
+ + "edule_name\030\026 \001(\tB\003\340A\003\022\"\n\025preflight_valid"
+ + "ations\030\032 \001(\010B\003\340A\001\032\370\005\n\rRuntimeConfig\022]\n\np"
+ + "arameters\030\001 \003(\0132E.google.cloud.aiplatfor"
+ + "m.v1.PipelineJob.RuntimeConfig.Parameter"
+ + "sEntryB\002\030\001\022!\n\024gcs_output_directory\030\002 \001(\t"
+ + "B\003\340A\002\022d\n\020parameter_values\030\003 \003(\0132J.google"
+ ".cloud.aiplatform.v1.PipelineJob.Runtime"
- + "Config.InputArtifact:\0028\001\032-\n\013LabelsEntry\022"
- + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%ai"
- + "platform.googleapis.com/PipelineJob\022Cpro"
- + "jects/{project}/locations/{location}/pip"
- + "elineJobs/{pipeline_job}\"+\n\030PipelineTemp"
- + "lateMetadata\022\017\n\007version\030\003 \001(\t\"\352\001\n\021Pipeli"
- + "neJobDetail\022B\n\020pipeline_context\030\001 \001(\0132#."
- + "google.cloud.aiplatform.v1.ContextB\003\340A\003\022"
- + "F\n\024pipeline_run_context\030\002 \001(\0132#.google.c"
- + "loud.aiplatform.v1.ContextB\003\340A\003\022I\n\014task_"
- + "details\030\003 \003(\0132..google.cloud.aiplatform."
- + "v1.PipelineTaskDetailB\003\340A\003\"\235\013\n\022PipelineT"
- + "askDetail\022\024\n\007task_id\030\001 \001(\003B\003\340A\003\022\033\n\016paren"
- + "t_task_id\030\014 \001(\003B\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB"
- + "\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.google.proto"
- + "buf.TimestampB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032"
- + ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t"
- + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340"
- + "A\003\022T\n\017executor_detail\030\006 \001(\01326.google.clo"
- + "ud.aiplatform.v1.PipelineTaskExecutorDet"
- + "ailB\003\340A\003\022H\n\005state\030\007 \001(\01624.google.cloud.a"
- + "iplatform.v1.PipelineTaskDetail.StateB\003\340"
- + "A\003\022=\n\texecution\030\010 \001(\0132%.google.cloud.aip"
- + "latform.v1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\013"
- + "2\022.google.rpc.StatusB\003\340A\003\022d\n\024pipeline_ta"
- + "sk_status\030\r \003(\0132A.google.cloud.aiplatfor"
- + "m.v1.PipelineTaskDetail.PipelineTaskStat"
- + "usB\003\340A\003\022O\n\006inputs\030\n \003(\0132:.google.cloud.a"
- + "iplatform.v1.PipelineTaskDetail.InputsEn"
- + "tryB\003\340A\003\022Q\n\007outputs\030\013 \003(\0132;.google.cloud"
- + ".aiplatform.v1.PipelineTaskDetail.Output"
- + "sEntryB\003\340A\003\032\274\001\n\022PipelineTaskStatus\0224\n\013up"
- + "date_time\030\001 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\003\022H\n\005state\030\002 \001(\01624.google.cloud.a"
- + "iplatform.v1.PipelineTaskDetail.StateB\003\340"
- + "A\003\022&\n\005error\030\003 \001(\0132\022.google.rpc.StatusB\003\340"
- + "A\003\032L\n\014ArtifactList\022<\n\tartifacts\030\001 \003(\0132$."
- + "google.cloud.aiplatform.v1.ArtifactB\003\340A\003"
- + "\032j\n\013InputsEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 "
- + "\001(\0132;.google.cloud.aiplatform.v1.Pipelin"
- + "eTaskDetail.ArtifactList:\0028\001\032k\n\014OutputsE"
- + "ntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.googl"
- + "e.cloud.aiplatform.v1.PipelineTaskDetail"
- + ".ArtifactList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNS"
- + "PECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\t"
- + "SUCCEEDED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCE"
- + "LLING\020\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SK"
- + "IPPED\020\010\022\021\n\rNOT_TRIGGERED\020\t\"\313\004\n\032PipelineT"
- + "askExecutorDetail\022g\n\020container_detail\030\001 "
- + "\001(\0132F.google.cloud.aiplatform.v1.Pipelin"
- + "eTaskExecutorDetail.ContainerDetailB\003\340A\003"
- + "H\000\022h\n\021custom_job_detail\030\002 \001(\0132F.google.c"
- + "loud.aiplatform.v1.PipelineTaskExecutorD"
- + "etail.CustomJobDetailB\003\340A\003H\000\032\347\001\n\017Contain"
- + "erDetail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#aipl"
- + "atform.googleapis.com/CustomJob\022J\n\025pre_c"
- + "aching_check_job\030\002 \001(\tB+\340A\003\372A%\n#aiplatfo"
- + "rm.googleapis.com/CustomJob\022\035\n\020failed_ma"
- + "in_jobs\030\003 \003(\tB\003\340A\003\022*\n\035failed_pre_caching"
- + "_check_jobs\030\004 \003(\tB\003\340A\003\032e\n\017CustomJobDetai"
- + "l\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googl"
- + "eapis.com/CustomJob\022\030\n\013failed_jobs\030\003 \003(\t"
- + "B\003\340A\003B\t\n\007detailsB\227\002\n\036com.google.cloud.ai"
- + "platform.v1B\010PipelineP\001Z>cloud.google.co"
- + "m/go/aiplatform/apiv1/aiplatformpb;aipla"
- + "tformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G"
- + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou"
- + "d::AIPlatform::V1\352AN\n\036compute.googleapis"
- + ".com/Network\022,projects/{project}/global/"
- + "networks/{network}b\006proto3"
+ + "Config.ParameterValuesEntry\022I\n\016failure_p"
+ + "olicy\030\004 \001(\01621.google.cloud.aiplatform.v1"
+ + ".PipelineFailurePolicy\022b\n\017input_artifact"
+ + "s\030\005 \003(\0132I.google.cloud.aiplatform.v1.Pip"
+ + "elineJob.RuntimeConfig.InputArtifactsEnt"
+ + "ry\032.\n\rInputArtifact\022\025\n\013artifact_id\030\001 \001(\t"
+ + "H\000B\006\n\004kind\032T\n\017ParametersEntry\022\013\n\003key\030\001 \001"
+ + "(\t\0220\n\005value\030\002 \001(\0132!.google.cloud.aiplatf"
+ + "orm.v1.Value:\0028\001\032N\n\024ParameterValuesEntry"
+ + "\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pr"
+ + "otobuf.Value:\0028\001\032z\n\023InputArtifactsEntry\022"
+ + "\013\n\003key\030\001 \001(\t\022R\n\005value\030\002 \001(\0132C.google.clo"
+ + "ud.aiplatform.v1.PipelineJob.RuntimeConf"
+ + "ig.InputArtifact:\0028\001\032-\n\013LabelsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplat"
+ + "form.googleapis.com/PipelineJob\022Cproject"
+ + "s/{project}/locations/{location}/pipelin"
+ + "eJobs/{pipeline_job}\"+\n\030PipelineTemplate"
+ + "Metadata\022\017\n\007version\030\003 \001(\t\"\352\001\n\021PipelineJo"
+ + "bDetail\022B\n\020pipeline_context\030\001 \001(\0132#.goog"
+ + "le.cloud.aiplatform.v1.ContextB\003\340A\003\022F\n\024p"
+ + "ipeline_run_context\030\002 \001(\0132#.google.cloud"
+ + ".aiplatform.v1.ContextB\003\340A\003\022I\n\014task_deta"
+ + "ils\030\003 \003(\0132..google.cloud.aiplatform.v1.P"
+ + "ipelineTaskDetailB\003\340A\003\"\235\013\n\022PipelineTaskD"
+ + "etail\022\024\n\007task_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_ta"
+ + "sk_id\030\014 \001(\003B\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003"
+ + "\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf."
+ + "TimestampB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032.goo"
+ + "gle.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030"
+ + "\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022T"
+ + "\n\017executor_detail\030\006 \001(\01326.google.cloud.a"
+ + "iplatform.v1.PipelineTaskExecutorDetailB"
+ + "\003\340A\003\022H\n\005state\030\007 \001(\01624.google.cloud.aipla"
+ + "tform.v1.PipelineTaskDetail.StateB\003\340A\003\022="
+ + "\n\texecution\030\010 \001(\0132%.google.cloud.aiplatf"
+ + "orm.v1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132\022.g"
+ + "oogle.rpc.StatusB\003\340A\003\022d\n\024pipeline_task_s"
+ + "tatus\030\r \003(\0132A.google.cloud.aiplatform.v1"
+ + ".PipelineTaskDetail.PipelineTaskStatusB\003"
+ + "\340A\003\022O\n\006inputs\030\n \003(\0132:.google.cloud.aipla"
+ + "tform.v1.PipelineTaskDetail.InputsEntryB"
+ + "\003\340A\003\022Q\n\007outputs\030\013 \003(\0132;.google.cloud.aip"
+ + "latform.v1.PipelineTaskDetail.OutputsEnt"
+ + "ryB\003\340A\003\032\274\001\n\022PipelineTaskStatus\0224\n\013update"
+ + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB"
+ + "\003\340A\003\022H\n\005state\030\002 \001(\01624.google.cloud.aipla"
+ + "tform.v1.PipelineTaskDetail.StateB\003\340A\003\022&"
+ + "\n\005error\030\003 \001(\0132\022.google.rpc.StatusB\003\340A\003\032L"
+ + "\n\014ArtifactList\022<\n\tartifacts\030\001 \003(\0132$.goog"
+ + "le.cloud.aiplatform.v1.ArtifactB\003\340A\003\032j\n\013"
+ + "InputsEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132"
+ + ";.google.cloud.aiplatform.v1.PipelineTas"
+ + "kDetail.ArtifactList:\0028\001\032k\n\014OutputsEntry"
+ + "\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cl"
+ + "oud.aiplatform.v1.PipelineTaskDetail.Art"
+ + "ifactList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECI"
+ + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCC"
+ + "EEDED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLIN"
+ + "G\020\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPE"
+ + "D\020\010\022\021\n\rNOT_TRIGGERED\020\t\"\313\004\n\032PipelineTaskE"
+ + "xecutorDetail\022g\n\020container_detail\030\001 \001(\0132"
+ + "F.google.cloud.aiplatform.v1.PipelineTas"
+ + "kExecutorDetail.ContainerDetailB\003\340A\003H\000\022h"
+ + "\n\021custom_job_detail\030\002 \001(\0132F.google.cloud"
+ + ".aiplatform.v1.PipelineTaskExecutorDetai"
+ + "l.CustomJobDetailB\003\340A\003H\000\032\347\001\n\017ContainerDe"
+ + "tail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatfo"
+ + "rm.googleapis.com/CustomJob\022J\n\025pre_cachi"
+ + "ng_check_job\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.g"
+ + "oogleapis.com/CustomJob\022\035\n\020failed_main_j"
+ + "obs\030\003 \003(\tB\003\340A\003\022*\n\035failed_pre_caching_che"
+ + "ck_jobs\030\004 \003(\tB\003\340A\003\032e\n\017CustomJobDetail\0228\n"
+ + "\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googleapi"
+ + "s.com/CustomJob\022\030\n\013failed_jobs\030\003 \003(\tB\003\340A"
+ + "\003B\t\n\007detailsB\227\002\n\036com.google.cloud.aiplat"
+ + "form.v1B\010PipelineP\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::V1\352AN\n\036compute.googleapis.com"
+ + "/Network\022,projects/{project}/global/netw"
+ + "orks/{network}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -274,6 +275,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TemplateUri",
"TemplateMetadata",
"ScheduleName",
+ "PreflightValidations",
});
internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor =
internal_static_google_cloud_aiplatform_v1_PipelineJob_descriptor.getNestedTypes().get(0);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
index 70a59406bdc0..39752d325450 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
@@ -4765,6 +4765,24 @@ public com.google.protobuf.ByteString getScheduleNameBytes() {
}
}
+ public static final int PREFLIGHT_VALIDATIONS_FIELD_NUMBER = 26;
+ private boolean preflightValidations_ = false;
+ /**
+ *
+ *
+ * + * Optional. Whether to do component level validations before job creation. + *+ * + *
bool preflight_validations = 26 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The preflightValidations.
+ */
+ @java.lang.Override
+ public boolean getPreflightValidations() {
+ return preflightValidations_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4836,6 +4854,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < reservedIpRanges_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, reservedIpRanges_.getRaw(i));
}
+ if (preflightValidations_ != false) {
+ output.writeBool(26, preflightValidations_);
+ }
getUnknownFields().writeTo(output);
}
@@ -4915,6 +4936,9 @@ public int getSerializedSize() {
size += dataSize;
size += 2 * getReservedIpRangesList().size();
}
+ if (preflightValidations_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, preflightValidations_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -4980,6 +5004,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getTemplateMetadata().equals(other.getTemplateMetadata())) return false;
}
if (!getScheduleName().equals(other.getScheduleName())) return false;
+ if (getPreflightValidations() != other.getPreflightValidations()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -5053,6 +5078,8 @@ public int hashCode() {
}
hash = (37 * hash) + SCHEDULE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getScheduleName().hashCode();
+ hash = (37 * hash) + PREFLIGHT_VALIDATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreflightValidations());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -5291,6 +5318,7 @@ public Builder clear() {
templateMetadataBuilder_ = null;
}
scheduleName_ = "";
+ preflightValidations_ = false;
return this;
}
@@ -5401,6 +5429,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.PipelineJob result) {
if (((from_bitField0_ & 0x00040000) != 0)) {
result.scheduleName_ = scheduleName_;
}
+ if (((from_bitField0_ & 0x00080000) != 0)) {
+ result.preflightValidations_ = preflightValidations_;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -5524,6 +5555,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PipelineJob other) {
bitField0_ |= 0x00040000;
onChanged();
}
+ if (other.getPreflightValidations() != false) {
+ setPreflightValidations(other.getPreflightValidations());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -5672,6 +5706,12 @@ public Builder mergeFrom(
reservedIpRanges_.add(s);
break;
} // case 202
+ case 208:
+ {
+ preflightValidations_ = input.readBool();
+ bitField0_ |= 0x00080000;
+ break;
+ } // case 208
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -9000,6 +9040,59 @@ public Builder setScheduleNameBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean preflightValidations_;
+ /**
+ *
+ *
+ * + * Optional. Whether to do component level validations before job creation. + *+ * + *
bool preflight_validations = 26 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The preflightValidations.
+ */
+ @java.lang.Override
+ public boolean getPreflightValidations() {
+ return preflightValidations_;
+ }
+ /**
+ *
+ *
+ * + * Optional. Whether to do component level validations before job creation. + *+ * + *
bool preflight_validations = 26 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The preflightValidations to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPreflightValidations(boolean value) {
+
+ preflightValidations_ = value;
+ bitField0_ |= 0x00080000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Whether to do component level validations before job creation. + *+ * + *
bool preflight_validations = 26 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPreflightValidations() {
+ bitField0_ = (bitField0_ & ~0x00080000);
+ preflightValidations_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
index 183ebec7a99f..d333eacd8b4a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
@@ -824,4 +824,17 @@ java.lang.String getLabelsOrDefault(
* @return The bytes for scheduleName.
*/
com.google.protobuf.ByteString getScheduleNameBytes();
+
+ /**
+ *
+ *
+ * + * Optional. Whether to do component level validations before job creation. + *+ * + *
bool preflight_validations = 26 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The preflightValidations.
+ */
+ boolean getPreflightValidations();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java
index 065beffe5003..f3bbd74455e7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java
@@ -248,7 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ROHIBITED_CONTENT\020\004\032f\n\rUsageMetadata\022\032\n\022"
+ "prompt_token_count\030\001 \001(\005\022\036\n\026candidates_t"
+ "oken_count\030\002 \001(\005\022\031\n\021total_token_count\030\003 "
- + "\001(\0052\227\034\n\021PredictionService\022\224\002\n\007Predict\022*."
+ + "\001(\0052\232\030\n\021PredictionService\022\224\002\n\007Predict\022*."
+ "google.cloud.aiplatform.v1.PredictReques"
+ "t\032+.google.cloud.aiplatform.v1.PredictRe"
+ "sponse\"\257\001\332A\035endpoint,instances,parameter"
@@ -269,81 +269,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ions/*/endpoints/*}:streamRawPredict:\001*Z"
+ "Q\"L/v1/{endpoint=projects/*/locations/*/"
+ "publishers/*/models/*}:streamRawPredict:"
- + "\001*0\001\022\222\002\n\rDirectPredict\0220.google.cloud.ai"
+ + "\001*0\001\022\300\001\n\rDirectPredict\0220.google.cloud.ai"
+ "platform.v1.DirectPredictRequest\0321.googl"
+ "e.cloud.aiplatform.v1.DirectPredictRespo"
- + "nse\"\233\001\202\323\344\223\002\224\001\"?/v1/{endpoint=projects/*/"
- + "locations/*/endpoints/*}:directPredict:\001"
- + "*ZN\"I/v1/{endpoint=projects/*/locations/"
- + "*/publishers/*/models/*}:directPredict:\001"
- + "*\022\241\002\n\020DirectRawPredict\0223.google.cloud.ai"
- + "platform.v1.DirectRawPredictRequest\0324.go"
- + "ogle.cloud.aiplatform.v1.DirectRawPredic"
- + "tResponse\"\241\001\202\323\344\223\002\232\001\"B/v1/{endpoint=proje"
- + "cts/*/locations/*/endpoints/*}:directRaw"
- + "Predict:\001*ZQ\"L/v1/{endpoint=projects/*/l"
- + "ocations/*/publishers/*/models/*}:direct"
- + "RawPredict:\001*\022\264\002\n\023StreamDirectPredict\0226."
- + "google.cloud.aiplatform.v1.StreamDirectP"
- + "redictRequest\0327.google.cloud.aiplatform."
- + "v1.StreamDirectPredictResponse\"\247\001\202\323\344\223\002\240\001"
- + "\"E/v1/{endpoint=projects/*/locations/*/e"
- + "ndpoints/*}:streamDirectPredict:\001*ZT\"O/v"
- + "1/{endpoint=projects/*/locations/*/publi"
- + "shers/*/models/*}:streamDirectPredict:\001*"
- + "(\0010\001\022\303\002\n\026StreamDirectRawPredict\0229.google"
- + ".cloud.aiplatform.v1.StreamDirectRawPred"
- + "ictRequest\032:.google.cloud.aiplatform.v1."
- + "StreamDirectRawPredictResponse\"\255\001\202\323\344\223\002\246\001"
- + "\"H/v1/{endpoint=projects/*/locations/*/e"
- + "ndpoints/*}:streamDirectRawPredict:\001*ZW\""
- + "R/v1/{endpoint=projects/*/locations/*/pu"
- + "blishers/*/models/*}:streamDirectRawPred"
- + "ict:\001*(\0010\001\022\203\001\n\020StreamingPredict\0223.google"
- + ".cloud.aiplatform.v1.StreamingPredictReq"
- + "uest\0324.google.cloud.aiplatform.v1.Stream"
- + "ingPredictResponse\"\000(\0010\001\022\265\002\n\026ServerStrea"
- + "mingPredict\0223.google.cloud.aiplatform.v1"
- + ".StreamingPredictRequest\0324.google.cloud."
- + "aiplatform.v1.StreamingPredictResponse\"\255"
- + "\001\202\323\344\223\002\246\001\"H/v1/{endpoint=projects/*/locat"
- + "ions/*/endpoints/*}:serverStreamingPredi"
- + "ct:\001*ZW\"R/v1/{endpoint=projects/*/locati"
- + "ons/*/publishers/*/models/*}:serverStrea"
- + "mingPredict:\001*0\001\022\214\001\n\023StreamingRawPredict"
- + "\0226.google.cloud.aiplatform.v1.StreamingR"
- + "awPredictRequest\0327.google.cloud.aiplatfo"
- + "rm.v1.StreamingRawPredictResponse\"\000(\0010\001\022"
- + "\332\001\n\007Explain\022*.google.cloud.aiplatform.v1"
- + ".ExplainRequest\032+.google.cloud.aiplatfor"
- + "m.v1.ExplainResponse\"v\332A/endpoint,instan"
- + "ces,parameters,deployed_model_id\202\323\344\223\002>\"9"
- + "/v1/{endpoint=projects/*/locations/*/end"
- + "points/*}:explain:\001*\022\247\002\n\017GenerateContent"
- + "\0222.google.cloud.aiplatform.v1.GenerateCo"
- + "ntentRequest\0323.google.cloud.aiplatform.v"
- + "1.GenerateContentResponse\"\252\001\332A\016model,con"
- + "tents\202\323\344\223\002\222\001\">/v1/{model=projects/*/loca"
- + "tions/*/endpoints/*}:generateContent:\001*Z"
- + "M\"H/v1/{model=projects/*/locations/*/pub"
- + "lishers/*/models/*}:generateContent:\001*\022\273"
- + "\002\n\025StreamGenerateContent\0222.google.cloud."
- + "aiplatform.v1.GenerateContentRequest\0323.g"
- + "oogle.cloud.aiplatform.v1.GenerateConten"
- + "tResponse\"\266\001\332A\016model,contents\202\323\344\223\002\236\001\"D/v"
- + "1/{model=projects/*/locations/*/endpoint"
- + "s/*}:streamGenerateContent:\001*ZS\"N/v1/{mo"
- + "del=projects/*/locations/*/publishers/*/"
- + "models/*}:streamGenerateContent:\001*0\001\032\206\001\312"
- + "A\031aiplatform.googleapis.com\322Aghttps://ww"
- + "w.googleapis.com/auth/cloud-platform,htt"
- + "ps://www.googleapis.com/auth/cloud-platf"
- + "orm.read-onlyB\324\001\n\036com.google.cloud.aipla"
- + "tform.v1B\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"
+ + "nse\"J\202\323\344\223\002D\"?/v1/{endpoint=projects/*/lo"
+ + "cations/*/endpoints/*}:directPredict:\001*\022"
+ + "\314\001\n\020DirectRawPredict\0223.google.cloud.aipl"
+ + "atform.v1.DirectRawPredictRequest\0324.goog"
+ + "le.cloud.aiplatform.v1.DirectRawPredictR"
+ + "esponse\"M\202\323\344\223\002G\"B/v1/{endpoint=projects/"
+ + "*/locations/*/endpoints/*}:directRawPred"
+ + "ict:\001*\022\214\001\n\023StreamDirectPredict\0226.google."
+ + "cloud.aiplatform.v1.StreamDirectPredictR"
+ + "equest\0327.google.cloud.aiplatform.v1.Stre"
+ + "amDirectPredictResponse\"\000(\0010\001\022\225\001\n\026Stream"
+ + "DirectRawPredict\0229.google.cloud.aiplatfo"
+ + "rm.v1.StreamDirectRawPredictRequest\032:.go"
+ + "ogle.cloud.aiplatform.v1.StreamDirectRaw"
+ + "PredictResponse\"\000(\0010\001\022\203\001\n\020StreamingPredi"
+ + "ct\0223.google.cloud.aiplatform.v1.Streamin"
+ + "gPredictRequest\0324.google.cloud.aiplatfor"
+ + "m.v1.StreamingPredictResponse\"\000(\0010\001\022\265\002\n\026"
+ + "ServerStreamingPredict\0223.google.cloud.ai"
+ + "platform.v1.StreamingPredictRequest\0324.go"
+ + "ogle.cloud.aiplatform.v1.StreamingPredic"
+ + "tResponse\"\255\001\202\323\344\223\002\246\001\"H/v1/{endpoint=proje"
+ + "cts/*/locations/*/endpoints/*}:serverStr"
+ + "eamingPredict:\001*ZW\"R/v1/{endpoint=projec"
+ + "ts/*/locations/*/publishers/*/models/*}:"
+ + "serverStreamingPredict:\001*0\001\022\214\001\n\023Streamin"
+ + "gRawPredict\0226.google.cloud.aiplatform.v1"
+ + ".StreamingRawPredictRequest\0327.google.clo"
+ + "ud.aiplatform.v1.StreamingRawPredictResp"
+ + "onse\"\000(\0010\001\022\332\001\n\007Explain\022*.google.cloud.ai"
+ + "platform.v1.ExplainRequest\032+.google.clou"
+ + "d.aiplatform.v1.ExplainResponse\"v\332A/endp"
+ + "oint,instances,parameters,deployed_model"
+ + "_id\202\323\344\223\002>\"9/v1/{endpoint=projects/*/loca"
+ + "tions/*/endpoints/*}:explain:\001*\022\247\002\n\017Gene"
+ + "rateContent\0222.google.cloud.aiplatform.v1"
+ + ".GenerateContentRequest\0323.google.cloud.a"
+ + "iplatform.v1.GenerateContentResponse\"\252\001\332"
+ + "A\016model,contents\202\323\344\223\002\222\001\">/v1/{model=proj"
+ + "ects/*/locations/*/endpoints/*}:generate"
+ + "Content:\001*ZM\"H/v1/{model=projects/*/loca"
+ + "tions/*/publishers/*/models/*}:generateC"
+ + "ontent:\001*\022\273\002\n\025StreamGenerateContent\0222.go"
+ + "ogle.cloud.aiplatform.v1.GenerateContent"
+ + "Request\0323.google.cloud.aiplatform.v1.Gen"
+ + "erateContentResponse\"\266\001\332A\016model,contents"
+ + "\202\323\344\223\002\236\001\"D/v1/{model=projects/*/locations"
+ + "/*/endpoints/*}:streamGenerateContent:\001*"
+ + "ZS\"N/v1/{model=projects/*/locations/*/pu"
+ + "blishers/*/models/*}:streamGenerateConte"
+ + "nt:\001*0\001\032\206\001\312A\031aiplatform.googleapis.com\322A"
+ + "ghttps://www.googleapis.com/auth/cloud-p"
+ + "latform,https://www.googleapis.com/auth/"
+ + "cloud-platform.read-onlyB\324\001\n\036com.google."
+ + "cloud.aiplatform.v1B\026PredictionServicePr"
+ + "otoP\001Z>cloud.google.com/go/aiplatform/ap"
+ + "iv1/aiplatformpb;aiplatformpb\252\002\032Google.C"
+ + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat"
+ + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b"
+ + "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJob.java
index 01856565b9fc..944a83ff9354 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJob.java
@@ -1077,6 +1077,62 @@ public com.google.cloud.aiplatform.v1.TuningDataStatsOrBuilder getTuningDataStat
: tuningDataStats_;
}
+ public static final int ENCRYPTION_SPEC_FIELD_NUMBER = 16;
+ private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_;
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return Whether the encryptionSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasEncryptionSpec() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return The encryptionSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1135,6 +1191,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(15, getTuningDataStats());
}
+ if (((bitField0_ & 0x00000080) != 0)) {
+ output.writeMessage(16, getEncryptionSpec());
+ }
getUnknownFields().writeTo(output);
}
@@ -1198,6 +1257,9 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getTuningDataStats());
}
+ if (((bitField0_ & 0x00000080) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getEncryptionSpec());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1247,6 +1309,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasTuningDataStats()) {
if (!getTuningDataStats().equals(other.getTuningDataStats())) return false;
}
+ if (hasEncryptionSpec() != other.hasEncryptionSpec()) return false;
+ if (hasEncryptionSpec()) {
+ if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false;
+ }
if (!getSourceModelCase().equals(other.getSourceModelCase())) return false;
switch (sourceModelCase_) {
case 4:
@@ -1316,6 +1382,10 @@ public int hashCode() {
hash = (37 * hash) + TUNING_DATA_STATS_FIELD_NUMBER;
hash = (53 * hash) + getTuningDataStats().hashCode();
}
+ if (hasEncryptionSpec()) {
+ hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getEncryptionSpec().hashCode();
+ }
switch (sourceModelCase_) {
case 4:
hash = (37 * hash) + BASE_MODEL_FIELD_NUMBER;
@@ -1501,6 +1571,7 @@ private void maybeForceBuilderInitialization() {
getErrorFieldBuilder();
getTunedModelFieldBuilder();
getTuningDataStatsFieldBuilder();
+ getEncryptionSpecFieldBuilder();
}
}
@@ -1552,6 +1623,11 @@ public Builder clear() {
tuningDataStatsBuilder_.dispose();
tuningDataStatsBuilder_ = null;
}
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
+ encryptionSpecBuilder_ = null;
+ }
sourceModelCase_ = 0;
sourceModel_ = null;
tuningSpecCase_ = 0;
@@ -1642,6 +1718,11 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.TuningJob result) {
tuningDataStatsBuilder_ == null ? tuningDataStats_ : tuningDataStatsBuilder_.build();
to_bitField0_ |= 0x00000040;
}
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
+ to_bitField0_ |= 0x00000080;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1746,6 +1827,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.TuningJob other) {
if (other.hasTuningDataStats()) {
mergeTuningDataStats(other.getTuningDataStats());
}
+ if (other.hasEncryptionSpec()) {
+ mergeEncryptionSpec(other.getEncryptionSpec());
+ }
switch (other.getSourceModelCase()) {
case BASE_MODEL:
{
@@ -1894,6 +1978,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00004000;
break;
} // case 122
+ case 130:
+ {
+ input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 130
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -4545,6 +4635,211 @@ public com.google.cloud.aiplatform.v1.TuningDataStatsOrBuilder getTuningDataStat
return tuningDataStatsBuilder_;
}
+ private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.EncryptionSpec,
+ com.google.cloud.aiplatform.v1.EncryptionSpec.Builder,
+ com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder>
+ encryptionSpecBuilder_;
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return Whether the encryptionSpec field is set.
+ */
+ public boolean hasEncryptionSpec() {
+ return ((bitField0_ & 0x00008000) != 0);
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return The encryptionSpec.
+ */
+ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
+ if (encryptionSpecBuilder_ == null) {
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
+ } else {
+ return encryptionSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
+ if (encryptionSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ encryptionSpec_ = value;
+ } else {
+ encryptionSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public Builder setEncryptionSpec(
+ com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
+ if (encryptionSpecBuilder_ == null) {
+ encryptionSpec_ = builderForValue.build();
+ } else {
+ encryptionSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
+ if (encryptionSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00008000) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
+ } else {
+ encryptionSpec_ = value;
+ }
+ } else {
+ encryptionSpecBuilder_.mergeFrom(value);
+ }
+ if (encryptionSpec_ != null) {
+ bitField0_ |= 0x00008000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public Builder clearEncryptionSpec() {
+ bitField0_ = (bitField0_ & ~0x00008000);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
+ encryptionSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return getEncryptionSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
+ if (encryptionSpecBuilder_ != null) {
+ return encryptionSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.EncryptionSpec,
+ com.google.cloud.aiplatform.v1.EncryptionSpec.Builder,
+ com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder>
+ getEncryptionSpecFieldBuilder() {
+ if (encryptionSpecBuilder_ == null) {
+ encryptionSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.EncryptionSpec,
+ com.google.cloud.aiplatform.v1.EncryptionSpec.Builder,
+ com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder>(
+ getEncryptionSpec(), getParentForChildren(), isClean());
+ encryptionSpec_ = null;
+ }
+ return encryptionSpecBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobOrBuilder.java
index 5be352c7ffb4..0c9b4ae2aed6 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobOrBuilder.java
@@ -645,6 +645,47 @@ java.lang.String getLabelsOrDefault(
*/
com.google.cloud.aiplatform.v1.TuningDataStatsOrBuilder getTuningDataStatsOrBuilder();
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return Whether the encryptionSpec field is set.
+ */
+ boolean hasEncryptionSpec();
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ *
+ * @return The encryptionSpec.
+ */
+ com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec();
+ /**
+ *
+ *
+ * + * Customer-managed encryption key options for a TuningJob. If this is set, + * then all resources created by the TuningJob will be encrypted with the + * provided encryption key. + *+ * + *
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
+ */
+ com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder();
+
com.google.cloud.aiplatform.v1.TuningJob.SourceModelCase getSourceModelCase();
com.google.cloud.aiplatform.v1.TuningJob.TuningSpecCase getTuningSpecCase();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobProto.java
index f2a08cd97059..e17e95629c87 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TuningJobProto.java
@@ -77,83 +77,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "proto\022\032google.cloud.aiplatform.v1\032\037googl"
+ "e/api/field_behavior.proto\032\031google/api/r"
+ "esource.proto\032(google/cloud/aiplatform/v"
- + "1/content.proto\032*google/cloud/aiplatform"
- + "/v1/job_state.proto\032\037google/protobuf/tim"
- + "estamp.proto\032\027google/rpc/status.proto\"\351\007"
- + "\n\tTuningJob\022\024\n\nbase_model\030\004 \001(\tH\000\022R\n\026sup"
- + "ervised_tuning_spec\030\005 \001(\01320.google.cloud"
- + ".aiplatform.v1.SupervisedTuningSpecH\001\022\024\n"
- + "\004name\030\001 \001(\tB\006\340A\010\340A\003\022%\n\030tuned_model_displ"
- + "ay_name\030\002 \001(\tB\003\340A\001\022\030\n\013description\030\003 \001(\tB"
- + "\003\340A\001\0228\n\005state\030\006 \001(\0162$.google.cloud.aipla"
- + "tform.v1.JobStateB\003\340A\003\0224\n\013create_time\030\007 "
- + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0223\n\n"
- + "start_time\030\010 \001(\0132\032.google.protobuf.Times"
- + "tampB\003\340A\003\0221\n\010end_time\030\t \001(\0132\032.google.pro"
- + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\n \001("
- + "\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005er"
- + "ror\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\022F\n\006la"
- + "bels\030\014 \003(\01321.google.cloud.aiplatform.v1."
- + "TuningJob.LabelsEntryB\003\340A\001\022=\n\nexperiment"
- + "\030\r \001(\tB)\340A\003\372A#\n!aiplatform.googleapis.co"
- + "m/Context\022@\n\013tuned_model\030\016 \001(\0132&.google."
- + "cloud.aiplatform.v1.TunedModelB\003\340A\003\022K\n\021t"
- + "uning_data_stats\030\017 \001(\0132+.google.cloud.ai"
- + "platform.v1.TuningDataStatsB\003\340A\003\032-\n\013Labe"
- + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:"
- + "\200\001\352A}\n#aiplatform.googleapis.com/TuningJ"
- + "ob\022?projects/{project}/locations/{locati"
- + "on}/tuningJobs/{tuning_job}*\ntuningJobs2"
- + "\ttuningJobB\016\n\014source_modelB\r\n\013tuning_spe"
- + "c\"\202\001\n\nTunedModel\0226\n\005model\030\001 \001(\tB\'\340A\003\372A!\n"
- + "\037aiplatform.googleapis.com/Model\022<\n\010endp"
- + "oint\030\002 \001(\tB*\340A\003\372A$\n\"aiplatform.googleapi"
- + "s.com/Endpoint\"\327\002\n#SupervisedTuningDatas"
- + "etDistribution\022\020\n\003sum\030\001 \001(\003B\003\340A\003\022\020\n\003min\030"
- + "\002 \001(\001B\003\340A\003\022\020\n\003max\030\003 \001(\001B\003\340A\003\022\021\n\004mean\030\004 \001"
- + "(\001B\003\340A\003\022\023\n\006median\030\005 \001(\001B\003\340A\003\022\017\n\002p5\030\006 \001(\001"
- + "B\003\340A\003\022\020\n\003p95\030\007 \001(\001B\003\340A\003\022c\n\007buckets\030\010 \003(\013"
- + "2M.google.cloud.aiplatform.v1.Supervised"
- + "TuningDatasetDistribution.DatasetBucketB"
- + "\003\340A\003\032J\n\rDatasetBucket\022\022\n\005count\030\001 \001(\001B\003\340A"
- + "\003\022\021\n\004left\030\002 \001(\001B\003\340A\003\022\022\n\005right\030\003 \001(\001B\003\340A\003"
- + "\"\327\004\n\031SupervisedTuningDataStats\022)\n\034tuning"
- + "_dataset_example_count\030\001 \001(\003B\003\340A\003\022)\n\034tot"
- + "al_tuning_character_count\030\002 \001(\003B\003\340A\003\022+\n\036"
- + "total_billable_character_count\030\003 \001(\003B\003\340A"
- + "\003\022\036\n\021tuning_step_count\030\004 \001(\003B\003\340A\003\022k\n\035use"
- + "r_input_token_distribution\030\005 \001(\0132?.googl"
- + "e.cloud.aiplatform.v1.SupervisedTuningDa"
- + "tasetDistributionB\003\340A\003\022l\n\036user_output_to"
- + "ken_distribution\030\006 \001(\0132?.google.cloud.ai"
- + "platform.v1.SupervisedTuningDatasetDistr"
- + "ibutionB\003\340A\003\022s\n%user_message_per_example"
- + "_distribution\030\007 \001(\0132?.google.cloud.aipla"
- + "tform.v1.SupervisedTuningDatasetDistribu"
- + "tionB\003\340A\003\022G\n\025user_dataset_examples\030\010 \003(\013"
- + "2#.google.cloud.aiplatform.v1.ContentB\003\340"
- + "A\003\"\205\001\n\017TuningDataStats\022]\n\034supervised_tun"
- + "ing_data_stats\030\001 \001(\01325.google.cloud.aipl"
- + "atform.v1.SupervisedTuningDataStatsH\000B\023\n"
- + "\021tuning_data_stats\"\307\002\n\031SupervisedHyperPa"
- + "rameters\022\030\n\013epoch_count\030\001 \001(\003B\003\340A\001\022%\n\030le"
- + "arning_rate_multiplier\030\002 \001(\001B\003\340A\001\022\\\n\014ada"
- + "pter_size\030\003 \001(\0162A.google.cloud.aiplatfor"
- + "m.v1.SupervisedHyperParameters.AdapterSi"
- + "zeB\003\340A\001\"\212\001\n\013AdapterSize\022\034\n\030ADAPTER_SIZE_"
- + "UNSPECIFIED\020\000\022\024\n\020ADAPTER_SIZE_ONE\020\001\022\025\n\021A"
- + "DAPTER_SIZE_FOUR\020\002\022\026\n\022ADAPTER_SIZE_EIGHT"
- + "\020\003\022\030\n\024ADAPTER_SIZE_SIXTEEN\020\004\"\264\001\n\024Supervi"
- + "sedTuningSpec\022!\n\024training_dataset_uri\030\001 "
- + "\001(\tB\003\340A\002\022#\n\026validation_dataset_uri\030\002 \001(\t"
- + "B\003\340A\001\022T\n\020hyper_parameters\030\003 \001(\01325.google"
- + ".cloud.aiplatform.v1.SupervisedHyperPara"
- + "metersB\003\340A\001B\314\001\n\036com.google.cloud.aiplatf"
- + "orm.v1B\016TuningJobProtoP\001Z>cloud.google.c"
- + "om/go/aiplatform/apiv1/aiplatformpb;aipl"
- + "atformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032"
- + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Clo"
- + "ud::AIPlatform::V1b\006proto3"
+ + "1/content.proto\0320google/cloud/aiplatform"
+ + "/v1/encryption_spec.proto\032*google/cloud/"
+ + "aiplatform/v1/job_state.proto\032\037google/pr"
+ + "otobuf/timestamp.proto\032\027google/rpc/statu"
+ + "s.proto\"\256\010\n\tTuningJob\022\024\n\nbase_model\030\004 \001("
+ + "\tH\000\022R\n\026supervised_tuning_spec\030\005 \001(\01320.go"
+ + "ogle.cloud.aiplatform.v1.SupervisedTunin"
+ + "gSpecH\001\022\024\n\004name\030\001 \001(\tB\006\340A\010\340A\003\022%\n\030tuned_m"
+ + "odel_display_name\030\002 \001(\tB\003\340A\001\022\030\n\013descript"
+ + "ion\030\003 \001(\tB\003\340A\001\0228\n\005state\030\006 \001(\0162$.google.c"
+ + "loud.aiplatform.v1.JobStateB\003\340A\003\0224\n\013crea"
+ + "te_time\030\007 \001(\0132\032.google.protobuf.Timestam"
+ + "pB\003\340A\003\0223\n\nstart_time\030\010 \001(\0132\032.google.prot"
+ + "obuf.TimestampB\003\340A\003\0221\n\010end_time\030\t \001(\0132\032."
+ + "google.protobuf.TimestampB\003\340A\003\0224\n\013update"
+ + "_time\030\n \001(\0132\032.google.protobuf.TimestampB"
+ + "\003\340A\003\022&\n\005error\030\013 \001(\0132\022.google.rpc.StatusB"
+ + "\003\340A\003\022F\n\006labels\030\014 \003(\01321.google.cloud.aipl"
+ + "atform.v1.TuningJob.LabelsEntryB\003\340A\001\022=\n\n"
+ + "experiment\030\r \001(\tB)\340A\003\372A#\n!aiplatform.goo"
+ + "gleapis.com/Context\022@\n\013tuned_model\030\016 \001(\013"
+ + "2&.google.cloud.aiplatform.v1.TunedModel"
+ + "B\003\340A\003\022K\n\021tuning_data_stats\030\017 \001(\0132+.googl"
+ + "e.cloud.aiplatform.v1.TuningDataStatsB\003\340"
+ + "A\003\022C\n\017encryption_spec\030\020 \001(\0132*.google.clo"
+ + "ud.aiplatform.v1.EncryptionSpec\032-\n\013Label"
+ + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\200"
+ + "\001\352A}\n#aiplatform.googleapis.com/TuningJo"
+ + "b\022?projects/{project}/locations/{locatio"
+ + "n}/tuningJobs/{tuning_job}*\ntuningJobs2\t"
+ + "tuningJobB\016\n\014source_modelB\r\n\013tuning_spec"
+ + "\"\202\001\n\nTunedModel\0226\n\005model\030\001 \001(\tB\'\340A\003\372A!\n\037"
+ + "aiplatform.googleapis.com/Model\022<\n\010endpo"
+ + "int\030\002 \001(\tB*\340A\003\372A$\n\"aiplatform.googleapis"
+ + ".com/Endpoint\"\327\002\n#SupervisedTuningDatase"
+ + "tDistribution\022\020\n\003sum\030\001 \001(\003B\003\340A\003\022\020\n\003min\030\002"
+ + " \001(\001B\003\340A\003\022\020\n\003max\030\003 \001(\001B\003\340A\003\022\021\n\004mean\030\004 \001("
+ + "\001B\003\340A\003\022\023\n\006median\030\005 \001(\001B\003\340A\003\022\017\n\002p5\030\006 \001(\001B"
+ + "\003\340A\003\022\020\n\003p95\030\007 \001(\001B\003\340A\003\022c\n\007buckets\030\010 \003(\0132"
+ + "M.google.cloud.aiplatform.v1.SupervisedT"
+ + "uningDatasetDistribution.DatasetBucketB\003"
+ + "\340A\003\032J\n\rDatasetBucket\022\022\n\005count\030\001 \001(\001B\003\340A\003"
+ + "\022\021\n\004left\030\002 \001(\001B\003\340A\003\022\022\n\005right\030\003 \001(\001B\003\340A\003\""
+ + "\327\004\n\031SupervisedTuningDataStats\022)\n\034tuning_"
+ + "dataset_example_count\030\001 \001(\003B\003\340A\003\022)\n\034tota"
+ + "l_tuning_character_count\030\002 \001(\003B\003\340A\003\022+\n\036t"
+ + "otal_billable_character_count\030\003 \001(\003B\003\340A\003"
+ + "\022\036\n\021tuning_step_count\030\004 \001(\003B\003\340A\003\022k\n\035user"
+ + "_input_token_distribution\030\005 \001(\0132?.google"
+ + ".cloud.aiplatform.v1.SupervisedTuningDat"
+ + "asetDistributionB\003\340A\003\022l\n\036user_output_tok"
+ + "en_distribution\030\006 \001(\0132?.google.cloud.aip"
+ + "latform.v1.SupervisedTuningDatasetDistri"
+ + "butionB\003\340A\003\022s\n%user_message_per_example_"
+ + "distribution\030\007 \001(\0132?.google.cloud.aiplat"
+ + "form.v1.SupervisedTuningDatasetDistribut"
+ + "ionB\003\340A\003\022G\n\025user_dataset_examples\030\010 \003(\0132"
+ + "#.google.cloud.aiplatform.v1.ContentB\003\340A"
+ + "\003\"\205\001\n\017TuningDataStats\022]\n\034supervised_tuni"
+ + "ng_data_stats\030\001 \001(\01325.google.cloud.aipla"
+ + "tform.v1.SupervisedTuningDataStatsH\000B\023\n\021"
+ + "tuning_data_stats\"\307\002\n\031SupervisedHyperPar"
+ + "ameters\022\030\n\013epoch_count\030\001 \001(\003B\003\340A\001\022%\n\030lea"
+ + "rning_rate_multiplier\030\002 \001(\001B\003\340A\001\022\\\n\014adap"
+ + "ter_size\030\003 \001(\0162A.google.cloud.aiplatform"
+ + ".v1.SupervisedHyperParameters.AdapterSiz"
+ + "eB\003\340A\001\"\212\001\n\013AdapterSize\022\034\n\030ADAPTER_SIZE_U"
+ + "NSPECIFIED\020\000\022\024\n\020ADAPTER_SIZE_ONE\020\001\022\025\n\021AD"
+ + "APTER_SIZE_FOUR\020\002\022\026\n\022ADAPTER_SIZE_EIGHT\020"
+ + "\003\022\030\n\024ADAPTER_SIZE_SIXTEEN\020\004\"\264\001\n\024Supervis"
+ + "edTuningSpec\022!\n\024training_dataset_uri\030\001 \001"
+ + "(\tB\003\340A\002\022#\n\026validation_dataset_uri\030\002 \001(\tB"
+ + "\003\340A\001\022T\n\020hyper_parameters\030\003 \001(\01325.google."
+ + "cloud.aiplatform.v1.SupervisedHyperParam"
+ + "etersB\003\340A\001B\314\001\n\036com.google.cloud.aiplatfo"
+ + "rm.v1B\016TuningJobProtoP\001Z>cloud.google.co"
+ + "m/go/aiplatform/apiv1/aiplatformpb;aipla"
+ + "tformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G"
+ + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou"
+ + "d::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -162,6 +165,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ContentProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
@@ -187,6 +191,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Experiment",
"TunedModel",
"TuningDataStats",
+ "EncryptionSpec",
"SourceModel",
"TuningSpec",
});
@@ -273,6 +278,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.ContentProto.getDescriptor();
+ com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto
index 7f31baa2a0c3..82cdb3f63e74 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto
@@ -346,6 +346,9 @@ message Candidate {
// The token generation was stopped as the response was flagged for
// Sensitive Personally Identifiable Information (SPII) contents.
SPII = 8;
+
+ // The function call generated by the model is invalid.
+ MALFORMED_FUNCTION_CALL = 9;
}
// Output only. Index of the candidate.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
index 3a0567aa0650..e31290cb963d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
@@ -213,6 +213,9 @@ message PipelineJob {
// Output only. The schedule resource name.
// Only returned if the Pipeline is created by Schedule API.
string schedule_name = 22 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Whether to do component level validations before job creation.
+ bool preflight_validations = 26 [(google.api.field_behavior) = OPTIONAL];
}
// Pipeline template metadata if
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto
index 70ba277aef7f..9e609e918a41 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto
@@ -98,10 +98,6 @@ service PredictionService {
option (google.api.http) = {
post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict"
body: "*"
- additional_bindings {
- post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:directPredict"
- body: "*"
- }
};
}
@@ -112,40 +108,18 @@ service PredictionService {
option (google.api.http) = {
post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict"
body: "*"
- additional_bindings {
- post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:directRawPredict"
- body: "*"
- }
};
}
// Perform a streaming online prediction request to a gRPC model server for
// Vertex first-party products and frameworks.
rpc StreamDirectPredict(stream StreamDirectPredictRequest)
- returns (stream StreamDirectPredictResponse) {
- option (google.api.http) = {
- post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamDirectPredict"
- body: "*"
- additional_bindings {
- post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamDirectPredict"
- body: "*"
- }
- };
- }
+ returns (stream StreamDirectPredictResponse) {}
// Perform a streaming online prediction request to a gRPC model server for
// custom containers.
rpc StreamDirectRawPredict(stream StreamDirectRawPredictRequest)
- returns (stream StreamDirectRawPredictResponse) {
- option (google.api.http) = {
- post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamDirectRawPredict"
- body: "*"
- additional_bindings {
- post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamDirectRawPredict"
- body: "*"
- }
- };
- }
+ returns (stream StreamDirectRawPredictResponse) {}
// Perform a streaming online prediction request for Vertex first-party
// products and frameworks.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tuning_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tuning_job.proto
index 90d396093160..803df1820765 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tuning_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tuning_job.proto
@@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/content.proto";
+import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
@@ -125,6 +126,11 @@ message TuningJob {
// [TuningJob][google.cloud.aiplatform.v1.TuningJob].
TuningDataStats tuning_data_stats = 15
[(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Customer-managed encryption key options for a TuningJob. If this is set,
+ // then all resources created by the TuningJob will be encrypted with the
+ // provided encryption key.
+ EncryptionSpec encryption_spec = 16;
}
// The Model Registry Model and Online Prediction Endpoint assiociated with
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml
index 8cc5b8ecab69..00d306c332ab 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml
@@ -4,13 +4,13 @@
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -263,8 +263,8 @@ public java.lang.String getName() {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -1922,8 +1922,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -1948,8 +1948,8 @@ public java.lang.String getName() {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -1974,8 +1974,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -1999,8 +1999,8 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -2020,8 +2020,8 @@ public Builder clearName() {
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CachedContentOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CachedContentOrBuilder.java
index 7ced4a1c45d6..d0ceba2509f7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CachedContentOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CachedContentOrBuilder.java
@@ -107,8 +107,8 @@ public interface CachedContentOrBuilder
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
@@ -123,8 +123,8 @@ public interface CachedContentOrBuilder
*
*
*
- * Immutable. Identifier. The resource name of the cached content
- * Format:
+ * Immutable. Identifier. The server-generated resource name of the cached
+ * content Format:
* projects/{project}/locations/{location}/cachedContents/{cached_content}
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Candidate.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Candidate.java
index 36629ad7d945..4c0f8c9fed5d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Candidate.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Candidate.java
@@ -172,6 +172,16 @@ public enum FinishReason implements com.google.protobuf.ProtocolMessageEnum {
* SPII = 8;
*/
SPII(8),
+ /**
+ *
+ *
+ * + * The function call generated by the model is invalid. + *+ * + *
MALFORMED_FUNCTION_CALL = 9;
+ */
+ MALFORMED_FUNCTION_CALL(9),
UNRECOGNIZED(-1),
;
@@ -271,6 +281,16 @@ public enum FinishReason implements com.google.protobuf.ProtocolMessageEnum {
* SPII = 8;
*/
public static final int SPII_VALUE = 8;
+ /**
+ *
+ *
+ * + * The function call generated by the model is invalid. + *+ * + *
MALFORMED_FUNCTION_CALL = 9;
+ */
+ public static final int MALFORMED_FUNCTION_CALL_VALUE = 9;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -314,6 +334,8 @@ public static FinishReason forNumber(int value) {
return PROHIBITED_CONTENT;
case 8:
return SPII;
+ case 9:
+ return MALFORMED_FUNCTION_CALL;
default:
return null;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java
index 90f911f75ee4..261251f036eb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java
@@ -76,6 +76,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_Segment_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_Segment_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_GroundingAttribution_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -177,7 +193,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "d_index\030\002 \001(\005B\003\340A\003\022\020\n\003uri\030\003 \001(\tB\003\340A\003\022\022\n\005"
+ "title\030\004 \001(\tB\003\340A\003\022\024\n\007license\030\005 \001(\tB\003\340A\003\0220"
+ "\n\020publication_date\030\006 \001(\0132\021.google.type.D"
- + "ateB\003\340A\003\"\377\004\n\tCandidate\022\022\n\005index\030\001 \001(\005B\003\340"
+ + "ateB\003\340A\003\"\234\005\n\tCandidate\022\022\n\005index\030\001 \001(\005B\003\340"
+ "A\003\022>\n\007content\030\002 \001(\0132(.google.cloud.aipla"
+ "tform.v1beta1.ContentB\003\340A\003\022S\n\rfinish_rea"
+ "son\030\003 \001(\01627.google.cloud.aiplatform.v1be"
@@ -188,45 +204,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ta\030\006 \001(\01321.google.cloud.aiplatform.v1bet"
+ "a1.CitationMetadataB\003\340A\003\022S\n\022grounding_me"
+ "tadata\030\007 \001(\01322.google.cloud.aiplatform.v"
- + "1beta1.GroundingMetadataB\003\340A\003\"\237\001\n\014Finish"
+ + "1beta1.GroundingMetadataB\003\340A\003\"\274\001\n\014Finish"
+ "Reason\022\035\n\031FINISH_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\nR"
+ "ECITATION\020\004\022\t\n\005OTHER\020\005\022\r\n\tBLOCKLIST\020\006\022\026\n"
- + "\022PROHIBITED_CONTENT\020\007\022\010\n\004SPII\020\010B\021\n\017_fini"
- + "sh_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_"
- + "index\030\003 \001(\005B\003\340A\003\"\277\003\n\024GroundingAttributio"
- + "n\022M\n\003web\030\003 \001(\01329.google.cloud.aiplatform"
- + ".v1beta1.GroundingAttribution.WebB\003\340A\001H\000"
- + "\022h\n\021retrieved_context\030\004 \001(\0132F.google.clo"
- + "ud.aiplatform.v1beta1.GroundingAttributi"
- + "on.RetrievedContextB\003\340A\001H\000\022>\n\007segment\030\001 "
- + "\001(\0132(.google.cloud.aiplatform.v1beta1.Se"
- + "gmentB\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\005ti"
- + "tle\030\002 \001(\tB\003\340A\003\0328\n\020RetrievedContext\022\020\n\003ur"
- + "i\030\001 \001(\tB\003\340A\003\022\022\n\005title\030\002 \001(\tB\003\340A\003B\013\n\trefe"
- + "renceB\023\n\021_confidence_score\"\240\002\n\021Grounding"
- + "Metadata\022\037\n\022web_search_queries\030\001 \003(\tB\003\340A"
- + "\001\022W\n\022search_entry_point\030\004 \001(\01321.google.c"
- + "loud.aiplatform.v1beta1.SearchEntryPoint"
- + "B\003\340A\001H\000\210\001\001\022\036\n\021retrieval_queries\030\003 \003(\tB\003\340"
- + "A\001\022Z\n\026grounding_attributions\030\002 \003(\01325.goo"
+ + "\022PROHIBITED_CONTENT\020\007\022\010\n\004SPII\020\010\022\033\n\027MALFO"
+ + "RMED_FUNCTION_CALL\020\tB\021\n\017_finish_message\""
+ + "g\n\007Segment\022\027\n\npart_index\030\001 \001(\005B\003\340A\003\022\030\n\013s"
+ + "tart_index\030\002 \001(\005B\003\340A\003\022\026\n\tend_index\030\003 \001(\005"
+ + "B\003\340A\003\022\021\n\004text\030\004 \001(\tB\003\340A\003\"\314\002\n\016GroundingCh"
+ + "unk\022B\n\003web\030\001 \001(\01323.google.cloud.aiplatfo"
+ + "rm.v1beta1.GroundingChunk.WebH\000\022]\n\021retri"
+ + "eved_context\030\002 \001(\0132@.google.cloud.aiplat"
+ + "form.v1beta1.GroundingChunk.RetrievedCon"
+ + "textH\000\032=\n\003Web\022\020\n\003uri\030\001 \001(\tH\000\210\001\001\022\022\n\005title"
+ + "\030\002 \001(\tH\001\210\001\001B\006\n\004_uriB\010\n\006_title\032J\n\020Retriev"
+ + "edContext\022\020\n\003uri\030\001 \001(\tH\000\210\001\001\022\022\n\005title\030\002 \001"
+ + "(\tH\001\210\001\001B\006\n\004_uriB\010\n\006_titleB\014\n\nchunk_type\""
+ + "\232\001\n\020GroundingSupport\022>\n\007segment\030\001 \001(\0132(."
+ + "google.cloud.aiplatform.v1beta1.SegmentH"
+ + "\000\210\001\001\022\037\n\027grounding_chunk_indices\030\002 \003(\005\022\031\n"
+ + "\021confidence_scores\030\003 \003(\002B\n\n\010_segment\"\277\003\n"
+ + "\024GroundingAttribution\022M\n\003web\030\003 \001(\01329.goo"
+ "gle.cloud.aiplatform.v1beta1.GroundingAt"
- + "tributionB\003\340A\001B\025\n\023_search_entry_point\"H\n"
- + "\020SearchEntryPoint\022\035\n\020rendered_content\030\001 "
- + "\001(\tB\003\340A\001\022\025\n\010sdk_blob\030\002 \001(\014B\003\340A\001*\264\001\n\014Harm"
- + "Category\022\035\n\031HARM_CATEGORY_UNSPECIFIED\020\000\022"
- + "\035\n\031HARM_CATEGORY_HATE_SPEECH\020\001\022#\n\037HARM_C"
- + "ATEGORY_DANGEROUS_CONTENT\020\002\022\034\n\030HARM_CATE"
- + "GORY_HARASSMENT\020\003\022#\n\037HARM_CATEGORY_SEXUA"
- + "LLY_EXPLICIT\020\004B\343\001\n#com.google.cloud.aipl"
- + "atform.v1beta1B\014ContentProtoP\001ZCcloud.go"
- + "ogle.com/go/aiplatform/apiv1beta1/aiplat"
- + "formpb;aiplatformpb\252\002\037Google.Cloud.AIPla"
- + "tform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\"
- + "V1beta1\352\002\"Google::Cloud::AIPlatform::V1b"
- + "eta1b\006proto3"
+ + "tribution.WebB\003\340A\001H\000\022h\n\021retrieved_contex"
+ + "t\030\004 \001(\0132F.google.cloud.aiplatform.v1beta"
+ + "1.GroundingAttribution.RetrievedContextB"
+ + "\003\340A\001H\000\022>\n\007segment\030\001 \001(\0132(.google.cloud.a"
+ + "iplatform.v1beta1.SegmentB\003\340A\003\022%\n\020confid"
+ + "ence_score\030\002 \001(\002B\006\340A\001\340A\003H\001\210\001\001\032+\n\003Web\022\020\n\003"
+ + "uri\030\001 \001(\tB\003\340A\003\022\022\n\005title\030\002 \001(\tB\003\340A\003\0328\n\020Re"
+ + "trievedContext\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\"\277\003\n\021GroundingMetadata\022\037\n\022web_sear"
+ + "ch_queries\030\001 \003(\tB\003\340A\001\022W\n\022search_entry_po"
+ + "int\030\004 \001(\01321.google.cloud.aiplatform.v1be"
+ + "ta1.SearchEntryPointB\003\340A\001H\000\210\001\001\022\036\n\021retrie"
+ + "val_queries\030\003 \003(\tB\003\340A\001\022Z\n\026grounding_attr"
+ + "ibutions\030\002 \003(\01325.google.cloud.aiplatform"
+ + ".v1beta1.GroundingAttributionB\003\340A\001\022I\n\020gr"
+ + "ounding_chunks\030\005 \003(\0132/.google.cloud.aipl"
+ + "atform.v1beta1.GroundingChunk\022R\n\022groundi"
+ + "ng_supports\030\006 \003(\01321.google.cloud.aiplatf"
+ + "orm.v1beta1.GroundingSupportB\003\340A\001B\025\n\023_se"
+ + "arch_entry_point\"H\n\020SearchEntryPoint\022\035\n\020"
+ + "rendered_content\030\001 \001(\tB\003\340A\001\022\025\n\010sdk_blob\030"
+ + "\002 \001(\014B\003\340A\001*\264\001\n\014HarmCategory\022\035\n\031HARM_CATE"
+ + "GORY_UNSPECIFIED\020\000\022\035\n\031HARM_CATEGORY_HATE"
+ + "_SPEECH\020\001\022#\n\037HARM_CATEGORY_DANGEROUS_CON"
+ + "TENT\020\002\022\034\n\030HARM_CATEGORY_HARASSMENT\020\003\022#\n\037"
+ + "HARM_CATEGORY_SEXUALLY_EXPLICIT\020\004B\343\001\n#co"
+ + "m.google.cloud.aiplatform.v1beta1B\014Conte"
+ + "ntProtoP\001ZCcloud.google.com/go/aiplatfor"
+ + "m/apiv1beta1/aiplatformpb;aiplatformpb\252\002"
+ + "\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Googl"
+ + "e\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clo"
+ + "ud::AIPlatform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -354,10 +387,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_Segment_descriptor,
new java.lang.String[] {
- "PartIndex", "StartIndex", "EndIndex",
+ "PartIndex", "StartIndex", "EndIndex", "Text",
});
- internal_static_google_cloud_aiplatform_v1beta1_GroundingAttribution_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor =
getDescriptor().getMessageTypes().get(12);
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor,
+ new java.lang.String[] {
+ "Web", "RetrievedContext", "ChunkType",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_descriptor,
+ new java.lang.String[] {
+ "Uri", "Title",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_descriptor,
+ new java.lang.String[] {
+ "Uri", "Title",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_descriptor,
+ new java.lang.String[] {
+ "Segment", "GroundingChunkIndices", "ConfidenceScores",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_GroundingAttribution_descriptor =
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_aiplatform_v1beta1_GroundingAttribution_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_GroundingAttribution_descriptor,
@@ -385,15 +454,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Uri", "Title",
});
internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor,
new java.lang.String[] {
- "WebSearchQueries", "SearchEntryPoint", "RetrievalQueries", "GroundingAttributions",
+ "WebSearchQueries",
+ "SearchEntryPoint",
+ "RetrievalQueries",
+ "GroundingAttributions",
+ "GroundingChunks",
+ "GroundingSupports",
});
internal_static_google_cloud_aiplatform_v1beta1_SearchEntryPoint_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_aiplatform_v1beta1_SearchEntryPoint_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_SearchEntryPoint_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java
new file mode 100644
index 000000000000..3d4e5cdb76a0
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java
@@ -0,0 +1,3045 @@
+/*
+ * 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/aiplatform/v1beta1/content.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ * + * Grounding chunk. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk} + */ +public final class GroundingChunk extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk) + GroundingChunkOrBuilder { + private static final long serialVersionUID = 0L; + // Use GroundingChunk.newBuilder() to construct. + private GroundingChunk(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private GroundingChunk() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GroundingChunk(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder.class); + } + + public interface WebOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GroundingChunk.Web) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+ * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ boolean hasUri();
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ boolean hasTitle();
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return The title.
+ */
+ java.lang.String getTitle();
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return The bytes for title.
+ */
+ com.google.protobuf.ByteString getTitleBytes();
+ }
+ /**
+ *
+ *
+ * + * Chunk from the web. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.Web} + */ + public static final class Web extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Web) + WebOrBuilder { + private static final long serialVersionUID = 0L; + // Use Web.newBuilder() to construct. + private Web(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Web() { + uri_ = ""; + title_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Web(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Web_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.Builder.class); + } + + private int bitField0_; + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + /** + * + * + *
+ * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ @java.lang.Override
+ public boolean hasUri() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TITLE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object title_ = "";
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ @java.lang.Override
+ public boolean hasTitle() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
+ }
+ 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.aiplatform.v1beta1.GroundingChunk.Web)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web other =
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) obj;
+
+ if (hasUri() != other.hasUri()) return false;
+ if (hasUri()) {
+ if (!getUri().equals(other.getUri())) return false;
+ }
+ if (hasTitle() != other.hasTitle()) return false;
+ if (hasTitle()) {
+ if (!getTitle().equals(other.getTitle())) 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();
+ if (hasUri()) {
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ }
+ if (hasTitle()) {
+ hash = (37 * hash) + TITLE_FIELD_NUMBER;
+ hash = (53 * hash) + getTitle().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web 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.aiplatform.v1beta1.GroundingChunk.Web parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web 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.aiplatform.v1beta1.GroundingChunk.Web parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web 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.aiplatform.v1beta1.GroundingChunk.Web parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web 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.aiplatform.v1beta1.GroundingChunk.Web parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web 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.aiplatform.v1beta1.GroundingChunk.Web 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;
+ }
+ /**
+ *
+ *
+ * + * Chunk from the web. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.Web} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ public boolean hasUri() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ uri_ = getDefaultInstance().getUri();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI reference of the chunk. + *+ * + *
optional string uri = 1;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object title_ = "";
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ public boolean hasTitle() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTitle() {
+ title_ = getDefaultInstance().getTitle();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Title of the chunk. + *+ * + *
optional string title = 2;
+ *
+ * @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_ |= 0x00000002;
+ 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.aiplatform.v1beta1.GroundingChunk.Web)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingChunk.Web)
+ private static final com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ boolean hasUri();
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ boolean hasTitle();
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return The title.
+ */
+ java.lang.String getTitle();
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return The bytes for title.
+ */
+ com.google.protobuf.ByteString getTitleBytes();
+ }
+ /**
+ *
+ *
+ * + * Chunk from context retrieved by the retrieval tools. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext} + */ + public static final class RetrievedContext extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) + RetrievedContextOrBuilder { + private static final long serialVersionUID = 0L; + // Use RetrievedContext.newBuilder() to construct. + private RetrievedContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private RetrievedContext() { + uri_ = ""; + title_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RetrievedContext(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_RetrievedContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder.class); + } + + private int bitField0_; + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + /** + * + * + *
+ * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ @java.lang.Override
+ public boolean hasUri() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TITLE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object title_ = "";
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ @java.lang.Override
+ public boolean hasTitle() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
+ }
+ 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext other =
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) obj;
+
+ if (hasUri() != other.hasUri()) return false;
+ if (hasUri()) {
+ if (!getUri().equals(other.getUri())) return false;
+ }
+ if (hasTitle() != other.hasTitle()) return false;
+ if (hasTitle()) {
+ if (!getTitle().equals(other.getTitle())) 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();
+ if (hasUri()) {
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ }
+ if (hasTitle()) {
+ hash = (37 * hash) + TITLE_FIELD_NUMBER;
+ hash = (53 * hash) + getTitle().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext 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;
+ }
+ /**
+ *
+ *
+ * + * Chunk from context retrieved by the retrieval tools. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return Whether the uri field is set.
+ */
+ public boolean hasUri() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ uri_ = getDefaultInstance().getUri();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * URI reference of the attribution. + *+ * + *
optional string uri = 1;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object title_ = "";
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return Whether the title field is set.
+ */
+ public boolean hasTitle() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTitle() {
+ title_ = getDefaultInstance().getTitle();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Title of the attribution. + *+ * + *
optional string title = 2;
+ *
+ * @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_ |= 0x00000002;
+ 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.aiplatform.v1beta1.GroundingChunk.RetrievedContext)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext)
+ private static final com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return Whether the web field is set.
+ */
+ @java.lang.Override
+ public boolean hasWeb() {
+ return chunkTypeCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return The web.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web getWeb() {
+ if (chunkTypeCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.WebOrBuilder getWebOrBuilder() {
+ if (chunkTypeCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ }
+
+ public static final int RETRIEVED_CONTEXT_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return Whether the retrievedContext field is set.
+ */
+ @java.lang.Override
+ public boolean hasRetrievedContext() {
+ return chunkTypeCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return The retrievedContext.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext getRetrievedContext() {
+ if (chunkTypeCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder
+ getRetrievedContextOrBuilder() {
+ if (chunkTypeCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.getDefaultInstance();
+ }
+
+ 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 (chunkTypeCase_ == 1) {
+ output.writeMessage(1, (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_);
+ }
+ if (chunkTypeCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (chunkTypeCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_);
+ }
+ if (chunkTypeCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_);
+ }
+ 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.aiplatform.v1beta1.GroundingChunk)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk other =
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk) obj;
+
+ if (!getChunkTypeCase().equals(other.getChunkTypeCase())) return false;
+ switch (chunkTypeCase_) {
+ case 1:
+ if (!getWeb().equals(other.getWeb())) return false;
+ break;
+ case 2:
+ if (!getRetrievedContext().equals(other.getRetrievedContext())) return false;
+ break;
+ case 0:
+ default:
+ }
+ 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();
+ switch (chunkTypeCase_) {
+ case 1:
+ hash = (37 * hash) + WEB_FIELD_NUMBER;
+ hash = (53 * hash) + getWeb().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + RETRIEVED_CONTEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getRetrievedContext().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk 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.aiplatform.v1beta1.GroundingChunk parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk 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.aiplatform.v1beta1.GroundingChunk parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk 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.aiplatform.v1beta1.GroundingChunk parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk 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.aiplatform.v1beta1.GroundingChunk parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk 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.aiplatform.v1beta1.GroundingChunk 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;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return Whether the web field is set.
+ */
+ @java.lang.Override
+ public boolean hasWeb() {
+ return chunkTypeCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return The web.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web getWeb() {
+ if (webBuilder_ == null) {
+ if (chunkTypeCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ } else {
+ if (chunkTypeCase_ == 1) {
+ return webBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ public Builder setWeb(com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web value) {
+ if (webBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ chunkType_ = value;
+ onChanged();
+ } else {
+ webBuilder_.setMessage(value);
+ }
+ chunkTypeCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ public Builder setWeb(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.Builder builderForValue) {
+ if (webBuilder_ == null) {
+ chunkType_ = builderForValue.build();
+ onChanged();
+ } else {
+ webBuilder_.setMessage(builderForValue.build());
+ }
+ chunkTypeCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ public Builder mergeWeb(com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web value) {
+ if (webBuilder_ == null) {
+ if (chunkTypeCase_ == 1
+ && chunkType_
+ != com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance()) {
+ chunkType_ =
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ chunkType_ = value;
+ }
+ onChanged();
+ } else {
+ if (chunkTypeCase_ == 1) {
+ webBuilder_.mergeFrom(value);
+ } else {
+ webBuilder_.setMessage(value);
+ }
+ }
+ chunkTypeCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ public Builder clearWeb() {
+ if (webBuilder_ == null) {
+ if (chunkTypeCase_ == 1) {
+ chunkTypeCase_ = 0;
+ chunkType_ = null;
+ onChanged();
+ }
+ } else {
+ if (chunkTypeCase_ == 1) {
+ chunkTypeCase_ = 0;
+ chunkType_ = null;
+ }
+ webBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.Builder getWebBuilder() {
+ return getWebFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.WebOrBuilder getWebOrBuilder() {
+ if ((chunkTypeCase_ == 1) && (webBuilder_ != null)) {
+ return webBuilder_.getMessageOrBuilder();
+ } else {
+ if (chunkTypeCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.Builder,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.WebOrBuilder>
+ getWebFieldBuilder() {
+ if (webBuilder_ == null) {
+ if (!(chunkTypeCase_ == 1)) {
+ chunkType_ = com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.getDefaultInstance();
+ }
+ webBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web.Builder,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.WebOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web) chunkType_,
+ getParentForChildren(),
+ isClean());
+ chunkType_ = null;
+ }
+ chunkTypeCase_ = 1;
+ onChanged();
+ return webBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder>
+ retrievedContextBuilder_;
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return Whether the retrievedContext field is set.
+ */
+ @java.lang.Override
+ public boolean hasRetrievedContext() {
+ return chunkTypeCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return The retrievedContext.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ getRetrievedContext() {
+ if (retrievedContextBuilder_ == null) {
+ if (chunkTypeCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ .getDefaultInstance();
+ } else {
+ if (chunkTypeCase_ == 2) {
+ return retrievedContextBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ public Builder setRetrievedContext(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext value) {
+ if (retrievedContextBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ chunkType_ = value;
+ onChanged();
+ } else {
+ retrievedContextBuilder_.setMessage(value);
+ }
+ chunkTypeCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ public Builder setRetrievedContext(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder
+ builderForValue) {
+ if (retrievedContextBuilder_ == null) {
+ chunkType_ = builderForValue.build();
+ onChanged();
+ } else {
+ retrievedContextBuilder_.setMessage(builderForValue.build());
+ }
+ chunkTypeCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ public Builder mergeRetrievedContext(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext value) {
+ if (retrievedContextBuilder_ == null) {
+ if (chunkTypeCase_ == 2
+ && chunkType_
+ != com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ .getDefaultInstance()) {
+ chunkType_ =
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext)
+ chunkType_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ chunkType_ = value;
+ }
+ onChanged();
+ } else {
+ if (chunkTypeCase_ == 2) {
+ retrievedContextBuilder_.mergeFrom(value);
+ } else {
+ retrievedContextBuilder_.setMessage(value);
+ }
+ }
+ chunkTypeCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ public Builder clearRetrievedContext() {
+ if (retrievedContextBuilder_ == null) {
+ if (chunkTypeCase_ == 2) {
+ chunkTypeCase_ = 0;
+ chunkType_ = null;
+ onChanged();
+ }
+ } else {
+ if (chunkTypeCase_ == 2) {
+ chunkTypeCase_ = 0;
+ chunkType_ = null;
+ }
+ retrievedContextBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder
+ getRetrievedContextBuilder() {
+ return getRetrievedContextFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder
+ getRetrievedContextOrBuilder() {
+ if ((chunkTypeCase_ == 2) && (retrievedContextBuilder_ != null)) {
+ return retrievedContextBuilder_.getMessageOrBuilder();
+ } else {
+ if (chunkTypeCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder>
+ getRetrievedContextFieldBuilder() {
+ if (retrievedContextBuilder_ == null) {
+ if (!(chunkTypeCase_ == 2)) {
+ chunkType_ =
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext
+ .getDefaultInstance();
+ }
+ retrievedContextBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext.Builder,
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext) chunkType_,
+ getParentForChildren(),
+ isClean());
+ chunkType_ = null;
+ }
+ chunkTypeCase_ = 2;
+ onChanged();
+ return retrievedContextBuilder_;
+ }
+
+ @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.aiplatform.v1beta1.GroundingChunk)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingChunk)
+ private static final com.google.cloud.aiplatform.v1beta1.GroundingChunk DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GroundingChunk();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingChunk getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return Whether the web field is set.
+ */
+ boolean hasWeb();
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ *
+ * @return The web.
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Web getWeb();
+ /**
+ *
+ *
+ * + * Grounding chunk from the web. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.WebOrBuilder getWebOrBuilder();
+
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return Whether the retrievedContext field is set.
+ */
+ boolean hasRetrievedContext();
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ *
+ * @return The retrievedContext.
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext getRetrievedContext();
+ /**
+ *
+ *
+ * + * Grounding chunk from context retrieved by the retrieval tools. + *+ * + *
.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextOrBuilder
+ getRetrievedContextOrBuilder();
+
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.ChunkTypeCase getChunkTypeCase();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java
index 5a30ebede4fe..f73dbfe14862 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java
@@ -42,6 +42,8 @@ private GroundingMetadata() {
webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList();
retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList();
groundingAttributions_ = java.util.Collections.emptyList();
+ groundingChunks_ = java.util.Collections.emptyList();
+ groundingSupports_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -336,6 +338,162 @@ public com.google.cloud.aiplatform.v1beta1.GroundingAttribution getGroundingAttr
return groundingAttributions_.get(index);
}
+ public static final int GROUNDING_CHUNKS_FIELD_NUMBER = 5;
+
+ @SuppressWarnings("serial")
+ private java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ @java.lang.Override
+ public java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder>
+ getGroundingChunksOrBuilderList() {
+ return groundingChunks_;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ @java.lang.Override
+ public int getGroundingChunksCount() {
+ return groundingChunks_.size();
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) {
+ return groundingChunks_.get(index);
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder(
+ int index) {
+ return groundingChunks_.get(index);
+ }
+
+ public static final int GROUNDING_SUPPORTS_FIELD_NUMBER = 6;
+
+ @SuppressWarnings("serial")
+ private java.util.List+ * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder>
+ getGroundingSupportsOrBuilderList() {
+ return groundingSupports_;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getGroundingSupportsCount() {
+ return groundingSupports_.size();
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) {
+ return groundingSupports_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder
+ getGroundingSupportsOrBuilder(int index) {
+ return groundingSupports_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -362,6 +520,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getSearchEntryPoint());
}
+ for (int i = 0; i < groundingChunks_.size(); i++) {
+ output.writeMessage(5, groundingChunks_.get(i));
+ }
+ for (int i = 0; i < groundingSupports_.size(); i++) {
+ output.writeMessage(6, groundingSupports_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -395,6 +559,13 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSearchEntryPoint());
}
+ for (int i = 0; i < groundingChunks_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, groundingChunks_.get(i));
+ }
+ for (int i = 0; i < groundingSupports_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(6, groundingSupports_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -418,6 +589,8 @@ public boolean equals(final java.lang.Object obj) {
}
if (!getRetrievalQueriesList().equals(other.getRetrievalQueriesList())) return false;
if (!getGroundingAttributionsList().equals(other.getGroundingAttributionsList())) return false;
+ if (!getGroundingChunksList().equals(other.getGroundingChunksList())) return false;
+ if (!getGroundingSupportsList().equals(other.getGroundingSupportsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -445,6 +618,14 @@ public int hashCode() {
hash = (37 * hash) + GROUNDING_ATTRIBUTIONS_FIELD_NUMBER;
hash = (53 * hash) + getGroundingAttributionsList().hashCode();
}
+ if (getGroundingChunksCount() > 0) {
+ hash = (37 * hash) + GROUNDING_CHUNKS_FIELD_NUMBER;
+ hash = (53 * hash) + getGroundingChunksList().hashCode();
+ }
+ if (getGroundingSupportsCount() > 0) {
+ hash = (37 * hash) + GROUNDING_SUPPORTS_FIELD_NUMBER;
+ hash = (53 * hash) + getGroundingSupportsList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -588,6 +769,8 @@ private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getSearchEntryPointFieldBuilder();
getGroundingAttributionsFieldBuilder();
+ getGroundingChunksFieldBuilder();
+ getGroundingSupportsFieldBuilder();
}
}
@@ -609,6 +792,20 @@ public Builder clear() {
groundingAttributionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
+ if (groundingChunksBuilder_ == null) {
+ groundingChunks_ = java.util.Collections.emptyList();
+ } else {
+ groundingChunks_ = null;
+ groundingChunksBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000010);
+ if (groundingSupportsBuilder_ == null) {
+ groundingSupports_ = java.util.Collections.emptyList();
+ } else {
+ groundingSupports_ = null;
+ groundingSupportsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@@ -655,6 +852,24 @@ private void buildPartialRepeatedFields(
} else {
result.groundingAttributions_ = groundingAttributionsBuilder_.build();
}
+ if (groundingChunksBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)) {
+ groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.groundingChunks_ = groundingChunks_;
+ } else {
+ result.groundingChunks_ = groundingChunksBuilder_.build();
+ }
+ if (groundingSupportsBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)) {
+ groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_);
+ bitField0_ = (bitField0_ & ~0x00000020);
+ }
+ result.groundingSupports_ = groundingSupports_;
+ } else {
+ result.groundingSupports_ = groundingSupportsBuilder_.build();
+ }
}
private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GroundingMetadata result) {
@@ -772,6 +987,60 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GroundingMetadata o
}
}
}
+ if (groundingChunksBuilder_ == null) {
+ if (!other.groundingChunks_.isEmpty()) {
+ if (groundingChunks_.isEmpty()) {
+ groundingChunks_ = other.groundingChunks_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.addAll(other.groundingChunks_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.groundingChunks_.isEmpty()) {
+ if (groundingChunksBuilder_.isEmpty()) {
+ groundingChunksBuilder_.dispose();
+ groundingChunksBuilder_ = null;
+ groundingChunks_ = other.groundingChunks_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ groundingChunksBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getGroundingChunksFieldBuilder()
+ : null;
+ } else {
+ groundingChunksBuilder_.addAllMessages(other.groundingChunks_);
+ }
+ }
+ }
+ if (groundingSupportsBuilder_ == null) {
+ if (!other.groundingSupports_.isEmpty()) {
+ if (groundingSupports_.isEmpty()) {
+ groundingSupports_ = other.groundingSupports_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.addAll(other.groundingSupports_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.groundingSupports_.isEmpty()) {
+ if (groundingSupportsBuilder_.isEmpty()) {
+ groundingSupportsBuilder_.dispose();
+ groundingSupportsBuilder_ = null;
+ groundingSupports_ = other.groundingSupports_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ groundingSupportsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getGroundingSupportsFieldBuilder()
+ : null;
+ } else {
+ groundingSupportsBuilder_.addAllMessages(other.groundingSupports_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -833,6 +1102,34 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 34
+ case 42:
+ {
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.parser(),
+ extensionRegistry);
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.add(m);
+ } else {
+ groundingChunksBuilder_.addMessage(m);
+ }
+ break;
+ } // case 42
+ case 50:
+ {
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport.parser(),
+ extensionRegistry);
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.add(m);
+ } else {
+ groundingSupportsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1823,6 +2120,768 @@ public Builder removeGroundingAttributions(int index) {
return groundingAttributionsBuilder_;
}
+ private java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public int getGroundingChunksCount() {
+ if (groundingChunksBuilder_ == null) {
+ return groundingChunks_.size();
+ } else {
+ return groundingChunksBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) {
+ if (groundingChunksBuilder_ == null) {
+ return groundingChunks_.get(index);
+ } else {
+ return groundingChunksBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder setGroundingChunks(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) {
+ if (groundingChunksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.set(index, value);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder setGroundingChunks(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) {
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ groundingChunksBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder addGroundingChunks(com.google.cloud.aiplatform.v1beta1.GroundingChunk value) {
+ if (groundingChunksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.add(value);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder addGroundingChunks(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) {
+ if (groundingChunksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.add(index, value);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder addGroundingChunks(
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) {
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.add(builderForValue.build());
+ onChanged();
+ } else {
+ groundingChunksBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder addGroundingChunks(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) {
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ groundingChunksBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder addAllGroundingChunks(
+ java.lang.Iterable extends com.google.cloud.aiplatform.v1beta1.GroundingChunk> values) {
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunks_);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder clearGroundingChunks() {
+ if (groundingChunksBuilder_ == null) {
+ groundingChunks_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public Builder removeGroundingChunks(int index) {
+ if (groundingChunksBuilder_ == null) {
+ ensureGroundingChunksIsMutable();
+ groundingChunks_.remove(index);
+ onChanged();
+ } else {
+ groundingChunksBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder getGroundingChunksBuilder(
+ int index) {
+ return getGroundingChunksFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder(
+ int index) {
+ if (groundingChunksBuilder_ == null) {
+ return groundingChunks_.get(index);
+ } else {
+ return groundingChunksBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder>
+ getGroundingChunksOrBuilderList() {
+ if (groundingChunksBuilder_ != null) {
+ return groundingChunksBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(groundingChunks_);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder() {
+ return getGroundingChunksFieldBuilder()
+ .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder(
+ int index) {
+ return getGroundingChunksFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ public java.util.List+ * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List+ * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getGroundingSupportsCount() {
+ if (groundingSupportsBuilder_ == null) {
+ return groundingSupports_.size();
+ } else {
+ return groundingSupportsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) {
+ if (groundingSupportsBuilder_ == null) {
+ return groundingSupports_.get(index);
+ } else {
+ return groundingSupportsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setGroundingSupports(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) {
+ if (groundingSupportsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.set(index, value);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setGroundingSupports(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) {
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGroundingSupports(
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport value) {
+ if (groundingSupportsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.add(value);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGroundingSupports(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) {
+ if (groundingSupportsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.add(index, value);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGroundingSupports(
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) {
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.add(builderForValue.build());
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addGroundingSupports(
+ int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) {
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllGroundingSupports(
+ java.lang.Iterable extends com.google.cloud.aiplatform.v1beta1.GroundingSupport> values) {
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingSupports_);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearGroundingSupports() {
+ if (groundingSupportsBuilder_ == null) {
+ groundingSupports_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeGroundingSupports(int index) {
+ if (groundingSupportsBuilder_ == null) {
+ ensureGroundingSupportsIsMutable();
+ groundingSupports_.remove(index);
+ onChanged();
+ } else {
+ groundingSupportsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder getGroundingSupportsBuilder(
+ int index) {
+ return getGroundingSupportsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder
+ getGroundingSupportsOrBuilder(int index) {
+ if (groundingSupportsBuilder_ == null) {
+ return groundingSupports_.get(index);
+ } else {
+ return groundingSupportsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder>
+ getGroundingSupportsOrBuilderList() {
+ if (groundingSupportsBuilder_ != null) {
+ return groundingSupportsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(groundingSupports_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder
+ addGroundingSupportsBuilder() {
+ return getGroundingSupportsFieldBuilder()
+ .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder addGroundingSupportsBuilder(
+ int index) {
+ return getGroundingSupportsFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ java.util.List+ * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index);
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ int getGroundingChunksCount();
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder>
+ getGroundingChunksOrBuilderList();
+ /**
+ *
+ *
+ * + * List of supporting references retrieved from specified grounding source. + *+ * + *
repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5;
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List+ * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index);
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getGroundingSupportsCount();
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder>
+ getGroundingSupportsOrBuilderList();
+ /**
+ *
+ *
+ * + * Optional. List of grounding support. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder getGroundingSupportsOrBuilder(
+ int index);
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingSupport.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingSupport.java
new file mode 100644
index 000000000000..509424c60e9c
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingSupport.java
@@ -0,0 +1,1262 @@
+/*
+ * 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/aiplatform/v1beta1/content.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ * + * Grounding support. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingSupport} + */ +public final class GroundingSupport extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingSupport) + GroundingSupportOrBuilder { + private static final long serialVersionUID = 0L; + // Use GroundingSupport.newBuilder() to construct. + private GroundingSupport(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private GroundingSupport() { + groundingChunkIndices_ = emptyIntList(); + confidenceScores_ = emptyFloatList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GroundingSupport(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingSupport.class, + com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder.class); + } + + private int bitField0_; + public static final int SEGMENT_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.Segment segment_; + /** + * + * + *
+ * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return Whether the segment field is set.
+ */
+ @java.lang.Override
+ public boolean hasSegment() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return The segment.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Segment getSegment() {
+ return segment_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Segment.getDefaultInstance()
+ : segment_;
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.SegmentOrBuilder getSegmentOrBuilder() {
+ return segment_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Segment.getDefaultInstance()
+ : segment_;
+ }
+
+ public static final int GROUNDING_CHUNK_INDICES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.IntList groundingChunkIndices_ = emptyIntList();
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return A list containing the groundingChunkIndices.
+ */
+ @java.lang.Override
+ public java.util.List+ * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return The count of groundingChunkIndices.
+ */
+ public int getGroundingChunkIndicesCount() {
+ return groundingChunkIndices_.size();
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groundingChunkIndices at the given index.
+ */
+ public int getGroundingChunkIndices(int index) {
+ return groundingChunkIndices_.getInt(index);
+ }
+
+ private int groundingChunkIndicesMemoizedSerializedSize = -1;
+
+ public static final int CONFIDENCE_SCORES_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.FloatList confidenceScores_ = emptyFloatList();
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return A list containing the confidenceScores.
+ */
+ @java.lang.Override
+ public java.util.List+ * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return The count of confidenceScores.
+ */
+ public int getConfidenceScoresCount() {
+ return confidenceScores_.size();
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The confidenceScores at the given index.
+ */
+ public float getConfidenceScores(int index) {
+ return confidenceScores_.getFloat(index);
+ }
+
+ private int confidenceScoresMemoizedSerializedSize = -1;
+
+ 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 {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getSegment());
+ }
+ if (getGroundingChunkIndicesList().size() > 0) {
+ output.writeUInt32NoTag(18);
+ output.writeUInt32NoTag(groundingChunkIndicesMemoizedSerializedSize);
+ }
+ for (int i = 0; i < groundingChunkIndices_.size(); i++) {
+ output.writeInt32NoTag(groundingChunkIndices_.getInt(i));
+ }
+ if (getConfidenceScoresList().size() > 0) {
+ output.writeUInt32NoTag(26);
+ output.writeUInt32NoTag(confidenceScoresMemoizedSerializedSize);
+ }
+ for (int i = 0; i < confidenceScores_.size(); i++) {
+ output.writeFloatNoTag(confidenceScores_.getFloat(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment());
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < groundingChunkIndices_.size(); i++) {
+ dataSize +=
+ com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
+ groundingChunkIndices_.getInt(i));
+ }
+ size += dataSize;
+ if (!getGroundingChunkIndicesList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ groundingChunkIndicesMemoizedSerializedSize = dataSize;
+ }
+ {
+ int dataSize = 0;
+ dataSize = 4 * getConfidenceScoresList().size();
+ size += dataSize;
+ if (!getConfidenceScoresList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ confidenceScoresMemoizedSerializedSize = dataSize;
+ }
+ 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.aiplatform.v1beta1.GroundingSupport)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.GroundingSupport other =
+ (com.google.cloud.aiplatform.v1beta1.GroundingSupport) obj;
+
+ if (hasSegment() != other.hasSegment()) return false;
+ if (hasSegment()) {
+ if (!getSegment().equals(other.getSegment())) return false;
+ }
+ if (!getGroundingChunkIndicesList().equals(other.getGroundingChunkIndicesList())) return false;
+ if (!getConfidenceScoresList().equals(other.getConfidenceScoresList())) 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();
+ if (hasSegment()) {
+ hash = (37 * hash) + SEGMENT_FIELD_NUMBER;
+ hash = (53 * hash) + getSegment().hashCode();
+ }
+ if (getGroundingChunkIndicesCount() > 0) {
+ hash = (37 * hash) + GROUNDING_CHUNK_INDICES_FIELD_NUMBER;
+ hash = (53 * hash) + getGroundingChunkIndicesList().hashCode();
+ }
+ if (getConfidenceScoresCount() > 0) {
+ hash = (37 * hash) + CONFIDENCE_SCORES_FIELD_NUMBER;
+ hash = (53 * hash) + getConfidenceScoresList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport 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.aiplatform.v1beta1.GroundingSupport parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport 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.aiplatform.v1beta1.GroundingSupport parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport 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.aiplatform.v1beta1.GroundingSupport parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport 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.aiplatform.v1beta1.GroundingSupport parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport 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.aiplatform.v1beta1.GroundingSupport 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;
+ }
+ /**
+ *
+ *
+ * + * Grounding support. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingSupport} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return Whether the segment field is set.
+ */
+ public boolean hasSegment() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return The segment.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Segment getSegment() {
+ if (segmentBuilder_ == null) {
+ return segment_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Segment.getDefaultInstance()
+ : segment_;
+ } else {
+ return segmentBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public Builder setSegment(com.google.cloud.aiplatform.v1beta1.Segment value) {
+ if (segmentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ segment_ = value;
+ } else {
+ segmentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public Builder setSegment(com.google.cloud.aiplatform.v1beta1.Segment.Builder builderForValue) {
+ if (segmentBuilder_ == null) {
+ segment_ = builderForValue.build();
+ } else {
+ segmentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public Builder mergeSegment(com.google.cloud.aiplatform.v1beta1.Segment value) {
+ if (segmentBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && segment_ != null
+ && segment_ != com.google.cloud.aiplatform.v1beta1.Segment.getDefaultInstance()) {
+ getSegmentBuilder().mergeFrom(value);
+ } else {
+ segment_ = value;
+ }
+ } else {
+ segmentBuilder_.mergeFrom(value);
+ }
+ if (segment_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public Builder clearSegment() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ segment_ = null;
+ if (segmentBuilder_ != null) {
+ segmentBuilder_.dispose();
+ segmentBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.Segment.Builder getSegmentBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getSegmentFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.SegmentOrBuilder getSegmentOrBuilder() {
+ if (segmentBuilder_ != null) {
+ return segmentBuilder_.getMessageOrBuilder();
+ } else {
+ return segment_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Segment.getDefaultInstance()
+ : segment_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Segment,
+ com.google.cloud.aiplatform.v1beta1.Segment.Builder,
+ com.google.cloud.aiplatform.v1beta1.SegmentOrBuilder>
+ getSegmentFieldBuilder() {
+ if (segmentBuilder_ == null) {
+ segmentBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Segment,
+ com.google.cloud.aiplatform.v1beta1.Segment.Builder,
+ com.google.cloud.aiplatform.v1beta1.SegmentOrBuilder>(
+ getSegment(), getParentForChildren(), isClean());
+ segment_ = null;
+ }
+ return segmentBuilder_;
+ }
+
+ private com.google.protobuf.Internal.IntList groundingChunkIndices_ = emptyIntList();
+
+ private void ensureGroundingChunkIndicesIsMutable() {
+ if (!groundingChunkIndices_.isModifiable()) {
+ groundingChunkIndices_ = makeMutableCopy(groundingChunkIndices_);
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return A list containing the groundingChunkIndices.
+ */
+ public java.util.List+ * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return The count of groundingChunkIndices.
+ */
+ public int getGroundingChunkIndicesCount() {
+ return groundingChunkIndices_.size();
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groundingChunkIndices at the given index.
+ */
+ public int getGroundingChunkIndices(int index) {
+ return groundingChunkIndices_.getInt(index);
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The groundingChunkIndices to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroundingChunkIndices(int index, int value) {
+
+ ensureGroundingChunkIndicesIsMutable();
+ groundingChunkIndices_.setInt(index, value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param value The groundingChunkIndices to add.
+ * @return This builder for chaining.
+ */
+ public Builder addGroundingChunkIndices(int value) {
+
+ ensureGroundingChunkIndicesIsMutable();
+ groundingChunkIndices_.addInt(value);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param values The groundingChunkIndices to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllGroundingChunkIndices(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureGroundingChunkIndicesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunkIndices_);
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearGroundingChunkIndices() {
+ groundingChunkIndices_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.FloatList confidenceScores_ = emptyFloatList();
+
+ private void ensureConfidenceScoresIsMutable() {
+ if (!confidenceScores_.isModifiable()) {
+ confidenceScores_ = makeMutableCopy(confidenceScores_);
+ }
+ bitField0_ |= 0x00000004;
+ }
+
+ private void ensureConfidenceScoresIsMutable(int capacity) {
+ if (!confidenceScores_.isModifiable()) {
+ confidenceScores_ = makeMutableCopy(confidenceScores_, capacity);
+ }
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return A list containing the confidenceScores.
+ */
+ public java.util.List+ * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return The count of confidenceScores.
+ */
+ public int getConfidenceScoresCount() {
+ return confidenceScores_.size();
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The confidenceScores at the given index.
+ */
+ public float getConfidenceScores(int index) {
+ return confidenceScores_.getFloat(index);
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The confidenceScores to set.
+ * @return This builder for chaining.
+ */
+ public Builder setConfidenceScores(int index, float value) {
+
+ ensureConfidenceScoresIsMutable();
+ confidenceScores_.setFloat(index, value);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param value The confidenceScores to add.
+ * @return This builder for chaining.
+ */
+ public Builder addConfidenceScores(float value) {
+
+ ensureConfidenceScoresIsMutable();
+ confidenceScores_.addFloat(value);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param values The confidenceScores to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllConfidenceScores(java.lang.Iterable extends java.lang.Float> values) {
+ ensureConfidenceScoresIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, confidenceScores_);
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearConfidenceScores() {
+ confidenceScores_ = emptyFloatList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ 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.aiplatform.v1beta1.GroundingSupport)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingSupport)
+ private static final com.google.cloud.aiplatform.v1beta1.GroundingSupport DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GroundingSupport();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.GroundingSupport getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return Whether the segment field is set.
+ */
+ boolean hasSegment();
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ *
+ * @return The segment.
+ */
+ com.google.cloud.aiplatform.v1beta1.Segment getSegment();
+ /**
+ *
+ *
+ * + * Segment of the content this support belongs to. + *+ * + *
optional .google.cloud.aiplatform.v1beta1.Segment segment = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.SegmentOrBuilder getSegmentOrBuilder();
+
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return A list containing the groundingChunkIndices.
+ */
+ java.util.List+ * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @return The count of groundingChunkIndices.
+ */
+ int getGroundingChunkIndicesCount();
+ /**
+ *
+ *
+ * + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + *+ * + *
repeated int32 grounding_chunk_indices = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groundingChunkIndices at the given index.
+ */
+ int getGroundingChunkIndices(int index);
+
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return A list containing the confidenceScores.
+ */
+ java.util.List+ * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @return The count of confidenceScores.
+ */
+ int getConfidenceScoresCount();
+ /**
+ *
+ *
+ * + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + *+ * + *
repeated float confidence_scores = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The confidenceScores at the given index.
+ */
+ float getConfidenceScores(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringStatsDataPoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringStatsDataPoint.java
index 970edb175742..747aaf4705e2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringStatsDataPoint.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringStatsDataPoint.java
@@ -195,7 +195,8 @@ public interface DistributionDataValueOrBuilder
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -207,7 +208,8 @@ public interface DistributionDataValueOrBuilder
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -219,7 +221,8 @@ public interface DistributionDataValueOrBuilder
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -296,7 +299,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -311,7 +315,8 @@ public boolean hasDistribution() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -328,7 +333,8 @@ public com.google.protobuf.Value getDistribution() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -827,7 +833,8 @@ public Builder mergeFrom(
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -841,7 +848,8 @@ public boolean hasDistribution() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -861,7 +869,8 @@ public com.google.protobuf.Value getDistribution() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -883,7 +892,8 @@ public Builder setDistribution(com.google.protobuf.Value value) {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -902,7 +912,8 @@ public Builder setDistribution(com.google.protobuf.Value.Builder builderForValue
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -929,7 +940,8 @@ public Builder mergeDistribution(com.google.protobuf.Value value) {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -948,7 +960,8 @@ public Builder clearDistribution() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -962,7 +975,8 @@ public com.google.protobuf.Value.Builder getDistributionBuilder() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
@@ -980,7 +994,8 @@ public com.google.protobuf.ValueOrBuilder getDistributionOrBuilder() {
*
*
*
- * tensorflow.metadata.v0.DatasetFeatureStatistics format.
+ * Predictive monitoring drift distribution in
+ * `tensorflow.metadata.v0.DatasetFeatureStatistics` format.
*
*
* .google.protobuf.Value distribution = 1;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
index 0c9b7848a108..46a4ec4010fc 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
@@ -40,6 +40,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_RawPredictRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_RawPredictRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -170,212 +174,223 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "A\003\"z\n\021RawPredictRequest\022<\n\010endpoint\030\001 \001("
+ "\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/End"
+ "point\022\'\n\thttp_body\030\002 \001(\0132\024.google.api.Ht"
- + "tpBody\"\312\001\n\024DirectPredictRequest\022<\n\010endpo"
- + "int\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis"
- + ".com/Endpoint\0227\n\006inputs\030\002 \003(\0132\'.google.c"
- + "loud.aiplatform.v1beta1.Tensor\022;\n\nparame"
- + "ters\030\003 \001(\0132\'.google.cloud.aiplatform.v1b"
- + "eta1.Tensor\"\216\001\n\025DirectPredictResponse\0228\n"
- + "\007outputs\030\001 \003(\0132\'.google.cloud.aiplatform"
- + ".v1beta1.Tensor\022;\n\nparameters\030\002 \001(\0132\'.go"
- + "ogle.cloud.aiplatform.v1beta1.Tensor\"{\n\027"
- + "DirectRawPredictRequest\022<\n\010endpoint\030\001 \001("
- + "\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/End"
- + "point\022\023\n\013method_name\030\002 \001(\t\022\r\n\005input\030\003 \001("
- + "\014\"*\n\030DirectRawPredictResponse\022\016\n\006output\030"
- + "\001 \001(\014\"\332\001\n\032StreamDirectPredictRequest\022<\n\010"
+ + "tpBody\"\200\001\n\027StreamRawPredictRequest\022<\n\010en"
+ + "dpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea"
+ + "pis.com/Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024.go"
+ + "ogle.api.HttpBody\"\312\001\n\024DirectPredictReque"
+ + "st\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform"
+ + ".googleapis.com/Endpoint\0227\n\006inputs\030\002 \003(\013"
+ + "2\'.google.cloud.aiplatform.v1beta1.Tenso"
+ + "r\022;\n\nparameters\030\003 \001(\0132\'.google.cloud.aip"
+ + "latform.v1beta1.Tensor\"\216\001\n\025DirectPredict"
+ + "Response\0228\n\007outputs\030\001 \003(\0132\'.google.cloud"
+ + ".aiplatform.v1beta1.Tensor\022;\n\nparameters"
+ + "\030\002 \001(\0132\'.google.cloud.aiplatform.v1beta1"
+ + ".Tensor\"{\n\027DirectRawPredictRequest\022<\n\010en"
+ + "dpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea"
+ + "pis.com/Endpoint\022\023\n\013method_name\030\002 \001(\t\022\r\n"
+ + "\005input\030\003 \001(\014\"*\n\030DirectRawPredictResponse"
+ + "\022\016\n\006output\030\001 \001(\014\"\332\001\n\032StreamDirectPredict"
+ + "Request\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aipla"
+ + "tform.googleapis.com/Endpoint\022<\n\006inputs\030"
+ + "\002 \003(\0132\'.google.cloud.aiplatform.v1beta1."
+ + "TensorB\003\340A\001\022@\n\nparameters\030\003 \001(\0132\'.google"
+ + ".cloud.aiplatform.v1beta1.TensorB\003\340A\001\"\224\001"
+ + "\n\033StreamDirectPredictResponse\0228\n\007outputs"
+ + "\030\001 \003(\0132\'.google.cloud.aiplatform.v1beta1"
+ + ".Tensor\022;\n\nparameters\030\002 \001(\0132\'.google.clo"
+ + "ud.aiplatform.v1beta1.Tensor\"\213\001\n\035StreamD"
+ + "irectRawPredictRequest\022<\n\010endpoint\030\001 \001(\t"
+ + "B*\340A\002\372A$\n\"aiplatform.googleapis.com/Endp"
+ + "oint\022\030\n\013method_name\030\002 \001(\tB\003\340A\001\022\022\n\005input\030"
+ + "\003 \001(\014B\003\340A\001\"0\n\036StreamDirectRawPredictResp"
+ + "onse\022\016\n\006output\030\001 \001(\014\"\315\001\n\027StreamingPredic"
+ + "tRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aipl"
+ + "atform.googleapis.com/Endpoint\0227\n\006inputs"
+ + "\030\002 \003(\0132\'.google.cloud.aiplatform.v1beta1"
+ + ".Tensor\022;\n\nparameters\030\003 \001(\0132\'.google.clo"
+ + "ud.aiplatform.v1beta1.Tensor\"\221\001\n\030Streami"
+ + "ngPredictResponse\0228\n\007outputs\030\001 \003(\0132\'.goo"
+ + "gle.cloud.aiplatform.v1beta1.Tensor\022;\n\np"
+ + "arameters\030\002 \001(\0132\'.google.cloud.aiplatfor"
+ + "m.v1beta1.Tensor\"~\n\032StreamingRawPredictR"
+ + "equest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplat"
+ + "form.googleapis.com/Endpoint\022\023\n\013method_n"
+ + "ame\030\002 \001(\t\022\r\n\005input\030\003 \001(\014\"-\n\033StreamingRaw"
+ + "PredictResponse\022\016\n\006output\030\001 \001(\014\"\263\004\n\016Expl"
+ + "ainRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"ai"
+ + "platform.googleapis.com/Endpoint\022.\n\tinst"
+ + "ances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002"
+ + "\022*\n\nparameters\030\004 \001(\0132\026.google.protobuf.V"
+ + "alue\022[\n\031explanation_spec_override\030\005 \001(\0132"
+ + "8.google.cloud.aiplatform.v1beta1.Explan"
+ + "ationSpecOverride\022\211\001\n$concurrent_explana"
+ + "tion_spec_override\030\006 \003(\0132V.google.cloud."
+ + "aiplatform.v1beta1.ExplainRequest.Concur"
+ + "rentExplanationSpecOverrideEntryB\003\340A\001\022\031\n"
+ + "\021deployed_model_id\030\003 \001(\t\032\202\001\n&ConcurrentE"
+ + "xplanationSpecOverrideEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022G\n\005value\030\002 \001(\01328.google.cloud.aiplatfor"
+ + "m.v1beta1.ExplanationSpecOverride:\0028\001\"\361\003"
+ + "\n\017ExplainResponse\022B\n\014explanations\030\001 \003(\0132"
+ + ",.google.cloud.aiplatform.v1beta1.Explan"
+ + "ation\022m\n\027concurrent_explanations\030\004 \003(\0132L"
+ + ".google.cloud.aiplatform.v1beta1.Explain"
+ + "Response.ConcurrentExplanationsEntry\022\031\n\021"
+ + "deployed_model_id\030\002 \001(\t\022+\n\013predictions\030\003"
+ + " \003(\0132\026.google.protobuf.Value\032[\n\025Concurre"
+ + "ntExplanation\022B\n\014explanations\030\001 \003(\0132,.go"
+ + "ogle.cloud.aiplatform.v1beta1.Explanatio"
+ + "n\032\205\001\n\033ConcurrentExplanationsEntry\022\013\n\003key"
+ + "\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.aip"
+ + "latform.v1beta1.ExplainResponse.Concurre"
+ + "ntExplanation:\0028\001\"\327\001\n\022CountTokensRequest"
+ + "\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.g"
+ + "oogleapis.com/Endpoint\022\022\n\005model\030\003 \001(\tB\003\340"
+ + "A\002\022.\n\tinstances\030\002 \003(\0132\026.google.protobuf."
+ + "ValueB\003\340A\002\022?\n\010contents\030\004 \003(\0132(.google.cl"
+ + "oud.aiplatform.v1beta1.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\"\300\004\n\026"
+ + "GenerateContentRequest\022\022\n\005model\030\005 \001(\tB\003\340"
+ + "A\002\022?\n\010contents\030\002 \003(\0132(.google.cloud.aipl"
+ + "atform.v1beta1.ContentB\003\340A\002\022N\n\022system_in"
+ + "struction\030\010 \001(\0132(.google.cloud.aiplatfor"
+ + "m.v1beta1.ContentB\003\340A\001H\000\210\001\001\022G\n\016cached_co"
+ + "ntent\030\t \001(\tB/\340A\001\372A)\n\'aiplatform.googleap"
+ + "is.com/CachedContent\0229\n\005tools\030\006 \003(\0132%.go"
+ + "ogle.cloud.aiplatform.v1beta1.ToolB\003\340A\001\022"
+ + "E\n\013tool_config\030\007 \001(\0132+.google.cloud.aipl"
+ + "atform.v1beta1.ToolConfigB\003\340A\001\022L\n\017safety"
+ + "_settings\030\003 \003(\0132..google.cloud.aiplatfor"
+ + "m.v1beta1.SafetySettingB\003\340A\001\022Q\n\021generati"
+ + "on_config\030\004 \001(\01321.google.cloud.aiplatfor"
+ + "m.v1beta1.GenerationConfigB\003\340A\001B\025\n\023_syst"
+ + "em_instruction\"\360\005\n\027GenerateContentRespon"
+ + "se\022C\n\ncandidates\030\002 \003(\0132*.google.cloud.ai"
+ + "platform.v1beta1.CandidateB\003\340A\003\022e\n\017promp"
+ + "t_feedback\030\003 \001(\0132G.google.cloud.aiplatfo"
+ + "rm.v1beta1.GenerateContentResponse.Promp"
+ + "tFeedbackB\003\340A\003\022^\n\016usage_metadata\030\004 \001(\0132F"
+ + ".google.cloud.aiplatform.v1beta1.Generat"
+ + "eContentResponse.UsageMetadata\032\340\002\n\016Promp"
+ + "tFeedback\022p\n\014block_reason\030\001 \001(\0162U.google"
+ + ".cloud.aiplatform.v1beta1.GenerateConten"
+ + "tResponse.PromptFeedback.BlockedReasonB\003"
+ + "\340A\003\022J\n\016safety_ratings\030\002 \003(\0132-.google.clo"
+ + "ud.aiplatform.v1beta1.SafetyRatingB\003\340A\003\022"
+ + "!\n\024block_reason_message\030\003 \001(\tB\003\340A\003\"m\n\rBl"
+ + "ockedReason\022\036\n\032BLOCKED_REASON_UNSPECIFIE"
+ + "D\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\022\r\n\tBLOCKLIST\020"
+ + "\003\022\026\n\022PROHIBITED_CONTENT\020\004\032f\n\rUsageMetada"
+ + "ta\022\032\n\022prompt_token_count\030\001 \001(\005\022\036\n\026candid"
+ + "ates_token_count\030\002 \001(\005\022\031\n\021total_token_co"
+ + "unt\030\003 \001(\005\"\204\001\n\026ChatCompletionsRequest\022<\n\010"
+ "endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googl"
- + "eapis.com/Endpoint\022<\n\006inputs\030\002 \003(\0132\'.goo"
- + "gle.cloud.aiplatform.v1beta1.TensorB\003\340A\001"
- + "\022@\n\nparameters\030\003 \001(\0132\'.google.cloud.aipl"
- + "atform.v1beta1.TensorB\003\340A\001\"\224\001\n\033StreamDir"
- + "ectPredictResponse\0228\n\007outputs\030\001 \003(\0132\'.go"
- + "ogle.cloud.aiplatform.v1beta1.Tensor\022;\n\n"
- + "parameters\030\002 \001(\0132\'.google.cloud.aiplatfo"
- + "rm.v1beta1.Tensor\"\213\001\n\035StreamDirectRawPre"
- + "dictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"a"
- + "iplatform.googleapis.com/Endpoint\022\030\n\013met"
- + "hod_name\030\002 \001(\tB\003\340A\001\022\022\n\005input\030\003 \001(\014B\003\340A\001\""
- + "0\n\036StreamDirectRawPredictResponse\022\016\n\006out"
- + "put\030\001 \001(\014\"\315\001\n\027StreamingPredictRequest\022<\n"
- + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.goog"
- + "leapis.com/Endpoint\0227\n\006inputs\030\002 \003(\0132\'.go"
- + "ogle.cloud.aiplatform.v1beta1.Tensor\022;\n\n"
- + "parameters\030\003 \001(\0132\'.google.cloud.aiplatfo"
- + "rm.v1beta1.Tensor\"\221\001\n\030StreamingPredictRe"
- + "sponse\0228\n\007outputs\030\001 \003(\0132\'.google.cloud.a"
- + "iplatform.v1beta1.Tensor\022;\n\nparameters\030\002"
- + " \001(\0132\'.google.cloud.aiplatform.v1beta1.T"
- + "ensor\"~\n\032StreamingRawPredictRequest\022<\n\010e"
- + "ndpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.google"
- + "apis.com/Endpoint\022\023\n\013method_name\030\002 \001(\t\022\r"
- + "\n\005input\030\003 \001(\014\"-\n\033StreamingRawPredictResp"
- + "onse\022\016\n\006output\030\001 \001(\014\"\263\004\n\016ExplainRequest\022"
- + "<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.go"
- + "ogleapis.com/Endpoint\022.\n\tinstances\030\002 \003(\013"
- + "2\026.google.protobuf.ValueB\003\340A\002\022*\n\nparamet"
- + "ers\030\004 \001(\0132\026.google.protobuf.Value\022[\n\031exp"
- + "lanation_spec_override\030\005 \001(\01328.google.cl"
- + "oud.aiplatform.v1beta1.ExplanationSpecOv"
- + "erride\022\211\001\n$concurrent_explanation_spec_o"
- + "verride\030\006 \003(\0132V.google.cloud.aiplatform."
- + "v1beta1.ExplainRequest.ConcurrentExplana"
- + "tionSpecOverrideEntryB\003\340A\001\022\031\n\021deployed_m"
- + "odel_id\030\003 \001(\t\032\202\001\n&ConcurrentExplanationS"
- + "pecOverrideEntry\022\013\n\003key\030\001 \001(\t\022G\n\005value\030\002"
- + " \001(\01328.google.cloud.aiplatform.v1beta1.E"
- + "xplanationSpecOverride:\0028\001\"\361\003\n\017ExplainRe"
- + "sponse\022B\n\014explanations\030\001 \003(\0132,.google.cl"
- + "oud.aiplatform.v1beta1.Explanation\022m\n\027co"
- + "ncurrent_explanations\030\004 \003(\0132L.google.clo"
- + "ud.aiplatform.v1beta1.ExplainResponse.Co"
- + "ncurrentExplanationsEntry\022\031\n\021deployed_mo"
- + "del_id\030\002 \001(\t\022+\n\013predictions\030\003 \003(\0132\026.goog"
- + "le.protobuf.Value\032[\n\025ConcurrentExplanati"
- + "on\022B\n\014explanations\030\001 \003(\0132,.google.cloud."
- + "aiplatform.v1beta1.Explanation\032\205\001\n\033Concu"
- + "rrentExplanationsEntry\022\013\n\003key\030\001 \001(\t\022U\n\005v"
- + "alue\030\002 \001(\0132F.google.cloud.aiplatform.v1b"
- + "eta1.ExplainResponse.ConcurrentExplanati"
- + "on:\0028\001\"\327\001\n\022CountTokensRequest\022<\n\010endpoin"
- + "t\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.c"
- + "om/Endpoint\022\022\n\005model\030\003 \001(\tB\003\340A\002\022.\n\tinsta"
- + "nces\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002\022"
- + "?\n\010contents\030\004 \003(\0132(.google.cloud.aiplatf"
- + "orm.v1beta1.ContentB\003\340A\002\"N\n\023CountTokensR"
- + "esponse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031total_b"
- + "illable_characters\030\002 \001(\005\"\300\004\n\026GenerateCon"
- + "tentRequest\022\022\n\005model\030\005 \001(\tB\003\340A\002\022?\n\010conte"
- + "nts\030\002 \003(\0132(.google.cloud.aiplatform.v1be"
- + "ta1.ContentB\003\340A\002\022N\n\022system_instruction\030\010"
- + " \001(\0132(.google.cloud.aiplatform.v1beta1.C"
- + "ontentB\003\340A\001H\000\210\001\001\022G\n\016cached_content\030\t \001(\t"
- + "B/\340A\001\372A)\n\'aiplatform.googleapis.com/Cach"
- + "edContent\0229\n\005tools\030\006 \003(\0132%.google.cloud."
- + "aiplatform.v1beta1.ToolB\003\340A\001\022E\n\013tool_con"
- + "fig\030\007 \001(\0132+.google.cloud.aiplatform.v1be"
- + "ta1.ToolConfigB\003\340A\001\022L\n\017safety_settings\030\003"
- + " \003(\0132..google.cloud.aiplatform.v1beta1.S"
- + "afetySettingB\003\340A\001\022Q\n\021generation_config\030\004"
- + " \001(\01321.google.cloud.aiplatform.v1beta1.G"
- + "enerationConfigB\003\340A\001B\025\n\023_system_instruct"
- + "ion\"\360\005\n\027GenerateContentResponse\022C\n\ncandi"
- + "dates\030\002 \003(\0132*.google.cloud.aiplatform.v1"
- + "beta1.CandidateB\003\340A\003\022e\n\017prompt_feedback\030"
- + "\003 \001(\0132G.google.cloud.aiplatform.v1beta1."
- + "GenerateContentResponse.PromptFeedbackB\003"
- + "\340A\003\022^\n\016usage_metadata\030\004 \001(\0132F.google.clo"
- + "ud.aiplatform.v1beta1.GenerateContentRes"
- + "ponse.UsageMetadata\032\340\002\n\016PromptFeedback\022p"
- + "\n\014block_reason\030\001 \001(\0162U.google.cloud.aipl"
- + "atform.v1beta1.GenerateContentResponse.P"
- + "romptFeedback.BlockedReasonB\003\340A\003\022J\n\016safe"
- + "ty_ratings\030\002 \003(\0132-.google.cloud.aiplatfo"
- + "rm.v1beta1.SafetyRatingB\003\340A\003\022!\n\024block_re"
- + "ason_message\030\003 \001(\tB\003\340A\003\"m\n\rBlockedReason"
- + "\022\036\n\032BLOCKED_REASON_UNSPECIFIED\020\000\022\n\n\006SAFE"
- + "TY\020\001\022\t\n\005OTHER\020\002\022\r\n\tBLOCKLIST\020\003\022\026\n\022PROHIB"
- + "ITED_CONTENT\020\004\032f\n\rUsageMetadata\022\032\n\022promp"
- + "t_token_count\030\001 \001(\005\022\036\n\026candidates_token_"
- + "count\030\002 \001(\005\022\031\n\021total_token_count\030\003 \001(\005\"\204"
- + "\001\n\026ChatCompletionsRequest\022<\n\010endpoint\030\001 "
- + "\001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/E"
- + "ndpoint\022,\n\thttp_body\030\002 \001(\0132\024.google.api."
- + "HttpBodyB\003\340A\0012\275\033\n\021PredictionService\022\250\002\n\007"
- + "Predict\022/.google.cloud.aiplatform.v1beta"
- + "1.PredictRequest\0320.google.cloud.aiplatfo"
- + "rm.v1beta1.PredictResponse\"\271\001\332A\035endpoint"
- + ",instances,parameters\202\323\344\223\002\222\001\">/v1beta1/{"
- + "endpoint=projects/*/locations/*/endpoint"
- + "s/*}:predict:\001*ZM\"H/v1beta1/{endpoint=pr"
+ + "eapis.com/Endpoint\022,\n\thttp_body\030\002 \001(\0132\024."
+ + "google.api.HttpBodyB\003\340A\0012\347\035\n\021PredictionS"
+ + "ervice\022\250\002\n\007Predict\022/.google.cloud.aiplat"
+ + "form.v1beta1.PredictRequest\0320.google.clo"
+ + "ud.aiplatform.v1beta1.PredictResponse\"\271\001"
+ + "\332A\035endpoint,instances,parameters\202\323\344\223\002\222\001\""
+ + ">/v1beta1/{endpoint=projects/*/locations"
+ + "/*/endpoints/*}:predict:\001*ZM\"H/v1beta1/{"
+ + "endpoint=projects/*/locations/*/publishe"
+ + "rs/*/models/*}:predict:\001*\022\215\002\n\nRawPredict"
+ + "\0222.google.cloud.aiplatform.v1beta1.RawPr"
+ + "edictRequest\032\024.google.api.HttpBody\"\264\001\332A\022"
+ + "endpoint,http_body\202\323\344\223\002\230\001\"A/v1beta1/{end"
+ + "point=projects/*/locations/*/endpoints/*"
+ + "}:rawPredict:\001*ZP\"K/v1beta1/{endpoint=pr"
+ "ojects/*/locations/*/publishers/*/models"
- + "/*}:predict:\001*\022\215\002\n\nRawPredict\0222.google.c"
- + "loud.aiplatform.v1beta1.RawPredictReques"
- + "t\032\024.google.api.HttpBody\"\264\001\332A\022endpoint,ht"
- + "tp_body\202\323\344\223\002\230\001\"A/v1beta1/{endpoint=proje"
- + "cts/*/locations/*/endpoints/*}:rawPredic"
- + "t:\001*ZP\"K/v1beta1/{endpoint=projects/*/lo"
- + "cations/*/publishers/*/models/*}:rawPred"
- + "ict:\001*\022\317\001\n\rDirectPredict\0225.google.cloud."
- + "aiplatform.v1beta1.DirectPredictRequest\032"
- + "6.google.cloud.aiplatform.v1beta1.Direct"
- + "PredictResponse\"O\202\323\344\223\002I\"D/v1beta1/{endpo"
- + "int=projects/*/locations/*/endpoints/*}:"
- + "directPredict:\001*\022\333\001\n\020DirectRawPredict\0228."
- + "google.cloud.aiplatform.v1beta1.DirectRa"
- + "wPredictRequest\0329.google.cloud.aiplatfor"
- + "m.v1beta1.DirectRawPredictResponse\"R\202\323\344\223"
- + "\002L\"G/v1beta1/{endpoint=projects/*/locati"
- + "ons/*/endpoints/*}:directRawPredict:\001*\022\226"
- + "\001\n\023StreamDirectPredict\022;.google.cloud.ai"
- + "platform.v1beta1.StreamDirectPredictRequ"
- + "est\032<.google.cloud.aiplatform.v1beta1.St"
- + "reamDirectPredictResponse\"\000(\0010\001\022\237\001\n\026Stre"
- + "amDirectRawPredict\022>.google.cloud.aiplat"
- + "form.v1beta1.StreamDirectRawPredictReque"
- + "st\032?.google.cloud.aiplatform.v1beta1.Str"
- + "eamDirectRawPredictResponse\"\000(\0010\001\022\215\001\n\020St"
- + "reamingPredict\0228.google.cloud.aiplatform"
- + ".v1beta1.StreamingPredictRequest\0329.googl"
- + "e.cloud.aiplatform.v1beta1.StreamingPred"
- + "ictResponse\"\000(\0010\001\022\311\002\n\026ServerStreamingPre"
- + "dict\0228.google.cloud.aiplatform.v1beta1.S"
- + "treamingPredictRequest\0329.google.cloud.ai"
- + "platform.v1beta1.StreamingPredictRespons"
- + "e\"\267\001\202\323\344\223\002\260\001\"M/v1beta1/{endpoint=projects"
- + "/*/locations/*/endpoints/*}:serverStream"
- + "ingPredict:\001*Z\\\"W/v1beta1/{endpoint=proj"
- + "ects/*/locations/*/publishers/*/models/*"
- + "}:serverStreamingPredict:\001*0\001\022\226\001\n\023Stream"
- + "ingRawPredict\022;.google.cloud.aiplatform."
- + "v1beta1.StreamingRawPredictRequest\032<.goo"
- + "gle.cloud.aiplatform.v1beta1.StreamingRa"
- + "wPredictResponse\"\000(\0010\001\022\351\001\n\007Explain\022/.goo"
- + "gle.cloud.aiplatform.v1beta1.ExplainRequ"
- + "est\0320.google.cloud.aiplatform.v1beta1.Ex"
- + "plainResponse\"{\332A/endpoint,instances,par"
- + "ameters,deployed_model_id\202\323\344\223\002C\">/v1beta"
+ + "/*}:rawPredict:\001*\022\247\002\n\020StreamRawPredict\0228"
+ + ".google.cloud.aiplatform.v1beta1.StreamR"
+ + "awPredictRequest\032\024.google.api.HttpBody\"\300"
+ + "\001\332A\022endpoint,http_body\202\323\344\223\002\244\001\"G/v1beta1/"
+ + "{endpoint=projects/*/locations/*/endpoin"
+ + "ts/*}:streamRawPredict:\001*ZV\"Q/v1beta1/{e"
+ + "ndpoint=projects/*/locations/*/publisher"
+ + "s/*/models/*}:streamRawPredict:\001*0\001\022\317\001\n\r"
+ + "DirectPredict\0225.google.cloud.aiplatform."
+ + "v1beta1.DirectPredictRequest\0326.google.cl"
+ + "oud.aiplatform.v1beta1.DirectPredictResp"
+ + "onse\"O\202\323\344\223\002I\"D/v1beta1/{endpoint=project"
+ + "s/*/locations/*/endpoints/*}:directPredi"
+ + "ct:\001*\022\333\001\n\020DirectRawPredict\0228.google.clou"
+ + "d.aiplatform.v1beta1.DirectRawPredictReq"
+ + "uest\0329.google.cloud.aiplatform.v1beta1.D"
+ + "irectRawPredictResponse\"R\202\323\344\223\002L\"G/v1beta"
+ "1/{endpoint=projects/*/locations/*/endpo"
- + "ints/*}:explain:\001*\022\261\002\n\013CountTokens\0223.goo"
- + "gle.cloud.aiplatform.v1beta1.CountTokens"
- + "Request\0324.google.cloud.aiplatform.v1beta"
- + "1.CountTokensResponse\"\266\001\332A\022endpoint,inst"
- + "ances\202\323\344\223\002\232\001\"B/v1beta1/{endpoint=project"
- + "s/*/locations/*/endpoints/*}:countTokens"
- + ":\001*ZQ\"L/v1beta1/{endpoint=projects/*/loc"
- + "ations/*/publishers/*/models/*}:countTok"
- + "ens:\001*\022\273\002\n\017GenerateContent\0227.google.clou"
- + "d.aiplatform.v1beta1.GenerateContentRequ"
- + "est\0328.google.cloud.aiplatform.v1beta1.Ge"
- + "nerateContentResponse\"\264\001\332A\016model,content"
- + "s\202\323\344\223\002\234\001\"C/v1beta1/{model=projects/*/loc"
- + "ations/*/endpoints/*}:generateContent:\001*"
- + "ZR\"M/v1beta1/{model=projects/*/locations"
- + "/*/publishers/*/models/*}:generateConten"
- + "t:\001*\022\317\002\n\025StreamGenerateContent\0227.google."
- + "cloud.aiplatform.v1beta1.GenerateContent"
- + "Request\0328.google.cloud.aiplatform.v1beta"
- + "1.GenerateContentResponse\"\300\001\332A\016model,con"
- + "tents\202\323\344\223\002\250\001\"I/v1beta1/{model=projects/*"
- + "/locations/*/endpoints/*}:streamGenerate"
- + "Content:\001*ZX\"S/v1beta1/{model=projects/*"
- + "/locations/*/publishers/*/models/*}:stre"
- + "amGenerateContent:\001*0\001\022\323\001\n\017ChatCompletio"
- + "ns\0227.google.cloud.aiplatform.v1beta1.Cha"
- + "tCompletionsRequest\032\024.google.api.HttpBod"
- + "y\"o\332A\022endpoint,http_body\202\323\344\223\002T\"G/v1beta1"
- + "/{endpoint=projects/*/locations/*/endpoi"
- + "nts/*}/chat/completions:\thttp_body0\001\032\206\001\312"
- + "A\031aiplatform.googleapis.com\322Aghttps://ww"
- + "w.googleapis.com/auth/cloud-platform,htt"
- + "ps://www.googleapis.com/auth/cloud-platf"
- + "orm.read-onlyB\355\001\n#com.google.cloud.aipla"
- + "tform.v1beta1B\026PredictionServiceProtoP\001Z"
- + "Ccloud.google.com/go/aiplatform/apiv1bet"
- + "a1/aiplatformpb;aiplatformpb\252\002\037Google.Cl"
- + "oud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AI"
- + "Platform\\V1beta1\352\002\"Google::Cloud::AIPlat"
- + "form::V1beta1b\006proto3"
+ + "ints/*}:directRawPredict:\001*\022\226\001\n\023StreamDi"
+ + "rectPredict\022;.google.cloud.aiplatform.v1"
+ + "beta1.StreamDirectPredictRequest\032<.googl"
+ + "e.cloud.aiplatform.v1beta1.StreamDirectP"
+ + "redictResponse\"\000(\0010\001\022\237\001\n\026StreamDirectRaw"
+ + "Predict\022>.google.cloud.aiplatform.v1beta"
+ + "1.StreamDirectRawPredictRequest\032?.google"
+ + ".cloud.aiplatform.v1beta1.StreamDirectRa"
+ + "wPredictResponse\"\000(\0010\001\022\215\001\n\020StreamingPred"
+ + "ict\0228.google.cloud.aiplatform.v1beta1.St"
+ + "reamingPredictRequest\0329.google.cloud.aip"
+ + "latform.v1beta1.StreamingPredictResponse"
+ + "\"\000(\0010\001\022\311\002\n\026ServerStreamingPredict\0228.goog"
+ + "le.cloud.aiplatform.v1beta1.StreamingPre"
+ + "dictRequest\0329.google.cloud.aiplatform.v1"
+ + "beta1.StreamingPredictResponse\"\267\001\202\323\344\223\002\260\001"
+ + "\"M/v1beta1/{endpoint=projects/*/location"
+ + "s/*/endpoints/*}:serverStreamingPredict:"
+ + "\001*Z\\\"W/v1beta1/{endpoint=projects/*/loca"
+ + "tions/*/publishers/*/models/*}:serverStr"
+ + "eamingPredict:\001*0\001\022\226\001\n\023StreamingRawPredi"
+ + "ct\022;.google.cloud.aiplatform.v1beta1.Str"
+ + "eamingRawPredictRequest\032<.google.cloud.a"
+ + "iplatform.v1beta1.StreamingRawPredictRes"
+ + "ponse\"\000(\0010\001\022\351\001\n\007Explain\022/.google.cloud.a"
+ + "iplatform.v1beta1.ExplainRequest\0320.googl"
+ + "e.cloud.aiplatform.v1beta1.ExplainRespon"
+ + "se\"{\332A/endpoint,instances,parameters,dep"
+ + "loyed_model_id\202\323\344\223\002C\">/v1beta1/{endpoint"
+ + "=projects/*/locations/*/endpoints/*}:exp"
+ + "lain:\001*\022\261\002\n\013CountTokens\0223.google.cloud.a"
+ + "iplatform.v1beta1.CountTokensRequest\0324.g"
+ + "oogle.cloud.aiplatform.v1beta1.CountToke"
+ + "nsResponse\"\266\001\332A\022endpoint,instances\202\323\344\223\002\232"
+ + "\001\"B/v1beta1/{endpoint=projects/*/locatio"
+ + "ns/*/endpoints/*}:countTokens:\001*ZQ\"L/v1b"
+ + "eta1/{endpoint=projects/*/locations/*/pu"
+ + "blishers/*/models/*}:countTokens:\001*\022\273\002\n\017"
+ + "GenerateContent\0227.google.cloud.aiplatfor"
+ + "m.v1beta1.GenerateContentRequest\0328.googl"
+ + "e.cloud.aiplatform.v1beta1.GenerateConte"
+ + "ntResponse\"\264\001\332A\016model,contents\202\323\344\223\002\234\001\"C/"
+ + "v1beta1/{model=projects/*/locations/*/en"
+ + "dpoints/*}:generateContent:\001*ZR\"M/v1beta"
+ + "1/{model=projects/*/locations/*/publishe"
+ + "rs/*/models/*}:generateContent:\001*\022\317\002\n\025St"
+ + "reamGenerateContent\0227.google.cloud.aipla"
+ + "tform.v1beta1.GenerateContentRequest\0328.g"
+ + "oogle.cloud.aiplatform.v1beta1.GenerateC"
+ + "ontentResponse\"\300\001\332A\016model,contents\202\323\344\223\002\250"
+ + "\001\"I/v1beta1/{model=projects/*/locations/"
+ + "*/endpoints/*}:streamGenerateContent:\001*Z"
+ + "X\"S/v1beta1/{model=projects/*/locations/"
+ + "*/publishers/*/models/*}:streamGenerateC"
+ + "ontent:\001*0\001\022\323\001\n\017ChatCompletions\0227.google"
+ + ".cloud.aiplatform.v1beta1.ChatCompletion"
+ + "sRequest\032\024.google.api.HttpBody\"o\332A\022endpo"
+ + "int,http_body\202\323\344\223\002T\"G/v1beta1/{endpoint="
+ + "projects/*/locations/*/endpoints/*}/chat"
+ + "/completions:\thttp_body0\001\032\206\001\312A\031aiplatfor"
+ + "m.googleapis.com\322Aghttps://www.googleapi"
+ + "s.com/auth/cloud-platform,https://www.go"
+ + "ogleapis.com/auth/cloud-platform.read-on"
+ + "lyB\355\001\n#com.google.cloud.aiplatform.v1bet"
+ + "a1B\026PredictionServiceProtoP\001ZCcloud.goog"
+ + "le.com/go/aiplatform/apiv1beta1/aiplatfo"
+ + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf"
+ + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1"
+ + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet"
+ + "a1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -421,8 +436,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Endpoint", "HttpBody",
});
- internal_static_google_cloud_aiplatform_v1beta1_DirectPredictRequest_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
+ internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_descriptor,
+ new java.lang.String[] {
+ "Endpoint", "HttpBody",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_DirectPredictRequest_descriptor =
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictRequest_descriptor,
@@ -430,7 +453,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "Inputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DirectPredictResponse_descriptor,
@@ -438,7 +461,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Outputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictRequest_descriptor,
@@ -446,7 +469,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "MethodName", "Input",
});
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DirectRawPredictResponse_descriptor,
@@ -454,7 +477,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Output",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictRequest_descriptor,
@@ -462,7 +485,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "Inputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectPredictResponse_descriptor,
@@ -470,7 +493,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Outputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictRequest_descriptor,
@@ -478,7 +501,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "MethodName", "Input",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamDirectRawPredictResponse_descriptor,
@@ -486,7 +509,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Output",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictRequest_descriptor,
@@ -494,7 +517,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "Inputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamingPredictResponse_descriptor,
@@ -502,7 +525,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Outputs", "Parameters",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictRequest_descriptor,
@@ -510,7 +533,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "MethodName", "Input",
});
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictResponse_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_StreamingRawPredictResponse_descriptor,
@@ -518,7 +541,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Output",
});
internal_static_google_cloud_aiplatform_v1beta1_ExplainRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_aiplatform_v1beta1_ExplainRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ExplainRequest_descriptor,
@@ -541,7 +564,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_cloud_aiplatform_v1beta1_ExplainResponse_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_aiplatform_v1beta1_ExplainResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ExplainResponse_descriptor,
@@ -569,7 +592,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor,
@@ -577,7 +600,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Endpoint", "Model", "Instances", "Contents",
});
internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor,
@@ -585,7 +608,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TotalTokens", "TotalBillableCharacters",
});
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentRequest_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentRequest_descriptor,
@@ -600,7 +623,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GenerationConfig",
});
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentResponse_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_GenerateContentResponse_descriptor,
@@ -628,7 +651,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PromptTokenCount", "CandidatesTokenCount", "TotalTokenCount",
});
internal_static_google_cloud_aiplatform_v1beta1_ChatCompletionsRequest_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_aiplatform_v1beta1_ChatCompletionsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ChatCompletionsRequest_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Segment.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Segment.java
index 088be6f79910..f985aed1b82c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Segment.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Segment.java
@@ -38,7 +38,9 @@ private Segment(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private Segment() {}
+ private Segment() {
+ text_ = "";
+ }
@java.lang.Override
@SuppressWarnings({"unused"})
@@ -117,6 +119,57 @@ public int getEndIndex() {
return endIndex_;
}
+ public static final int TEXT_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object text_ = "";
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The text.
+ */
+ @java.lang.Override
+ public java.lang.String getText() {
+ java.lang.Object ref = text_;
+ 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();
+ text_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for text.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTextBytes() {
+ java.lang.Object ref = text_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ text_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -140,6 +193,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (endIndex_ != 0) {
output.writeInt32(3, endIndex_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, text_);
+ }
getUnknownFields().writeTo(output);
}
@@ -158,6 +214,9 @@ public int getSerializedSize() {
if (endIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, endIndex_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, text_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -177,6 +236,7 @@ public boolean equals(final java.lang.Object obj) {
if (getPartIndex() != other.getPartIndex()) return false;
if (getStartIndex() != other.getStartIndex()) return false;
if (getEndIndex() != other.getEndIndex()) return false;
+ if (!getText().equals(other.getText())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -194,6 +254,8 @@ public int hashCode() {
hash = (53 * hash) + getStartIndex();
hash = (37 * hash) + END_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getEndIndex();
+ hash = (37 * hash) + TEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getText().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -336,6 +398,7 @@ public Builder clear() {
partIndex_ = 0;
startIndex_ = 0;
endIndex_ = 0;
+ text_ = "";
return this;
}
@@ -381,6 +444,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Segment result) {
if (((from_bitField0_ & 0x00000004) != 0)) {
result.endIndex_ = endIndex_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.text_ = text_;
+ }
}
@java.lang.Override
@@ -437,6 +503,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Segment other) {
if (other.getEndIndex() != 0) {
setEndIndex(other.getEndIndex());
}
+ if (!other.getText().isEmpty()) {
+ text_ = other.text_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -481,6 +552,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 24
+ case 34:
+ {
+ text_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -665,6 +742,112 @@ public Builder clearEndIndex() {
return this;
}
+ private java.lang.Object text_ = "";
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The text.
+ */
+ public java.lang.String getText() {
+ java.lang.Object ref = text_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ text_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for text.
+ */
+ public com.google.protobuf.ByteString getTextBytes() {
+ java.lang.Object ref = text_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ text_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The text to set.
+ * @return This builder for chaining.
+ */
+ public Builder setText(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ text_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearText() {
+ text_ = getDefaultInstance().getText();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for text to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ text_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SegmentOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SegmentOrBuilder.java
index 06c59a9ed72e..a71833fc0a37 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SegmentOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SegmentOrBuilder.java
@@ -64,4 +64,29 @@ public interface SegmentOrBuilder
* @return The endIndex.
*/
int getEndIndex();
+
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The text.
+ */
+ java.lang.String getText();
+ /**
+ *
+ *
+ * + * Output only. The text corresponding to the segment from the response. + *+ * + *
string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for text.
+ */
+ com.google.protobuf.ByteString getTextBytes();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StreamRawPredictRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StreamRawPredictRequest.java
new file mode 100644
index 000000000000..83c6acee228b
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StreamRawPredictRequest.java
@@ -0,0 +1,926 @@
+/*
+ * 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/aiplatform/v1beta1/prediction_service.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ * + * Request message for + * [PredictionService.StreamRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamRawPredict]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.StreamRawPredictRequest} + */ +public final class StreamRawPredictRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.StreamRawPredictRequest) + StreamRawPredictRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use StreamRawPredictRequest.newBuilder() to construct. + private StreamRawPredictRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private StreamRawPredictRequest() { + endpoint_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StreamRawPredictRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_StreamRawPredictRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest.class, + com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest.Builder.class); + } + + private int bitField0_; + public static final int ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + /** + * + * + *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ @java.lang.Override
+ public java.lang.String getEndpoint() {
+ java.lang.Object ref = endpoint_;
+ 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();
+ endpoint_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEndpointBytes() {
+ java.lang.Object ref = endpoint_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endpoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int HTTP_BODY_FIELD_NUMBER = 2;
+ private com.google.api.HttpBody httpBody_;
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return Whether the httpBody field is set.
+ */
+ @java.lang.Override
+ public boolean hasHttpBody() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return The httpBody.
+ */
+ @java.lang.Override
+ public com.google.api.HttpBody getHttpBody() {
+ return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_;
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ @java.lang.Override
+ public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder() {
+ return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_;
+ }
+
+ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(2, getHttpBody());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHttpBody());
+ }
+ 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.aiplatform.v1beta1.StreamRawPredictRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest other =
+ (com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest) obj;
+
+ if (!getEndpoint().equals(other.getEndpoint())) return false;
+ if (hasHttpBody() != other.hasHttpBody()) return false;
+ if (hasHttpBody()) {
+ if (!getHttpBody().equals(other.getHttpBody())) 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) + ENDPOINT_FIELD_NUMBER;
+ hash = (53 * hash) + getEndpoint().hashCode();
+ if (hasHttpBody()) {
+ hash = (37 * hash) + HTTP_BODY_FIELD_NUMBER;
+ hash = (53 * hash) + getHttpBody().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest 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.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest 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.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest 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.aiplatform.v1beta1.StreamRawPredictRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest 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.aiplatform.v1beta1.StreamRawPredictRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest 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.aiplatform.v1beta1.StreamRawPredictRequest 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;
+ }
+ /**
+ *
+ *
+ * + * Request message for + * [PredictionService.StreamRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamRawPredict]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.StreamRawPredictRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ public java.lang.String getEndpoint() {
+ java.lang.Object ref = endpoint_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endpoint_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ public com.google.protobuf.ByteString getEndpointBytes() {
+ java.lang.Object ref = endpoint_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endpoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The endpoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndpoint(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endpoint_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEndpoint() {
+ endpoint_ = getDefaultInstance().getEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for endpoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ endpoint_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.api.HttpBody httpBody_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.api.HttpBody,
+ com.google.api.HttpBody.Builder,
+ com.google.api.HttpBodyOrBuilder>
+ httpBodyBuilder_;
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return Whether the httpBody field is set.
+ */
+ public boolean hasHttpBody() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return The httpBody.
+ */
+ public com.google.api.HttpBody getHttpBody() {
+ if (httpBodyBuilder_ == null) {
+ return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_;
+ } else {
+ return httpBodyBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public Builder setHttpBody(com.google.api.HttpBody value) {
+ if (httpBodyBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ httpBody_ = value;
+ } else {
+ httpBodyBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public Builder setHttpBody(com.google.api.HttpBody.Builder builderForValue) {
+ if (httpBodyBuilder_ == null) {
+ httpBody_ = builderForValue.build();
+ } else {
+ httpBodyBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public Builder mergeHttpBody(com.google.api.HttpBody value) {
+ if (httpBodyBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && httpBody_ != null
+ && httpBody_ != com.google.api.HttpBody.getDefaultInstance()) {
+ getHttpBodyBuilder().mergeFrom(value);
+ } else {
+ httpBody_ = value;
+ }
+ } else {
+ httpBodyBuilder_.mergeFrom(value);
+ }
+ if (httpBody_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public Builder clearHttpBody() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ httpBody_ = null;
+ if (httpBodyBuilder_ != null) {
+ httpBodyBuilder_.dispose();
+ httpBodyBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public com.google.api.HttpBody.Builder getHttpBodyBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getHttpBodyFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder() {
+ if (httpBodyBuilder_ != null) {
+ return httpBodyBuilder_.getMessageOrBuilder();
+ } else {
+ return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.api.HttpBody,
+ com.google.api.HttpBody.Builder,
+ com.google.api.HttpBodyOrBuilder>
+ getHttpBodyFieldBuilder() {
+ if (httpBodyBuilder_ == null) {
+ httpBodyBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.api.HttpBody,
+ com.google.api.HttpBody.Builder,
+ com.google.api.HttpBodyOrBuilder>(getHttpBody(), getParentForChildren(), isClean());
+ httpBody_ = null;
+ }
+ return httpBodyBuilder_;
+ }
+
+ @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.aiplatform.v1beta1.StreamRawPredictRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.StreamRawPredictRequest)
+ private static final com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.StreamRawPredictRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ java.lang.String getEndpoint();
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to serve the prediction.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ com.google.protobuf.ByteString getEndpointBytes();
+
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return Whether the httpBody field is set.
+ */
+ boolean hasHttpBody();
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ *
+ * @return The httpBody.
+ */
+ com.google.api.HttpBody getHttpBody();
+ /**
+ *
+ *
+ * + * The prediction input. Supports HTTP headers and arbitrary data payload. + *+ * + *
.google.api.HttpBody http_body = 2;
+ */
+ com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java
index df33d06c7828..a794ab25da3d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java
@@ -1112,7 +1112,7 @@ public com.google.protobuf.Parser+ * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the satisfiesPzs field is set.
+ */
+ @java.lang.Override
+ public boolean hasSatisfiesPzs() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The satisfiesPzs.
+ */
+ @java.lang.Override
+ public com.google.protobuf.BoolValue getSatisfiesPzs() {
+ return satisfiesPzs_ == null
+ ? com.google.protobuf.BoolValue.getDefaultInstance()
+ : satisfiesPzs_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder() {
+ return satisfiesPzs_ == null
+ ? com.google.protobuf.BoolValue.getDefaultInstance()
+ : satisfiesPzs_;
+ }
+
+ public static final int SATISFIES_PZI_FIELD_NUMBER = 20;
+ private boolean satisfiesPzi_ = false;
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The satisfiesPzi.
+ */
+ @java.lang.Override
+ public boolean getSatisfiesPzi() {
+ return satisfiesPzi_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1398,6 +1472,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < baProxyUri_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, baProxyUri_.getRaw(i));
}
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeMessage(19, getSatisfiesPzs());
+ }
+ if (satisfiesPzi_ != false) {
+ output.writeBool(20, satisfiesPzi_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1469,6 +1549,12 @@ public int getSerializedSize() {
size += dataSize;
size += 2 * getBaProxyUriList().size();
}
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getSatisfiesPzs());
+ }
+ if (satisfiesPzi_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, satisfiesPzi_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1518,6 +1604,11 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getWorkforceIdentityBasedOauth2ClientId())) return false;
}
if (!getBaProxyUriList().equals(other.getBaProxyUriList())) return false;
+ if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false;
+ if (hasSatisfiesPzs()) {
+ if (!getSatisfiesPzs().equals(other.getSatisfiesPzs())) return false;
+ }
+ if (getSatisfiesPzi() != other.getSatisfiesPzi()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -1573,6 +1664,12 @@ public int hashCode() {
hash = (37 * hash) + BA_PROXY_URI_FIELD_NUMBER;
hash = (53 * hash) + getBaProxyUriList().hashCode();
}
+ if (hasSatisfiesPzs()) {
+ hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER;
+ hash = (53 * hash) + getSatisfiesPzs().hashCode();
+ }
+ hash = (37 * hash) + SATISFIES_PZI_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzi());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1741,6 +1838,7 @@ private void maybeForceBuilderInitialization() {
getWorkforceIdentityBasedManagementUriFieldBuilder();
getNetworksFieldBuilder();
getWorkforceIdentityBasedOauth2ClientIdFieldBuilder();
+ getSatisfiesPzsFieldBuilder();
}
}
@@ -1788,6 +1886,12 @@ public Builder clear() {
workforceIdentityBasedOauth2ClientIdBuilder_ = null;
}
baProxyUri_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ satisfiesPzs_ = null;
+ if (satisfiesPzsBuilder_ != null) {
+ satisfiesPzsBuilder_.dispose();
+ satisfiesPzsBuilder_ = null;
+ }
+ satisfiesPzi_ = false;
return this;
}
@@ -1891,6 +1995,14 @@ private void buildPartial0(com.google.cloud.backupdr.v1.ManagementServer result)
baProxyUri_.makeImmutable();
result.baProxyUri_ = baProxyUri_;
}
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.satisfiesPzs_ =
+ satisfiesPzsBuilder_ == null ? satisfiesPzs_ : satisfiesPzsBuilder_.build();
+ to_bitField0_ |= 0x00000020;
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.satisfiesPzi_ = satisfiesPzi_;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -2019,6 +2131,12 @@ public Builder mergeFrom(com.google.cloud.backupdr.v1.ManagementServer other) {
}
onChanged();
}
+ if (other.hasSatisfiesPzs()) {
+ mergeSatisfiesPzs(other.getSatisfiesPzs());
+ }
+ if (other.getSatisfiesPzi() != false) {
+ setSatisfiesPzi(other.getSatisfiesPzi());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -2147,6 +2265,18 @@ public Builder mergeFrom(
baProxyUri_.add(s);
break;
} // case 146
+ case 154:
+ {
+ input.readMessage(getSatisfiesPzsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 154
+ case 160:
+ {
+ satisfiesPzi_ = input.readBool();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 160
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -4656,6 +4786,262 @@ public Builder addBaProxyUriBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.protobuf.BoolValue satisfiesPzs_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ satisfiesPzsBuilder_;
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the satisfiesPzs field is set.
+ */
+ public boolean hasSatisfiesPzs() {
+ return ((bitField0_ & 0x00004000) != 0);
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The satisfiesPzs.
+ */
+ public com.google.protobuf.BoolValue getSatisfiesPzs() {
+ if (satisfiesPzsBuilder_ == null) {
+ return satisfiesPzs_ == null
+ ? com.google.protobuf.BoolValue.getDefaultInstance()
+ : satisfiesPzs_;
+ } else {
+ return satisfiesPzsBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setSatisfiesPzs(com.google.protobuf.BoolValue value) {
+ if (satisfiesPzsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ satisfiesPzs_ = value;
+ } else {
+ satisfiesPzsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setSatisfiesPzs(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (satisfiesPzsBuilder_ == null) {
+ satisfiesPzs_ = builderForValue.build();
+ } else {
+ satisfiesPzsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeSatisfiesPzs(com.google.protobuf.BoolValue value) {
+ if (satisfiesPzsBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) != 0)
+ && satisfiesPzs_ != null
+ && satisfiesPzs_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+ getSatisfiesPzsBuilder().mergeFrom(value);
+ } else {
+ satisfiesPzs_ = value;
+ }
+ } else {
+ satisfiesPzsBuilder_.mergeFrom(value);
+ }
+ if (satisfiesPzs_ != null) {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearSatisfiesPzs() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ satisfiesPzs_ = null;
+ if (satisfiesPzsBuilder_ != null) {
+ satisfiesPzsBuilder_.dispose();
+ satisfiesPzsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.BoolValue.Builder getSatisfiesPzsBuilder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getSatisfiesPzsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder() {
+ if (satisfiesPzsBuilder_ != null) {
+ return satisfiesPzsBuilder_.getMessageOrBuilder();
+ } else {
+ return satisfiesPzs_ == null
+ ? com.google.protobuf.BoolValue.getDefaultInstance()
+ : satisfiesPzs_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ getSatisfiesPzsFieldBuilder() {
+ if (satisfiesPzsBuilder_ == null) {
+ satisfiesPzsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>(
+ getSatisfiesPzs(), getParentForChildren(), isClean());
+ satisfiesPzs_ = null;
+ }
+ return satisfiesPzsBuilder_;
+ }
+
+ private boolean satisfiesPzi_;
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The satisfiesPzi.
+ */
+ @java.lang.Override
+ public boolean getSatisfiesPzi() {
+ return satisfiesPzi_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The satisfiesPzi to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSatisfiesPzi(boolean value) {
+
+ satisfiesPzi_ = value;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSatisfiesPzi() {
+ bitField0_ = (bitField0_ & ~0x00008000);
+ satisfiesPzi_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-backupdr/proto-google-cloud-backupdr-v1/src/main/java/com/google/cloud/backupdr/v1/ManagementServerOrBuilder.java b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/java/com/google/cloud/backupdr/v1/ManagementServerOrBuilder.java
index b2775b7efb67..9fd2e0c3cca5 100644
--- a/java-backupdr/proto-google-cloud-backupdr-v1/src/main/java/com/google/cloud/backupdr/v1/ManagementServerOrBuilder.java
+++ b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/java/com/google/cloud/backupdr/v1/ManagementServerOrBuilder.java
@@ -601,4 +601,58 @@ java.lang.String getLabelsOrDefault(
* @return The bytes of the baProxyUri at the given index.
*/
com.google.protobuf.ByteString getBaProxyUriBytes(int index);
+
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the satisfiesPzs field is set.
+ */
+ boolean hasSatisfiesPzs();
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The satisfiesPzs.
+ */
+ com.google.protobuf.BoolValue getSatisfiesPzs();
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
+ * .google.protobuf.BoolValue satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. Reserved for future use. + *+ * + *
bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The satisfiesPzi.
+ */
+ boolean getSatisfiesPzi();
}
diff --git a/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupdr.proto b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupdr.proto
index 4756903fbd42..42b798458b1e 100644
--- a/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupdr.proto
+++ b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupdr.proto
@@ -23,6 +23,7 @@ import "google/api/resource.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
+import "google/protobuf/wrappers.proto";
option csharp_namespace = "Google.Cloud.BackupDR.V1";
option go_package = "cloud.google.com/go/backupdr/apiv1/backupdrpb;backupdrpb";
@@ -248,6 +249,13 @@ message ManagementServer {
// Output only. The hostname or ip address of the exposed AGM endpoints, used
// by BAs to connect to BA proxy.
repeated string ba_proxy_uri = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Reserved for future use.
+ google.protobuf.BoolValue satisfies_pzs = 19
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Reserved for future use.
+ bool satisfies_pzi = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Request message for listing management servers.
diff --git a/java-bare-metal-solution/CHANGELOG.md b/java-bare-metal-solution/CHANGELOG.md
index b9b821a7e819..26c4733147bd 100644
--- a/java-bare-metal-solution/CHANGELOG.md
+++ b/java-bare-metal-solution/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## 0.46.0 (2024-06-27)
+
+* No change
+
+
## 0.45.0 (None)
* No change
diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md
index b8539126bca3..4c0df4cb62e5 100644
--- a/java-bare-metal-solution/README.md
+++ b/java-bare-metal-solution/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
string type = 1;
@@ -1386,7 +1388,9 @@ public interface DiskOrBuilder
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -1757,7 +1761,9 @@ public com.google.protobuf.ByteString getSnapshotBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -1783,7 +1789,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2756,7 +2764,9 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2781,7 +2791,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2806,7 +2818,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2830,7 +2844,9 @@ public Builder setType(java.lang.String value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2850,7 +2866,9 @@ public Builder clearType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -4469,7 +4487,7 @@ public interface AcceleratorOrBuilder
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=360
+ * deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -4640,7 +4658,7 @@ public long getCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=360
+ * deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5302,7 +5320,7 @@ public Builder clearCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=360
+ * deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5320,7 +5338,7 @@ public boolean getInstallGpuDrivers() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=360
+ * deprecated. See google/cloud/batch/v1/job.proto;l=370
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5342,7 +5360,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=360
+ * deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -8507,9 +8525,9 @@ public interface InstancePolicyOrTemplateOrBuilder
*
*
*
- * Set this field true if users want Batch to help fetch drivers from a
- * third party location and install them for GPUs specified in
- * policy.accelerators or instance_template on their behalf. Default is
+ * Set this field true if you want Batch to help fetch drivers from a third
+ * party location and install them for GPUs specified in
+ * `policy.accelerators` or `instance_template` on your behalf. Default is
* false.
*
* For Container-Optimized Image cases, Batch will install the
@@ -8525,6 +8543,20 @@ public interface InstancePolicyOrTemplateOrBuilder
*/
boolean getInstallGpuDrivers();
+ /**
+ *
+ *
+ *
+ * Optional. Set this field true if you want Batch to install Ops Agent on
+ * your behalf. Default is false.
+ *
+ *
+ * bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The installOpsAgent.
+ */
+ boolean getInstallOpsAgent();
+
com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate.PolicyTemplateCase
getPolicyTemplateCase();
}
@@ -8755,9 +8787,9 @@ public com.google.protobuf.ByteString getInstanceTemplateBytes() {
*
*
*
- * Set this field true if users want Batch to help fetch drivers from a
- * third party location and install them for GPUs specified in
- * policy.accelerators or instance_template on their behalf. Default is
+ * Set this field true if you want Batch to help fetch drivers from a third
+ * party location and install them for GPUs specified in
+ * `policy.accelerators` or `instance_template` on your behalf. Default is
* false.
*
* For Container-Optimized Image cases, Batch will install the
@@ -8776,6 +8808,25 @@ public boolean getInstallGpuDrivers() {
return installGpuDrivers_;
}
+ public static final int INSTALL_OPS_AGENT_FIELD_NUMBER = 4;
+ private boolean installOpsAgent_ = false;
+ /**
+ *
+ *
+ *
+ * Optional. Set this field true if you want Batch to install Ops Agent on
+ * your behalf. Default is false.
+ *
+ *
+ * bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The installOpsAgent.
+ */
+ @java.lang.Override
+ public boolean getInstallOpsAgent() {
+ return installOpsAgent_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -8800,6 +8851,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (installGpuDrivers_ != false) {
output.writeBool(3, installGpuDrivers_);
}
+ if (installOpsAgent_ != false) {
+ output.writeBool(4, installOpsAgent_);
+ }
getUnknownFields().writeTo(output);
}
@@ -8820,6 +8874,9 @@ public int getSerializedSize() {
if (installGpuDrivers_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, installGpuDrivers_);
}
+ if (installOpsAgent_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, installOpsAgent_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -8837,6 +8894,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate) obj;
if (getInstallGpuDrivers() != other.getInstallGpuDrivers()) return false;
+ if (getInstallOpsAgent() != other.getInstallOpsAgent()) return false;
if (!getPolicyTemplateCase().equals(other.getPolicyTemplateCase())) return false;
switch (policyTemplateCase_) {
case 1:
@@ -8861,6 +8919,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + INSTALL_GPU_DRIVERS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInstallGpuDrivers());
+ hash = (37 * hash) + INSTALL_OPS_AGENT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInstallOpsAgent());
switch (policyTemplateCase_) {
case 1:
hash = (37 * hash) + POLICY_FIELD_NUMBER;
@@ -9024,6 +9084,7 @@ public Builder clear() {
policyBuilder_.clear();
}
installGpuDrivers_ = false;
+ installOpsAgent_ = false;
policyTemplateCase_ = 0;
policyTemplate_ = null;
return this;
@@ -9069,6 +9130,9 @@ private void buildPartial0(
if (((from_bitField0_ & 0x00000004) != 0)) {
result.installGpuDrivers_ = installGpuDrivers_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.installOpsAgent_ = installOpsAgent_;
+ }
}
private void buildPartialOneofs(
@@ -9134,6 +9198,9 @@ public Builder mergeFrom(
if (other.getInstallGpuDrivers() != false) {
setInstallGpuDrivers(other.getInstallGpuDrivers());
}
+ if (other.getInstallOpsAgent() != false) {
+ setInstallOpsAgent(other.getInstallOpsAgent());
+ }
switch (other.getPolicyTemplateCase()) {
case POLICY:
{
@@ -9197,6 +9264,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 24
+ case 32:
+ {
+ installOpsAgent_ = input.readBool();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -9594,9 +9667,9 @@ public Builder setInstanceTemplateBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Set this field true if users want Batch to help fetch drivers from a
- * third party location and install them for GPUs specified in
- * policy.accelerators or instance_template on their behalf. Default is
+ * Set this field true if you want Batch to help fetch drivers from a third
+ * party location and install them for GPUs specified in
+ * `policy.accelerators` or `instance_template` on your behalf. Default is
* false.
*
* For Container-Optimized Image cases, Batch will install the
@@ -9618,9 +9691,9 @@ public boolean getInstallGpuDrivers() {
*
*
*
- * Set this field true if users want Batch to help fetch drivers from a
- * third party location and install them for GPUs specified in
- * policy.accelerators or instance_template on their behalf. Default is
+ * Set this field true if you want Batch to help fetch drivers from a third
+ * party location and install them for GPUs specified in
+ * `policy.accelerators` or `instance_template` on your behalf. Default is
* false.
*
* For Container-Optimized Image cases, Batch will install the
@@ -9646,9 +9719,9 @@ public Builder setInstallGpuDrivers(boolean value) {
*
*
*
- * Set this field true if users want Batch to help fetch drivers from a
- * third party location and install them for GPUs specified in
- * policy.accelerators or instance_template on their behalf. Default is
+ * Set this field true if you want Batch to help fetch drivers from a third
+ * party location and install them for GPUs specified in
+ * `policy.accelerators` or `instance_template` on your behalf. Default is
* false.
*
* For Container-Optimized Image cases, Batch will install the
@@ -9669,6 +9742,62 @@ public Builder clearInstallGpuDrivers() {
return this;
}
+ private boolean installOpsAgent_;
+ /**
+ *
+ *
+ *
+ * Optional. Set this field true if you want Batch to install Ops Agent on
+ * your behalf. Default is false.
+ *
+ *
+ * bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The installOpsAgent.
+ */
+ @java.lang.Override
+ public boolean getInstallOpsAgent() {
+ return installOpsAgent_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Set this field true if you want Batch to install Ops Agent on
+ * your behalf. Default is false.
+ *
+ *
+ * bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The installOpsAgent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInstallOpsAgent(boolean value) {
+
+ installOpsAgent_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Set this field true if you want Batch to install Ops Agent on
+ * your behalf. Default is false.
+ *
+ *
+ * bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInstallOpsAgent() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ installOpsAgent_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotification.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotification.java
index bd81844d374a..f18cdb816bc9 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotification.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotification.java
@@ -1198,11 +1198,19 @@ public com.google.cloud.batch.v1.JobNotification.Message getDefaultInstanceForTy
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1225,11 +1233,19 @@ public java.lang.String getPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1691,11 +1707,19 @@ public Builder mergeFrom(
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1717,11 +1741,19 @@ public java.lang.String getPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1743,11 +1775,19 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1768,11 +1808,19 @@ public Builder setPubsubTopic(java.lang.String value) {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1789,11 +1837,19 @@ public Builder clearPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotificationOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotificationOrBuilder.java
index 52a78bcf5c7a..74891c042da2 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotificationOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobNotificationOrBuilder.java
@@ -28,11 +28,19 @@ public interface JobNotificationOrBuilder
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -44,11 +52,19 @@ public interface JobNotificationOrBuilder
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
index 67605de683be..6f7275f349e1 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
@@ -195,7 +195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "sk_state\030\003 \001(\0162\'.google.cloud.batch.v1.T"
+ "askStatus.State\"K\n\004Type\022\024\n\020TYPE_UNSPECIF"
+ "IED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TASK_STA"
- + "TE_CHANGED\020\002\"\274\016\n\020AllocationPolicy\022H\n\010loc"
+ + "TE_CHANGED\020\002\"\334\016\n\020AllocationPolicy\022H\n\010loc"
+ "ation\030\001 \001(\01326.google.cloud.batch.v1.Allo"
+ "cationPolicy.LocationPolicy\022S\n\tinstances"
+ "\030\010 \003(\0132@.google.cloud.batch.v1.Allocatio"
@@ -227,42 +227,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ud.batch.v1.AllocationPolicy.Disk\022C\n\005dis"
+ "ks\030\006 \003(\01324.google.cloud.batch.v1.Allocat"
+ "ionPolicy.AttachedDisk\022\030\n\013reservation\030\007 "
- + "\001(\tB\003\340A\001\032\261\001\n\030InstancePolicyOrTemplate\022H\n"
+ + "\001(\tB\003\340A\001\032\321\001\n\030InstancePolicyOrTemplate\022H\n"
+ "\006policy\030\001 \001(\01326.google.cloud.batch.v1.Al"
+ "locationPolicy.InstancePolicyH\000\022\033\n\021insta"
+ "nce_template\030\002 \001(\tH\000\022\033\n\023install_gpu_driv"
- + "ers\030\003 \001(\010B\021\n\017policy_template\032W\n\020NetworkI"
- + "nterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030"
- + "\002 \001(\t\022\036\n\026no_external_ip_address\030\003 \001(\010\032e\n"
- + "\rNetworkPolicy\022T\n\022network_interfaces\030\001 \003"
- + "(\01328.google.cloud.batch.v1.AllocationPol"
- + "icy.NetworkInterface\032<\n\017PlacementPolicy\022"
- + "\023\n\013collocation\030\001 \001(\t\022\024\n\014max_distance\030\002 \001"
- + "(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\"`\n\021ProvisioningModel\022\"\n\036PROVIS"
- + "IONING_MODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001"
- + "\022\010\n\004SPOT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\313\004\n\tTaskGrou"
- + "p\022\021\n\004name\030\001 \001(\tB\003\340A\003\0227\n\ttask_spec\030\003 \001(\0132"
- + "\037.google.cloud.batch.v1.TaskSpecB\003\340A\002\022\022\n"
- + "\ntask_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022L"
- + "\n\021scheduling_policy\030\006 \001(\01621.google.cloud"
- + ".batch.v1.TaskGroup.SchedulingPolicy\022=\n\021"
- + "task_environments\030\t \003(\0132\".google.cloud.b"
- + "atch.v1.Environment\022\033\n\023task_count_per_no"
- + "de\030\n \001(\003\022\032\n\022require_hosts_file\030\013 \001(\010\022\026\n\016"
- + "permissive_ssh\030\014 \001(\010\022\034\n\017run_as_non_root\030"
- + "\016 \001(\010B\003\340A\001\"\\\n\020SchedulingPolicy\022!\n\035SCHEDU"
- + "LING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_"
- + "POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.goo"
- + "gleapis.com/TaskGroup\022Jprojects/{project"
- + "}/locations/{location}/jobs/{job}/taskGr"
- + "oups/{task_group}\"/\n\016ServiceAccount\022\r\n\005e"
- + "mail\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\251\001\n\031com.googl"
- + "e.cloud.batch.v1B\010JobProtoP\001Z/cloud.goog"
- + "le.com/go/batch/apiv1/batchpb;batchpb\242\002\003"
- + "GCB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Clo"
- + "ud\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b\006"
- + "proto3"
+ + "ers\030\003 \001(\010\022\036\n\021install_ops_agent\030\004 \001(\010B\003\340A"
+ + "\001B\021\n\017policy_template\032W\n\020NetworkInterface"
+ + "\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022\036\n"
+ + "\026no_external_ip_address\030\003 \001(\010\032e\n\rNetwork"
+ + "Policy\022T\n\022network_interfaces\030\001 \003(\01328.goo"
+ + "gle.cloud.batch.v1.AllocationPolicy.Netw"
+ + "orkInterface\032<\n\017PlacementPolicy\022\023\n\013collo"
+ + "cation\030\001 \001(\t\022\024\n\014max_distance\030\002 \001(\003\032-\n\013La"
+ + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
+ + "\001\"`\n\021ProvisioningModel\022\"\n\036PROVISIONING_M"
+ + "ODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT"
+ + "\020\002\022\017\n\013PREEMPTIBLE\020\003\"\313\004\n\tTaskGroup\022\021\n\004nam"
+ + "e\030\001 \001(\tB\003\340A\003\0227\n\ttask_spec\030\003 \001(\0132\037.google"
+ + ".cloud.batch.v1.TaskSpecB\003\340A\002\022\022\n\ntask_co"
+ + "unt\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022L\n\021schedu"
+ + "ling_policy\030\006 \001(\01621.google.cloud.batch.v"
+ + "1.TaskGroup.SchedulingPolicy\022=\n\021task_env"
+ + "ironments\030\t \003(\0132\".google.cloud.batch.v1."
+ + "Environment\022\033\n\023task_count_per_node\030\n \001(\003"
+ + "\022\032\n\022require_hosts_file\030\013 \001(\010\022\026\n\016permissi"
+ + "ve_ssh\030\014 \001(\010\022\034\n\017run_as_non_root\030\016 \001(\010B\003\340"
+ + "A\001\"\\\n\020SchedulingPolicy\022!\n\035SCHEDULING_POL"
+ + "ICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBLE"
+ + "\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.googleapis."
+ + "com/TaskGroup\022Jprojects/{project}/locati"
+ + "ons/{location}/jobs/{job}/taskGroups/{ta"
+ + "sk_group}\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001"
+ + "(\t\022\016\n\006scopes\030\002 \003(\tB\251\001\n\031com.google.cloud."
+ + "batch.v1B\010JobProtoP\001Z/cloud.google.com/g"
+ + "o/batch/apiv1/batchpb;batchpb\242\002\003GCB\252\002\025Go"
+ + "ogle.Cloud.Batch.V1\312\002\025Google\\Cloud\\Batch"
+ + "\\V1\352\002\030Google::Cloud::Batch::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -433,7 +433,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_batch_v1_AllocationPolicy_InstancePolicyOrTemplate_descriptor,
new java.lang.String[] {
- "Policy", "InstanceTemplate", "InstallGpuDrivers", "PolicyTemplate",
+ "Policy",
+ "InstanceTemplate",
+ "InstallGpuDrivers",
+ "InstallOpsAgent",
+ "PolicyTemplate",
});
internal_static_google_cloud_batch_v1_AllocationPolicy_NetworkInterface_descriptor =
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor.getNestedTypes().get(6);
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecution.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecution.java
index 31a5835cb532..149d6dc0b186 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecution.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecution.java
@@ -74,12 +74,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* due to the following reasons, the exit code will be 50000.
*
* Otherwise, it can be from different sources:
- * - Batch known failures as
+ * * Batch known failures:
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- * - Batch runnable execution failures: You can rely on Batch logs for further
- * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- * If there are multiple runnables failures, Batch only exposes the first
- * error caught for now.
+ * * Batch runnable execution failures; you can rely on Batch logs to further
+ * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ * there are multiple runnables failures, Batch only exposes the first error.
*
*
* int32 exit_code = 1;
@@ -441,12 +440,11 @@ public Builder mergeFrom(
* due to the following reasons, the exit code will be 50000.
*
* Otherwise, it can be from different sources:
- * - Batch known failures as
+ * * Batch known failures:
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- * - Batch runnable execution failures: You can rely on Batch logs for further
- * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- * If there are multiple runnables failures, Batch only exposes the first
- * error caught for now.
+ * * Batch runnable execution failures; you can rely on Batch logs to further
+ * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ * there are multiple runnables failures, Batch only exposes the first error.
*
*
* int32 exit_code = 1;
@@ -467,12 +465,11 @@ public int getExitCode() {
* due to the following reasons, the exit code will be 50000.
*
* Otherwise, it can be from different sources:
- * - Batch known failures as
+ * * Batch known failures:
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- * - Batch runnable execution failures: You can rely on Batch logs for further
- * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- * If there are multiple runnables failures, Batch only exposes the first
- * error caught for now.
+ * * Batch runnable execution failures; you can rely on Batch logs to further
+ * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ * there are multiple runnables failures, Batch only exposes the first error.
*
*
* int32 exit_code = 1;
@@ -497,12 +494,11 @@ public Builder setExitCode(int value) {
* due to the following reasons, the exit code will be 50000.
*
* Otherwise, it can be from different sources:
- * - Batch known failures as
+ * * Batch known failures:
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- * - Batch runnable execution failures: You can rely on Batch logs for further
- * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- * If there are multiple runnables failures, Batch only exposes the first
- * error caught for now.
+ * * Batch runnable execution failures; you can rely on Batch logs to further
+ * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ * there are multiple runnables failures, Batch only exposes the first error.
*
*
* int32 exit_code = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecutionOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecutionOrBuilder.java
index d49b68bb2d37..945532e6767e 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecutionOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskExecutionOrBuilder.java
@@ -34,12 +34,11 @@ public interface TaskExecutionOrBuilder
* due to the following reasons, the exit code will be 50000.
*
* Otherwise, it can be from different sources:
- * - Batch known failures as
+ * * Batch known failures:
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- * - Batch runnable execution failures: You can rely on Batch logs for further
- * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- * If there are multiple runnables failures, Batch only exposes the first
- * error caught for now.
+ * * Batch runnable execution failures; you can rely on Batch logs to further
+ * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ * there are multiple runnables failures, Batch only exposes the first error.
*
*
* int32 exit_code = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpec.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpec.java
index 39385786d54a..88d4ee1f721d 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpec.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpec.java
@@ -250,10 +250,15 @@ public com.google.cloud.batch.v1.ComputeResourceOrBuilder getComputeResourceOrBu
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -268,10 +273,15 @@ public boolean hasMaxRunDuration() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -288,10 +298,15 @@ public com.google.protobuf.Duration getMaxRunDuration() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2080,10 +2095,15 @@ public com.google.cloud.batch.v1.ComputeResourceOrBuilder getComputeResourceOrBu
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2097,10 +2117,15 @@ public boolean hasMaxRunDuration() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2120,10 +2145,15 @@ public com.google.protobuf.Duration getMaxRunDuration() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2145,10 +2175,15 @@ public Builder setMaxRunDuration(com.google.protobuf.Duration value) {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2167,10 +2202,15 @@ public Builder setMaxRunDuration(com.google.protobuf.Duration.Builder builderFor
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2197,10 +2237,15 @@ public Builder mergeMaxRunDuration(com.google.protobuf.Duration value) {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2219,10 +2264,15 @@ public Builder clearMaxRunDuration() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2236,10 +2286,15 @@ public com.google.protobuf.Duration.Builder getMaxRunDurationBuilder() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -2257,10 +2312,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRunDurationOrBuilder() {
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpecOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpecOrBuilder.java
index 7b35f2ab6c2c..555f21daf2a1 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpecOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskSpecOrBuilder.java
@@ -159,10 +159,15 @@ public interface TaskSpecOrBuilder
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -174,10 +179,15 @@ public interface TaskSpecOrBuilder
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
@@ -189,10 +199,15 @@ public interface TaskSpecOrBuilder
*
*
*
- * Maximum duration the task should run.
- * The task will be killed and marked as FAILED if over this limit.
- * The valid value range for max_run_duration in seconds is [0,
- * 315576000000.999999999],
+ * Maximum duration the task should run before being automatically retried
+ * (if enabled) or automatically failed. Format the value of this field
+ * as a time limit in seconds followed by `s`—for example, `3600s`
+ * for 1 hour. The field accepts any value between 0 and the maximum listed
+ * for the `Duration` field type at
+ * https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ * the actual maximum run time for a job will be limited to the maximum run
+ * time for a job listed at
+ * https://cloud.google.com/batch/quotas#max-job-duration.
*
*
* .google.protobuf.Duration max_run_duration = 4;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Volume.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Volume.java
index a0330d1dc8b5..fea3c2f87a1c 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Volume.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Volume.java
@@ -362,15 +362,19 @@ public com.google.protobuf.ByteString getMountPathBytes() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -384,15 +388,19 @@ public com.google.protobuf.ProtocolStringList getMountOptionsList() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -406,15 +414,19 @@ public int getMountOptionsCount() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -429,15 +441,19 @@ public java.lang.String getMountOptions(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1657,15 +1673,19 @@ private void ensureMountOptionsIsMutable() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1680,15 +1700,19 @@ public com.google.protobuf.ProtocolStringList getMountOptionsList() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1702,15 +1726,19 @@ public int getMountOptionsCount() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1725,15 +1753,19 @@ public java.lang.String getMountOptions(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1748,15 +1780,19 @@ public com.google.protobuf.ByteString getMountOptionsBytes(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1779,15 +1815,19 @@ public Builder setMountOptions(int index, java.lang.String value) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1809,15 +1849,19 @@ public Builder addMountOptions(java.lang.String value) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1836,15 +1880,19 @@ public Builder addAllMountOptions(java.lang.Iterable
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1862,15 +1910,19 @@ public Builder clearMountOptions() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeOrBuilder.java
index ba830253f7a6..469cecaf5884 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeOrBuilder.java
@@ -175,15 +175,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -195,15 +199,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -215,15 +223,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -236,15 +248,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto
index 67b486d3e58e..194fb056059c 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto
@@ -233,11 +233,19 @@ message JobNotification {
TASK_STATE_CHANGED = 2;
}
- // The Pub/Sub topic where notifications like the job state changes
- // will be published. The topic must exist in the same project as
- // the job and billings will be charged to this project.
- // If not specified, no Pub/Sub messages will be sent.
- // Topic format: `projects/{project}/topics/{topic}`.
+ // The Pub/Sub topic where notifications for the job, like state
+ // changes, will be published. If undefined, no Pub/Sub notifications
+ // are sent for this job.
+ //
+ // Specify the topic using the following format:
+ // `projects/{project}/topics/{topic}`.
+ // Notably, if you want to specify a Pub/Sub topic that is in a
+ // different project than the job, your administrator must grant your
+ // project's Batch service agent permission to publish to that topic.
+ //
+ // For more information about configuring Pub/Sub notifications for
+ // a job, see
+ // https://cloud.google.com/batch/docs/enable-notifications.
string pubsub_topic = 1;
// The attribute requirements of messages to be sent to this Pub/Sub topic.
@@ -299,7 +307,9 @@ message AllocationPolicy {
// Disk type as shown in `gcloud compute disk-types list`.
// For example, local SSD uses type "local-ssd".
// Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- // or "pd-standard".
+ // or "pd-standard". If not specified, "pd-standard" will be used as the
+ // default type for non-boot disks, "pd-balanced" will be used as the
+ // default type for boot disks.
string type = 1;
// Disk size in GB.
@@ -419,9 +429,9 @@ message AllocationPolicy {
string instance_template = 2;
}
- // Set this field true if users want Batch to help fetch drivers from a
- // third party location and install them for GPUs specified in
- // policy.accelerators or instance_template on their behalf. Default is
+ // Set this field true if you want Batch to help fetch drivers from a third
+ // party location and install them for GPUs specified in
+ // `policy.accelerators` or `instance_template` on your behalf. Default is
// false.
//
// For Container-Optimized Image cases, Batch will install the
@@ -430,6 +440,10 @@ message AllocationPolicy {
// non Container-Optimized Image cases, following
// https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
bool install_gpu_drivers = 3;
+
+ // Optional. Set this field true if you want Batch to install Ops Agent on
+ // your behalf. Default is false.
+ bool install_ops_agent = 4 [(google.api.field_behavior) = OPTIONAL];
}
// A network interface.
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
index 3b5f6d03fa94..f38d7c0c2478 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
@@ -108,12 +108,11 @@ message TaskExecution {
// due to the following reasons, the exit code will be 50000.
//
// Otherwise, it can be from different sources:
- // - Batch known failures as
+ // * Batch known failures:
// https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
- // - Batch runnable execution failures: You can rely on Batch logs for further
- // diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
- // If there are multiple runnables failures, Batch only exposes the first
- // error caught for now.
+ // * Batch runnable execution failures; you can rely on Batch logs to further
+ // diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If
+ // there are multiple runnables failures, Batch only exposes the first error.
int32 exit_code = 1;
}
@@ -341,10 +340,15 @@ message TaskSpec {
// ComputeResource requirements.
ComputeResource compute_resource = 3;
- // Maximum duration the task should run.
- // The task will be killed and marked as FAILED if over this limit.
- // The valid value range for max_run_duration in seconds is [0,
- // 315576000000.999999999],
+ // Maximum duration the task should run before being automatically retried
+ // (if enabled) or automatically failed. Format the value of this field
+ // as a time limit in seconds followed by `s`—for example, `3600s`
+ // for 1 hour. The field accepts any value between 0 and the maximum listed
+ // for the `Duration` field type at
+ // https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however,
+ // the actual maximum run time for a job will be limited to the maximum run
+ // time for a job listed at
+ // https://cloud.google.com/batch/quotas#max-job-duration.
google.protobuf.Duration max_run_duration = 4;
// Maximum number of retries on failures.
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto
index 2c7aef1b64c4..9bf8126f6340 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto
@@ -47,15 +47,19 @@ message Volume {
// The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;
- // For Google Cloud Storage (GCS), mount options are the options supported by
- // the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- // For existing persistent disks, mount options provided by the
- // mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- // writing are supported. This is due to restrictions of multi-writer mode
- // (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- // For other attached disks and Network File System (NFS), mount options are
- // these supported by the mount command
- // (https://man7.org/linux/man-pages/man8/mount.8.html).
+ // Mount options vary based on the type of storage volume:
+ //
+ // * For a Cloud Storage bucket, all the mount options provided
+ // by
+ // the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ // are supported.
+ // * For an existing persistent disk, all mount options provided by the
+ // [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ // except writing are supported. This is due to restrictions of
+ // [multi-writer
+ // mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ // * For any other disk or a Network File System (NFS), all the
+ // mount options provided by the `mount` command are supported.
repeated string mount_options = 5;
}
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/pom.xml b/java-batch/proto-google-cloud-batch-v1alpha/pom.xml
index 3b639f962a30..70c4d7cc9a9a 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/pom.xml
+++ b/java-batch/proto-google-cloud-batch-v1alpha/pom.xml
@@ -4,13 +4,13 @@
string type = 1;
@@ -1758,7 +1760,9 @@ public interface DiskOrBuilder
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2129,7 +2133,9 @@ public com.google.protobuf.ByteString getSnapshotBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -2155,7 +2161,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -3129,7 +3137,9 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -3154,7 +3164,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -3179,7 +3191,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -3203,7 +3217,9 @@ public Builder setType(java.lang.String value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -3223,7 +3239,9 @@ public Builder clearType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- * or "pd-standard".
+ * or "pd-standard". If not specified, "pd-standard" will be used as the
+ * default type for non-boot disks, "pd-balanced" will be used as the
+ * default type for boot disks.
*
*
* string type = 1;
@@ -4848,7 +4866,7 @@ public interface AcceleratorOrBuilder
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=424
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -5019,7 +5037,7 @@ public long getCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=424
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5684,7 +5702,7 @@ public Builder clearCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=424
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5702,7 +5720,7 @@ public boolean getInstallGpuDrivers() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=424
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5724,7 +5742,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=424
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5951,7 +5969,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5966,7 +5984,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5981,7 +5999,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -5997,7 +6015,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -6352,7 +6370,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6369,7 +6387,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6386,7 +6404,7 @@ public int getAllowedMachineTypesCount() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -6404,7 +6422,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7516,7 +7534,7 @@ private void ensureAllowedMachineTypesIsMutable() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7535,7 +7553,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7553,7 +7571,7 @@ public int getAllowedMachineTypesCount() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -7572,7 +7590,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7591,7 +7609,7 @@ public com.google.protobuf.ByteString getAllowedMachineTypesBytes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param index The index to set the value at.
* @param value The allowedMachineTypes to set.
* @return This builder for chaining.
@@ -7618,7 +7636,7 @@ public Builder setAllowedMachineTypes(int index, java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param value The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7644,7 +7662,7 @@ public Builder addAllowedMachineTypes(java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=440
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=450
* @param values The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7667,7 +7685,7 @@ public Builder addAllAllowedMachineTypes(java.lang.Iterablerepeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -13943,7 +13961,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -13960,7 +13978,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -13978,7 +13996,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -14019,7 +14037,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the provisioningModels.
*/
@java.lang.Override
@@ -14042,7 +14060,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return The count of provisioningModels.
*/
@java.lang.Override
@@ -14062,7 +14080,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -14084,7 +14102,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Override
@@ -14104,7 +14122,7 @@ public java.util.Liststring service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return The serviceAccountEmail.
*/
@java.lang.Override
@@ -14156,7 +14174,7 @@ public java.lang.String getServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Override
@@ -15573,7 +15591,7 @@ public Builder clearLocation() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=584
+ * google/cloud/batch/v1alpha/job.proto;l=594
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -15592,7 +15610,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=584
+ * google/cloud/batch/v1alpha/job.proto;l=594
* @return The instance.
*/
@java.lang.Deprecated
@@ -16227,7 +16245,7 @@ private void ensureInstanceTemplatesIsMutable() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -16245,7 +16263,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -16262,7 +16280,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -16280,7 +16298,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -16298,7 +16316,7 @@ public com.google.protobuf.ByteString getInstanceTemplatesBytes(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index to set the value at.
* @param value The instanceTemplates to set.
* @return This builder for chaining.
@@ -16324,7 +16342,7 @@ public Builder setInstanceTemplates(int index, java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param value The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16349,7 +16367,7 @@ public Builder addInstanceTemplates(java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param values The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16371,7 +16389,7 @@ public Builder addAllInstanceTemplates(java.lang.Iterablerepeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16392,7 +16410,7 @@ public Builder clearInstanceTemplates() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param value The bytes of the instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16430,7 +16448,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -16452,7 +16470,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -16471,7 +16489,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -16492,7 +16510,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @param index The index to set the value at.
* @param value The provisioningModels to set.
* @return This builder for chaining.
@@ -16520,7 +16538,7 @@ public Builder setProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @param value The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16547,7 +16565,7 @@ public Builder addProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @param values The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16575,7 +16593,7 @@ public Builder addAllProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16597,7 +16615,7 @@ public Builder clearProvisioningModels() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=594
+ * See google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -16616,7 +16634,7 @@ public java.util.Liststring service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -16758,7 +16776,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @param value The serviceAccountEmail to set.
* @return This builder for chaining.
*/
@@ -16782,7 +16800,7 @@ public Builder setServiceAccountEmail(java.lang.String value) {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16802,7 +16820,7 @@ public Builder clearServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @param value The bytes for serviceAccountEmail to set.
* @return This builder for chaining.
*/
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
index 74411469ae70..28faa53a0626 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
@@ -71,7 +71,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=584
+ * google/cloud/batch/v1alpha/job.proto;l=594
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -88,7 +88,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=584
+ * google/cloud/batch/v1alpha/job.proto;l=594
* @return The instance.
*/
@java.lang.Deprecated
@@ -188,7 +188,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -203,7 +203,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -218,7 +218,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -234,7 +234,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=591
+ * google/cloud/batch/v1alpha/job.proto;l=601
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -253,7 +253,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -271,7 +271,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -288,7 +288,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -307,7 +307,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -324,7 +324,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=594
+ * google/cloud/batch/v1alpha/job.proto;l=604
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
@@ -341,7 +341,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return The serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -356,7 +356,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=597
+ * See google/cloud/batch/v1alpha/job.proto;l=607
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotification.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotification.java
index f4da76ef22da..071b000ef1ad 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotification.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotification.java
@@ -1209,11 +1209,19 @@ public com.google.cloud.batch.v1alpha.JobNotification.Message getDefaultInstance
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1236,11 +1244,19 @@ public java.lang.String getPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1702,11 +1718,19 @@ public Builder mergeFrom(
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1728,11 +1752,19 @@ public java.lang.String getPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1754,11 +1786,19 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1779,11 +1819,19 @@ public Builder setPubsubTopic(java.lang.String value) {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -1800,11 +1848,19 @@ public Builder clearPubsubTopic() {
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotificationOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotificationOrBuilder.java
index 6446feb066c4..f0768635b2c4 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotificationOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobNotificationOrBuilder.java
@@ -28,11 +28,19 @@ public interface JobNotificationOrBuilder
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
@@ -44,11 +52,19 @@ public interface JobNotificationOrBuilder
*
*
*
- * The Pub/Sub topic where notifications like the job state changes
- * will be published. The topic must exist in the same project as
- * the job and billings will be charged to this project.
- * If not specified, no Pub/Sub messages will be sent.
- * Topic format: `projects/{project}/topics/{topic}`.
+ * The Pub/Sub topic where notifications for the job, like state
+ * changes, will be published. If undefined, no Pub/Sub notifications
+ * are sent for this job.
+ *
+ * Specify the topic using the following format:
+ * `projects/{project}/topics/{topic}`.
+ * Notably, if you want to specify a Pub/Sub topic that is in a
+ * different project than the job, your administrator must grant your
+ * project's Batch service agent permission to publish to that topic.
+ *
+ * For more information about configuring Pub/Sub notifications for
+ * a job, see
+ * https://cloud.google.com/batch/docs/enable-notifications.
*
*
* string pubsub_topic = 1;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PD.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PD.java
index 1d618af8e81a..999954f4cd7e 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PD.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PD.java
@@ -181,7 +181,7 @@ public com.google.protobuf.ByteString getDeviceBytes() {
* bool existing = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.PD.existing is deprecated. See
- * google/cloud/batch/v1alpha/volume.proto;l=85
+ * google/cloud/batch/v1alpha/volume.proto;l=89
* @return The existing.
*/
@java.lang.Override
@@ -800,7 +800,7 @@ public Builder setDeviceBytes(com.google.protobuf.ByteString value) {
* bool existing = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.PD.existing is deprecated. See
- * google/cloud/batch/v1alpha/volume.proto;l=85
+ * google/cloud/batch/v1alpha/volume.proto;l=89
* @return The existing.
*/
@java.lang.Override
@@ -821,7 +821,7 @@ public boolean getExisting() {
* bool existing = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.PD.existing is deprecated. See
- * google/cloud/batch/v1alpha/volume.proto;l=85
+ * google/cloud/batch/v1alpha/volume.proto;l=89
* @param value The existing to set.
* @return This builder for chaining.
*/
@@ -846,7 +846,7 @@ public Builder setExisting(boolean value) {
* bool existing = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.PD.existing is deprecated. See
- * google/cloud/batch/v1alpha/volume.proto;l=85
+ * google/cloud/batch/v1alpha/volume.proto;l=89
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PDOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PDOrBuilder.java
index 8a1233347101..c2c40307e25d 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PDOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/PDOrBuilder.java
@@ -87,7 +87,7 @@ public interface PDOrBuilder
* bool existing = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.PD.existing is deprecated. See
- * google/cloud/batch/v1alpha/volume.proto;l=85
+ * google/cloud/batch/v1alpha/volume.proto;l=89
* @return The existing.
*/
@java.lang.Deprecated
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Volume.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Volume.java
index 016ed339303b..a2b0c9e84605 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Volume.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Volume.java
@@ -425,15 +425,19 @@ public com.google.protobuf.ByteString getMountPathBytes() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -447,15 +451,19 @@ public com.google.protobuf.ProtocolStringList getMountOptionsList() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -469,15 +477,19 @@ public int getMountOptionsCount() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -492,15 +504,19 @@ public java.lang.String getMountOptions(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1976,15 +1992,19 @@ private void ensureMountOptionsIsMutable() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -1999,15 +2019,19 @@ public com.google.protobuf.ProtocolStringList getMountOptionsList() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2021,15 +2045,19 @@ public int getMountOptionsCount() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2044,15 +2072,19 @@ public java.lang.String getMountOptions(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2067,15 +2099,19 @@ public com.google.protobuf.ByteString getMountOptionsBytes(int index) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2098,15 +2134,19 @@ public Builder setMountOptions(int index, java.lang.String value) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2128,15 +2168,19 @@ public Builder addMountOptions(java.lang.String value) {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2155,15 +2199,19 @@ public Builder addAllMountOptions(java.lang.Iterable
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -2181,15 +2229,19 @@ public Builder clearMountOptions() {
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeOrBuilder.java
index 3b61db001b30..7c9bc6213947 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeOrBuilder.java
@@ -217,15 +217,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -237,15 +241,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -257,15 +265,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
@@ -278,15 +290,19 @@ public interface VolumeOrBuilder
*
*
*
- * For Google Cloud Storage (GCS), mount options are the options supported by
- * the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- * For existing persistent disks, mount options provided by the
- * mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- * writing are supported. This is due to restrictions of multi-writer mode
- * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- * For other attached disks and Network File System (NFS), mount options are
- * these supported by the mount command
- * (https://man7.org/linux/man-pages/man8/mount.8.html).
+ * Mount options vary based on the type of storage volume:
+ *
+ * * For a Cloud Storage bucket, all the mount options provided
+ * by
+ * the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ * are supported.
+ * * For an existing persistent disk, all mount options provided by the
+ * [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ * except writing are supported. This is due to restrictions of
+ * [multi-writer
+ * mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ * * For any other disk or a Network File System (NFS), all the
+ * mount options provided by the `mount` command are supported.
*
*
* repeated string mount_options = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
index 253adfdc0b23..7d9ea0396506 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
@@ -292,11 +292,19 @@ message JobNotification {
TASK_STATE_CHANGED = 2;
}
- // The Pub/Sub topic where notifications like the job state changes
- // will be published. The topic must exist in the same project as
- // the job and billings will be charged to this project.
- // If not specified, no Pub/Sub messages will be sent.
- // Topic format: `projects/{project}/topics/{topic}`.
+ // The Pub/Sub topic where notifications for the job, like state
+ // changes, will be published. If undefined, no Pub/Sub notifications
+ // are sent for this job.
+ //
+ // Specify the topic using the following format:
+ // `projects/{project}/topics/{topic}`.
+ // Notably, if you want to specify a Pub/Sub topic that is in a
+ // different project than the job, your administrator must grant your
+ // project's Batch service agent permission to publish to that topic.
+ //
+ // For more information about configuring Pub/Sub notifications for
+ // a job, see
+ // https://cloud.google.com/batch/docs/enable-notifications.
string pubsub_topic = 1;
// The attribute requirements of messages to be sent to this Pub/Sub topic.
@@ -363,7 +371,9 @@ message AllocationPolicy {
// Disk type as shown in `gcloud compute disk-types list`.
// For example, local SSD uses type "local-ssd".
// Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
- // or "pd-standard".
+ // or "pd-standard". If not specified, "pd-standard" will be used as the
+ // default type for non-boot disks, "pd-balanced" will be used as the
+ // default type for boot disks.
string type = 1;
// Disk size in GB.
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto
index e6632d3add48..9256ef6faa4f 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto
@@ -50,15 +50,19 @@ message Volume {
// The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;
- // For Google Cloud Storage (GCS), mount options are the options supported by
- // the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
- // For existing persistent disks, mount options provided by the
- // mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
- // writing are supported. This is due to restrictions of multi-writer mode
- // (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
- // For other attached disks and Network File System (NFS), mount options are
- // these supported by the mount command
- // (https://man7.org/linux/man-pages/man8/mount.8.html).
+ // Mount options vary based on the type of storage volume:
+ //
+ // * For a Cloud Storage bucket, all the mount options provided
+ // by
+ // the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli)
+ // are supported.
+ // * For an existing persistent disk, all mount options provided by the
+ // [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html)
+ // except writing are supported. This is due to restrictions of
+ // [multi-writer
+ // mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
+ // * For any other disk or a Network File System (NFS), all the
+ // mount options provided by the `mount` command are supported.
repeated string mount_options = 5;
}
diff --git a/java-beyondcorp-appconnections/CHANGELOG.md b/java-beyondcorp-appconnections/CHANGELOG.md
index 9d71834890c8..857f35ff91d4 100644
--- a/java-beyondcorp-appconnections/CHANGELOG.md
+++ b/java-beyondcorp-appconnections/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## 0.44.0 (2024-06-27)
+
+* No change
+
+
## 0.43.0 (None)
* No change
diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md
index c4b11109e75f..5845b4928876 100644
--- a/java-beyondcorp-appconnections/README.md
+++ b/java-beyondcorp-appconnections/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -101,7 +101,7 @@ public java.lang.String getParent() {
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -866,7 +866,7 @@ public Builder mergeFrom(
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -891,7 +891,7 @@ public java.lang.String getParent() {
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -940,7 +940,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -960,7 +960,7 @@ public Builder clearParent() {
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListSkusRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListSkusRequestOrBuilder.java
index 5bd89f1020c5..767d289d3aac 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListSkusRequestOrBuilder.java
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListSkusRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface ListSkusRequestOrBuilder
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
@@ -44,7 +44,7 @@ public interface ListSkusRequestOrBuilder
*
*
* Required. The name of the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
*
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Service.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Service.java
index b09a0cf23357..ef2c9a59fc65 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Service.java
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Service.java
@@ -75,7 +75,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -99,7 +99,7 @@ public java.lang.String getName() {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -128,7 +128,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -152,7 +152,7 @@ public java.lang.String getServiceId() {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -692,7 +692,7 @@ public Builder mergeFrom(
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -715,7 +715,7 @@ public java.lang.String getName() {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -738,7 +738,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -760,7 +760,7 @@ public Builder setName(java.lang.String value) {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -778,7 +778,7 @@ public Builder clearName() {
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -803,7 +803,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -826,7 +826,7 @@ public java.lang.String getServiceId() {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -849,7 +849,7 @@ public com.google.protobuf.ByteString getServiceIdBytes() {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -871,7 +871,7 @@ public Builder setServiceId(java.lang.String value) {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -889,7 +889,7 @@ public Builder clearServiceId() {
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ServiceOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ServiceOrBuilder.java
index a9f21110bf31..f690cabc9ffb 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ServiceOrBuilder.java
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ServiceOrBuilder.java
@@ -29,7 +29,7 @@ public interface ServiceOrBuilder
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -42,7 +42,7 @@ public interface ServiceOrBuilder
*
*
* The resource name for the service.
- * Example: "services/DA34-426B-A397"
+ * Example: "services/6F81-5844-456A"
*
*
* string name = 1;
@@ -56,7 +56,7 @@ public interface ServiceOrBuilder
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
@@ -69,7 +69,7 @@ public interface ServiceOrBuilder
*
*
* The identifier for the service.
- * Example: "DA34-426B-A397"
+ * Example: "6F81-5844-456A"
*
*
* string service_id = 2;
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Sku.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Sku.java
index 437f1a00531b..d0755ab3501c 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Sku.java
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/Sku.java
@@ -23,7 +23,7 @@
*
*
*
- * Encapsulates a single SKU in Google Cloud Platform
+ * Encapsulates a single SKU in Google Cloud
*
*
* Protobuf type {@code google.cloud.billing.v1.Sku}
@@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -101,7 +101,7 @@ public java.lang.String getName() {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -130,7 +130,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -154,7 +154,7 @@ public java.lang.String getSkuId() {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -766,7 +766,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Encapsulates a single SKU in Google Cloud Platform
+ * Encapsulates a single SKU in Google Cloud
*
*
* Protobuf type {@code google.cloud.billing.v1.Sku}
@@ -1125,7 +1125,7 @@ public Builder mergeFrom(
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -1148,7 +1148,7 @@ public java.lang.String getName() {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -1171,7 +1171,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -1193,7 +1193,7 @@ public Builder setName(java.lang.String value) {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -1211,7 +1211,7 @@ public Builder clearName() {
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -1236,7 +1236,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -1259,7 +1259,7 @@ public java.lang.String getSkuId() {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -1282,7 +1282,7 @@ public com.google.protobuf.ByteString getSkuIdBytes() {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -1304,7 +1304,7 @@ public Builder setSkuId(java.lang.String value) {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -1322,7 +1322,7 @@ public Builder clearSkuId() {
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/SkuOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/SkuOrBuilder.java
index 564e5ba919b3..3f2837242a8e 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/SkuOrBuilder.java
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/SkuOrBuilder.java
@@ -29,7 +29,7 @@ public interface SkuOrBuilder
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -42,7 +42,7 @@ public interface SkuOrBuilder
*
*
* The resource name for the SKU.
- * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ * Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
*
*
* string name = 1;
@@ -56,7 +56,7 @@ public interface SkuOrBuilder
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
@@ -69,7 +69,7 @@ public interface SkuOrBuilder
*
*
* The identifier for the SKU.
- * Example: "AA95-CD31-42FE"
+ * Example: "D041-B8A1-6E0B"
*
*
* string sku_id = 2;
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto
index 6eafe9da439d..5ddcec636fce 100644
--- a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto
+++ b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto
@@ -65,11 +65,11 @@ message Service {
};
// The resource name for the service.
- // Example: "services/DA34-426B-A397"
+ // Example: "services/6F81-5844-456A"
string name = 1;
// The identifier for the service.
- // Example: "DA34-426B-A397"
+ // Example: "6F81-5844-456A"
string service_id = 2;
// A human readable display name for this service.
@@ -80,7 +80,7 @@ message Service {
string business_entity_name = 4;
}
-// Encapsulates a single SKU in Google Cloud Platform
+// Encapsulates a single SKU in Google Cloud
message Sku {
option (google.api.resource) = {
type: "cloudbilling.googleapis.com/Sku"
@@ -88,11 +88,11 @@ message Sku {
};
// The resource name for the SKU.
- // Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ // Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string name = 1;
// The identifier for the SKU.
- // Example: "AA95-CD31-42FE"
+ // Example: "D041-B8A1-6E0B"
string sku_id = 2;
// A human readable description of the SKU, has a maximum length of 256
@@ -313,7 +313,7 @@ message ListServicesResponse {
// Request message for `ListSkus`.
message ListSkusRequest {
// Required. The name of the service.
- // Example: "services/DA34-426B-A397"
+ // Example: "services/6F81-5844-456A"
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-billingbudgets/CHANGELOG.md b/java-billingbudgets/CHANGELOG.md
index 9f5baae1e046..f2d602fd38d3 100644
--- a/java-billingbudgets/CHANGELOG.md
+++ b/java-billingbudgets/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## 2.46.0 (2024-06-27)
+
+* No change
+
+
## 2.45.0 (None)
* No change
diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md
index f2e73b8802b0..d021b51481c4 100644
--- a/java-billingbudgets/README.md
+++ b/java-billingbudgets/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.40.0
+ 26.42.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-billingbudgets
- 2.45.0
+ 2.46.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-billingbudgets:2.45.0'
+implementation 'com.google.cloud:google-cloud-billingbudgets:2.46.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.45.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.46.0"
```
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.44.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.45.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml b/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml
index 92b300490bb7..afe7b8bb0fce 100644
--- a/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml
+++ b/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml
@@ -3,13 +3,13 @@
4.0.0
com.google.cloud
google-cloud-billingbudgets-bom
- 2.45.0
+ 2.46.0
pom
com.google.cloud
google-cloud-pom-parent
- 1.39.0
+ 1.40.0
../../google-cloud-pom-parent/pom.xml
@@ -23,27 +23,27 @@
com.google.cloud
google-cloud-billingbudgets
- 2.45.0
+ 2.46.0
com.google.api.grpc
grpc-google-cloud-billingbudgets-v1beta1
- 0.54.0
+ 0.55.0
com.google.api.grpc
grpc-google-cloud-billingbudgets-v1
- 2.45.0
+ 2.46.0
com.google.api.grpc
proto-google-cloud-billingbudgets-v1beta1
- 0.54.0
+ 0.55.0
com.google.api.grpc
proto-google-cloud-billingbudgets-v1
- 2.45.0
+ 2.46.0
ListAccessApprovalRequests
Lists access requests associated with a workload
Deprecated: Only returns access approval requests directly associated with an assured workload folder.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*Sample code: * @@ -1195,7 +1196,9 @@ public final PartnerPermissions getPartnerPermissions(GetPartnerPermissionsReque * @param parent Required. Parent resource Format: * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( WorkloadName parent) { ListAccessApprovalRequestsRequest request = @@ -1207,7 +1210,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1231,7 +1235,9 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * @param parent Required. Parent resource Format: * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests(String parent) { ListAccessApprovalRequestsRequest request = ListAccessApprovalRequestsRequest.newBuilder().setParent(parent).build(); @@ -1240,7 +1246,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1271,7 +1278,9 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( ListAccessApprovalRequestsRequest request) { return listAccessApprovalRequestsPagedCallable().call(request); @@ -1279,7 +1288,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1311,7 +1321,10 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * } * } * } + * + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final UnaryCallable< ListAccessApprovalRequestsRequest, ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsPagedCallable() { @@ -1320,7 +1333,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code:
*
@@ -1357,7 +1371,10 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests(
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable
ListAccessApprovalRequests
Lists access requests associated with a workload
Deprecated: Only returns access approval requests directly associated with an assured workload folder.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*Sample code: * @@ -1195,9 +1196,11 @@ public final PartnerPermissions getPartnerPermissions(GetPartnerPermissionsReque * } * * @param parent Required. Parent resource Format: - * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload} + * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( WorkloadName parent) { ListAccessApprovalRequestsRequest request = @@ -1209,7 +1212,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1231,9 +1235,11 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * } * * @param parent Required. Parent resource Format: - * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload} + * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests(String parent) { ListAccessApprovalRequestsRequest request = ListAccessApprovalRequestsRequest.newBuilder().setParent(parent).build(); @@ -1242,7 +1248,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1273,7 +1280,9 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( ListAccessApprovalRequestsRequest request) { return listAccessApprovalRequestsPagedCallable().call(request); @@ -1281,7 +1290,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code: * @@ -1313,7 +1323,10 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( * } * } * } + * + * @deprecated This method is deprecated and will be removed in the next major version update. */ + @Deprecated public final UnaryCallable< ListAccessApprovalRequestsRequest, ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsPagedCallable() { @@ -1322,7 +1335,8 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists access requests associated with a workload + * Deprecated: Only returns access approval requests directly associated with an assured workload + * folder. * *
Sample code:
*
@@ -1359,7 +1373,10 @@ public final ListAccessApprovalRequestsPagedResponse listAccessApprovalRequests(
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
default void listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsRequest request,
io.grpc.stub.StreamObserver<
@@ -743,9 +745,11 @@ public void getPartnerPermissions(
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public void listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsRequest request,
io.grpc.stub.StreamObserver<
@@ -875,9 +879,11 @@ public com.google.cloud.cloudcontrolspartner.v1.PartnerPermissions getPartnerPer
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public com.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsResponse
listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsRequest request) {
@@ -1010,9 +1016,11 @@ protected CloudControlsPartnerCoreFutureStub build(
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsResponse>
listAccessApprovalRequests(
diff --git a/java-cloudcontrolspartner/grpc-google-cloud-cloudcontrolspartner-v1beta/pom.xml b/java-cloudcontrolspartner/grpc-google-cloud-cloudcontrolspartner-v1beta/pom.xml
index 1705c9e7c04b..2115ff54d167 100644
--- a/java-cloudcontrolspartner/grpc-google-cloud-cloudcontrolspartner-v1beta/pom.xml
+++ b/java-cloudcontrolspartner/grpc-google-cloud-cloudcontrolspartner-v1beta/pom.xml
@@ -4,13 +4,13 @@
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
default void listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest request,
io.grpc.stub.StreamObserver<
@@ -748,9 +750,11 @@ public void getPartnerPermissions(
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public void listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest request,
io.grpc.stub.StreamObserver<
@@ -880,9 +884,11 @@ public com.google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions getPartne
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public com.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsResponse
listAccessApprovalRequests(
com.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest
@@ -1016,9 +1022,11 @@ protected CloudControlsPartnerCoreFutureStub build(
*
*
*
- * Lists access requests associated with a workload
+ * Deprecated: Only returns access approval requests directly associated with
+ * an assured workload folder.
*
*/
+ @java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsResponse>
listAccessApprovalRequests(
diff --git a/java-cloudcontrolspartner/pom.xml b/java-cloudcontrolspartner/pom.xml
index 88b72c80c1cb..84481f60ae69 100644
--- a/java-cloudcontrolspartner/pom.xml
+++ b/java-cloudcontrolspartner/pom.xml
@@ -4,7 +4,7 @@
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -97,7 +97,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -740,7 +740,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -763,7 +763,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -808,7 +808,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -826,7 +826,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/AccessApprovalRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/AccessApprovalRequestOrBuilder.java
index 89291dd863fc..8cd9af2f13b0 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/AccessApprovalRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/AccessApprovalRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface AccessApprovalRequestOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface AccessApprovalRequestOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CoreProto.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CoreProto.java
index 0a23520febaa..65fe49f851c3 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CoreProto.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CoreProto.java
@@ -63,7 +63,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n"
+ "\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026requested_"
+ "cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007"
- + " \001(\tB\003\340A\0032\273\017\n\030CloudControlsPartnerCore\022\322"
+ + " \001(\tB\003\340A\0032\276\017\n\030CloudControlsPartnerCore\022\322"
+ "\001\n\013GetWorkload\022<.google.cloud.cloudcontr"
+ "olspartner.v1beta.GetWorkloadRequest\0322.g"
+ "oogle.cloud.cloudcontrolspartner.v1beta."
@@ -98,32 +98,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "tner.v1beta.PartnerPermissions\"d\332A\004name\202"
+ "\323\344\223\002W\022U/v1beta/{name=organizations/*/loc"
+ "ations/*/customers/*/workloads/*/partner"
- + "Permissions}\022\245\002\n\032ListAccessApprovalReque"
+ + "Permissions}\022\250\002\n\032ListAccessApprovalReque"
+ "sts\022K.google.cloud.cloudcontrolspartner."
+ "v1beta.ListAccessApprovalRequestsRequest"
+ "\032L.google.cloud.cloudcontrolspartner.v1b"
- + "eta.ListAccessApprovalRequestsResponse\"l"
- + "\332A\006parent\202\323\344\223\002]\022[/v1beta/{parent=organiz"
- + "ations/*/locations/*/customers/*/workloa"
- + "ds/*}/accessApprovalRequests\022\277\001\n\nGetPart"
- + "ner\022;.google.cloud.cloudcontrolspartner."
- + "v1beta.GetPartnerRequest\0321.google.cloud."
- + "cloudcontrolspartner.v1beta.Partner\"A\332A\004"
- + "name\202\323\344\223\0024\0222/v1beta/{name=organizations/"
- + "*/locations/*/partner}\032W\312A#cloudcontrols"
- + "partner.googleapis.com\322A.https://www.goo"
- + "gleapis.com/auth/cloud-platformB\221\003\n,com."
- + "google.cloud.cloudcontrolspartner.v1beta"
- + "B\tCoreProtoP\001Z`cloud.google.com/go/cloud"
- + "controlspartner/apiv1beta/cloudcontrolsp"
- + "artnerpb;cloudcontrolspartnerpb\252\002(Google"
- + ".Cloud.CloudControlsPartner.V1Beta\312\002(Goo"
- + "gle\\Cloud\\CloudControlsPartner\\V1beta\352\002+"
- + "Google::Cloud::CloudControlsPartner::V1b"
- + "eta\352Am\n8cloudcontrolspartner.googleapis."
- + "com/OrganizationLocation\0221organizations/"
- + "{organization}/locations/{location}b\006pro"
- + "to3"
+ + "eta.ListAccessApprovalRequestsResponse\"o"
+ + "\210\002\001\332A\006parent\202\323\344\223\002]\022[/v1beta/{parent=orga"
+ + "nizations/*/locations/*/customers/*/work"
+ + "loads/*}/accessApprovalRequests\022\277\001\n\nGetP"
+ + "artner\022;.google.cloud.cloudcontrolspartn"
+ + "er.v1beta.GetPartnerRequest\0321.google.clo"
+ + "ud.cloudcontrolspartner.v1beta.Partner\"A"
+ + "\332A\004name\202\323\344\223\0024\0222/v1beta/{name=organizatio"
+ + "ns/*/locations/*/partner}\032W\312A#cloudcontr"
+ + "olspartner.googleapis.com\322A.https://www."
+ + "googleapis.com/auth/cloud-platformB\221\003\n,c"
+ + "om.google.cloud.cloudcontrolspartner.v1b"
+ + "etaB\tCoreProtoP\001Z`cloud.google.com/go/cl"
+ + "oudcontrolspartner/apiv1beta/cloudcontro"
+ + "lspartnerpb;cloudcontrolspartnerpb\252\002(Goo"
+ + "gle.Cloud.CloudControlsPartner.V1Beta\312\002("
+ + "Google\\Cloud\\CloudControlsPartner\\V1beta"
+ + "\352\002+Google::Cloud::CloudControlsPartner::"
+ + "V1beta\352Am\n8cloudcontrolspartner.googleap"
+ + "is.com/OrganizationLocation\0221organizatio"
+ + "ns/{organization}/locations/{location}b\006"
+ + "proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Customer.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Customer.java
index 8160ed762036..f4198b6e2e6f 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Customer.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Customer.java
@@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -98,7 +98,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -689,7 +689,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -712,7 +712,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -735,7 +735,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -757,7 +757,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -775,7 +775,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CustomerOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CustomerOrBuilder.java
index de9e3f9ee335..babbd2597dd9 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CustomerOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/CustomerOrBuilder.java
@@ -29,7 +29,7 @@ public interface CustomerOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface CustomerOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnections.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnections.java
index 8a7fdc64ccb3..85561993a54b 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnections.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnections.java
@@ -73,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -97,7 +97,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -619,7 +619,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -642,7 +642,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -665,7 +665,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -687,7 +687,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -705,7 +705,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnectionsOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnectionsOrBuilder.java
index f4fd40f313d9..c1dc0ebf577a 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnectionsOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/EkmConnectionsOrBuilder.java
@@ -29,7 +29,7 @@ public interface EkmConnectionsOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface EkmConnectionsOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequest.java
index e7cdd152dd68..4ef379e78981 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequest.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -98,7 +98,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -473,7 +473,7 @@ public Builder mergeFrom(
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -498,7 +498,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -523,7 +523,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -547,7 +547,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -567,7 +567,7 @@ public Builder clearName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequestOrBuilder.java
index ac60f180e1d8..9af4bdc7b4de 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetCustomerRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface GetCustomerRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -44,7 +44,7 @@ public interface GetCustomerRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequest.java
index 5843e988826b..897f9da12b93 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequest.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -98,7 +98,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -477,7 +477,7 @@ public Builder mergeFrom(
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -502,7 +502,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -527,7 +527,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -551,7 +551,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -571,7 +571,7 @@ public Builder clearName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequestOrBuilder.java
index ab641a57cb70..fa2561fc42d2 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetEkmConnectionsRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface GetEkmConnectionsRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
@@ -44,7 +44,7 @@ public interface GetEkmConnectionsRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequest.java
index a5bb7cb41ea0..635a8e302cfb 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequest.java
@@ -73,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -99,7 +99,7 @@ public java.lang.String getName() {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -483,7 +483,7 @@ public Builder mergeFrom(
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -508,7 +508,7 @@ public java.lang.String getName() {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -533,7 +533,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -557,7 +557,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -577,7 +577,7 @@ public Builder clearName() {
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequestOrBuilder.java
index 708b2f191e8a..7869bb567f3f 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerPermissionsRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface GetPartnerPermissionsRequestOrBuilder
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
@@ -44,7 +44,7 @@ public interface GetPartnerPermissionsRequestOrBuilder
*
*
* Required. Name of the resource to get in the format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequest.java
index 2ee14d0c3819..09f2e72ed9fb 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequest.java
@@ -71,7 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -96,7 +97,8 @@ public java.lang.String getName() {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -469,7 +471,8 @@ public Builder mergeFrom(
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -493,7 +496,8 @@ public java.lang.String getName() {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -517,7 +521,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -540,7 +545,8 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -559,7 +565,8 @@ public Builder clearName() {
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequestOrBuilder.java
index dc15d11195c3..b8a438a74160 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetPartnerRequestOrBuilder.java
@@ -28,7 +28,8 @@ public interface GetPartnerRequestOrBuilder
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
@@ -42,7 +43,8 @@ public interface GetPartnerRequestOrBuilder
*
*
*
- * Required. Format: organizations/{organization}/locations/{location}/partner
+ * Required. Format:
+ * `organizations/{organization}/locations/{location}/partner`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequest.java
index 994e50a373f7..802baf8eaffc 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequest.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -98,7 +98,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -473,7 +473,7 @@ public Builder mergeFrom(
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -498,7 +498,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -523,7 +523,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -547,7 +547,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -567,7 +567,7 @@ public Builder clearName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequestOrBuilder.java
index 8d9a44300845..8ec6359297df 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetViolationRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface GetViolationRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
@@ -44,7 +44,7 @@ public interface GetViolationRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequest.java
index a6a191cf9dac..ef9b87e5e557 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequest.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -98,7 +98,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -473,7 +473,7 @@ public Builder mergeFrom(
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -498,7 +498,7 @@ public java.lang.String getName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -523,7 +523,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -547,7 +547,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -567,7 +567,7 @@ public Builder clearName() {
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequestOrBuilder.java
index ddec5d140d06..4d91ba5e5611 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/GetWorkloadRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface GetWorkloadRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -44,7 +44,7 @@ public interface GetWorkloadRequestOrBuilder
*
*
* Required. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequest.java
index cb19637c5ac5..f358e4508d6f 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequest.java
@@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -105,7 +105,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -769,7 +769,7 @@ public Builder mergeFrom(
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -795,7 +795,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -821,7 +821,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -846,7 +846,7 @@ public Builder setParent(java.lang.String value) {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -867,7 +867,7 @@ public Builder clearParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequestOrBuilder.java
index 75e0d65c14db..f0d84b43921e 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListAccessApprovalRequestsRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface ListAccessApprovalRequestsRequestOrBuilder
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -46,7 +46,7 @@ public interface ListAccessApprovalRequestsRequestOrBuilder
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequest.java
index 041d69bcbb93..9af1b77aaaec 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequest.java
@@ -75,7 +75,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -101,7 +101,7 @@ public java.lang.String getParent() {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -746,7 +746,7 @@ public Builder mergeFrom(
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -771,7 +771,7 @@ public java.lang.String getParent() {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -820,7 +820,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -840,7 +840,7 @@ public Builder clearParent() {
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequestOrBuilder.java
index 206c94c8b389..3fa2c2f902dc 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListCustomersRequestOrBuilder.java
@@ -29,7 +29,7 @@ public interface ListCustomersRequestOrBuilder
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
@@ -44,7 +44,7 @@ public interface ListCustomersRequestOrBuilder
*
*
* Required. Parent resource
- * Format: organizations/{organization}/locations/{location}
+ * Format: `organizations/{organization}/locations/{location}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequest.java
index bf2246c8834d..ab64661c7bc7 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequest.java
@@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -104,7 +104,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -845,7 +845,7 @@ public Builder mergeFrom(
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -871,7 +871,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -897,7 +897,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -922,7 +922,7 @@ public Builder setParent(java.lang.String value) {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -943,7 +943,7 @@ public Builder clearParent() {
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequestOrBuilder.java
index 02ad47410efd..332e290efb14 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListViolationsRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface ListViolationsRequestOrBuilder
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
@@ -46,7 +46,7 @@ public interface ListViolationsRequestOrBuilder
*
* Required. Parent resource
* Format
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequest.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequest.java
index 27793669703f..7938f8196cf6 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequest.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequest.java
@@ -76,7 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -103,7 +103,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -749,7 +749,7 @@ public Builder mergeFrom(
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -775,7 +775,7 @@ public java.lang.String getParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -801,7 +801,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -826,7 +826,7 @@ public Builder setParent(java.lang.String value) {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -847,7 +847,7 @@ public Builder clearParent() {
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequestOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequestOrBuilder.java
index 5f1eea0e7e8f..2ff7e823b262 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequestOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ListWorkloadsRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface ListWorkloadsRequestOrBuilder
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
@@ -46,7 +46,7 @@ public interface ListWorkloadsRequestOrBuilder
*
* Required. Parent resource
* Format:
- * organizations/{organization}/locations/{location}/customers/{customer}
+ * `organizations/{organization}/locations/{location}/customers/{customer}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Partner.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Partner.java
index 4ad4fe0e0bb8..d4acda6bfaeb 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Partner.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Partner.java
@@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -102,7 +102,7 @@ public java.lang.String getName() {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -1120,7 +1120,7 @@ public Builder mergeFrom(
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -1144,7 +1144,7 @@ public java.lang.String getName() {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -1168,7 +1168,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -1191,7 +1191,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -1210,7 +1210,7 @@ public Builder clearName() {
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerOrBuilder.java
index 4e6ec8bea75a..8bb7c2967c8b 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerOrBuilder.java
@@ -29,7 +29,7 @@ public interface PartnerOrBuilder
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
@@ -43,7 +43,7 @@ public interface PartnerOrBuilder
*
*
* Identifier. The resource name of the partner.
- * Format: organizations/{organization}/locations/{location}/partner
+ * Format: `organizations/{organization}/locations/{location}/partner`
* Example: "organizations/123456/locations/us-central1/partner"
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissions.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissions.java
index db2442262fba..efa78b8ffe8d 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissions.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissions.java
@@ -270,7 +270,7 @@ private Permission(int value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -294,7 +294,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -852,7 +852,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -875,7 +875,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -898,7 +898,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -920,7 +920,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -938,7 +938,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissionsOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissionsOrBuilder.java
index 25bcf4593414..8cd1357d2c26 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissionsOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/PartnerPermissionsOrBuilder.java
@@ -29,7 +29,7 @@ public interface PartnerPermissionsOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface PartnerPermissionsOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Violation.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Violation.java
index 389402b62bfe..1ba51c71aa57 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Violation.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Violation.java
@@ -6104,7 +6104,7 @@ public com.google.protobuf.Parser
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -6128,7 +6128,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -6455,9 +6455,9 @@ public com.google.cloud.cloudcontrolspartner.v1beta.Violation.State getState() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -6484,9 +6484,9 @@ public java.lang.String getNonCompliantOrgPolicy() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -7196,7 +7196,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -7219,7 +7219,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -7242,7 +7242,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -7264,7 +7264,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -7282,7 +7282,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -8237,9 +8237,9 @@ public Builder clearState() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -8265,9 +8265,9 @@ public java.lang.String getNonCompliantOrgPolicy() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -8293,9 +8293,9 @@ public com.google.protobuf.ByteString getNonCompliantOrgPolicyBytes() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -8320,9 +8320,9 @@ public Builder setNonCompliantOrgPolicy(java.lang.String value) {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -8343,9 +8343,9 @@ public Builder clearNonCompliantOrgPolicy() {
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ViolationOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ViolationOrBuilder.java
index 07f56228af9d..96dab8dba819 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ViolationOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/ViolationOrBuilder.java
@@ -29,7 +29,7 @@ public interface ViolationOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface ViolationOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -257,9 +257,9 @@ public interface ViolationOrBuilder
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
@@ -275,9 +275,9 @@ public interface ViolationOrBuilder
*
* Output only. Immutable. Name of the OrgPolicy which was modified with
* non-compliant change and resulted this violation. Format:
- * projects/{project_number}/policies/{constraint_name}
- * folders/{folder_id}/policies/{constraint_name}
- * organizations/{organization_id}/policies/{constraint_name}
+ * `projects/{project_number}/policies/{constraint_name}`
+ * `folders/{folder_id}/policies/{constraint_name}`
+ * `organizations/{organization_id}/policies/{constraint_name}`
*
*
*
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Workload.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Workload.java
index 1e4ddf185eed..421cf4b67015 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Workload.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/Workload.java
@@ -328,7 +328,7 @@ private Partner(int value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -352,7 +352,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -1280,7 +1280,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -1303,7 +1303,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -1326,7 +1326,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -1348,7 +1348,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -1366,7 +1366,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/WorkloadOrBuilder.java b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/WorkloadOrBuilder.java
index 38e31d1bfac6..ad6915c242e4 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/WorkloadOrBuilder.java
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/WorkloadOrBuilder.java
@@ -29,7 +29,7 @@ public interface WorkloadOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -42,7 +42,7 @@ public interface WorkloadOrBuilder
*
*
* Identifier. Format:
- * organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto
index 881bbac4d328..d9720f356fd6 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto
@@ -38,7 +38,7 @@ message AccessApprovalRequest {
};
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}.
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// The time at which approval was requested.
@@ -56,7 +56,7 @@ message AccessApprovalRequest {
message ListAccessApprovalRequestsRequest {
// Required. Parent resource
// Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/core.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/core.proto
index 348654e4c572..d3fd49f43a85 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/core.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/core.proto
@@ -95,9 +95,11 @@ service CloudControlsPartnerCore {
option (google.api.method_signature) = "name";
}
- // Lists access requests associated with a workload
+ // Deprecated: Only returns access approval requests directly associated with
+ // an assured workload folder.
rpc ListAccessApprovalRequests(ListAccessApprovalRequestsRequest)
returns (ListAccessApprovalRequestsResponse) {
+ option deprecated = true;
option (google.api.http) = {
get: "/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests"
};
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto
index f0c6aefd2aee..cf2717b14929 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto
@@ -66,7 +66,7 @@ message Workload {
}
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// Output only. Folder id this workload is associated with
@@ -99,7 +99,7 @@ message Workload {
message ListWorkloadsRequest {
// Required. Parent resource
// Format:
- // organizations/{organization}/locations/{location}/customers/{customer}
+ // `organizations/{organization}/locations/{location}/customers/{customer}`
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -138,7 +138,7 @@ message ListWorkloadsResponse {
// Message for getting a customer workload.
message GetWorkloadRequest {
// Required. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customers.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customers.proto
index 21badcd49612..005f8116cf02 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customers.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/customers.proto
@@ -39,7 +39,7 @@ message Customer {
};
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}
+ // `organizations/{organization}/locations/{location}/customers/{customer}`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// The customer organization's display name. E.g. "google.com".
@@ -55,7 +55,7 @@ message Customer {
// Request to list customers
message ListCustomersRequest {
// Required. Parent resource
- // Format: organizations/{organization}/locations/{location}
+ // Format: `organizations/{organization}/locations/{location}`
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -94,7 +94,7 @@ message ListCustomersResponse {
// Message for getting a customer
message GetCustomerRequest {
// Required. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}
+ // `organizations/{organization}/locations/{location}/customers/{customer}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto
index 93d0f097ee5e..d458c6c6e013 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto
@@ -35,7 +35,7 @@ message EkmConnections {
};
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// The EKM connections associated with the workload
@@ -45,7 +45,7 @@ message EkmConnections {
// Request for getting the EKM connections associated with a workload
message GetEkmConnectionsRequest {
// Required. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto
index a31e6d7a0366..cf8200b16ad3 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto
@@ -52,7 +52,7 @@ message PartnerPermissions {
}
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// The partner permissions granted for the workload
@@ -62,7 +62,7 @@ message PartnerPermissions {
// Request for getting the partner permissions granted for a workload
message GetPartnerPermissionsRequest {
// Required. Name of the resource to get in the format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partners.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partners.proto
index 58ddddd0c9f8..822370ad58bc 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partners.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/partners.proto
@@ -37,7 +37,7 @@ message Partner {
};
// Identifier. The resource name of the partner.
- // Format: organizations/{organization}/locations/{location}/partner
+ // Format: `organizations/{organization}/locations/{location}/partner`
// Example: "organizations/123456/locations/us-central1/partner"
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
@@ -67,7 +67,8 @@ message Partner {
// Message for getting a Partner
message GetPartnerRequest {
- // Required. Format: organizations/{organization}/locations/{location}/partner
+ // Required. Format:
+ // `organizations/{organization}/locations/{location}/partner`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/violations.proto b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/violations.proto
index a4cba5baea40..e159a29c50e4 100644
--- a/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/violations.proto
+++ b/java-cloudcontrolspartner/proto-google-cloud-cloudcontrolspartner-v1beta/src/main/proto/google/cloud/cloudcontrolspartner/v1beta/violations.proto
@@ -130,7 +130,7 @@ message Violation {
}
// Identifier. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// Output only. Description for the Violation.
@@ -159,9 +159,9 @@ message Violation {
// Output only. Immutable. Name of the OrgPolicy which was modified with
// non-compliant change and resulted this violation. Format:
- // projects/{project_number}/policies/{constraint_name}
- // folders/{folder_id}/policies/{constraint_name}
- // organizations/{organization_id}/policies/{constraint_name}
+ // `projects/{project_number}/policies/{constraint_name}`
+ // `folders/{folder_id}/policies/{constraint_name}`
+ // `organizations/{organization_id}/policies/{constraint_name}`
string non_compliant_org_policy = 8 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.field_behavior) = IMMUTABLE
@@ -178,7 +178,7 @@ message Violation {
message ListViolationsRequest {
// Required. Parent resource
// Format
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -223,7 +223,7 @@ message ListViolationsResponse {
// Message for getting a Violation
message GetViolationRequest {
// Required. Format:
- // organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
+ // `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/java-cloudquotas/CHANGELOG.md b/java-cloudquotas/CHANGELOG.md
index 2db8b292a884..eaa3b3cf71ca 100644
--- a/java-cloudquotas/CHANGELOG.md
+++ b/java-cloudquotas/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## 0.14.0 (2024-06-27)
+
+* No change
+
+
## 0.13.0 (None)
* No change
diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md
index cd8cf9258d03..e2845602d455 100644
--- a/java-cloudquotas/README.md
+++ b/java-cloudquotas/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
*listOperations(String parent) *
listOperations(String projectId, String zone) *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
@@ -751,6 +752,20 @@ * ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); * } * + *To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ClusterManagerSettings clusterManagerSettings =
+ * ClusterManagerSettings.newHttpJsonBuilder().build();
+ * ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings);
+ * }
+ *
* Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@Generated("by gapic-generator-java")
@@ -1406,10 +1421,12 @@ public final UnaryCallable Sample code:
+ *
+ * This class is for advanced usage.
+ */
+@Generated("by gapic-generator-java")
+public class HttpJsonClusterManagerCallableFactory
+ implements HttpJsonStubCallableFactory This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+public class HttpJsonClusterManagerStub extends ClusterManagerStub {
+ private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();
+
+ private static final ApiMethodDescriptor{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+ * String parent = "parent-995424086";
+ * ListOperationsResponse response = clusterManagerClient.listOperations(parent);
+ * }
+ * }
+ *
+ * @param parent The parent (project and location) where the operations will be listed. Specified
+ * in the format `projects/*/locations/*`. Location "-" matches all zones and all
+ * regions.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListOperationsResponse listOperations(String parent) {
+ ListOperationsRequest request = ListOperationsRequest.newBuilder().setParent(parent).build();
+ return listOperations(request);
+ }
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists all operations in a project in a specific zone or all zones.
diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java
index 322f5918be50..563850dba3d7 100644
--- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java
+++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java
@@ -19,9 +19,11 @@
import static com.google.cloud.container.v1.ClusterManagerClient.ListUsableSubnetworksPagedResponse;
import com.google.api.core.ApiFunction;
+import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
@@ -327,11 +329,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde
return ClusterManagerStubSettings.defaultCredentialsProviderBuilder();
}
- /** Returns a builder for the default ChannelProvider for this service. */
+ /** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return ClusterManagerStubSettings.defaultGrpcTransportProviderBuilder();
}
+ /** Returns a builder for the default REST ChannelProvider for this service. */
+ @BetaApi
+ public static InstantiatingHttpJsonChannelProvider.Builder
+ defaultHttpJsonTransportProviderBuilder() {
+ return ClusterManagerStubSettings.defaultHttpJsonTransportProviderBuilder();
+ }
+
public static TransportChannelProvider defaultTransportChannelProvider() {
return ClusterManagerStubSettings.defaultTransportChannelProvider();
}
@@ -340,11 +349,16 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil
return ClusterManagerStubSettings.defaultApiClientHeaderProviderBuilder();
}
- /** Returns a new builder for this class. */
+ /** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
+ /** Returns a new REST builder for this class. */
+ public static Builder newHttpJsonBuilder() {
+ return Builder.createHttpJsonDefault();
+ }
+
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
@@ -382,6 +396,10 @@ private static Builder createDefault() {
return new Builder(ClusterManagerStubSettings.newBuilder());
}
+ private static Builder createHttpJsonDefault() {
+ return new Builder(ClusterManagerStubSettings.newHttpJsonBuilder());
+ }
+
public ClusterManagerStubSettings.Builder getStubSettingsBuilder() {
return ((ClusterManagerStubSettings.Builder) getStubSettings());
}
diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json
index fc131da80f5a..a286c1fc5868 100644
--- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json
+++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json
@@ -56,7 +56,7 @@
"methods": ["listNodePools", "listNodePools", "listNodePools", "listNodePoolsCallable"]
},
"ListOperations": {
- "methods": ["listOperations", "listOperations", "listOperationsCallable"]
+ "methods": ["listOperations", "listOperations", "listOperations", "listOperationsCallable"]
},
"ListUsableSubnetworks": {
"methods": ["listUsableSubnetworks", "listUsableSubnetworksPagedCallable", "listUsableSubnetworksCallable"]
diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java
index 0f4bb76c1b0f..03c7bdaf9f4c 100644
--- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java
+++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java
@@ -20,12 +20,16 @@
import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
+import com.google.api.core.BetaApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.GaxGrpcProperties;
import com.google.api.gax.grpc.GrpcTransportChannel;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.api.gax.httpjson.GaxHttpJsonProperties;
+import com.google.api.gax.httpjson.HttpJsonTransportChannel;
+import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.retrying.RetrySettings;
import com.google.api.gax.rpc.ApiCallContext;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
@@ -442,6 +446,11 @@ public ClusterManagerStub createStub() throws IOException {
.equals(GrpcTransportChannel.getGrpcTransportName())) {
return GrpcClusterManagerStub.create(this);
}
+ if (getTransportChannelProvider()
+ .getTransportName()
+ .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) {
+ return HttpJsonClusterManagerStub.create(this);
+ }
throw new UnsupportedOperationException(
String.format(
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
@@ -480,17 +489,24 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde
.setUseJwtAccessWithScope(true);
}
- /** Returns a builder for the default ChannelProvider for this service. */
+ /** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return InstantiatingGrpcChannelProvider.newBuilder()
.setMaxInboundMessageSize(Integer.MAX_VALUE);
}
+ /** Returns a builder for the default REST ChannelProvider for this service. */
+ @BetaApi
+ public static InstantiatingHttpJsonChannelProvider.Builder
+ defaultHttpJsonTransportProviderBuilder() {
+ return InstantiatingHttpJsonChannelProvider.newBuilder();
+ }
+
public static TransportChannelProvider defaultTransportChannelProvider() {
return defaultGrpcTransportProviderBuilder().build();
}
- public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
+ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() {
return ApiClientHeaderProvider.newBuilder()
.setGeneratedLibToken(
"gapic", GaxProperties.getLibraryVersion(ClusterManagerStubSettings.class))
@@ -498,11 +514,29 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil
GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion());
}
- /** Returns a new builder for this class. */
+ public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() {
+ return ApiClientHeaderProvider.newBuilder()
+ .setGeneratedLibToken(
+ "gapic", GaxProperties.getLibraryVersion(ClusterManagerStubSettings.class))
+ .setTransportToken(
+ GaxHttpJsonProperties.getHttpJsonTokenName(),
+ GaxHttpJsonProperties.getHttpJsonVersion());
+ }
+
+ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
+ return ClusterManagerStubSettings.defaultGrpcApiClientHeaderProviderBuilder();
+ }
+
+ /** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
+ /** Returns a new REST builder for this class. */
+ public static Builder newHttpJsonBuilder() {
+ return Builder.createHttpJsonDefault();
+ }
+
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
@@ -833,6 +867,18 @@ private static Builder createDefault() {
return initDefaults(builder);
}
+ private static Builder createHttpJsonDefault() {
+ Builder builder = new Builder(((ClientContext) null));
+
+ builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
+ builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
+ builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
+ builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
+ builder.setSwitchToMtlsEndpointAllowed(true);
+
+ return initDefaults(builder);
+ }
+
private static Builder initDefaults(Builder builder) {
builder
.listClustersSettings()
diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/HttpJsonClusterManagerCallableFactory.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/HttpJsonClusterManagerCallableFactory.java
new file mode 100644
index 000000000000..aa118d6b269c
--- /dev/null
+++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/HttpJsonClusterManagerCallableFactory.java
@@ -0,0 +1,101 @@
+/*
+ * 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.
+ */
+
+package com.google.cloud.container.v1.stub;
+
+import com.google.api.gax.httpjson.HttpJsonCallSettings;
+import com.google.api.gax.httpjson.HttpJsonCallableFactory;
+import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable;
+import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
+import com.google.api.gax.httpjson.longrunning.stub.OperationsStub;
+import com.google.api.gax.rpc.BatchingCallSettings;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallable;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.longrunning.Operation;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * REST callable factory implementation for the ClusterManager service API.
+ *
+ *