diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java b/google-api-grpc/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java index 3dca90f85648..e80a3f30db5f 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java @@ -18,7 +18,7 @@ /** *
* The ClusterControllerService provides methods to manage clusters - * of Google Compute Engine instances. + * of Compute Engine instances. **/ @javax.annotation.Generated( @@ -280,7 +280,7 @@ public static ClusterControllerFutureStub newFutureStub( /** *
* The ClusterControllerService provides methods to manage clusters
- * of Google Compute Engine instances.
+ * of Compute Engine instances.
*
*/
public static abstract class ClusterControllerImplBase implements io.grpc.BindableService {
@@ -398,7 +398,7 @@ public void diagnoseCluster(com.google.cloud.dataproc.v1.DiagnoseClusterRequest
/**
*
* The ClusterControllerService provides methods to manage clusters
- * of Google Compute Engine instances.
+ * of Compute Engine instances.
*
*/
public static final class ClusterControllerStub extends io.grpc.stub.AbstractStub
* The ClusterControllerService provides methods to manage clusters
- * of Google Compute Engine instances.
+ * of Compute Engine instances.
*
*/
public static final class ClusterControllerBlockingStub extends io.grpc.stub.AbstractStub
* The ClusterControllerService provides methods to manage clusters
- * of Google Compute Engine instances.
+ * of Compute Engine instances.
*
*/
public static final class ClusterControllerFutureStub extends io.grpc.stub.AbstractStub+ * The API interface for managing Workflow Templates in the + * Cloud Dataproc API. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/dataproc/v1/workflow_templates.proto") +public final class WorkflowTemplateServiceGrpc { + + private WorkflowTemplateServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dataproc.v1.WorkflowTemplateService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateWorkflowTemplateMethod()} instead. + public static final io.grpc.MethodDescriptor
+ * The API interface for managing Workflow Templates in the + * Cloud Dataproc API. + *+ */ + public static abstract class WorkflowTemplateServiceImplBase implements io.grpc.BindableService { + + /** + *
+ * Creates new workflow template. + *+ */ + public void createWorkflowTemplate(com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves the latest workflow template. + * Can retrieve previously instantiated template by specifying optional + * version parameter. + *+ */ + public void getWorkflowTemplate(com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Instantiates a template and begins execution. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public void instantiateWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Instantiates a template and begins execution. + * This method is equivalent to executing the sequence + * [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + * [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public void instantiateInlineWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Updates (replaces) workflow template. The updated template + * must contain version that matches the current server version. + *+ */ + public void updateWorkflowTemplate(com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Lists workflows that match the specified filter in the request. + *+ */ + public void listWorkflowTemplates(com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a workflow template. It does not cancel in-progress workflows. + *+ */ + public void deleteWorkflowTemplate(com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * The API interface for managing Workflow Templates in the + * Cloud Dataproc API. + *+ */ + public static final class WorkflowTemplateServiceStub extends io.grpc.stub.AbstractStub
+ * Creates new workflow template. + *+ */ + public void createWorkflowTemplate(com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves the latest workflow template. + * Can retrieve previously instantiated template by specifying optional + * version parameter. + *+ */ + public void getWorkflowTemplate(com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Instantiates a template and begins execution. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public void instantiateWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Instantiates a template and begins execution. + * This method is equivalent to executing the sequence + * [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + * [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public void instantiateInlineWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Updates (replaces) workflow template. The updated template + * must contain version that matches the current server version. + *+ */ + public void updateWorkflowTemplate(com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * Lists workflows that match the specified filter in the request. + *+ */ + public void listWorkflowTemplates(com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a workflow template. It does not cancel in-progress workflows. + *+ */ + public void deleteWorkflowTemplate(com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request, + io.grpc.stub.StreamObserver
+ * The API interface for managing Workflow Templates in the + * Cloud Dataproc API. + *+ */ + public static final class WorkflowTemplateServiceBlockingStub extends io.grpc.stub.AbstractStub
+ * Creates new workflow template. + *+ */ + public com.google.cloud.dataproc.v1.WorkflowTemplate createWorkflowTemplate(com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getCreateWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Retrieves the latest workflow template. + * Can retrieve previously instantiated template by specifying optional + * version parameter. + *+ */ + public com.google.cloud.dataproc.v1.WorkflowTemplate getWorkflowTemplate(com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getGetWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Instantiates a template and begins execution. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public com.google.longrunning.Operation instantiateWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getInstantiateWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Instantiates a template and begins execution. + * This method is equivalent to executing the sequence + * [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + * [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public com.google.longrunning.Operation instantiateInlineWorkflowTemplate(com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getInstantiateInlineWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Updates (replaces) workflow template. The updated template + * must contain version that matches the current server version. + *+ */ + public com.google.cloud.dataproc.v1.WorkflowTemplate updateWorkflowTemplate(com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Lists workflows that match the specified filter in the request. + *+ */ + public com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse listWorkflowTemplates(com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request) { + return blockingUnaryCall( + getChannel(), getListWorkflowTemplatesMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Deletes a workflow template. It does not cancel in-progress workflows. + *+ */ + public com.google.protobuf.Empty deleteWorkflowTemplate(com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteWorkflowTemplateMethodHelper(), getCallOptions(), request); + } + } + + /** + *
+ * The API interface for managing Workflow Templates in the + * Cloud Dataproc API. + *+ */ + public static final class WorkflowTemplateServiceFutureStub extends io.grpc.stub.AbstractStub
+ * Creates new workflow template. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Retrieves the latest workflow template. + * Can retrieve previously instantiated template by specifying optional + * version parameter. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Instantiates a template and begins execution. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Instantiates a template and begins execution. + * This method is equivalent to executing the sequence + * [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], + * [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate]. + * The returned Operation can be used to track execution of + * workflow by polling + * [operations.get][google.longrunning.Operations.GetOperation]. + * The Operation will complete when entire workflow is finished. + * The running workflow can be aborted via + * [operations.cancel][google.longrunning.Operations.CancelOperation]. + * This will cause any inflight jobs to be cancelled and workflow-owned + * clusters to be deleted. + * The [Operation.metadata][google.longrunning.Operation.metadata] will be + * [WorkflowMetadata][google.cloud.dataproc.v1.WorkflowMetadata]. + * On successful completion, + * [Operation.response][google.longrunning.Operation.response] will be + * [Empty][google.protobuf.Empty]. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Updates (replaces) workflow template. The updated template + * must contain version that matches the current server version. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists workflows that match the specified filter in the request. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes a workflow template. It does not cancel in-progress workflows. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
* Specifies the type and number of accelerator cards attached to the instances - * of an instance group (see [GPUs on Compute Engine](/compute/docs/gpus/)). + * of an instance. See [GPUs on Compute Engine](/compute/docs/gpus/). ** * Protobuf type {@code google.cloud.dataproc.v1.AcceleratorConfig} @@ -97,12 +97,16 @@ private AcceleratorConfig( /** *
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -122,12 +126,16 @@ public java.lang.String getAcceleratorTypeUri() {
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -328,7 +336,7 @@ protected Builder newBuilderForType(
/**
*
* Specifies the type and number of accelerator cards attached to the instances
- * of an instance group (see [GPUs on Compute Engine](/compute/docs/gpus/)).
+ * of an instance. See [GPUs on Compute Engine](/compute/docs/gpus/).
*
*
* Protobuf type {@code google.cloud.dataproc.v1.AcceleratorConfig}
@@ -488,12 +496,16 @@ public Builder mergeFrom(
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -513,12 +525,16 @@ public java.lang.String getAcceleratorTypeUri() {
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -539,12 +555,16 @@ public java.lang.String getAcceleratorTypeUri() {
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -562,12 +582,16 @@ public Builder setAcceleratorTypeUri(
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -581,12 +605,16 @@ public Builder clearAcceleratorTypeUri() {
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java
index 80c47e890c00..b16a20a66959 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfigOrBuilder.java
@@ -10,12 +10,16 @@ public interface AcceleratorConfigOrBuilder extends
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
@@ -24,12 +28,16 @@ public interface AcceleratorConfigOrBuilder extends
/**
*
* Full URL, partial URI, or short name of the accelerator type resource to
- * expose to this instance. See [Google Compute Engine AcceleratorTypes](
- * /compute/docs/reference/beta/acceleratorTypes)
- * Examples
+ * expose to this instance. See
+ * [Compute Engine AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
+ * Examples:
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
* * `nvidia-tesla-k80`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the accelerator type
+ * resource, for example, `nvidia-tesla-k80`.
*
*
* string accelerator_type_uri = 1;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java
index 8bdae40576aa..62c6a78d7e85 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Cluster.java
@@ -6,7 +6,7 @@
/**
* * Describes the identifying information, config, and status of - * a cluster of Google Compute Engine instances. + * a cluster of Compute Engine instances. ** * Protobuf type {@code google.cloud.dataproc.v1.Cluster} @@ -416,7 +416,7 @@ public java.lang.String getLabelsOrThrow( private com.google.cloud.dataproc.v1.ClusterStatus status_; /** *
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -426,7 +426,7 @@ public boolean hasStatus() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -436,7 +436,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus getStatus() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -449,7 +449,7 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusOrBuilder()
private java.util.List
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -459,7 +459,7 @@ public java.util.List
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -470,7 +470,7 @@ public java.util.List
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -480,7 +480,7 @@ public int getStatusHistoryCount() {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -490,7 +490,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus getStatusHistory(int index) {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -504,7 +504,7 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBui
private volatile java.lang.Object clusterUuid_;
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -524,7 +524,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -844,7 +844,7 @@ protected Builder newBuilderForType(
/**
*
* Describes the identifying information, config, and status of
- * a cluster of Google Compute Engine instances.
+ * a cluster of Compute Engine instances.
*
*
* Protobuf type {@code google.cloud.dataproc.v1.Cluster}
@@ -1659,7 +1659,7 @@ public Builder putAllLabels(
com.google.cloud.dataproc.v1.ClusterStatus, com.google.cloud.dataproc.v1.ClusterStatus.Builder, com.google.cloud.dataproc.v1.ClusterStatusOrBuilder> statusBuilder_;
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1669,7 +1669,7 @@ public boolean hasStatus() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1683,7 +1683,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus getStatus() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1703,7 +1703,7 @@ public Builder setStatus(com.google.cloud.dataproc.v1.ClusterStatus value) {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1721,7 +1721,7 @@ public Builder setStatus(
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1743,7 +1743,7 @@ public Builder mergeStatus(com.google.cloud.dataproc.v1.ClusterStatus value) {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1761,7 +1761,7 @@ public Builder clearStatus() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1773,7 +1773,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder getStatusBuilder() {
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1788,7 +1788,7 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusOrBuilder()
}
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -1821,7 +1821,7 @@ private void ensureStatusHistoryIsMutable() {
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1835,7 +1835,7 @@ public java.util.List
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1849,7 +1849,7 @@ public int getStatusHistoryCount() {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1863,7 +1863,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus getStatusHistory(int index) {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1884,7 +1884,7 @@ public Builder setStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1902,7 +1902,7 @@ public Builder setStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1922,7 +1922,7 @@ public Builder addStatusHistory(com.google.cloud.dataproc.v1.ClusterStatus value
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1943,7 +1943,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1961,7 +1961,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1979,7 +1979,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -1998,7 +1998,7 @@ public Builder addAllStatusHistory(
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2015,7 +2015,7 @@ public Builder clearStatusHistory() {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2032,7 +2032,7 @@ public Builder removeStatusHistory(int index) {
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2043,7 +2043,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder getStatusHistoryBuilde
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2057,7 +2057,7 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBui
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2072,7 +2072,7 @@ public com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBui
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2083,7 +2083,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder addStatusHistoryBuilde
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2095,7 +2095,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder addStatusHistoryBuilde
}
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -2122,7 +2122,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Builder addStatusHistoryBuilde
private java.lang.Object clusterUuid_ = "";
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -2142,7 +2142,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -2163,7 +2163,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -2181,7 +2181,7 @@ public Builder setClusterUuid(
}
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -2195,7 +2195,7 @@ public Builder clearClusterUuid() {
}
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
index 4fb1f652f91f..ee07dd84957b 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java
@@ -128,6 +128,19 @@ private ClusterConfig(
break;
}
+ case 122: {
+ com.google.cloud.dataproc.v1.EncryptionConfig.Builder subBuilder = null;
+ if (encryptionConfig_ != null) {
+ subBuilder = encryptionConfig_.toBuilder();
+ }
+ encryptionConfig_ = input.readMessage(com.google.cloud.dataproc.v1.EncryptionConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(encryptionConfig_);
+ encryptionConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -168,7 +181,7 @@ private ClusterConfig(
private volatile java.lang.Object configBucket_;
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -192,7 +205,7 @@ public java.lang.String getConfigBucket() {
}
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -220,7 +233,7 @@ public java.lang.String getConfigBucket() {
private com.google.cloud.dataproc.v1.GceClusterConfig gceClusterConfig_;
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -231,7 +244,7 @@ public boolean hasGceClusterConfig() {
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -242,7 +255,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig() {
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -256,7 +269,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi
private com.google.cloud.dataproc.v1.InstanceGroupConfig masterConfig_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -267,7 +280,7 @@ public boolean hasMasterConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -278,7 +291,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -292,7 +305,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig
private com.google.cloud.dataproc.v1.InstanceGroupConfig workerConfig_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -303,7 +316,7 @@ public boolean hasWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -314,7 +327,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -328,7 +341,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig
private com.google.cloud.dataproc.v1.InstanceGroupConfig secondaryWorkerConfig_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -339,7 +352,7 @@ public boolean hasSecondaryWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -350,7 +363,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -493,6 +506,39 @@ public com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitial
return initializationActions_.get(index);
}
+ public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 15;
+ private com.google.cloud.dataproc.v1.EncryptionConfig encryptionConfig_;
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public boolean hasEncryptionConfig() {
+ return encryptionConfig_ != null;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig() {
+ return encryptionConfig_ == null ? com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
+ return getEncryptionConfig();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -528,6 +574,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (softwareConfig_ != null) {
output.writeMessage(13, getSoftwareConfig());
}
+ if (encryptionConfig_ != null) {
+ output.writeMessage(15, getEncryptionConfig());
+ }
unknownFields.writeTo(output);
}
@@ -564,6 +613,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getSoftwareConfig());
}
+ if (encryptionConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, getEncryptionConfig());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -609,6 +662,11 @@ public boolean equals(final java.lang.Object obj) {
}
result = result && getInitializationActionsList()
.equals(other.getInitializationActionsList());
+ result = result && (hasEncryptionConfig() == other.hasEncryptionConfig());
+ if (hasEncryptionConfig()) {
+ result = result && getEncryptionConfig()
+ .equals(other.getEncryptionConfig());
+ }
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -646,6 +704,10 @@ public int hashCode() {
hash = (37 * hash) + INITIALIZATION_ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getInitializationActionsList().hashCode();
}
+ if (hasEncryptionConfig()) {
+ hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getEncryptionConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -822,6 +884,12 @@ public Builder clear() {
} else {
initializationActionsBuilder_.clear();
}
+ if (encryptionConfigBuilder_ == null) {
+ encryptionConfig_ = null;
+ } else {
+ encryptionConfig_ = null;
+ encryptionConfigBuilder_ = null;
+ }
return this;
}
@@ -885,6 +953,11 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() {
} else {
result.initializationActions_ = initializationActionsBuilder_.build();
}
+ if (encryptionConfigBuilder_ == null) {
+ result.encryptionConfig_ = encryptionConfig_;
+ } else {
+ result.encryptionConfig_ = encryptionConfigBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -979,6 +1052,9 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) {
}
}
}
+ if (other.hasEncryptionConfig()) {
+ mergeEncryptionConfig(other.getEncryptionConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1012,7 +1088,7 @@ public Builder mergeFrom(
private java.lang.Object configBucket_ = "";
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -1036,7 +1112,7 @@ public java.lang.String getConfigBucket() {
}
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -1061,7 +1137,7 @@ public java.lang.String getConfigBucket() {
}
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -1083,7 +1159,7 @@ public Builder setConfigBucket(
}
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -1101,7 +1177,7 @@ public Builder clearConfigBucket() {
}
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -1128,7 +1204,7 @@ public Builder setConfigBucketBytes(
com.google.cloud.dataproc.v1.GceClusterConfig, com.google.cloud.dataproc.v1.GceClusterConfig.Builder, com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder> gceClusterConfigBuilder_;
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1139,7 +1215,7 @@ public boolean hasGceClusterConfig() {
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1154,7 +1230,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig() {
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1175,7 +1251,7 @@ public Builder setGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConfig
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1194,7 +1270,7 @@ public Builder setGceClusterConfig(
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1217,7 +1293,7 @@ public Builder mergeGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConf
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1236,7 +1312,7 @@ public Builder clearGceClusterConfig() {
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1249,7 +1325,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfig.Builder getGceClusterConfig
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1265,7 +1341,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi
}
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -1290,7 +1366,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi
com.google.cloud.dataproc.v1.InstanceGroupConfig, com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder, com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder> masterConfigBuilder_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1301,7 +1377,7 @@ public boolean hasMasterConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1316,7 +1392,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1337,7 +1413,7 @@ public Builder setMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1356,7 +1432,7 @@ public Builder setMasterConfig(
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1379,7 +1455,7 @@ public Builder mergeMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1398,7 +1474,7 @@ public Builder clearMasterConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1411,7 +1487,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getMasterConfigB
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1427,7 +1503,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -1452,7 +1528,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig
com.google.cloud.dataproc.v1.InstanceGroupConfig, com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder, com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder> workerConfigBuilder_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1463,7 +1539,7 @@ public boolean hasWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1478,7 +1554,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1499,7 +1575,7 @@ public Builder setWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1518,7 +1594,7 @@ public Builder setWorkerConfig(
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1541,7 +1617,7 @@ public Builder mergeWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1560,7 +1636,7 @@ public Builder clearWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1573,7 +1649,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getWorkerConfigB
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1589,7 +1665,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -1614,7 +1690,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig
com.google.cloud.dataproc.v1.InstanceGroupConfig, com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder, com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder> secondaryWorkerConfigBuilder_;
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1625,7 +1701,7 @@ public boolean hasSecondaryWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1640,7 +1716,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1661,7 +1737,7 @@ public Builder setSecondaryWorkerConfig(com.google.cloud.dataproc.v1.InstanceGro
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1680,7 +1756,7 @@ public Builder setSecondaryWorkerConfig(
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1703,7 +1779,7 @@ public Builder mergeSecondaryWorkerConfig(com.google.cloud.dataproc.v1.InstanceG
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1722,7 +1798,7 @@ public Builder clearSecondaryWorkerConfig() {
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1735,7 +1811,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getSecondaryWork
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -1751,7 +1827,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getSecondaryWor
}
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -2397,6 +2473,159 @@ public com.google.cloud.dataproc.v1.NodeInitializationAction.Builder addInitiali
}
return initializationActionsBuilder_;
}
+
+ private com.google.cloud.dataproc.v1.EncryptionConfig encryptionConfig_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.EncryptionConfig, com.google.cloud.dataproc.v1.EncryptionConfig.Builder, com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public boolean hasEncryptionConfig() {
+ return encryptionConfigBuilder_ != null || encryptionConfig_ != null;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig() {
+ if (encryptionConfigBuilder_ == null) {
+ return encryptionConfig_ == null ? com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+ } else {
+ return encryptionConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public Builder setEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConfig value) {
+ if (encryptionConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ encryptionConfig_ = value;
+ onChanged();
+ } else {
+ encryptionConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public Builder setEncryptionConfig(
+ com.google.cloud.dataproc.v1.EncryptionConfig.Builder builderForValue) {
+ if (encryptionConfigBuilder_ == null) {
+ encryptionConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ encryptionConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public Builder mergeEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConfig value) {
+ if (encryptionConfigBuilder_ == null) {
+ if (encryptionConfig_ != null) {
+ encryptionConfig_ =
+ com.google.cloud.dataproc.v1.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial();
+ } else {
+ encryptionConfig_ = value;
+ }
+ onChanged();
+ } else {
+ encryptionConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public Builder clearEncryptionConfig() {
+ if (encryptionConfigBuilder_ == null) {
+ encryptionConfig_ = null;
+ onChanged();
+ } else {
+ encryptionConfig_ = null;
+ encryptionConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public com.google.cloud.dataproc.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() {
+
+ onChanged();
+ return getEncryptionConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ public com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
+ if (encryptionConfigBuilder_ != null) {
+ return encryptionConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return encryptionConfig_ == null ?
+ com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+ }
+ }
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.EncryptionConfig, com.google.cloud.dataproc.v1.EncryptionConfig.Builder, com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder>
+ getEncryptionConfigFieldBuilder() {
+ if (encryptionConfigBuilder_ == null) {
+ encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.EncryptionConfig, com.google.cloud.dataproc.v1.EncryptionConfig.Builder, com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder>(
+ getEncryptionConfig(),
+ getParentForChildren(),
+ isClean());
+ encryptionConfig_ = null;
+ }
+ return encryptionConfigBuilder_;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java
index 8558b132d3f1..24f81b572df0 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java
@@ -9,7 +9,7 @@ public interface ClusterConfigOrBuilder extends
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -22,7 +22,7 @@ public interface ClusterConfigOrBuilder extends
java.lang.String getConfigBucket();
/**
*
- * Optional. A Google Cloud Storage staging bucket used for sharing generated
+ * Optional. A Cloud Storage staging bucket used for sharing generated
* SSH keys and config. If you do not specify a staging bucket, Cloud
* Dataproc will determine an appropriate Cloud Storage location (US,
* ASIA, or EU) for your cluster's staging bucket according to the Google
@@ -37,7 +37,7 @@ public interface ClusterConfigOrBuilder extends
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -46,7 +46,7 @@ public interface ClusterConfigOrBuilder extends
boolean hasGceClusterConfig();
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -55,7 +55,7 @@ public interface ClusterConfigOrBuilder extends
com.google.cloud.dataproc.v1.GceClusterConfig getGceClusterConfig();
/**
*
- * Required. The shared Google Compute Engine config settings for
+ * Required. The shared Compute Engine config settings for
* all instances in a cluster.
*
*
@@ -65,7 +65,7 @@ public interface ClusterConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -74,7 +74,7 @@ public interface ClusterConfigOrBuilder extends
boolean hasMasterConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -83,7 +83,7 @@ public interface ClusterConfigOrBuilder extends
com.google.cloud.dataproc.v1.InstanceGroupConfig getMasterConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* the master instance in a cluster.
*
*
@@ -93,7 +93,7 @@ public interface ClusterConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -102,7 +102,7 @@ public interface ClusterConfigOrBuilder extends
boolean hasWorkerConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -111,7 +111,7 @@ public interface ClusterConfigOrBuilder extends
com.google.cloud.dataproc.v1.InstanceGroupConfig getWorkerConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* worker instances in a cluster.
*
*
@@ -121,7 +121,7 @@ public interface ClusterConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -130,7 +130,7 @@ public interface ClusterConfigOrBuilder extends
boolean hasSecondaryWorkerConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -139,7 +139,7 @@ public interface ClusterConfigOrBuilder extends
com.google.cloud.dataproc.v1.InstanceGroupConfig getSecondaryWorkerConfig();
/**
*
- * Optional. The Google Compute Engine config settings for
+ * Optional. The Compute Engine config settings for
* additional worker instances in a cluster.
*
*
@@ -260,4 +260,29 @@ public interface ClusterConfigOrBuilder extends
*/
com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder getInitializationActionsOrBuilder(
int index);
+
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ boolean hasEncryptionConfig();
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ com.google.cloud.dataproc.v1.EncryptionConfig getEncryptionConfig();
+ /**
+ *
+ * Optional. Encryption settings for the cluster.
+ *
+ *
+ * .google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15;
+ */
+ com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder();
}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java
new file mode 100644
index 000000000000..a5cd68178217
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperation.java
@@ -0,0 +1,807 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * The cluster operation triggered by a workflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.ClusterOperation}
+ */
+public final class ClusterOperation extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.ClusterOperation)
+ ClusterOperationOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use ClusterOperation.newBuilder() to construct.
+ private ClusterOperation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private ClusterOperation() {
+ operationId_ = "";
+ error_ = "";
+ done_ = false;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ClusterOperation(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ operationId_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ error_ = s;
+ break;
+ }
+ case 24: {
+
+ done_ = input.readBool();
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterOperation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterOperation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.ClusterOperation.class, com.google.cloud.dataproc.v1.ClusterOperation.Builder.class);
+ }
+
+ public static final int OPERATION_ID_FIELD_NUMBER = 1;
+ private volatile java.lang.Object operationId_;
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public java.lang.String getOperationId() {
+ java.lang.Object ref = operationId_;
+ 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();
+ operationId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public com.google.protobuf.ByteString
+ getOperationIdBytes() {
+ java.lang.Object ref = operationId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ operationId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ERROR_FIELD_NUMBER = 2;
+ private volatile java.lang.Object error_;
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public java.lang.String getError() {
+ java.lang.Object ref = error_;
+ 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();
+ error_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public com.google.protobuf.ByteString
+ getErrorBytes() {
+ java.lang.Object ref = error_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ error_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DONE_FIELD_NUMBER = 3;
+ private boolean done_;
+ /**
+ *
+ * Output only. Indicates the operation is done.
+ *
+ *
+ * bool done = 3;
+ */
+ public boolean getDone() {
+ return done_;
+ }
+
+ 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 (!getOperationIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationId_);
+ }
+ if (!getErrorBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_);
+ }
+ if (done_ != false) {
+ output.writeBool(3, done_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getOperationIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationId_);
+ }
+ if (!getErrorBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_);
+ }
+ if (done_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, done_);
+ }
+ size += unknownFields.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.dataproc.v1.ClusterOperation)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.ClusterOperation other = (com.google.cloud.dataproc.v1.ClusterOperation) obj;
+
+ boolean result = true;
+ result = result && getOperationId()
+ .equals(other.getOperationId());
+ result = result && getError()
+ .equals(other.getError());
+ result = result && (getDone()
+ == other.getDone());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getOperationId().hashCode();
+ hash = (37 * hash) + ERROR_FIELD_NUMBER;
+ hash = (53 * hash) + getError().hashCode();
+ hash = (37 * hash) + DONE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDone());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.ClusterOperation parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation 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.dataproc.v1.ClusterOperation parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation 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.dataproc.v1.ClusterOperation parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation 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.dataproc.v1.ClusterOperation parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation 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.dataproc.v1.ClusterOperation parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterOperation 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.dataproc.v1.ClusterOperation 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;
+ }
+ /**
+ *
+ * The cluster operation triggered by a workflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.ClusterOperation}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.ClusterOperation)
+ com.google.cloud.dataproc.v1.ClusterOperationOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterOperation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterOperation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.ClusterOperation.class, com.google.cloud.dataproc.v1.ClusterOperation.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.ClusterOperation.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ operationId_ = "";
+
+ error_ = "";
+
+ done_ = false;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterOperation_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterOperation getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.ClusterOperation.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterOperation build() {
+ com.google.cloud.dataproc.v1.ClusterOperation result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterOperation buildPartial() {
+ com.google.cloud.dataproc.v1.ClusterOperation result = new com.google.cloud.dataproc.v1.ClusterOperation(this);
+ result.operationId_ = operationId_;
+ result.error_ = error_;
+ result.done_ = done_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.ClusterOperation) {
+ return mergeFrom((com.google.cloud.dataproc.v1.ClusterOperation)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterOperation other) {
+ if (other == com.google.cloud.dataproc.v1.ClusterOperation.getDefaultInstance()) return this;
+ if (!other.getOperationId().isEmpty()) {
+ operationId_ = other.operationId_;
+ onChanged();
+ }
+ if (!other.getError().isEmpty()) {
+ error_ = other.error_;
+ onChanged();
+ }
+ if (other.getDone() != false) {
+ setDone(other.getDone());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.ClusterOperation parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.ClusterOperation) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object operationId_ = "";
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public java.lang.String getOperationId() {
+ java.lang.Object ref = operationId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ operationId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public com.google.protobuf.ByteString
+ getOperationIdBytes() {
+ java.lang.Object ref = operationId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ operationId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public Builder setOperationId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ operationId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public Builder clearOperationId() {
+
+ operationId_ = getDefaultInstance().getOperationId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ public Builder setOperationIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ operationId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object error_ = "";
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public java.lang.String getError() {
+ java.lang.Object ref = error_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ error_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public com.google.protobuf.ByteString
+ getErrorBytes() {
+ java.lang.Object ref = error_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ error_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public Builder setError(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ error_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public Builder clearError() {
+
+ error_ = getDefaultInstance().getError();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ public Builder setErrorBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ error_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean done_ ;
+ /**
+ *
+ * Output only. Indicates the operation is done.
+ *
+ *
+ * bool done = 3;
+ */
+ public boolean getDone() {
+ return done_;
+ }
+ /**
+ *
+ * Output only. Indicates the operation is done.
+ *
+ *
+ * bool done = 3;
+ */
+ public Builder setDone(boolean value) {
+
+ done_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Output only. Indicates the operation is done.
+ *
+ *
+ * bool done = 3;
+ */
+ public Builder clearDone() {
+
+ done_ = false;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.ClusterOperation)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterOperation)
+ private static final com.google.cloud.dataproc.v1.ClusterOperation DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.ClusterOperation();
+ }
+
+ public static com.google.cloud.dataproc.v1.ClusterOperation getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ClusterOperation parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ClusterOperation(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterOperation getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java
index 9ffe26e17e5d..3783ffcbc829 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadata.java
@@ -175,7 +175,7 @@ protected com.google.protobuf.MapField internalGetMapField(
private volatile java.lang.Object clusterName_;
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -194,7 +194,7 @@ public java.lang.String getClusterName() {
}
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -217,7 +217,7 @@ public java.lang.String getClusterName() {
private volatile java.lang.Object clusterUuid_;
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -236,7 +236,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -259,7 +259,7 @@ public java.lang.String getClusterUuid() {
private com.google.cloud.dataproc.v1.ClusterOperationStatus status_;
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -269,7 +269,7 @@ public boolean hasStatus() {
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -279,7 +279,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus() {
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -292,7 +292,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusOrB
private java.util.List statusHistory_;
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -302,7 +302,7 @@ public java.util.List getSt
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -313,7 +313,7 @@ public java.util.List getSt
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -323,7 +323,7 @@ public int getStatusHistoryCount() {
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -333,7 +333,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatusHistory(int
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -347,7 +347,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHis
private volatile java.lang.Object operationType_;
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -366,7 +366,7 @@ public java.lang.String getOperationType() {
}
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -389,7 +389,7 @@ public java.lang.String getOperationType() {
private volatile java.lang.Object description_;
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -408,7 +408,7 @@ public java.lang.String getDescription() {
}
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -455,7 +455,7 @@ public int getLabelsCount() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -475,7 +475,7 @@ public java.util.Map getLabels() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -486,7 +486,7 @@ public java.util.Map getLabelsMap() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -502,7 +502,7 @@ public java.lang.String getLabelsOrDefault(
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -523,7 +523,7 @@ public java.lang.String getLabelsOrThrow(
private com.google.protobuf.LazyStringList warnings_;
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -534,7 +534,7 @@ public java.lang.String getLabelsOrThrow(
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -544,7 +544,7 @@ public int getWarningsCount() {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -554,7 +554,7 @@ public java.lang.String getWarnings(int index) {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -1097,7 +1097,7 @@ public Builder mergeFrom(
private java.lang.Object clusterName_ = "";
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -1116,7 +1116,7 @@ public java.lang.String getClusterName() {
}
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -1136,7 +1136,7 @@ public java.lang.String getClusterName() {
}
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -1153,7 +1153,7 @@ public Builder setClusterName(
}
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -1166,7 +1166,7 @@ public Builder clearClusterName() {
}
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -1186,7 +1186,7 @@ public Builder setClusterNameBytes(
private java.lang.Object clusterUuid_ = "";
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -1205,7 +1205,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -1225,7 +1225,7 @@ public java.lang.String getClusterUuid() {
}
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -1242,7 +1242,7 @@ public Builder setClusterUuid(
}
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -1255,7 +1255,7 @@ public Builder clearClusterUuid() {
}
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -1277,7 +1277,7 @@ public Builder setClusterUuidBytes(
com.google.cloud.dataproc.v1.ClusterOperationStatus, com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder, com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder> statusBuilder_;
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1287,7 +1287,7 @@ public boolean hasStatus() {
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1301,7 +1301,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus() {
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1321,7 +1321,7 @@ public Builder setStatus(com.google.cloud.dataproc.v1.ClusterOperationStatus val
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1339,7 +1339,7 @@ public Builder setStatus(
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1361,7 +1361,7 @@ public Builder mergeStatus(com.google.cloud.dataproc.v1.ClusterOperationStatus v
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1379,7 +1379,7 @@ public Builder clearStatus() {
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1391,7 +1391,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder getStatusBuil
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1406,7 +1406,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusOrB
}
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -1439,7 +1439,7 @@ private void ensureStatusHistoryIsMutable() {
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1453,7 +1453,7 @@ public java.util.List getSt
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1467,7 +1467,7 @@ public int getStatusHistoryCount() {
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1481,7 +1481,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus getStatusHistory(int
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1502,7 +1502,7 @@ public Builder setStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1520,7 +1520,7 @@ public Builder setStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1540,7 +1540,7 @@ public Builder addStatusHistory(com.google.cloud.dataproc.v1.ClusterOperationSta
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1561,7 +1561,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1579,7 +1579,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1597,7 +1597,7 @@ public Builder addStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1616,7 +1616,7 @@ public Builder addAllStatusHistory(
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1633,7 +1633,7 @@ public Builder clearStatusHistory() {
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1650,7 +1650,7 @@ public Builder removeStatusHistory(int index) {
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1661,7 +1661,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder getStatusHist
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1675,7 +1675,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHis
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1690,7 +1690,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHis
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1701,7 +1701,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder addStatusHist
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1713,7 +1713,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder addStatusHist
}
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -1740,7 +1740,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.Builder addStatusHist
private java.lang.Object operationType_ = "";
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -1759,7 +1759,7 @@ public java.lang.String getOperationType() {
}
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -1779,7 +1779,7 @@ public java.lang.String getOperationType() {
}
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -1796,7 +1796,7 @@ public Builder setOperationType(
}
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -1809,7 +1809,7 @@ public Builder clearOperationType() {
}
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -1829,7 +1829,7 @@ public Builder setOperationTypeBytes(
private java.lang.Object description_ = "";
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -1848,7 +1848,7 @@ public java.lang.String getDescription() {
}
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -1868,7 +1868,7 @@ public java.lang.String getDescription() {
}
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -1885,7 +1885,7 @@ public Builder setDescription(
}
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -1898,7 +1898,7 @@ public Builder clearDescription() {
}
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -1943,7 +1943,7 @@ public int getLabelsCount() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -1963,7 +1963,7 @@ public java.util.Map getLabels() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -1974,7 +1974,7 @@ public java.util.Map getLabelsMap() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -1990,7 +1990,7 @@ public java.lang.String getLabelsOrDefault(
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -2014,7 +2014,7 @@ public Builder clearLabels() {
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -2037,7 +2037,7 @@ public Builder removeLabels(
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -2053,7 +2053,7 @@ public Builder putLabels(
}
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -2075,7 +2075,7 @@ private void ensureWarningsIsMutable() {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2086,7 +2086,7 @@ private void ensureWarningsIsMutable() {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2096,7 +2096,7 @@ public int getWarningsCount() {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2106,7 +2106,7 @@ public java.lang.String getWarnings(int index) {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2117,7 +2117,7 @@ public java.lang.String getWarnings(int index) {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2134,7 +2134,7 @@ public Builder setWarnings(
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2151,7 +2151,7 @@ public Builder addWarnings(
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2166,7 +2166,7 @@ public Builder addAllWarnings(
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -2179,7 +2179,7 @@ public Builder clearWarnings() {
}
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java
index 6041b66215d6..d009d7679f03 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationMetadataOrBuilder.java
@@ -9,7 +9,7 @@ public interface ClusterOperationMetadataOrBuilder extends
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -17,7 +17,7 @@ public interface ClusterOperationMetadataOrBuilder extends
java.lang.String getClusterName();
/**
*
- * Output-only. Name of the cluster for the operation.
+ * Output only. Name of the cluster for the operation.
*
*
* string cluster_name = 7;
@@ -27,7 +27,7 @@ public interface ClusterOperationMetadataOrBuilder extends
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -35,7 +35,7 @@ public interface ClusterOperationMetadataOrBuilder extends
java.lang.String getClusterUuid();
/**
*
- * Output-only. Cluster UUID for the operation.
+ * Output only. Cluster UUID for the operation.
*
*
* string cluster_uuid = 8;
@@ -45,7 +45,7 @@ public interface ClusterOperationMetadataOrBuilder extends
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -53,7 +53,7 @@ public interface ClusterOperationMetadataOrBuilder extends
boolean hasStatus();
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -61,7 +61,7 @@ public interface ClusterOperationMetadataOrBuilder extends
com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus();
/**
*
- * Output-only. Current operation status.
+ * Output only. Current operation status.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
@@ -70,7 +70,7 @@ public interface ClusterOperationMetadataOrBuilder extends
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -79,7 +79,7 @@ public interface ClusterOperationMetadataOrBuilder extends
getStatusHistoryList();
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -87,7 +87,7 @@ public interface ClusterOperationMetadataOrBuilder extends
com.google.cloud.dataproc.v1.ClusterOperationStatus getStatusHistory(int index);
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -95,7 +95,7 @@ public interface ClusterOperationMetadataOrBuilder extends
int getStatusHistoryCount();
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -104,7 +104,7 @@ public interface ClusterOperationMetadataOrBuilder extends
getStatusHistoryOrBuilderList();
/**
*
- * Output-only. The previous operation status.
+ * Output only. The previous operation status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
@@ -114,7 +114,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -122,7 +122,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
java.lang.String getOperationType();
/**
*
- * Output-only. The operation type.
+ * Output only. The operation type.
*
*
* string operation_type = 11;
@@ -132,7 +132,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -140,7 +140,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
java.lang.String getDescription();
/**
*
- * Output-only. Short description of operation.
+ * Output only. Short description of operation.
*
*
* string description = 12;
@@ -150,7 +150,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -158,7 +158,7 @@ com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrB
int getLabelsCount();
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -173,7 +173,7 @@ boolean containsLabels(
getLabels();
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -182,7 +182,7 @@ boolean containsLabels(
getLabelsMap();
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -193,7 +193,7 @@ java.lang.String getLabelsOrDefault(
java.lang.String defaultValue);
/**
*
- * Output-only. Labels associated with the operation
+ * Output only. Labels associated with the operation
*
*
* map<string, string> labels = 13;
@@ -204,7 +204,7 @@ java.lang.String getLabelsOrThrow(
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -213,7 +213,7 @@ java.lang.String getLabelsOrThrow(
getWarningsList();
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -221,7 +221,7 @@ java.lang.String getLabelsOrThrow(
int getWarningsCount();
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
@@ -229,7 +229,7 @@ java.lang.String getLabelsOrThrow(
java.lang.String getWarnings(int index);
/**
*
- * Output-only. Errors encountered during operation execution.
+ * Output only. Errors encountered during operation execution.
*
*
* repeated string warnings = 14;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java
new file mode 100644
index 000000000000..2254f92960c2
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationOrBuilder.java
@@ -0,0 +1,54 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface ClusterOperationOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.ClusterOperation)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ java.lang.String getOperationId();
+ /**
+ *
+ * Output only. The id of the cluster operation.
+ *
+ *
+ * string operation_id = 1;
+ */
+ com.google.protobuf.ByteString
+ getOperationIdBytes();
+
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ java.lang.String getError();
+ /**
+ *
+ * Output only. Error, if operation failed.
+ *
+ *
+ * string error = 2;
+ */
+ com.google.protobuf.ByteString
+ getErrorBytes();
+
+ /**
+ *
+ * Output only. Indicates the operation is done.
+ *
+ *
+ * bool done = 3;
+ */
+ boolean getDone();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java
index 2891ea1d9fce..3843e664f43e 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatus.java
@@ -268,7 +268,7 @@ private State(int value) {
private int state_;
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -278,7 +278,7 @@ public int getStateValue() {
}
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -293,7 +293,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() {
private volatile java.lang.Object innerState_;
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -312,7 +312,7 @@ public java.lang.String getInnerState() {
}
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -335,7 +335,7 @@ public java.lang.String getInnerState() {
private volatile java.lang.Object details_;
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -354,7 +354,7 @@ public java.lang.String getDetails() {
}
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -377,7 +377,7 @@ public java.lang.String getDetails() {
private com.google.protobuf.Timestamp stateStartTime_;
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -387,7 +387,7 @@ public boolean hasStateStartTime() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -397,7 +397,7 @@ public com.google.protobuf.Timestamp getStateStartTime() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -779,7 +779,7 @@ public Builder mergeFrom(
private int state_ = 0;
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -789,7 +789,7 @@ public int getStateValue() {
}
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -801,7 +801,7 @@ public Builder setStateValue(int value) {
}
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -813,7 +813,7 @@ public com.google.cloud.dataproc.v1.ClusterOperationStatus.State getState() {
}
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -829,7 +829,7 @@ public Builder setState(com.google.cloud.dataproc.v1.ClusterOperationStatus.Stat
}
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -844,7 +844,7 @@ public Builder clearState() {
private java.lang.Object innerState_ = "";
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -863,7 +863,7 @@ public java.lang.String getInnerState() {
}
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -883,7 +883,7 @@ public java.lang.String getInnerState() {
}
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -900,7 +900,7 @@ public Builder setInnerState(
}
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -913,7 +913,7 @@ public Builder clearInnerState() {
}
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -933,7 +933,7 @@ public Builder setInnerStateBytes(
private java.lang.Object details_ = "";
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -952,7 +952,7 @@ public java.lang.String getDetails() {
}
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -972,7 +972,7 @@ public java.lang.String getDetails() {
}
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -989,7 +989,7 @@ public Builder setDetails(
}
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -1002,7 +1002,7 @@ public Builder clearDetails() {
}
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -1024,7 +1024,7 @@ public Builder setDetailsBytes(
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateStartTimeBuilder_;
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1034,7 +1034,7 @@ public boolean hasStateStartTime() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1048,7 +1048,7 @@ public com.google.protobuf.Timestamp getStateStartTime() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1068,7 +1068,7 @@ public Builder setStateStartTime(com.google.protobuf.Timestamp value) {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1086,7 +1086,7 @@ public Builder setStateStartTime(
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1108,7 +1108,7 @@ public Builder mergeStateStartTime(com.google.protobuf.Timestamp value) {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1126,7 +1126,7 @@ public Builder clearStateStartTime() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1138,7 +1138,7 @@ public com.google.protobuf.Timestamp.Builder getStateStartTimeBuilder() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -1153,7 +1153,7 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() {
}
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java
index 59fda28d8c64..8c5204cc65c5 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOperationStatusOrBuilder.java
@@ -9,7 +9,7 @@ public interface ClusterOperationStatusOrBuilder extends
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -17,7 +17,7 @@ public interface ClusterOperationStatusOrBuilder extends
int getStateValue();
/**
*
- * Output-only. A message containing the operation state.
+ * Output only. A message containing the operation state.
*
*
* .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1;
@@ -26,7 +26,7 @@ public interface ClusterOperationStatusOrBuilder extends
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -34,7 +34,7 @@ public interface ClusterOperationStatusOrBuilder extends
java.lang.String getInnerState();
/**
*
- * Output-only. A message containing the detailed operation state.
+ * Output only. A message containing the detailed operation state.
*
*
* string inner_state = 2;
@@ -44,7 +44,7 @@ public interface ClusterOperationStatusOrBuilder extends
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -52,7 +52,7 @@ public interface ClusterOperationStatusOrBuilder extends
java.lang.String getDetails();
/**
*
- * Output-only.A message containing any operation metadata details.
+ * Output only. A message containing any operation metadata details.
*
*
* string details = 3;
@@ -62,7 +62,7 @@ public interface ClusterOperationStatusOrBuilder extends
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -70,7 +70,7 @@ public interface ClusterOperationStatusOrBuilder extends
boolean hasStateStartTime();
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
@@ -78,7 +78,7 @@ public interface ClusterOperationStatusOrBuilder extends
com.google.protobuf.Timestamp getStateStartTime();
/**
*
- * Output-only. The time this state was entered.
+ * Output only. The time this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 4;
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java
index 683f6875c213..97b1cedd26ec 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterOrBuilder.java
@@ -154,7 +154,7 @@ java.lang.String getLabelsOrThrow(
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -162,7 +162,7 @@ java.lang.String getLabelsOrThrow(
boolean hasStatus();
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -170,7 +170,7 @@ java.lang.String getLabelsOrThrow(
com.google.cloud.dataproc.v1.ClusterStatus getStatus();
/**
*
- * Output-only. Cluster status.
+ * Output only. Cluster status.
*
*
* .google.cloud.dataproc.v1.ClusterStatus status = 4;
@@ -179,7 +179,7 @@ java.lang.String getLabelsOrThrow(
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -188,7 +188,7 @@ java.lang.String getLabelsOrThrow(
getStatusHistoryList();
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -196,7 +196,7 @@ java.lang.String getLabelsOrThrow(
com.google.cloud.dataproc.v1.ClusterStatus getStatusHistory(int index);
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -204,7 +204,7 @@ java.lang.String getLabelsOrThrow(
int getStatusHistoryCount();
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -213,7 +213,7 @@ java.lang.String getLabelsOrThrow(
getStatusHistoryOrBuilderList();
/**
*
- * Output-only. The previous cluster status.
+ * Output only. The previous cluster status.
*
*
* repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
@@ -223,7 +223,7 @@ com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBuilder(
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
@@ -232,7 +232,7 @@ com.google.cloud.dataproc.v1.ClusterStatusOrBuilder getStatusHistoryOrBuilder(
java.lang.String getClusterUuid();
/**
*
- * Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
+ * Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
* generates this value when it creates the cluster.
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java
new file mode 100644
index 000000000000..2e0b5c09fa0e
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelector.java
@@ -0,0 +1,931 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A selector that chooses target cluster for jobs based on metadata.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.ClusterSelector}
+ */
+public final class ClusterSelector extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.ClusterSelector)
+ ClusterSelectorOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use ClusterSelector.newBuilder() to construct.
+ private ClusterSelector(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private ClusterSelector() {
+ zone_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ClusterSelector(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ zone_ = s;
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ clusterLabels_ = com.google.protobuf.MapField.newMapField(
+ ClusterLabelsDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000002;
+ }
+ com.google.protobuf.MapEntry
+ clusterLabels__ = input.readMessage(
+ ClusterLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ clusterLabels_.getMutableMap().put(
+ clusterLabels__.getKey(), clusterLabels__.getValue());
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(
+ int number) {
+ switch (number) {
+ case 2:
+ return internalGetClusterLabels();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.ClusterSelector.class, com.google.cloud.dataproc.v1.ClusterSelector.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int ZONE_FIELD_NUMBER = 1;
+ private volatile java.lang.Object zone_;
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public java.lang.String getZone() {
+ java.lang.Object ref = zone_;
+ 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();
+ zone_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public com.google.protobuf.ByteString
+ getZoneBytes() {
+ java.lang.Object ref = zone_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ zone_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CLUSTER_LABELS_FIELD_NUMBER = 2;
+ private static final class ClusterLabelsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_ClusterLabelsEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> clusterLabels_;
+ private com.google.protobuf.MapField
+ internalGetClusterLabels() {
+ if (clusterLabels_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ClusterLabelsDefaultEntryHolder.defaultEntry);
+ }
+ return clusterLabels_;
+ }
+
+ public int getClusterLabelsCount() {
+ return internalGetClusterLabels().getMap().size();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public boolean containsClusterLabels(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ return internalGetClusterLabels().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getClusterLabelsMap()} instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map getClusterLabels() {
+ return getClusterLabelsMap();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.util.Map getClusterLabelsMap() {
+ return internalGetClusterLabels().getMap();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.lang.String getClusterLabelsOrDefault(
+ java.lang.String key,
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ java.util.Map map =
+ internalGetClusterLabels().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.lang.String getClusterLabelsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ java.util.Map map =
+ internalGetClusterLabels().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 (!getZoneBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zone_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetClusterLabels(),
+ ClusterLabelsDefaultEntryHolder.defaultEntry,
+ 2);
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getZoneBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, zone_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetClusterLabels().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ clusterLabels__ = ClusterLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, clusterLabels__);
+ }
+ size += unknownFields.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.dataproc.v1.ClusterSelector)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.ClusterSelector other = (com.google.cloud.dataproc.v1.ClusterSelector) obj;
+
+ boolean result = true;
+ result = result && getZone()
+ .equals(other.getZone());
+ result = result && internalGetClusterLabels().equals(
+ other.internalGetClusterLabels());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ZONE_FIELD_NUMBER;
+ hash = (53 * hash) + getZone().hashCode();
+ if (!internalGetClusterLabels().getMap().isEmpty()) {
+ hash = (37 * hash) + CLUSTER_LABELS_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetClusterLabels().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.ClusterSelector parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector 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.dataproc.v1.ClusterSelector parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector 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.dataproc.v1.ClusterSelector parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector 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.dataproc.v1.ClusterSelector parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector 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.dataproc.v1.ClusterSelector parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.ClusterSelector 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.dataproc.v1.ClusterSelector prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * A selector that chooses target cluster for jobs based on metadata.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.ClusterSelector}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.ClusterSelector)
+ com.google.cloud.dataproc.v1.ClusterSelectorOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMapField(
+ int number) {
+ switch (number) {
+ case 2:
+ return internalGetClusterLabels();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMutableMapField(
+ int number) {
+ switch (number) {
+ case 2:
+ return internalGetMutableClusterLabels();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.ClusterSelector.class, com.google.cloud.dataproc.v1.ClusterSelector.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.ClusterSelector.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ zone_ = "";
+
+ internalGetMutableClusterLabels().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_ClusterSelector_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterSelector getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.ClusterSelector.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterSelector build() {
+ com.google.cloud.dataproc.v1.ClusterSelector result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterSelector buildPartial() {
+ com.google.cloud.dataproc.v1.ClusterSelector result = new com.google.cloud.dataproc.v1.ClusterSelector(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ result.zone_ = zone_;
+ result.clusterLabels_ = internalGetClusterLabels();
+ result.clusterLabels_.makeImmutable();
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.ClusterSelector) {
+ return mergeFrom((com.google.cloud.dataproc.v1.ClusterSelector)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterSelector other) {
+ if (other == com.google.cloud.dataproc.v1.ClusterSelector.getDefaultInstance()) return this;
+ if (!other.getZone().isEmpty()) {
+ zone_ = other.zone_;
+ onChanged();
+ }
+ internalGetMutableClusterLabels().mergeFrom(
+ other.internalGetClusterLabels());
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.ClusterSelector parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.ClusterSelector) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object zone_ = "";
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public java.lang.String getZone() {
+ java.lang.Object ref = zone_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ zone_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public com.google.protobuf.ByteString
+ getZoneBytes() {
+ java.lang.Object ref = zone_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ zone_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public Builder setZone(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ zone_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public Builder clearZone() {
+
+ zone_ = getDefaultInstance().getZone();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ public Builder setZoneBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ zone_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> clusterLabels_;
+ private com.google.protobuf.MapField
+ internalGetClusterLabels() {
+ if (clusterLabels_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ClusterLabelsDefaultEntryHolder.defaultEntry);
+ }
+ return clusterLabels_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableClusterLabels() {
+ onChanged();;
+ if (clusterLabels_ == null) {
+ clusterLabels_ = com.google.protobuf.MapField.newMapField(
+ ClusterLabelsDefaultEntryHolder.defaultEntry);
+ }
+ if (!clusterLabels_.isMutable()) {
+ clusterLabels_ = clusterLabels_.copy();
+ }
+ return clusterLabels_;
+ }
+
+ public int getClusterLabelsCount() {
+ return internalGetClusterLabels().getMap().size();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public boolean containsClusterLabels(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ return internalGetClusterLabels().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getClusterLabelsMap()} instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map getClusterLabels() {
+ return getClusterLabelsMap();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.util.Map getClusterLabelsMap() {
+ return internalGetClusterLabels().getMap();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.lang.String getClusterLabelsOrDefault(
+ java.lang.String key,
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ java.util.Map map =
+ internalGetClusterLabels().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public java.lang.String getClusterLabelsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ java.util.Map map =
+ internalGetClusterLabels().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public Builder clearClusterLabels() {
+ internalGetMutableClusterLabels().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public Builder removeClusterLabels(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ internalGetMutableClusterLabels().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableClusterLabels() {
+ return internalGetMutableClusterLabels().getMutableMap();
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+ public Builder putClusterLabels(
+ java.lang.String key,
+ java.lang.String value) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ if (value == null) { throw new java.lang.NullPointerException(); }
+ internalGetMutableClusterLabels().getMutableMap()
+ .put(key, value);
+ return this;
+ }
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ public Builder putAllClusterLabels(
+ java.util.Map values) {
+ internalGetMutableClusterLabels().getMutableMap()
+ .putAll(values);
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.ClusterSelector)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterSelector)
+ private static final com.google.cloud.dataproc.v1.ClusterSelector DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.ClusterSelector();
+ }
+
+ public static com.google.cloud.dataproc.v1.ClusterSelector getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ClusterSelector parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ClusterSelector(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.ClusterSelector getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java
new file mode 100644
index 000000000000..b88f7b9023fa
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterSelectorOrBuilder.java
@@ -0,0 +1,92 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface ClusterSelectorOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.ClusterSelector)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ java.lang.String getZone();
+ /**
+ *
+ * Optional. The zone where workflow process executes. This parameter does not
+ * affect the selection of the cluster.
+ * If unspecified, the zone of the first cluster matching the selector
+ * is used.
+ *
+ *
+ * string zone = 1;
+ */
+ com.google.protobuf.ByteString
+ getZoneBytes();
+
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+ int getClusterLabelsCount();
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+ boolean containsClusterLabels(
+ java.lang.String key);
+ /**
+ * Use {@link #getClusterLabelsMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getClusterLabels();
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+ java.util.Map
+ getClusterLabelsMap();
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ java.lang.String getClusterLabelsOrDefault(
+ java.lang.String key,
+ java.lang.String defaultValue);
+ /**
+ *
+ * Required. The cluster labels. Cluster must have all labels
+ * to match.
+ *
+ *
+ * map<string, string> cluster_labels = 2;
+ */
+
+ java.lang.String getClusterLabelsOrThrow(
+ java.lang.String key);
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java
index 6ea4de8f56bb..49efa356aec3 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatus.java
@@ -299,11 +299,19 @@ private State(int value) {
}
/**
+ *
+ * The cluster substate.
+ *
+ *
* Protobuf enum {@code google.cloud.dataproc.v1.ClusterStatus.Substate}
*/
public enum Substate
implements com.google.protobuf.ProtocolMessageEnum {
/**
+ *
+ * The cluster substate is unknown.
+ *
+ *
* UNSPECIFIED = 0;
*/
UNSPECIFIED(0),
@@ -332,6 +340,10 @@ public enum Substate
;
/**
+ *
+ * The cluster substate is unknown.
+ *
+ *
* UNSPECIFIED = 0;
*/
public static final int UNSPECIFIED_VALUE = 0;
@@ -435,7 +447,7 @@ private Substate(int value) {
private int state_;
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -445,7 +457,7 @@ public int getStateValue() {
}
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -460,7 +472,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() {
private volatile java.lang.Object detail_;
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -479,7 +491,7 @@ public java.lang.String getDetail() {
}
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -502,7 +514,7 @@ public java.lang.String getDetail() {
private com.google.protobuf.Timestamp stateStartTime_;
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -512,7 +524,7 @@ public boolean hasStateStartTime() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -522,7 +534,7 @@ public com.google.protobuf.Timestamp getStateStartTime() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -535,7 +547,7 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() {
private int substate_;
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -546,7 +558,7 @@ public int getSubstateValue() {
}
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -930,7 +942,7 @@ public Builder mergeFrom(
private int state_ = 0;
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -940,7 +952,7 @@ public int getStateValue() {
}
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -952,7 +964,7 @@ public Builder setStateValue(int value) {
}
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -964,7 +976,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.State getState() {
}
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -980,7 +992,7 @@ public Builder setState(com.google.cloud.dataproc.v1.ClusterStatus.State value)
}
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -995,7 +1007,7 @@ public Builder clearState() {
private java.lang.Object detail_ = "";
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -1014,7 +1026,7 @@ public java.lang.String getDetail() {
}
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -1034,7 +1046,7 @@ public java.lang.String getDetail() {
}
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -1051,7 +1063,7 @@ public Builder setDetail(
}
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -1064,7 +1076,7 @@ public Builder clearDetail() {
}
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -1086,7 +1098,7 @@ public Builder setDetailBytes(
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateStartTimeBuilder_;
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1096,7 +1108,7 @@ public boolean hasStateStartTime() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1110,7 +1122,7 @@ public com.google.protobuf.Timestamp getStateStartTime() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1130,7 +1142,7 @@ public Builder setStateStartTime(com.google.protobuf.Timestamp value) {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1148,7 +1160,7 @@ public Builder setStateStartTime(
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1170,7 +1182,7 @@ public Builder mergeStateStartTime(com.google.protobuf.Timestamp value) {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1188,7 +1200,7 @@ public Builder clearStateStartTime() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1200,7 +1212,7 @@ public com.google.protobuf.Timestamp.Builder getStateStartTimeBuilder() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1215,7 +1227,7 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() {
}
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -1237,7 +1249,7 @@ public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder() {
private int substate_ = 0;
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -1248,7 +1260,7 @@ public int getSubstateValue() {
}
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -1261,7 +1273,7 @@ public Builder setSubstateValue(int value) {
}
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -1274,7 +1286,7 @@ public com.google.cloud.dataproc.v1.ClusterStatus.Substate getSubstate() {
}
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -1291,7 +1303,7 @@ public Builder setSubstate(com.google.cloud.dataproc.v1.ClusterStatus.Substate v
}
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java
index 759653ddd83b..2fb4073d747d 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterStatusOrBuilder.java
@@ -9,7 +9,7 @@ public interface ClusterStatusOrBuilder extends
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -17,7 +17,7 @@ public interface ClusterStatusOrBuilder extends
int getStateValue();
/**
*
- * Output-only. The cluster's state.
+ * Output only. The cluster's state.
*
*
* .google.cloud.dataproc.v1.ClusterStatus.State state = 1;
@@ -26,7 +26,7 @@ public interface ClusterStatusOrBuilder extends
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -34,7 +34,7 @@ public interface ClusterStatusOrBuilder extends
java.lang.String getDetail();
/**
*
- * Output-only. Optional details of cluster's state.
+ * Output only. Optional details of cluster's state.
*
*
* string detail = 2;
@@ -44,7 +44,7 @@ public interface ClusterStatusOrBuilder extends
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -52,7 +52,7 @@ public interface ClusterStatusOrBuilder extends
boolean hasStateStartTime();
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -60,7 +60,7 @@ public interface ClusterStatusOrBuilder extends
com.google.protobuf.Timestamp getStateStartTime();
/**
*
- * Output-only. Time when this state was entered.
+ * Output only. Time when this state was entered.
*
*
* .google.protobuf.Timestamp state_start_time = 3;
@@ -69,7 +69,7 @@ public interface ClusterStatusOrBuilder extends
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
@@ -78,7 +78,7 @@ public interface ClusterStatusOrBuilder extends
int getSubstateValue();
/**
*
- * Output-only. Additional state information that includes
+ * Output only. Additional state information that includes
* status reported by the agent.
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java
index 77bdf564b851..7b6ce95ea86f 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java
@@ -29,6 +29,11 @@ public static void registerAllExtensions(
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dataproc_v1_EncryptionConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dataproc_v1_GceClusterConfig_descriptor;
static final
@@ -145,129 +150,136 @@ public static void registerAllExtensions(
java.lang.String[] descriptorData = {
"\n\'google/cloud/dataproc/v1/clusters.prot" +
"o\022\030google.cloud.dataproc.v1\032\034google/api/" +
- "annotations.proto\032)google/cloud/dataproc" +
- "/v1/operations.proto\032#google/longrunning" +
- "/operations.proto\032\036google/protobuf/durat" +
- "ion.proto\032 google/protobuf/field_mask.pr" +
- "oto\032\037google/protobuf/timestamp.proto\"\245\003\n" +
- "\007Cluster\022\022\n\nproject_id\030\001 \001(\t\022\024\n\014cluster_" +
- "name\030\002 \001(\t\0227\n\006config\030\003 \001(\0132\'.google.clou" +
- "d.dataproc.v1.ClusterConfig\022=\n\006labels\030\010 " +
- "\003(\0132-.google.cloud.dataproc.v1.Cluster.L" +
- "abelsEntry\0227\n\006status\030\004 \001(\0132\'.google.clou" +
- "d.dataproc.v1.ClusterStatus\022?\n\016status_hi" +
- "story\030\007 \003(\0132\'.google.cloud.dataproc.v1.C" +
- "lusterStatus\022\024\n\014cluster_uuid\030\006 \001(\t\0229\n\007me" +
- "trics\030\t \001(\0132(.google.cloud.dataproc.v1.C" +
- "lusterMetrics\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" +
- "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\341\003\n\rClusterConfig\022\025" +
- "\n\rconfig_bucket\030\001 \001(\t\022F\n\022gce_cluster_con" +
- "fig\030\010 \001(\0132*.google.cloud.dataproc.v1.Gce" +
- "ClusterConfig\022D\n\rmaster_config\030\t \001(\0132-.g" +
- "oogle.cloud.dataproc.v1.InstanceGroupCon" +
- "fig\022D\n\rworker_config\030\n \001(\0132-.google.clou" +
- "d.dataproc.v1.InstanceGroupConfig\022N\n\027sec" +
- "ondary_worker_config\030\014 \001(\0132-.google.clou" +
- "d.dataproc.v1.InstanceGroupConfig\022A\n\017sof" +
- "tware_config\030\r \001(\0132(.google.cloud.datapr" +
- "oc.v1.SoftwareConfig\022R\n\026initialization_a" +
- "ctions\030\013 \003(\01322.google.cloud.dataproc.v1." +
- "NodeInitializationAction\"\257\002\n\020GceClusterC" +
- "onfig\022\020\n\010zone_uri\030\001 \001(\t\022\023\n\013network_uri\030\002" +
- " \001(\t\022\026\n\016subnetwork_uri\030\006 \001(\t\022\030\n\020internal" +
- "_ip_only\030\007 \001(\010\022\027\n\017service_account\030\010 \001(\t\022" +
- "\036\n\026service_account_scopes\030\003 \003(\t\022\014\n\004tags\030" +
- "\004 \003(\t\022J\n\010metadata\030\005 \003(\01328.google.cloud.d" +
- "ataproc.v1.GceClusterConfig.MetadataEntr" +
- "y\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" +
- "\030\002 \001(\t:\0028\001\"\323\002\n\023InstanceGroupConfig\022\025\n\rnu" +
- "m_instances\030\001 \001(\005\022\026\n\016instance_names\030\002 \003(" +
- "\t\022\021\n\timage_uri\030\003 \001(\t\022\030\n\020machine_type_uri" +
- "\030\004 \001(\t\0229\n\013disk_config\030\005 \001(\0132$.google.clo" +
- "ud.dataproc.v1.DiskConfig\022\026\n\016is_preempti" +
- "ble\030\006 \001(\010\022J\n\024managed_group_config\030\007 \001(\0132" +
- ",.google.cloud.dataproc.v1.ManagedGroupC" +
- "onfig\022A\n\014accelerators\030\010 \003(\0132+.google.clo" +
- "ud.dataproc.v1.AcceleratorConfig\"Y\n\022Mana" +
- "gedGroupConfig\022\036\n\026instance_template_name" +
- "\030\001 \001(\t\022#\n\033instance_group_manager_name\030\002 " +
- "\001(\t\"L\n\021AcceleratorConfig\022\034\n\024accelerator_" +
- "type_uri\030\001 \001(\t\022\031\n\021accelerator_count\030\002 \001(" +
- "\005\"?\n\nDiskConfig\022\031\n\021boot_disk_size_gb\030\001 \001" +
- "(\005\022\026\n\016num_local_ssds\030\002 \001(\005\"i\n\030NodeInitia" +
- "lizationAction\022\027\n\017executable_file\030\001 \001(\t\022" +
- "4\n\021execution_timeout\030\002 \001(\0132\031.google.prot" +
- "obuf.Duration\"\355\002\n\rClusterStatus\022<\n\005state" +
- "\030\001 \001(\0162-.google.cloud.dataproc.v1.Cluste" +
- "rStatus.State\022\016\n\006detail\030\002 \001(\t\0224\n\020state_s" +
- "tart_time\030\003 \001(\0132\032.google.protobuf.Timest" +
- "amp\022B\n\010substate\030\004 \001(\01620.google.cloud.dat" +
- "aproc.v1.ClusterStatus.Substate\"V\n\005State" +
- "\022\013\n\007UNKNOWN\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002" +
- "\022\t\n\005ERROR\020\003\022\014\n\010DELETING\020\004\022\014\n\010UPDATING\020\005\"" +
- "<\n\010Substate\022\017\n\013UNSPECIFIED\020\000\022\r\n\tUNHEALTH" +
- "Y\020\001\022\020\n\014STALE_STATUS\020\002\"\250\001\n\016SoftwareConfig" +
- "\022\025\n\rimage_version\030\001 \001(\t\022L\n\nproperties\030\002 " +
- "\003(\01328.google.cloud.dataproc.v1.SoftwareC" +
- "onfig.PropertiesEntry\0321\n\017PropertiesEntry" +
- "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\232\002\n\016Clu" +
- "sterMetrics\022O\n\014hdfs_metrics\030\001 \003(\01329.goog" +
- "le.cloud.dataproc.v1.ClusterMetrics.Hdfs" +
- "MetricsEntry\022O\n\014yarn_metrics\030\002 \003(\01329.goo" +
- "gle.cloud.dataproc.v1.ClusterMetrics.Yar" +
- "nMetricsEntry\0322\n\020HdfsMetricsEntry\022\013\n\003key" +
- "\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\0322\n\020YarnMetrics" +
- "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"n\n" +
- "\024CreateClusterRequest\022\022\n\nproject_id\030\001 \001(" +
- "\t\022\016\n\006region\030\003 \001(\t\0222\n\007cluster\030\002 \001(\0132!.goo" +
- "gle.cloud.dataproc.v1.Cluster\"\265\001\n\024Update" +
- "ClusterRequest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006re" +
- "gion\030\005 \001(\t\022\024\n\014cluster_name\030\002 \001(\t\0222\n\007clus" +
- "ter\030\003 \001(\0132!.google.cloud.dataproc.v1.Clu" +
- "ster\022/\n\013update_mask\030\004 \001(\0132\032.google.proto" +
- "buf.FieldMask\"P\n\024DeleteClusterRequest\022\022\n" +
- "\nproject_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022\024\n\014clu" +
- "ster_name\030\002 \001(\t\"M\n\021GetClusterRequest\022\022\n\n" +
- "project_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022\024\n\014clus" +
- "ter_name\030\002 \001(\t\"p\n\023ListClustersRequest\022\022\n" +
- "\nproject_id\030\001 \001(\t\022\016\n\006region\030\004 \001(\t\022\016\n\006fil" +
- "ter\030\005 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" +
- "en\030\003 \001(\t\"d\n\024ListClustersResponse\0223\n\010clus" +
- "ters\030\001 \003(\0132!.google.cloud.dataproc.v1.Cl" +
- "uster\022\027\n\017next_page_token\030\002 \001(\t\"R\n\026Diagno" +
- "seClusterRequest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006" +
- "region\030\003 \001(\t\022\024\n\014cluster_name\030\002 \001(\t\",\n\026Di" +
- "agnoseClusterResults\022\022\n\noutput_uri\030\001 \001(\t" +
- "2\262\010\n\021ClusterController\022\244\001\n\rCreateCluster" +
- "\022..google.cloud.dataproc.v1.CreateCluste" +
+ "annotations.proto\032#google/longrunning/op" +
+ "erations.proto\032\036google/protobuf/duration" +
+ ".proto\032 google/protobuf/field_mask.proto" +
+ "\032\037google/protobuf/timestamp.proto\"\245\003\n\007Cl" +
+ "uster\022\022\n\nproject_id\030\001 \001(\t\022\024\n\014cluster_nam" +
+ "e\030\002 \001(\t\0227\n\006config\030\003 \001(\0132\'.google.cloud.d" +
+ "ataproc.v1.ClusterConfig\022=\n\006labels\030\010 \003(\013" +
+ "2-.google.cloud.dataproc.v1.Cluster.Labe" +
+ "lsEntry\0227\n\006status\030\004 \001(\0132\'.google.cloud.d" +
+ "ataproc.v1.ClusterStatus\022?\n\016status_histo" +
+ "ry\030\007 \003(\0132\'.google.cloud.dataproc.v1.Clus" +
+ "terStatus\022\024\n\014cluster_uuid\030\006 \001(\t\0229\n\007metri" +
+ "cs\030\t \001(\0132(.google.cloud.dataproc.v1.Clus" +
+ "terMetrics\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" +
+ "\n\005value\030\002 \001(\t:\0028\001\"\250\004\n\rClusterConfig\022\025\n\rc" +
+ "onfig_bucket\030\001 \001(\t\022F\n\022gce_cluster_config" +
+ "\030\010 \001(\0132*.google.cloud.dataproc.v1.GceClu" +
+ "sterConfig\022D\n\rmaster_config\030\t \001(\0132-.goog" +
+ "le.cloud.dataproc.v1.InstanceGroupConfig" +
+ "\022D\n\rworker_config\030\n \001(\0132-.google.cloud.d" +
+ "ataproc.v1.InstanceGroupConfig\022N\n\027second" +
+ "ary_worker_config\030\014 \001(\0132-.google.cloud.d" +
+ "ataproc.v1.InstanceGroupConfig\022A\n\017softwa" +
+ "re_config\030\r \001(\0132(.google.cloud.dataproc." +
+ "v1.SoftwareConfig\022R\n\026initialization_acti" +
+ "ons\030\013 \003(\01322.google.cloud.dataproc.v1.Nod" +
+ "eInitializationAction\022E\n\021encryption_conf" +
+ "ig\030\017 \001(\0132*.google.cloud.dataproc.v1.Encr" +
+ "yptionConfig\"/\n\020EncryptionConfig\022\033\n\023gce_" +
+ "pd_kms_key_name\030\001 \001(\t\"\257\002\n\020GceClusterConf" +
+ "ig\022\020\n\010zone_uri\030\001 \001(\t\022\023\n\013network_uri\030\002 \001(" +
+ "\t\022\026\n\016subnetwork_uri\030\006 \001(\t\022\030\n\020internal_ip" +
+ "_only\030\007 \001(\010\022\027\n\017service_account\030\010 \001(\t\022\036\n\026" +
+ "service_account_scopes\030\003 \003(\t\022\014\n\004tags\030\004 \003" +
+ "(\t\022J\n\010metadata\030\005 \003(\01328.google.cloud.data" +
+ "proc.v1.GceClusterConfig.MetadataEntry\032/" +
+ "\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " +
+ "\001(\t:\0028\001\"\323\002\n\023InstanceGroupConfig\022\025\n\rnum_i" +
+ "nstances\030\001 \001(\005\022\026\n\016instance_names\030\002 \003(\t\022\021" +
+ "\n\timage_uri\030\003 \001(\t\022\030\n\020machine_type_uri\030\004 " +
+ "\001(\t\0229\n\013disk_config\030\005 \001(\0132$.google.cloud." +
+ "dataproc.v1.DiskConfig\022\026\n\016is_preemptible" +
+ "\030\006 \001(\010\022J\n\024managed_group_config\030\007 \001(\0132,.g" +
+ "oogle.cloud.dataproc.v1.ManagedGroupConf" +
+ "ig\022A\n\014accelerators\030\010 \003(\0132+.google.cloud." +
+ "dataproc.v1.AcceleratorConfig\"Y\n\022Managed" +
+ "GroupConfig\022\036\n\026instance_template_name\030\001 " +
+ "\001(\t\022#\n\033instance_group_manager_name\030\002 \001(\t" +
+ "\"L\n\021AcceleratorConfig\022\034\n\024accelerator_typ" +
+ "e_uri\030\001 \001(\t\022\031\n\021accelerator_count\030\002 \001(\005\"W" +
+ "\n\nDiskConfig\022\026\n\016boot_disk_type\030\003 \001(\t\022\031\n\021" +
+ "boot_disk_size_gb\030\001 \001(\005\022\026\n\016num_local_ssd" +
+ "s\030\002 \001(\005\"i\n\030NodeInitializationAction\022\027\n\017e" +
+ "xecutable_file\030\001 \001(\t\0224\n\021execution_timeou" +
+ "t\030\002 \001(\0132\031.google.protobuf.Duration\"\355\002\n\rC" +
+ "lusterStatus\022<\n\005state\030\001 \001(\0162-.google.clo" +
+ "ud.dataproc.v1.ClusterStatus.State\022\016\n\006de" +
+ "tail\030\002 \001(\t\0224\n\020state_start_time\030\003 \001(\0132\032.g" +
+ "oogle.protobuf.Timestamp\022B\n\010substate\030\004 \001" +
+ "(\01620.google.cloud.dataproc.v1.ClusterSta" +
+ "tus.Substate\"V\n\005State\022\013\n\007UNKNOWN\020\000\022\014\n\010CR" +
+ "EATING\020\001\022\013\n\007RUNNING\020\002\022\t\n\005ERROR\020\003\022\014\n\010DELE" +
+ "TING\020\004\022\014\n\010UPDATING\020\005\"<\n\010Substate\022\017\n\013UNSP" +
+ "ECIFIED\020\000\022\r\n\tUNHEALTHY\020\001\022\020\n\014STALE_STATUS" +
+ "\020\002\"\250\001\n\016SoftwareConfig\022\025\n\rimage_version\030\001" +
+ " \001(\t\022L\n\nproperties\030\002 \003(\01328.google.cloud." +
+ "dataproc.v1.SoftwareConfig.PropertiesEnt" +
+ "ry\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" +
+ "lue\030\002 \001(\t:\0028\001\"\232\002\n\016ClusterMetrics\022O\n\014hdfs" +
+ "_metrics\030\001 \003(\01329.google.cloud.dataproc.v" +
+ "1.ClusterMetrics.HdfsMetricsEntry\022O\n\014yar" +
+ "n_metrics\030\002 \003(\01329.google.cloud.dataproc." +
+ "v1.ClusterMetrics.YarnMetricsEntry\0322\n\020Hd" +
+ "fsMetricsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
+ "(\003:\0028\001\0322\n\020YarnMetricsEntry\022\013\n\003key\030\001 \001(\t\022" +
+ "\r\n\005value\030\002 \001(\003:\0028\001\"\202\001\n\024CreateClusterRequ" +
+ "est\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022" +
+ "2\n\007cluster\030\002 \001(\0132!.google.cloud.dataproc" +
+ ".v1.Cluster\022\022\n\nrequest_id\030\004 \001(\t\"\213\002\n\024Upda" +
+ "teClusterRequest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006" +
+ "region\030\005 \001(\t\022\024\n\014cluster_name\030\002 \001(\t\0222\n\007cl" +
+ "uster\030\003 \001(\0132!.google.cloud.dataproc.v1.C" +
+ "luster\022@\n\035graceful_decommission_timeout\030" +
+ "\006 \001(\0132\031.google.protobuf.Duration\022/\n\013upda" +
+ "te_mask\030\004 \001(\0132\032.google.protobuf.FieldMas" +
+ "k\022\022\n\nrequest_id\030\007 \001(\t\"z\n\024DeleteClusterRe" +
+ "quest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\003 \001(" +
+ "\t\022\024\n\014cluster_name\030\002 \001(\t\022\024\n\014cluster_uuid\030" +
+ "\004 \001(\t\022\022\n\nrequest_id\030\005 \001(\t\"M\n\021GetClusterR" +
+ "equest\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\003 \001" +
+ "(\t\022\024\n\014cluster_name\030\002 \001(\t\"p\n\023ListClusters" +
+ "Request\022\022\n\nproject_id\030\001 \001(\t\022\016\n\006region\030\004 " +
+ "\001(\t\022\016\n\006filter\030\005 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" +
+ "\n\npage_token\030\003 \001(\t\"d\n\024ListClustersRespon" +
+ "se\0223\n\010clusters\030\001 \003(\0132!.google.cloud.data" +
+ "proc.v1.Cluster\022\027\n\017next_page_token\030\002 \001(\t" +
+ "\"R\n\026DiagnoseClusterRequest\022\022\n\nproject_id" +
+ "\030\001 \001(\t\022\016\n\006region\030\003 \001(\t\022\024\n\014cluster_name\030\002" +
+ " \001(\t\",\n\026DiagnoseClusterResults\022\022\n\noutput" +
+ "_uri\030\001 \001(\t2\262\010\n\021ClusterController\022\244\001\n\rCre" +
+ "ateCluster\022..google.cloud.dataproc.v1.Cr" +
+ "eateClusterRequest\032\035.google.longrunning." +
+ "Operation\"D\202\323\344\223\002>\"3/v1/projects/{project" +
+ "_id}/regions/{region}/clusters:\007cluster\022" +
+ "\263\001\n\rUpdateCluster\022..google.cloud.datapro" +
+ "c.v1.UpdateClusterRequest\032\035.google.longr" +
+ "unning.Operation\"S\202\323\344\223\002M2B/v1/projects/{" +
+ "project_id}/regions/{region}/clusters/{c" +
+ "luster_name}:\007cluster\022\252\001\n\rDeleteCluster\022" +
+ "..google.cloud.dataproc.v1.DeleteCluster" +
+ "Request\032\035.google.longrunning.Operation\"J" +
+ "\202\323\344\223\002D*B/v1/projects/{project_id}/region" +
+ "s/{region}/clusters/{cluster_name}\022\250\001\n\nG" +
+ "etCluster\022+.google.cloud.dataproc.v1.Get" +
+ "ClusterRequest\032!.google.cloud.dataproc.v" +
+ "1.Cluster\"J\202\323\344\223\002D\022B/v1/projects/{project" +
+ "_id}/regions/{region}/clusters/{cluster_" +
+ "name}\022\252\001\n\014ListClusters\022-.google.cloud.da" +
+ "taproc.v1.ListClustersRequest\032..google.c" +
+ "loud.dataproc.v1.ListClustersResponse\";\202" +
+ "\323\344\223\0025\0223/v1/projects/{project_id}/regions" +
+ "/{region}/clusters\022\272\001\n\017DiagnoseCluster\0220" +
+ ".google.cloud.dataproc.v1.DiagnoseCluste" +
"rRequest\032\035.google.longrunning.Operation\"" +
- "D\202\323\344\223\002>\"3/v1/projects/{project_id}/regio" +
- "ns/{region}/clusters:\007cluster\022\263\001\n\rUpdate" +
- "Cluster\022..google.cloud.dataproc.v1.Updat" +
- "eClusterRequest\032\035.google.longrunning.Ope" +
- "ration\"S\202\323\344\223\002M2B/v1/projects/{project_id" +
- "}/regions/{region}/clusters/{cluster_nam" +
- "e}:\007cluster\022\252\001\n\rDeleteCluster\022..google.c" +
- "loud.dataproc.v1.DeleteClusterRequest\032\035." +
- "google.longrunning.Operation\"J\202\323\344\223\002D*B/v" +
- "1/projects/{project_id}/regions/{region}" +
- "/clusters/{cluster_name}\022\250\001\n\nGetCluster\022" +
- "+.google.cloud.dataproc.v1.GetClusterReq" +
- "uest\032!.google.cloud.dataproc.v1.Cluster\"" +
- "J\202\323\344\223\002D\022B/v1/projects/{project_id}/regio" +
- "ns/{region}/clusters/{cluster_name}\022\252\001\n\014" +
- "ListClusters\022-.google.cloud.dataproc.v1." +
- "ListClustersRequest\032..google.cloud.datap" +
- "roc.v1.ListClustersResponse\";\202\323\344\223\0025\0223/v1" +
- "/projects/{project_id}/regions/{region}/" +
- "clusters\022\272\001\n\017DiagnoseCluster\0220.google.cl" +
- "oud.dataproc.v1.DiagnoseClusterRequest\032\035" +
- ".google.longrunning.Operation\"V\202\323\344\223\002P\"K/" +
- "v1/projects/{project_id}/regions/{region" +
- "}/clusters/{cluster_name}:diagnose:\001*Bq\n" +
- "\034com.google.cloud.dataproc.v1B\rClustersP" +
- "rotoP\001Z@google.golang.org/genproto/googl" +
- "eapis/cloud/dataproc/v1;dataprocb\006proto3"
+ "V\202\323\344\223\002P\"K/v1/projects/{project_id}/regio" +
+ "ns/{region}/clusters/{cluster_name}:diag" +
+ "nose:\001*Bq\n\034com.google.cloud.dataproc.v1B" +
+ "\rClustersProtoP\001Z@google.golang.org/genp" +
+ "roto/googleapis/cloud/dataproc/v1;datapr" +
+ "ocb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
@@ -281,7 +293,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
- com.google.cloud.dataproc.v1.OperationsProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
@@ -304,9 +315,15 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ClusterConfig_descriptor,
- new java.lang.String[] { "ConfigBucket", "GceClusterConfig", "MasterConfig", "WorkerConfig", "SecondaryWorkerConfig", "SoftwareConfig", "InitializationActions", });
- internal_static_google_cloud_dataproc_v1_GceClusterConfig_descriptor =
+ new java.lang.String[] { "ConfigBucket", "GceClusterConfig", "MasterConfig", "WorkerConfig", "SecondaryWorkerConfig", "SoftwareConfig", "InitializationActions", "EncryptionConfig", });
+ internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor =
getDescriptor().getMessageTypes().get(2);
+ internal_static_google_cloud_dataproc_v1_EncryptionConfig_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor,
+ new java.lang.String[] { "GcePdKmsKeyName", });
+ internal_static_google_cloud_dataproc_v1_GceClusterConfig_descriptor =
+ getDescriptor().getMessageTypes().get(3);
internal_static_google_cloud_dataproc_v1_GceClusterConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_GceClusterConfig_descriptor,
@@ -318,43 +335,43 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_dataproc_v1_GceClusterConfig_MetadataEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_google_cloud_dataproc_v1_InstanceGroupConfig_descriptor =
- getDescriptor().getMessageTypes().get(3);
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_cloud_dataproc_v1_InstanceGroupConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_InstanceGroupConfig_descriptor,
new java.lang.String[] { "NumInstances", "InstanceNames", "ImageUri", "MachineTypeUri", "DiskConfig", "IsPreemptible", "ManagedGroupConfig", "Accelerators", });
internal_static_google_cloud_dataproc_v1_ManagedGroupConfig_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_cloud_dataproc_v1_ManagedGroupConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ManagedGroupConfig_descriptor,
new java.lang.String[] { "InstanceTemplateName", "InstanceGroupManagerName", });
internal_static_google_cloud_dataproc_v1_AcceleratorConfig_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_cloud_dataproc_v1_AcceleratorConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_AcceleratorConfig_descriptor,
new java.lang.String[] { "AcceleratorTypeUri", "AcceleratorCount", });
internal_static_google_cloud_dataproc_v1_DiskConfig_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_cloud_dataproc_v1_DiskConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_DiskConfig_descriptor,
- new java.lang.String[] { "BootDiskSizeGb", "NumLocalSsds", });
+ new java.lang.String[] { "BootDiskType", "BootDiskSizeGb", "NumLocalSsds", });
internal_static_google_cloud_dataproc_v1_NodeInitializationAction_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_dataproc_v1_NodeInitializationAction_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_NodeInitializationAction_descriptor,
new java.lang.String[] { "ExecutableFile", "ExecutionTimeout", });
internal_static_google_cloud_dataproc_v1_ClusterStatus_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_cloud_dataproc_v1_ClusterStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ClusterStatus_descriptor,
new java.lang.String[] { "State", "Detail", "StateStartTime", "Substate", });
internal_static_google_cloud_dataproc_v1_SoftwareConfig_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_dataproc_v1_SoftwareConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_SoftwareConfig_descriptor,
@@ -366,7 +383,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_dataproc_v1_SoftwareConfig_PropertiesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_google_cloud_dataproc_v1_ClusterMetrics_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_dataproc_v1_ClusterMetrics_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ClusterMetrics_descriptor,
@@ -384,49 +401,49 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_dataproc_v1_ClusterMetrics_YarnMetricsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_google_cloud_dataproc_v1_CreateClusterRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_dataproc_v1_CreateClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_CreateClusterRequest_descriptor,
- new java.lang.String[] { "ProjectId", "Region", "Cluster", });
+ new java.lang.String[] { "ProjectId", "Region", "Cluster", "RequestId", });
internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_UpdateClusterRequest_descriptor,
- new java.lang.String[] { "ProjectId", "Region", "ClusterName", "Cluster", "UpdateMask", });
+ new java.lang.String[] { "ProjectId", "Region", "ClusterName", "Cluster", "GracefulDecommissionTimeout", "UpdateMask", "RequestId", });
internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_DeleteClusterRequest_descriptor,
- new java.lang.String[] { "ProjectId", "Region", "ClusterName", });
+ new java.lang.String[] { "ProjectId", "Region", "ClusterName", "ClusterUuid", "RequestId", });
internal_static_google_cloud_dataproc_v1_GetClusterRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_dataproc_v1_GetClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_GetClusterRequest_descriptor,
new java.lang.String[] { "ProjectId", "Region", "ClusterName", });
internal_static_google_cloud_dataproc_v1_ListClustersRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_dataproc_v1_ListClustersRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ListClustersRequest_descriptor,
new java.lang.String[] { "ProjectId", "Region", "Filter", "PageSize", "PageToken", });
internal_static_google_cloud_dataproc_v1_ListClustersResponse_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_dataproc_v1_ListClustersResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_ListClustersResponse_descriptor,
new java.lang.String[] { "Clusters", "NextPageToken", });
internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_DiagnoseClusterRequest_descriptor,
new java.lang.String[] { "ProjectId", "Region", "ClusterName", });
internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dataproc_v1_DiagnoseClusterResults_descriptor,
@@ -437,7 +454,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
- com.google.cloud.dataproc.v1.OperationsProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java
index 24628270daa2..f5fb17c005ab 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequest.java
@@ -22,6 +22,7 @@ private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder> b
private CreateClusterRequest() {
projectId_ = "";
region_ = "";
+ requestId_ = "";
}
@java.lang.Override
@@ -73,6 +74,12 @@ private CreateClusterRequest(
region_ = s;
break;
}
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ requestId_ = s;
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -224,6 +231,64 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() {
return getCluster();
}
+ public static final int REQUEST_ID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object requestId_;
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ 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();
+ requestId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -247,6 +312,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!getRegionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, region_);
}
+ if (!getRequestIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_);
+ }
unknownFields.writeTo(output);
}
@@ -266,6 +334,9 @@ public int getSerializedSize() {
if (!getRegionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, region_);
}
+ if (!getRequestIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -291,6 +362,8 @@ public boolean equals(final java.lang.Object obj) {
result = result && getCluster()
.equals(other.getCluster());
}
+ result = result && getRequestId()
+ .equals(other.getRequestId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -310,6 +383,8 @@ public int hashCode() {
hash = (37 * hash) + CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getCluster().hashCode();
}
+ hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -457,6 +532,8 @@ public Builder clear() {
cluster_ = null;
clusterBuilder_ = null;
}
+ requestId_ = "";
+
return this;
}
@@ -490,6 +567,7 @@ public com.google.cloud.dataproc.v1.CreateClusterRequest buildPartial() {
} else {
result.cluster_ = clusterBuilder_.build();
}
+ result.requestId_ = requestId_;
onBuilt();
return result;
}
@@ -549,6 +627,10 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.CreateClusterRequest other
if (other.hasCluster()) {
mergeCluster(other.getCluster());
}
+ if (!other.getRequestId().isEmpty()) {
+ requestId_ = other.requestId_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -913,6 +995,135 @@ public com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder() {
}
return clusterBuilder_;
}
+
+ private java.lang.Object requestId_ = "";
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public Builder setRequestId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public Builder clearRequestId() {
+
+ requestId_ = getDefaultInstance().getRequestId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ public Builder setRequestIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java
index 3609d5f5da36..5e8b1ccfc181 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateClusterRequestOrBuilder.java
@@ -69,4 +69,38 @@ public interface CreateClusterRequestOrBuilder extends
* .google.cloud.dataproc.v1.Cluster cluster = 2;
*/
com.google.cloud.dataproc.v1.ClusterOrBuilder getClusterOrBuilder();
+
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ java.lang.String getRequestId();
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend
+ * is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 4;
+ */
+ com.google.protobuf.ByteString
+ getRequestIdBytes();
}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java
new file mode 100644
index 000000000000..64310a2fc680
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequest.java
@@ -0,0 +1,820 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A request to create a workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.CreateWorkflowTemplateRequest}
+ */
+public final class CreateWorkflowTemplateRequest extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.CreateWorkflowTemplateRequest)
+ CreateWorkflowTemplateRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use CreateWorkflowTemplateRequest.newBuilder() to construct.
+ private CreateWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private CreateWorkflowTemplateRequest() {
+ parent_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private CreateWorkflowTemplateRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ parent_ = s;
+ break;
+ }
+ case 18: {
+ com.google.cloud.dataproc.v1.WorkflowTemplate.Builder subBuilder = null;
+ if (template_ != null) {
+ subBuilder = template_.toBuilder();
+ }
+ template_ = input.readMessage(com.google.cloud.dataproc.v1.WorkflowTemplate.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(template_);
+ template_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_CreateWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_CreateWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object parent_;
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ 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();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public com.google.protobuf.ByteString
+ getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TEMPLATE_FIELD_NUMBER = 2;
+ private com.google.cloud.dataproc.v1.WorkflowTemplate template_;
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public boolean hasTemplate() {
+ return template_ != null;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() {
+ return template_ == null ? com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder() {
+ return getTemplate();
+ }
+
+ 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 (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (template_ != null) {
+ output.writeMessage(2, getTemplate());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (template_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getTemplate());
+ }
+ size += unknownFields.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.dataproc.v1.CreateWorkflowTemplateRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest other = (com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest) obj;
+
+ boolean result = true;
+ result = result && getParent()
+ .equals(other.getParent());
+ result = result && (hasTemplate() == other.hasTemplate());
+ if (hasTemplate()) {
+ result = result && getTemplate()
+ .equals(other.getTemplate());
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ if (hasTemplate()) {
+ hash = (37 * hash) + TEMPLATE_FIELD_NUMBER;
+ hash = (53 * hash) + getTemplate().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest 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.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest 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.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest 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.dataproc.v1.CreateWorkflowTemplateRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest 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.dataproc.v1.CreateWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest 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.dataproc.v1.CreateWorkflowTemplateRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * A request to create a workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.CreateWorkflowTemplateRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.CreateWorkflowTemplateRequest)
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_CreateWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_CreateWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ parent_ = "";
+
+ if (templateBuilder_ == null) {
+ template_ = null;
+ } else {
+ template_ = null;
+ templateBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_CreateWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest build() {
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest buildPartial() {
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest(this);
+ result.parent_ = parent_;
+ if (templateBuilder_ == null) {
+ result.template_ = template_;
+ } else {
+ result.template_ = templateBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest) {
+ return mergeFrom((com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest other) {
+ if (other == com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest.getDefaultInstance()) return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ onChanged();
+ }
+ if (other.hasTemplate()) {
+ mergeTemplate(other.getTemplate());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object parent_ = "";
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public com.google.protobuf.ByteString
+ getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder setParent(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder setParentBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.dataproc.v1.WorkflowTemplate template_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder> templateBuilder_;
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public boolean hasTemplate() {
+ return templateBuilder_ != null || template_ != null;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() {
+ if (templateBuilder_ == null) {
+ return template_ == null ? com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ } else {
+ return templateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder setTemplate(com.google.cloud.dataproc.v1.WorkflowTemplate value) {
+ if (templateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ template_ = value;
+ onChanged();
+ } else {
+ templateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder setTemplate(
+ com.google.cloud.dataproc.v1.WorkflowTemplate.Builder builderForValue) {
+ if (templateBuilder_ == null) {
+ template_ = builderForValue.build();
+ onChanged();
+ } else {
+ templateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder mergeTemplate(com.google.cloud.dataproc.v1.WorkflowTemplate value) {
+ if (templateBuilder_ == null) {
+ if (template_ != null) {
+ template_ =
+ com.google.cloud.dataproc.v1.WorkflowTemplate.newBuilder(template_).mergeFrom(value).buildPartial();
+ } else {
+ template_ = value;
+ }
+ onChanged();
+ } else {
+ templateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder clearTemplate() {
+ if (templateBuilder_ == null) {
+ template_ = null;
+ onChanged();
+ } else {
+ template_ = null;
+ templateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate.Builder getTemplateBuilder() {
+
+ onChanged();
+ return getTemplateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder() {
+ if (templateBuilder_ != null) {
+ return templateBuilder_.getMessageOrBuilder();
+ } else {
+ return template_ == null ?
+ com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ }
+ }
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>
+ getTemplateFieldBuilder() {
+ if (templateBuilder_ == null) {
+ templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>(
+ getTemplate(),
+ getParentForChildren(),
+ isClean());
+ template_ = null;
+ }
+ return templateBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.CreateWorkflowTemplateRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.CreateWorkflowTemplateRequest)
+ private static final com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest();
+ }
+
+ public static com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CreateWorkflowTemplateRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new CreateWorkflowTemplateRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java
new file mode 100644
index 000000000000..abe432c3931f
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/CreateWorkflowTemplateRequestOrBuilder.java
@@ -0,0 +1,56 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface CreateWorkflowTemplateRequestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.CreateWorkflowTemplateRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ * Required. The "resource name" of the region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ com.google.protobuf.ByteString
+ getParentBytes();
+
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ boolean hasTemplate();
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate();
+ /**
+ *
+ * Required. The Dataproc workflow template to create.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java
index 9d4fdf59cd00..ac6114290712 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequest.java
@@ -23,6 +23,8 @@ private DeleteClusterRequest() {
projectId_ = "";
region_ = "";
clusterName_ = "";
+ clusterUuid_ = "";
+ requestId_ = "";
}
@java.lang.Override
@@ -67,6 +69,18 @@ private DeleteClusterRequest(
region_ = s;
break;
}
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ clusterUuid_ = s;
+ break;
+ }
+ case 42: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ requestId_ = s;
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -227,6 +241,108 @@ public java.lang.String getClusterName() {
}
}
+ public static final int CLUSTER_UUID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object clusterUuid_;
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public java.lang.String getClusterUuid() {
+ java.lang.Object ref = clusterUuid_;
+ 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();
+ clusterUuid_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public com.google.protobuf.ByteString
+ getClusterUuidBytes() {
+ java.lang.Object ref = clusterUuid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ clusterUuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REQUEST_ID_FIELD_NUMBER = 5;
+ private volatile java.lang.Object requestId_;
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ 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();
+ requestId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -250,6 +366,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!getRegionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, region_);
}
+ if (!getClusterUuidBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, clusterUuid_);
+ }
+ if (!getRequestIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, requestId_);
+ }
unknownFields.writeTo(output);
}
@@ -268,6 +390,12 @@ public int getSerializedSize() {
if (!getRegionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, region_);
}
+ if (!getClusterUuidBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterUuid_);
+ }
+ if (!getRequestIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -290,6 +418,10 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getRegion());
result = result && getClusterName()
.equals(other.getClusterName());
+ result = result && getClusterUuid()
+ .equals(other.getClusterUuid());
+ result = result && getRequestId()
+ .equals(other.getRequestId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -307,6 +439,10 @@ public int hashCode() {
hash = (53 * hash) + getRegion().hashCode();
hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClusterName().hashCode();
+ hash = (37 * hash) + CLUSTER_UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getClusterUuid().hashCode();
+ hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -450,6 +586,10 @@ public Builder clear() {
clusterName_ = "";
+ clusterUuid_ = "";
+
+ requestId_ = "";
+
return this;
}
@@ -479,6 +619,8 @@ public com.google.cloud.dataproc.v1.DeleteClusterRequest buildPartial() {
result.projectId_ = projectId_;
result.region_ = region_;
result.clusterName_ = clusterName_;
+ result.clusterUuid_ = clusterUuid_;
+ result.requestId_ = requestId_;
onBuilt();
return result;
}
@@ -539,6 +681,14 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.DeleteClusterRequest other
clusterName_ = other.clusterName_;
onChanged();
}
+ if (!other.getClusterUuid().isEmpty()) {
+ clusterUuid_ = other.clusterUuid_;
+ onChanged();
+ }
+ if (!other.getRequestId().isEmpty()) {
+ requestId_ = other.requestId_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -839,6 +989,229 @@ public Builder setClusterNameBytes(
onChanged();
return this;
}
+
+ private java.lang.Object clusterUuid_ = "";
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public java.lang.String getClusterUuid() {
+ java.lang.Object ref = clusterUuid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ clusterUuid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public com.google.protobuf.ByteString
+ getClusterUuidBytes() {
+ java.lang.Object ref = clusterUuid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ clusterUuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public Builder setClusterUuid(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ clusterUuid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public Builder clearClusterUuid() {
+
+ clusterUuid_ = getDefaultInstance().getClusterUuid();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ public Builder setClusterUuidBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ clusterUuid_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object requestId_ = "";
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public Builder setRequestId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public Builder clearRequestId() {
+
+ requestId_ = getDefaultInstance().getRequestId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public Builder setRequestIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java
index 85d9f3930952..a5a1de613a7b 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteClusterRequestOrBuilder.java
@@ -62,4 +62,58 @@ public interface DeleteClusterRequestOrBuilder extends
*/
com.google.protobuf.ByteString
getClusterNameBytes();
+
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ java.lang.String getClusterUuid();
+ /**
+ *
+ * Optional. Specifying the `cluster_uuid` means the RPC should fail
+ * (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ *
+ *
+ * string cluster_uuid = 4;
+ */
+ com.google.protobuf.ByteString
+ getClusterUuidBytes();
+
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ java.lang.String getRequestId();
+ /**
+ *
+ * Optional. A unique id used to identify the request. If the server
+ * receives two [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest] requests with the same
+ * id, then the second request will be ignored and the
+ * first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the
+ * backend is returned.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The id must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ com.google.protobuf.ByteString
+ getRequestIdBytes();
}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java
new file mode 100644
index 000000000000..c82fd4f4cb47
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequest.java
@@ -0,0 +1,675 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A request to delete a workflow template.
+ * Currently started workflows will remain running.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest}
+ */
+public final class DeleteWorkflowTemplateRequest extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest)
+ DeleteWorkflowTemplateRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use DeleteWorkflowTemplateRequest.newBuilder() to construct.
+ private DeleteWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeleteWorkflowTemplateRequest() {
+ name_ = "";
+ version_ = 0;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeleteWorkflowTemplateRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 16: {
+
+ version_ = input.readInt32();
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_DeleteWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_DeleteWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERSION_FIELD_NUMBER = 2;
+ private int version_;
+ /**
+ *
+ * Optional. The version of workflow template to delete. If specified,
+ * will only delete the template if the current server version matches
+ * specified version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public int getVersion() {
+ return version_;
+ }
+
+ 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 (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (version_ != 0) {
+ output.writeInt32(2, version_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (version_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, version_);
+ }
+ size += unknownFields.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.dataproc.v1.DeleteWorkflowTemplateRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest other = (com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest) obj;
+
+ boolean result = true;
+ result = result && getName()
+ .equals(other.getName());
+ result = result && (getVersion()
+ == other.getVersion());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getVersion();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest 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.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest 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.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest 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.dataproc.v1.DeleteWorkflowTemplateRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest 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.dataproc.v1.DeleteWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest 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.dataproc.v1.DeleteWorkflowTemplateRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * A request to delete a workflow template.
+ * Currently started workflows will remain running.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest)
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_DeleteWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_DeleteWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ name_ = "";
+
+ version_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_DeleteWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest build() {
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest buildPartial() {
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest(this);
+ result.name_ = name_;
+ result.version_ = version_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest) {
+ return mergeFrom((com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest other) {
+ if (other == com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest.getDefaultInstance()) return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
+ if (other.getVersion() != 0) {
+ setVersion(other.getVersion());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int version_ ;
+ /**
+ *
+ * Optional. The version of workflow template to delete. If specified,
+ * will only delete the template if the current server version matches
+ * specified version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public int getVersion() {
+ return version_;
+ }
+ /**
+ *
+ * Optional. The version of workflow template to delete. If specified,
+ * will only delete the template if the current server version matches
+ * specified version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public Builder setVersion(int value) {
+
+ version_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The version of workflow template to delete. If specified,
+ * will only delete the template if the current server version matches
+ * specified version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public Builder clearVersion() {
+
+ version_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.DeleteWorkflowTemplateRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest)
+ private static final com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest();
+ }
+
+ public static com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DeleteWorkflowTemplateRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new DeleteWorkflowTemplateRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java
new file mode 100644
index 000000000000..7f2e296fa07f
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DeleteWorkflowTemplateRequestOrBuilder.java
@@ -0,0 +1,42 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface DeleteWorkflowTemplateRequestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ *
+ * Optional. The version of workflow template to delete. If specified,
+ * will only delete the template if the current server version matches
+ * specified version.
+ *
+ *
+ * int32 version = 2;
+ */
+ int getVersion();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java
index 2eceb9a994ec..466f8d7a7d0a 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResults.java
@@ -89,7 +89,7 @@ private DiagnoseClusterResults(
private volatile java.lang.Object outputUri_;
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -110,7 +110,7 @@ public java.lang.String getOutputUri() {
}
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -441,7 +441,7 @@ public Builder mergeFrom(
private java.lang.Object outputUri_ = "";
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -462,7 +462,7 @@ public java.lang.String getOutputUri() {
}
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -484,7 +484,7 @@ public java.lang.String getOutputUri() {
}
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -503,7 +503,7 @@ public Builder setOutputUri(
}
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -518,7 +518,7 @@ public Builder clearOutputUri() {
}
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java
index 570bc765e04b..c4cace6888b4 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiagnoseClusterResultsOrBuilder.java
@@ -9,7 +9,7 @@ public interface DiagnoseClusterResultsOrBuilder extends
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
@@ -19,7 +19,7 @@ public interface DiagnoseClusterResultsOrBuilder extends
java.lang.String getOutputUri();
/**
*
- * Output-only. The Google Cloud Storage URI of the diagnostic output.
+ * Output only. The Cloud Storage URI of the diagnostic output.
* The output report is a plain text file with a summary of collected
* diagnostics.
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java
index 145f82ecf8a6..875da230ea38 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfig.java
@@ -20,6 +20,7 @@ private DiskConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DiskConfig() {
+ bootDiskType_ = "";
bootDiskSizeGb_ = 0;
numLocalSsds_ = 0;
}
@@ -58,6 +59,12 @@ private DiskConfig(
numLocalSsds_ = input.readInt32();
break;
}
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ bootDiskType_ = s;
+ break;
+ }
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
@@ -90,6 +97,52 @@ private DiskConfig(
com.google.cloud.dataproc.v1.DiskConfig.class, com.google.cloud.dataproc.v1.DiskConfig.Builder.class);
}
+ public static final int BOOT_DISK_TYPE_FIELD_NUMBER = 3;
+ private volatile java.lang.Object bootDiskType_;
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public java.lang.String getBootDiskType() {
+ java.lang.Object ref = bootDiskType_;
+ 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();
+ bootDiskType_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public com.google.protobuf.ByteString
+ getBootDiskTypeBytes() {
+ java.lang.Object ref = bootDiskType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ bootDiskType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int BOOT_DISK_SIZE_GB_FIELD_NUMBER = 1;
private int bootDiskSizeGb_;
/**
@@ -141,6 +194,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (numLocalSsds_ != 0) {
output.writeInt32(2, numLocalSsds_);
}
+ if (!getBootDiskTypeBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bootDiskType_);
+ }
unknownFields.writeTo(output);
}
@@ -158,6 +214,9 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, numLocalSsds_);
}
+ if (!getBootDiskTypeBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bootDiskType_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -174,6 +233,8 @@ public boolean equals(final java.lang.Object obj) {
com.google.cloud.dataproc.v1.DiskConfig other = (com.google.cloud.dataproc.v1.DiskConfig) obj;
boolean result = true;
+ result = result && getBootDiskType()
+ .equals(other.getBootDiskType());
result = result && (getBootDiskSizeGb()
== other.getBootDiskSizeGb());
result = result && (getNumLocalSsds()
@@ -189,6 +250,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + BOOT_DISK_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getBootDiskType().hashCode();
hash = (37 * hash) + BOOT_DISK_SIZE_GB_FIELD_NUMBER;
hash = (53 * hash) + getBootDiskSizeGb();
hash = (37 * hash) + NUM_LOCAL_SSDS_FIELD_NUMBER;
@@ -330,6 +393,8 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ bootDiskType_ = "";
+
bootDiskSizeGb_ = 0;
numLocalSsds_ = 0;
@@ -360,6 +425,7 @@ public com.google.cloud.dataproc.v1.DiskConfig build() {
@java.lang.Override
public com.google.cloud.dataproc.v1.DiskConfig buildPartial() {
com.google.cloud.dataproc.v1.DiskConfig result = new com.google.cloud.dataproc.v1.DiskConfig(this);
+ result.bootDiskType_ = bootDiskType_;
result.bootDiskSizeGb_ = bootDiskSizeGb_;
result.numLocalSsds_ = numLocalSsds_;
onBuilt();
@@ -410,6 +476,10 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.dataproc.v1.DiskConfig other) {
if (other == com.google.cloud.dataproc.v1.DiskConfig.getDefaultInstance()) return this;
+ if (!other.getBootDiskType().isEmpty()) {
+ bootDiskType_ = other.bootDiskType_;
+ onChanged();
+ }
if (other.getBootDiskSizeGb() != 0) {
setBootDiskSizeGb(other.getBootDiskSizeGb());
}
@@ -445,6 +515,105 @@ public Builder mergeFrom(
return this;
}
+ private java.lang.Object bootDiskType_ = "";
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public java.lang.String getBootDiskType() {
+ java.lang.Object ref = bootDiskType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ bootDiskType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public com.google.protobuf.ByteString
+ getBootDiskTypeBytes() {
+ java.lang.Object ref = bootDiskType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ bootDiskType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public Builder setBootDiskType(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ bootDiskType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public Builder clearBootDiskType() {
+
+ bootDiskType_ = getDefaultInstance().getBootDiskType();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ public Builder setBootDiskTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ bootDiskType_ = value;
+ onChanged();
+ return this;
+ }
+
private int bootDiskSizeGb_ ;
/**
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java
index 7eb9328827ef..57236c4d7043 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/DiskConfigOrBuilder.java
@@ -7,6 +7,28 @@ public interface DiskConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.DiskConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ java.lang.String getBootDiskType();
+ /**
+ *
+ * Optional. Type of the boot disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
+ * "pd-standard" (Persistent Disk Hard Disk Drive).
+ *
+ *
+ * string boot_disk_type = 3;
+ */
+ com.google.protobuf.ByteString
+ getBootDiskTypeBytes();
+
/**
*
* Optional. Size in GB of the boot disk (default is 500GB).
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java
new file mode 100644
index 000000000000..9901de871f68
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfig.java
@@ -0,0 +1,584 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/clusters.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * Encryption settings for the cluster.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.EncryptionConfig}
+ */
+public final class EncryptionConfig extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.EncryptionConfig)
+ EncryptionConfigOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use EncryptionConfig.newBuilder() to construct.
+ private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private EncryptionConfig() {
+ gcePdKmsKeyName_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private EncryptionConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ gcePdKmsKeyName_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.ClustersProto.internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.ClustersProto.internal_static_google_cloud_dataproc_v1_EncryptionConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.EncryptionConfig.class, com.google.cloud.dataproc.v1.EncryptionConfig.Builder.class);
+ }
+
+ public static final int GCE_PD_KMS_KEY_NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object gcePdKmsKeyName_;
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public java.lang.String getGcePdKmsKeyName() {
+ java.lang.Object ref = gcePdKmsKeyName_;
+ 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();
+ gcePdKmsKeyName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getGcePdKmsKeyNameBytes() {
+ java.lang.Object ref = gcePdKmsKeyName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ gcePdKmsKeyName_ = 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 (!getGcePdKmsKeyNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gcePdKmsKeyName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getGcePdKmsKeyNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gcePdKmsKeyName_);
+ }
+ size += unknownFields.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.dataproc.v1.EncryptionConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.EncryptionConfig other = (com.google.cloud.dataproc.v1.EncryptionConfig) obj;
+
+ boolean result = true;
+ result = result && getGcePdKmsKeyName()
+ .equals(other.getGcePdKmsKeyName());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + GCE_PD_KMS_KEY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getGcePdKmsKeyName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.EncryptionConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig 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.dataproc.v1.EncryptionConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig 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.dataproc.v1.EncryptionConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig 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.dataproc.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig 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.dataproc.v1.EncryptionConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.EncryptionConfig 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.dataproc.v1.EncryptionConfig 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;
+ }
+ /**
+ *
+ * Encryption settings for the cluster.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.EncryptionConfig}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.EncryptionConfig)
+ com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.ClustersProto.internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.ClustersProto.internal_static_google_cloud_dataproc_v1_EncryptionConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.EncryptionConfig.class, com.google.cloud.dataproc.v1.EncryptionConfig.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.EncryptionConfig.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ gcePdKmsKeyName_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.ClustersProto.internal_static_google_cloud_dataproc_v1_EncryptionConfig_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.EncryptionConfig getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.EncryptionConfig build() {
+ com.google.cloud.dataproc.v1.EncryptionConfig result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.EncryptionConfig buildPartial() {
+ com.google.cloud.dataproc.v1.EncryptionConfig result = new com.google.cloud.dataproc.v1.EncryptionConfig(this);
+ result.gcePdKmsKeyName_ = gcePdKmsKeyName_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.EncryptionConfig) {
+ return mergeFrom((com.google.cloud.dataproc.v1.EncryptionConfig)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.EncryptionConfig other) {
+ if (other == com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance()) return this;
+ if (!other.getGcePdKmsKeyName().isEmpty()) {
+ gcePdKmsKeyName_ = other.gcePdKmsKeyName_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.EncryptionConfig parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.EncryptionConfig) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object gcePdKmsKeyName_ = "";
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public java.lang.String getGcePdKmsKeyName() {
+ java.lang.Object ref = gcePdKmsKeyName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ gcePdKmsKeyName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getGcePdKmsKeyNameBytes() {
+ java.lang.Object ref = gcePdKmsKeyName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ gcePdKmsKeyName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public Builder setGcePdKmsKeyName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ gcePdKmsKeyName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public Builder clearGcePdKmsKeyName() {
+
+ gcePdKmsKeyName_ = getDefaultInstance().getGcePdKmsKeyName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ public Builder setGcePdKmsKeyNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ gcePdKmsKeyName_ = value;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.EncryptionConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.EncryptionConfig)
+ private static final com.google.cloud.dataproc.v1.EncryptionConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.EncryptionConfig();
+ }
+
+ public static com.google.cloud.dataproc.v1.EncryptionConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EncryptionConfig parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new EncryptionConfig(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.EncryptionConfig getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java
new file mode 100644
index 000000000000..9c27025801d2
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/EncryptionConfigOrBuilder.java
@@ -0,0 +1,29 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/clusters.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface EncryptionConfigOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.EncryptionConfig)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ java.lang.String getGcePdKmsKeyName();
+ /**
+ *
+ * Optional. The Cloud KMS key name to use for PD disk encryption for all
+ * instances in the cluster.
+ *
+ *
+ * string gce_pd_kms_key_name = 1;
+ */
+ com.google.protobuf.ByteString
+ getGcePdKmsKeyNameBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java
index 410fcbe334c0..2b746ea14fcd 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfig.java
@@ -5,7 +5,7 @@
/**
*
- * Common config settings for resources of Google Compute Engine cluster
+ * Common config settings for resources of Compute Engine cluster
* instances, applicable to all instances in the cluster.
*
*
@@ -169,7 +169,7 @@ protected com.google.protobuf.MapField internalGetMapField(
private volatile java.lang.Object zoneUri_;
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -196,7 +196,7 @@ public java.lang.String getZoneUri() {
}
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -227,7 +227,7 @@ public java.lang.String getZoneUri() {
private volatile java.lang.Object networkUri_;
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -254,7 +254,7 @@ public java.lang.String getNetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -285,7 +285,7 @@ public java.lang.String getNetworkUri() {
private volatile java.lang.Object subnetworkUri_;
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -309,7 +309,7 @@ public java.lang.String getSubnetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -356,8 +356,8 @@ public boolean getInternalIpOnly() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -382,8 +382,8 @@ public java.lang.String getServiceAccount() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -411,7 +411,7 @@ public java.lang.String getServiceAccount() {
private com.google.protobuf.LazyStringList serviceAccountScopes_;
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -432,7 +432,7 @@ public java.lang.String getServiceAccount() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -452,7 +452,7 @@ public int getServiceAccountScopesCount() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -472,7 +472,7 @@ public java.lang.String getServiceAccountScopes(int index) {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -496,7 +496,7 @@ public java.lang.String getServiceAccountScopes(int index) {
private com.google.protobuf.LazyStringList tags_;
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -508,7 +508,7 @@ public java.lang.String getServiceAccountScopes(int index) {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -519,7 +519,7 @@ public int getTagsCount() {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -530,7 +530,7 @@ public java.lang.String getTags(int index) {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -569,7 +569,7 @@ public int getMetadataCount() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -590,7 +590,7 @@ public java.util.Map getMetadata() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -602,7 +602,7 @@ public java.util.Map getMetadataMap() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -619,7 +619,7 @@ public java.lang.String getMetadataOrDefault(
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -892,7 +892,7 @@ protected Builder newBuilderForType(
}
/**
*
- * Common config settings for resources of Google Compute Engine cluster
+ * Common config settings for resources of Compute Engine cluster
* instances, applicable to all instances in the cluster.
*
*
@@ -1138,7 +1138,7 @@ public Builder mergeFrom(
private java.lang.Object zoneUri_ = "";
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -1165,7 +1165,7 @@ public java.lang.String getZoneUri() {
}
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -1193,7 +1193,7 @@ public java.lang.String getZoneUri() {
}
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -1218,7 +1218,7 @@ public Builder setZoneUri(
}
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -1239,7 +1239,7 @@ public Builder clearZoneUri() {
}
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -1267,7 +1267,7 @@ public Builder setZoneUriBytes(
private java.lang.Object networkUri_ = "";
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -1294,7 +1294,7 @@ public java.lang.String getNetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -1322,7 +1322,7 @@ public java.lang.String getNetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -1347,7 +1347,7 @@ public Builder setNetworkUri(
}
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -1368,7 +1368,7 @@ public Builder clearNetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -1396,7 +1396,7 @@ public Builder setNetworkUriBytes(
private java.lang.Object subnetworkUri_ = "";
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -1420,7 +1420,7 @@ public java.lang.String getSubnetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -1445,7 +1445,7 @@ public java.lang.String getSubnetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -1467,7 +1467,7 @@ public Builder setSubnetworkUri(
}
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -1485,7 +1485,7 @@ public Builder clearSubnetworkUri() {
}
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -1564,8 +1564,8 @@ public Builder clearInternalIpOnly() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -1590,8 +1590,8 @@ public java.lang.String getServiceAccount() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -1617,8 +1617,8 @@ public java.lang.String getServiceAccount() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -1641,8 +1641,8 @@ public Builder setServiceAccount(
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -1661,8 +1661,8 @@ public Builder clearServiceAccount() {
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -1693,7 +1693,7 @@ private void ensureServiceAccountScopesIsMutable() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1714,7 +1714,7 @@ private void ensureServiceAccountScopesIsMutable() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1734,7 +1734,7 @@ public int getServiceAccountScopesCount() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1754,7 +1754,7 @@ public java.lang.String getServiceAccountScopes(int index) {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1775,7 +1775,7 @@ public java.lang.String getServiceAccountScopes(int index) {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1802,7 +1802,7 @@ public Builder setServiceAccountScopes(
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1829,7 +1829,7 @@ public Builder addServiceAccountScopes(
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1854,7 +1854,7 @@ public Builder addAllServiceAccountScopes(
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1877,7 +1877,7 @@ public Builder clearServiceAccountScopes() {
}
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -1913,7 +1913,7 @@ private void ensureTagsIsMutable() {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1925,7 +1925,7 @@ private void ensureTagsIsMutable() {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1936,7 +1936,7 @@ public int getTagsCount() {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1947,7 +1947,7 @@ public java.lang.String getTags(int index) {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1959,7 +1959,7 @@ public java.lang.String getTags(int index) {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1977,7 +1977,7 @@ public Builder setTags(
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -1995,7 +1995,7 @@ public Builder addTags(
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -2011,7 +2011,7 @@ public Builder addAllTags(
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -2025,7 +2025,7 @@ public Builder clearTags() {
}
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -2071,7 +2071,7 @@ public int getMetadataCount() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2092,7 +2092,7 @@ public java.util.Map getMetadata() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2104,7 +2104,7 @@ public java.util.Map getMetadataMap() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2121,7 +2121,7 @@ public java.lang.String getMetadataOrDefault(
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2146,7 +2146,7 @@ public Builder clearMetadata() {
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2170,7 +2170,7 @@ public Builder removeMetadata(
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -2187,7 +2187,7 @@ public Builder putMetadata(
}
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java
index b8e5350f76af..426f606b7a5f 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GceClusterConfigOrBuilder.java
@@ -9,7 +9,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -25,7 +25,7 @@ public interface GceClusterConfigOrBuilder extends
java.lang.String getZoneUri();
/**
*
- * Optional. The zone where the Google Compute Engine cluster will be located.
+ * Optional. The zone where the Compute Engine cluster will be located.
* On a create request, it is required in the "global" region. If omitted
* in a non-global Cloud Dataproc region, the service will pick a zone in the
* corresponding Compute Engine region. On a get request, zone will
@@ -43,7 +43,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -59,7 +59,7 @@ public interface GceClusterConfigOrBuilder extends
java.lang.String getNetworkUri();
/**
*
- * Optional. The Google Compute Engine network to be used for machine
+ * Optional. The Compute Engine network to be used for machine
* communications. Cannot be specified with subnetwork_uri. If neither
* `network_uri` nor `subnetwork_uri` is specified, the "default" network of
* the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
@@ -77,7 +77,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -90,7 +90,7 @@ public interface GceClusterConfigOrBuilder extends
java.lang.String getSubnetworkUri();
/**
*
- * Optional. The Google Compute Engine subnetwork to be used for machine
+ * Optional. The Compute Engine subnetwork to be used for machine
* communications. Cannot be specified with network_uri.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
@@ -120,8 +120,8 @@ public interface GceClusterConfigOrBuilder extends
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -135,8 +135,8 @@ public interface GceClusterConfigOrBuilder extends
/**
*
* Optional. The service account of the instances. Defaults to the default
- * Google Compute Engine service account. Custom service accounts need
- * permissions equivalent to the folloing IAM roles:
+ * Compute Engine service account. Custom service accounts need
+ * permissions equivalent to the following IAM roles:
* * roles/logging.logWriter
* * roles/storage.objectAdmin
* (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
@@ -151,7 +151,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -170,7 +170,7 @@ public interface GceClusterConfigOrBuilder extends
getServiceAccountScopesList();
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -188,7 +188,7 @@ public interface GceClusterConfigOrBuilder extends
int getServiceAccountScopesCount();
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -206,7 +206,7 @@ public interface GceClusterConfigOrBuilder extends
java.lang.String getServiceAccountScopes(int index);
/**
*
- * Optional. The URIs of service account scopes to be included in Google
+ * Optional. The URIs of service account scopes to be included in
* Compute Engine instances. The following base set of scopes is always
* included:
* * https://www.googleapis.com/auth/cloud.useraccounts.readonly
@@ -226,7 +226,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -236,7 +236,7 @@ public interface GceClusterConfigOrBuilder extends
getTagsList();
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -245,7 +245,7 @@ public interface GceClusterConfigOrBuilder extends
int getTagsCount();
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -254,7 +254,7 @@ public interface GceClusterConfigOrBuilder extends
java.lang.String getTags(int index);
/**
*
- * The Google Compute Engine tags to add to all instances (see
+ * The Compute Engine tags to add to all instances (see
* [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
*
*
@@ -265,7 +265,7 @@ public interface GceClusterConfigOrBuilder extends
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -274,7 +274,7 @@ public interface GceClusterConfigOrBuilder extends
int getMetadataCount();
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -290,7 +290,7 @@ boolean containsMetadata(
getMetadata();
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -300,7 +300,7 @@ boolean containsMetadata(
getMetadataMap();
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
@@ -312,7 +312,7 @@ java.lang.String getMetadataOrDefault(
java.lang.String defaultValue);
/**
*
- * The Google Compute Engine metadata entries to add to all instances (see
+ * The Compute Engine metadata entries to add to all instances (see
* [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
*
*
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java
new file mode 100644
index 000000000000..172b6fc3a7f3
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequest.java
@@ -0,0 +1,673 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A request to fetch a workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.GetWorkflowTemplateRequest}
+ */
+public final class GetWorkflowTemplateRequest extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.GetWorkflowTemplateRequest)
+ GetWorkflowTemplateRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use GetWorkflowTemplateRequest.newBuilder() to construct.
+ private GetWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetWorkflowTemplateRequest() {
+ name_ = "";
+ version_ = 0;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetWorkflowTemplateRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 16: {
+
+ version_ = input.readInt32();
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_GetWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_GetWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERSION_FIELD_NUMBER = 2;
+ private int version_;
+ /**
+ *
+ * Optional. The version of workflow template to retrieve. Only previously
+ * instatiated versions can be retrieved.
+ * If unspecified, retrieves the current version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public int getVersion() {
+ return version_;
+ }
+
+ 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 (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (version_ != 0) {
+ output.writeInt32(2, version_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (version_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, version_);
+ }
+ size += unknownFields.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.dataproc.v1.GetWorkflowTemplateRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest other = (com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest) obj;
+
+ boolean result = true;
+ result = result && getName()
+ .equals(other.getName());
+ result = result && (getVersion()
+ == other.getVersion());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getVersion();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest 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.dataproc.v1.GetWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest 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.dataproc.v1.GetWorkflowTemplateRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest 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.dataproc.v1.GetWorkflowTemplateRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest 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.dataproc.v1.GetWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest 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.dataproc.v1.GetWorkflowTemplateRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * A request to fetch a workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.GetWorkflowTemplateRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.GetWorkflowTemplateRequest)
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_GetWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_GetWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ name_ = "";
+
+ version_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_GetWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest build() {
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest buildPartial() {
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest(this);
+ result.name_ = name_;
+ result.version_ = version_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest) {
+ return mergeFrom((com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest other) {
+ if (other == com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest.getDefaultInstance()) return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
+ if (other.getVersion() != 0) {
+ setVersion(other.getVersion());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int version_ ;
+ /**
+ *
+ * Optional. The version of workflow template to retrieve. Only previously
+ * instatiated versions can be retrieved.
+ * If unspecified, retrieves the current version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public int getVersion() {
+ return version_;
+ }
+ /**
+ *
+ * Optional. The version of workflow template to retrieve. Only previously
+ * instatiated versions can be retrieved.
+ * If unspecified, retrieves the current version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public Builder setVersion(int value) {
+
+ version_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. The version of workflow template to retrieve. Only previously
+ * instatiated versions can be retrieved.
+ * If unspecified, retrieves the current version.
+ *
+ *
+ * int32 version = 2;
+ */
+ public Builder clearVersion() {
+
+ version_ = 0;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.GetWorkflowTemplateRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.GetWorkflowTemplateRequest)
+ private static final com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest();
+ }
+
+ public static com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetWorkflowTemplateRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetWorkflowTemplateRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java
new file mode 100644
index 000000000000..de524cda3eeb
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/GetWorkflowTemplateRequestOrBuilder.java
@@ -0,0 +1,42 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface GetWorkflowTemplateRequestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.GetWorkflowTemplateRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ *
+ * Optional. The version of workflow template to retrieve. Only previously
+ * instatiated versions can be retrieved.
+ * If unspecified, retrieves the current version.
+ *
+ *
+ * int32 version = 2;
+ */
+ int getVersion();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java
index 111283dcf971..6cf3771b1b4b 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfig.java
@@ -5,7 +5,7 @@
/**
*
- * Optional. The config settings for Google Compute Engine resources in
+ * Optional. The config settings for Compute Engine resources in
* an instance group, such as a master or worker group.
*
*
@@ -176,9 +176,8 @@ public int getNumInstances() {
private com.google.protobuf.LazyStringList instanceNames_;
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -189,9 +188,8 @@ public int getNumInstances() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -201,9 +199,8 @@ public int getInstanceNamesCount() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -213,9 +210,8 @@ public java.lang.String getInstanceNames(int index) {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -229,8 +225,9 @@ public java.lang.String getInstanceNames(int index) {
private volatile java.lang.Object imageUri_;
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -249,8 +246,9 @@ public java.lang.String getImageUri() {
}
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -273,11 +271,15 @@ public java.lang.String getImageUri() {
private volatile java.lang.Object machineTypeUri_;
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -296,11 +298,15 @@ public java.lang.String getMachineTypeUri() {
}
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -369,7 +375,7 @@ public boolean getIsPreemptible() {
private com.google.cloud.dataproc.v1.ManagedGroupConfig managedGroupConfig_;
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -381,7 +387,7 @@ public boolean hasManagedGroupConfig() {
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -393,7 +399,7 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig() {
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -408,7 +414,7 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfigOrBuilder getManagedGroupC
private java.util.List accelerators_;
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -421,7 +427,7 @@ public java.util.List getAcceler
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -435,7 +441,7 @@ public java.util.List getAcceler
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -448,7 +454,7 @@ public int getAcceleratorsCount() {
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -461,7 +467,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig getAccelerators(int index)
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -726,7 +732,7 @@ protected Builder newBuilderForType(
}
/**
*
- * Optional. The config settings for Google Compute Engine resources in
+ * Optional. The config settings for Compute Engine resources in
* an instance group, such as a master or worker group.
*
*
@@ -1037,9 +1043,8 @@ private void ensureInstanceNamesIsMutable() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1050,9 +1055,8 @@ private void ensureInstanceNamesIsMutable() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1062,9 +1066,8 @@ public int getInstanceNamesCount() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1074,9 +1077,8 @@ public java.lang.String getInstanceNames(int index) {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1087,9 +1089,8 @@ public java.lang.String getInstanceNames(int index) {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1106,9 +1107,8 @@ public Builder setInstanceNames(
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1125,9 +1125,8 @@ public Builder addInstanceNames(
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1142,9 +1141,8 @@ public Builder addAllInstanceNames(
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1157,9 +1155,8 @@ public Builder clearInstanceNames() {
}
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -1179,8 +1176,9 @@ public Builder addInstanceNamesBytes(
private java.lang.Object imageUri_ = "";
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -1199,8 +1197,9 @@ public java.lang.String getImageUri() {
}
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -1220,8 +1219,9 @@ public java.lang.String getImageUri() {
}
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -1238,8 +1238,9 @@ public Builder setImageUri(
}
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -1252,8 +1253,9 @@ public Builder clearImageUri() {
}
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -1273,11 +1275,15 @@ public Builder setImageUriBytes(
private java.lang.Object machineTypeUri_ = "";
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -1296,11 +1302,15 @@ public java.lang.String getMachineTypeUri() {
}
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -1320,11 +1330,15 @@ public java.lang.String getMachineTypeUri() {
}
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -1341,11 +1355,15 @@ public Builder setMachineTypeUri(
}
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -1358,11 +1376,15 @@ public Builder clearMachineTypeUri() {
}
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -1575,7 +1597,7 @@ public Builder clearIsPreemptible() {
com.google.cloud.dataproc.v1.ManagedGroupConfig, com.google.cloud.dataproc.v1.ManagedGroupConfig.Builder, com.google.cloud.dataproc.v1.ManagedGroupConfigOrBuilder> managedGroupConfigBuilder_;
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1587,7 +1609,7 @@ public boolean hasManagedGroupConfig() {
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1603,7 +1625,7 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig() {
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1625,7 +1647,7 @@ public Builder setManagedGroupConfig(com.google.cloud.dataproc.v1.ManagedGroupCo
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1645,7 +1667,7 @@ public Builder setManagedGroupConfig(
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1669,7 +1691,7 @@ public Builder mergeManagedGroupConfig(com.google.cloud.dataproc.v1.ManagedGroup
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1689,7 +1711,7 @@ public Builder clearManagedGroupConfig() {
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1703,7 +1725,7 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfig.Builder getManagedGroupCo
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1720,7 +1742,7 @@ public com.google.cloud.dataproc.v1.ManagedGroupConfigOrBuilder getManagedGroupC
}
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -1755,7 +1777,7 @@ private void ensureAcceleratorsIsMutable() {
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1772,7 +1794,7 @@ public java.util.List getAcceler
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1789,7 +1811,7 @@ public int getAcceleratorsCount() {
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1806,7 +1828,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig getAccelerators(int index)
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1830,7 +1852,7 @@ public Builder setAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1851,7 +1873,7 @@ public Builder setAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1874,7 +1896,7 @@ public Builder addAccelerators(com.google.cloud.dataproc.v1.AcceleratorConfig va
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1898,7 +1920,7 @@ public Builder addAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1919,7 +1941,7 @@ public Builder addAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1940,7 +1962,7 @@ public Builder addAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1962,7 +1984,7 @@ public Builder addAllAccelerators(
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -1982,7 +2004,7 @@ public Builder clearAccelerators() {
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2002,7 +2024,7 @@ public Builder removeAccelerators(int index) {
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2016,7 +2038,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig.Builder getAcceleratorsBui
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2033,7 +2055,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfigOrBuilder getAcceleratorsOr
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2051,7 +2073,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfigOrBuilder getAcceleratorsOr
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2065,7 +2087,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig.Builder addAcceleratorsBui
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -2080,7 +2102,7 @@ public com.google.cloud.dataproc.v1.AcceleratorConfig.Builder addAcceleratorsBui
}
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java
index 602109d951a8..16477d918e75 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstanceGroupConfigOrBuilder.java
@@ -19,9 +19,8 @@ public interface InstanceGroupConfigOrBuilder extends
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -30,9 +29,8 @@ public interface InstanceGroupConfigOrBuilder extends
getInstanceNamesList();
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -40,9 +38,8 @@ public interface InstanceGroupConfigOrBuilder extends
int getInstanceNamesCount();
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -50,9 +47,8 @@ public interface InstanceGroupConfigOrBuilder extends
java.lang.String getInstanceNames(int index);
/**
*
- * Optional. The list of instance names. Cloud Dataproc derives the names from
- * `cluster_name`, `num_instances`, and the instance group if not set by user
- * (recommended practice is to let Cloud Dataproc derive the name).
+ * Output only. The list of instance names. Cloud Dataproc derives the names
+ * from `cluster_name`, `num_instances`, and the instance group.
*
*
* repeated string instance_names = 2;
@@ -62,8 +58,9 @@ public interface InstanceGroupConfigOrBuilder extends
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -71,8 +68,9 @@ public interface InstanceGroupConfigOrBuilder extends
java.lang.String getImageUri();
/**
*
- * Output-only. The Google Compute Engine image resource used for cluster
- * instances. Inferred from `SoftwareConfig.image_version`.
+ * Optional. The Compute Engine image resource used for cluster
+ * instances. It can be specified or may be inferred from
+ * `SoftwareConfig.image_version`.
*
*
* string image_uri = 3;
@@ -82,11 +80,15 @@ public interface InstanceGroupConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -94,11 +96,15 @@ public interface InstanceGroupConfigOrBuilder extends
java.lang.String getMachineTypeUri();
/**
*
- * Optional. The Google Compute Engine machine type used for cluster instances.
+ * Optional. The Compute Engine machine type used for cluster instances.
* A full URL, partial URI, or short name are valid. Examples:
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
* * `n1-standard-2`
+ * **Auto Zone Exception**: If you are using the Cloud Dataproc
+ * [Auto Zone Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
+ * feature, you must use the short name of the machine type
+ * resource, for example, `n1-standard-2`.
*
*
* string machine_type_uri = 4;
@@ -142,7 +148,7 @@ public interface InstanceGroupConfigOrBuilder extends
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -152,7 +158,7 @@ public interface InstanceGroupConfigOrBuilder extends
boolean hasManagedGroupConfig();
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -162,7 +168,7 @@ public interface InstanceGroupConfigOrBuilder extends
com.google.cloud.dataproc.v1.ManagedGroupConfig getManagedGroupConfig();
/**
*
- * Output-only. The config for Google Compute Engine Instance Group
+ * Output only. The config for Compute Engine Instance Group
* Manager that manages this group.
* This is only used for preemptible instance groups.
*
@@ -173,7 +179,7 @@ public interface InstanceGroupConfigOrBuilder extends
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -185,7 +191,7 @@ public interface InstanceGroupConfigOrBuilder extends
getAcceleratorsList();
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -196,7 +202,7 @@ public interface InstanceGroupConfigOrBuilder extends
com.google.cloud.dataproc.v1.AcceleratorConfig getAccelerators(int index);
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -207,7 +213,7 @@ public interface InstanceGroupConfigOrBuilder extends
int getAcceleratorsCount();
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
@@ -219,7 +225,7 @@ public interface InstanceGroupConfigOrBuilder extends
getAcceleratorsOrBuilderList();
/**
*
- * Optional. The Google Compute Engine accelerator configuration for these
+ * Optional. The Compute Engine accelerator configuration for these
* instances.
* **Beta Feature**: This feature is still under development. It may be
* changed before final release.
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java
new file mode 100644
index 000000000000..a43b35e0cc32
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequest.java
@@ -0,0 +1,1017 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A request to instantiate an inline workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest}
+ */
+public final class InstantiateInlineWorkflowTemplateRequest extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)
+ InstantiateInlineWorkflowTemplateRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use InstantiateInlineWorkflowTemplateRequest.newBuilder() to construct.
+ private InstantiateInlineWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private InstantiateInlineWorkflowTemplateRequest() {
+ parent_ = "";
+ requestId_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private InstantiateInlineWorkflowTemplateRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ parent_ = s;
+ break;
+ }
+ case 18: {
+ com.google.cloud.dataproc.v1.WorkflowTemplate.Builder subBuilder = null;
+ if (template_ != null) {
+ subBuilder = template_.toBuilder();
+ }
+ template_ = input.readMessage(com.google.cloud.dataproc.v1.WorkflowTemplate.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(template_);
+ template_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ requestId_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateInlineWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateInlineWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object parent_;
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ 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();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public com.google.protobuf.ByteString
+ getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TEMPLATE_FIELD_NUMBER = 2;
+ private com.google.cloud.dataproc.v1.WorkflowTemplate template_;
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public boolean hasTemplate() {
+ return template_ != null;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() {
+ return template_ == null ? com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder() {
+ return getTemplate();
+ }
+
+ public static final int REQUEST_ID_FIELD_NUMBER = 3;
+ private volatile java.lang.Object requestId_;
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ 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();
+ requestId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = 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 (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (template_ != null) {
+ output.writeMessage(2, getTemplate());
+ }
+ if (!getRequestIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (template_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getTemplate());
+ }
+ if (!getRequestIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_);
+ }
+ size += unknownFields.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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest other = (com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest) obj;
+
+ boolean result = true;
+ result = result && getParent()
+ .equals(other.getParent());
+ result = result && (hasTemplate() == other.hasTemplate());
+ if (hasTemplate()) {
+ result = result && getTemplate()
+ .equals(other.getTemplate());
+ }
+ result = result && getRequestId()
+ .equals(other.getRequestId());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ if (hasTemplate()) {
+ hash = (37 * hash) + TEMPLATE_FIELD_NUMBER;
+ hash = (53 * hash) + getTemplate().hashCode();
+ }
+ hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestId().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest 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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest 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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest 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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest 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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest 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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ * A request to instantiate an inline workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateInlineWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateInlineWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ parent_ = "";
+
+ if (templateBuilder_ == null) {
+ template_ = null;
+ } else {
+ template_ = null;
+ templateBuilder_ = null;
+ }
+ requestId_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateInlineWorkflowTemplateRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest getDefaultInstanceForType() {
+ return com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest build() {
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest buildPartial() {
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest result = new com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest(this);
+ result.parent_ = parent_;
+ if (templateBuilder_ == null) {
+ result.template_ = template_;
+ } else {
+ result.template_ = templateBuilder_.build();
+ }
+ result.requestId_ = requestId_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest) {
+ return mergeFrom((com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest other) {
+ if (other == com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest.getDefaultInstance()) return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ onChanged();
+ }
+ if (other.hasTemplate()) {
+ mergeTemplate(other.getTemplate());
+ }
+ if (!other.getRequestId().isEmpty()) {
+ requestId_ = other.requestId_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object parent_ = "";
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public com.google.protobuf.ByteString
+ getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder setParent(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ public Builder setParentBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.dataproc.v1.WorkflowTemplate template_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder> templateBuilder_;
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public boolean hasTemplate() {
+ return templateBuilder_ != null || template_ != null;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate() {
+ if (templateBuilder_ == null) {
+ return template_ == null ? com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ } else {
+ return templateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder setTemplate(com.google.cloud.dataproc.v1.WorkflowTemplate value) {
+ if (templateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ template_ = value;
+ onChanged();
+ } else {
+ templateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder setTemplate(
+ com.google.cloud.dataproc.v1.WorkflowTemplate.Builder builderForValue) {
+ if (templateBuilder_ == null) {
+ template_ = builderForValue.build();
+ onChanged();
+ } else {
+ templateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder mergeTemplate(com.google.cloud.dataproc.v1.WorkflowTemplate value) {
+ if (templateBuilder_ == null) {
+ if (template_ != null) {
+ template_ =
+ com.google.cloud.dataproc.v1.WorkflowTemplate.newBuilder(template_).mergeFrom(value).buildPartial();
+ } else {
+ template_ = value;
+ }
+ onChanged();
+ } else {
+ templateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public Builder clearTemplate() {
+ if (templateBuilder_ == null) {
+ template_ = null;
+ onChanged();
+ } else {
+ template_ = null;
+ templateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplate.Builder getTemplateBuilder() {
+
+ onChanged();
+ return getTemplateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ public com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder() {
+ if (templateBuilder_ != null) {
+ return templateBuilder_.getMessageOrBuilder();
+ } else {
+ return template_ == null ?
+ com.google.cloud.dataproc.v1.WorkflowTemplate.getDefaultInstance() : template_;
+ }
+ }
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>
+ getTemplateFieldBuilder() {
+ if (templateBuilder_ == null) {
+ templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dataproc.v1.WorkflowTemplate, com.google.cloud.dataproc.v1.WorkflowTemplate.Builder, com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>(
+ getTemplate(),
+ getParentForChildren(),
+ isClean());
+ template_ = null;
+ }
+ return templateBuilder_;
+ }
+
+ private java.lang.Object requestId_ = "";
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public Builder setRequestId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public Builder clearRequestId() {
+
+ requestId_ = getDefaultInstance().getRequestId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ public Builder setRequestIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ requestId_ = value;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(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.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)
+ private static final com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest();
+ }
+
+ public static com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public InstantiateInlineWorkflowTemplateRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new InstantiateInlineWorkflowTemplateRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java
new file mode 100644
index 000000000000..b28b314a088a
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateInlineWorkflowTemplateRequestOrBuilder.java
@@ -0,0 +1,86 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+public interface InstantiateInlineWorkflowTemplateRequestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ * Required. The "resource name" of the workflow template region, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}`
+ *
+ *
+ * string parent = 1;
+ */
+ com.google.protobuf.ByteString
+ getParentBytes();
+
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ boolean hasTemplate();
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ com.google.cloud.dataproc.v1.WorkflowTemplate getTemplate();
+ /**
+ *
+ * Required. The workflow template to instantiate.
+ *
+ *
+ * .google.cloud.dataproc.v1.WorkflowTemplate template = 2;
+ */
+ com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder getTemplateOrBuilder();
+
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ java.lang.String getRequestId();
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 3;
+ */
+ com.google.protobuf.ByteString
+ getRequestIdBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java
new file mode 100644
index 000000000000..41540a9150cb
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/InstantiateWorkflowTemplateRequest.java
@@ -0,0 +1,1211 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dataproc/v1/workflow_templates.proto
+
+package com.google.cloud.dataproc.v1;
+
+/**
+ *
+ * A request to instantiate a workflow template.
+ *
+ *
+ * Protobuf type {@code google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest}
+ */
+public final class InstantiateWorkflowTemplateRequest extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest)
+ InstantiateWorkflowTemplateRequestOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use InstantiateWorkflowTemplateRequest.newBuilder() to construct.
+ private InstantiateWorkflowTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private InstantiateWorkflowTemplateRequest() {
+ name_ = "";
+ version_ = 0;
+ requestId_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private InstantiateWorkflowTemplateRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 16: {
+
+ version_ = input.readInt32();
+ break;
+ }
+ case 42: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ requestId_ = s;
+ break;
+ }
+ case 50: {
+ if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ parameters_ = com.google.protobuf.MapField.newMapField(
+ ParametersDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000008;
+ }
+ com.google.protobuf.MapEntry
+ parameters__ = input.readMessage(
+ ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ parameters_.getMutableMap().put(
+ parameters__.getKey(), parameters__.getValue());
+ break;
+ }
+ default: {
+ if (!parseUnknownFieldProto3(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateWorkflowTemplateRequest_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(
+ int number) {
+ switch (number) {
+ case 6:
+ return internalGetParameters();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateWorkflowTemplateRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest.class, com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Required. The "resource name" of the workflow template, as described
+ * in https://cloud.google.com/apis/design/resource_names of the form
+ * `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`
+ *
+ *
+ * string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERSION_FIELD_NUMBER = 2;
+ private int version_;
+ /**
+ *
+ * Optional. The version of workflow template to instantiate. If specified,
+ * the workflow will be instantiated only if the current version of
+ * the workflow template has the supplied version.
+ * This option cannot be used to instantiate a previous version of
+ * workflow template.
+ *
+ *
+ * int32 version = 2;
+ */
+ public int getVersion() {
+ return version_;
+ }
+
+ public static final int REQUEST_ID_FIELD_NUMBER = 5;
+ private volatile java.lang.Object requestId_;
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ 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();
+ requestId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Optional. A tag that prevents multiple concurrent workflow
+ * instances with the same tag from running. This mitigates risk of
+ * concurrent instances started due to retries.
+ * It is recommended to always set this value to a
+ * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
+ * The tag must contain only letters (a-z, A-Z), numbers (0-9),
+ * underscores (_), and hyphens (-). The maximum length is 40 characters.
+ *
+ *
+ * string request_id = 5;
+ */
+ public com.google.protobuf.ByteString
+ getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PARAMETERS_FIELD_NUMBER = 6;
+ private static final class ParametersDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ com.google.cloud.dataproc.v1.WorkflowTemplatesProto.internal_static_google_cloud_dataproc_v1_InstantiateWorkflowTemplateRequest_ParametersEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> parameters_;
+ private com.google.protobuf.MapField
+ internalGetParameters() {
+ if (parameters_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ParametersDefaultEntryHolder.defaultEntry);
+ }
+ return parameters_;
+ }
+
+ public int getParametersCount() {
+ return internalGetParameters().getMap().size();
+ }
+ /**
+ *
+ * Optional. Map from parameter names to values that should be used for those
+ * parameters. Values may not exceed 100 characters.
+ *
+ *
+ * map<string, string> parameters = 6;
+ */
+
+ public boolean containsParameters(
+ java.lang.String key) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ return internalGetParameters().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getParametersMap()} instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map getParameters() {
+ return getParametersMap();
+ }
+ /**
+ *
+ * Optional. Map from parameter names to values that should be used for those
+ * parameters. Values may not exceed 100 characters.
+ *
+ *
+ * map<string, string> parameters = 6;
+ */
+
+ public java.util.Map getParametersMap() {
+ return internalGetParameters().getMap();
+ }
+ /**
+ *