Package com.google.cloud.dataproc.v1.stub (4.16.0)

Classes

AutoscalingPolicyServiceStub

Base stub class for the AutoscalingPolicyService service API.

This class is for advanced usage and reflects the underlying API directly.

AutoscalingPolicyServiceStubSettings

Settings class to configure an instance of AutoscalingPolicyServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of createAutoscalingPolicy to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AutoscalingPolicyServiceStubSettings.Builder autoscalingPolicyServiceSettingsBuilder =
     AutoscalingPolicyServiceStubSettings.newBuilder();
 autoscalingPolicyServiceSettingsBuilder
     .createAutoscalingPolicySettings()
     .setRetrySettings(
         autoscalingPolicyServiceSettingsBuilder
             .createAutoscalingPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AutoscalingPolicyServiceStubSettings autoscalingPolicyServiceSettings =
     autoscalingPolicyServiceSettingsBuilder.build();
 

AutoscalingPolicyServiceStubSettings.Builder

Builder for AutoscalingPolicyServiceStubSettings.

BatchControllerStub

Base stub class for the BatchController service API.

This class is for advanced usage and reflects the underlying API directly.

BatchControllerStubSettings

Settings class to configure an instance of BatchControllerStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getBatch to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 BatchControllerStubSettings.Builder batchControllerSettingsBuilder =
     BatchControllerStubSettings.newBuilder();
 batchControllerSettingsBuilder
     .getBatchSettings()
     .setRetrySettings(
         batchControllerSettingsBuilder
             .getBatchSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 BatchControllerStubSettings batchControllerSettings = batchControllerSettingsBuilder.build();
 

BatchControllerStubSettings.Builder

Builder for BatchControllerStubSettings.

ClusterControllerStub

Base stub class for the ClusterController service API.

This class is for advanced usage and reflects the underlying API directly.

ClusterControllerStubSettings

Settings class to configure an instance of ClusterControllerStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getCluster to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ClusterControllerStubSettings.Builder clusterControllerSettingsBuilder =
     ClusterControllerStubSettings.newBuilder();
 clusterControllerSettingsBuilder
     .getClusterSettings()
     .setRetrySettings(
         clusterControllerSettingsBuilder
             .getClusterSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ClusterControllerStubSettings clusterControllerSettings =
     clusterControllerSettingsBuilder.build();
 

ClusterControllerStubSettings.Builder

Builder for ClusterControllerStubSettings.

GrpcAutoscalingPolicyServiceCallableFactory

gRPC callable factory implementation for the AutoscalingPolicyService service API.

This class is for advanced usage.

GrpcAutoscalingPolicyServiceStub

gRPC stub implementation for the AutoscalingPolicyService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcBatchControllerCallableFactory

gRPC callable factory implementation for the BatchController service API.

This class is for advanced usage.

GrpcBatchControllerStub

gRPC stub implementation for the BatchController service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcClusterControllerCallableFactory

gRPC callable factory implementation for the ClusterController service API.

This class is for advanced usage.

GrpcClusterControllerStub

gRPC stub implementation for the ClusterController service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcJobControllerCallableFactory

gRPC callable factory implementation for the JobController service API.

This class is for advanced usage.

GrpcJobControllerStub

gRPC stub implementation for the JobController service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcNodeGroupControllerCallableFactory

gRPC callable factory implementation for the NodeGroupController service API.

This class is for advanced usage.

GrpcNodeGroupControllerStub

gRPC stub implementation for the NodeGroupController service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcWorkflowTemplateServiceCallableFactory

gRPC callable factory implementation for the WorkflowTemplateService service API.

This class is for advanced usage.

GrpcWorkflowTemplateServiceStub

gRPC stub implementation for the WorkflowTemplateService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonAutoscalingPolicyServiceCallableFactory

REST callable factory implementation for the AutoscalingPolicyService service API.

This class is for advanced usage.

HttpJsonAutoscalingPolicyServiceStub

REST stub implementation for the AutoscalingPolicyService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonBatchControllerCallableFactory

REST callable factory implementation for the BatchController service API.

This class is for advanced usage.

HttpJsonBatchControllerStub

REST stub implementation for the BatchController service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonClusterControllerCallableFactory

REST callable factory implementation for the ClusterController service API.

This class is for advanced usage.

HttpJsonClusterControllerStub

REST stub implementation for the ClusterController service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonJobControllerCallableFactory

REST callable factory implementation for the JobController service API.

This class is for advanced usage.

HttpJsonJobControllerStub

REST stub implementation for the JobController service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonNodeGroupControllerCallableFactory

REST callable factory implementation for the NodeGroupController service API.

This class is for advanced usage.

HttpJsonNodeGroupControllerStub

REST stub implementation for the NodeGroupController service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonWorkflowTemplateServiceCallableFactory

REST callable factory implementation for the WorkflowTemplateService service API.

This class is for advanced usage.

HttpJsonWorkflowTemplateServiceStub

REST stub implementation for the WorkflowTemplateService service API.

This class is for advanced usage and reflects the underlying API directly.

JobControllerStub

Base stub class for the JobController service API.

This class is for advanced usage and reflects the underlying API directly.

JobControllerStubSettings

Settings class to configure an instance of JobControllerStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of submitJob to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 JobControllerStubSettings.Builder jobControllerSettingsBuilder =
     JobControllerStubSettings.newBuilder();
 jobControllerSettingsBuilder
     .submitJobSettings()
     .setRetrySettings(
         jobControllerSettingsBuilder
             .submitJobSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 JobControllerStubSettings jobControllerSettings = jobControllerSettingsBuilder.build();
 

JobControllerStubSettings.Builder

Builder for JobControllerStubSettings.

NodeGroupControllerStub

Base stub class for the NodeGroupController service API.

This class is for advanced usage and reflects the underlying API directly.

NodeGroupControllerStubSettings

Settings class to configure an instance of NodeGroupControllerStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getNodeGroup to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 NodeGroupControllerStubSettings.Builder nodeGroupControllerSettingsBuilder =
     NodeGroupControllerStubSettings.newBuilder();
 nodeGroupControllerSettingsBuilder
     .getNodeGroupSettings()
     .setRetrySettings(
         nodeGroupControllerSettingsBuilder
             .getNodeGroupSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NodeGroupControllerStubSettings nodeGroupControllerSettings =
     nodeGroupControllerSettingsBuilder.build();
 

NodeGroupControllerStubSettings.Builder

Builder for NodeGroupControllerStubSettings.

WorkflowTemplateServiceStub

Base stub class for the WorkflowTemplateService service API.

This class is for advanced usage and reflects the underlying API directly.

WorkflowTemplateServiceStubSettings

Settings class to configure an instance of WorkflowTemplateServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (dataproc.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of createWorkflowTemplate to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 WorkflowTemplateServiceStubSettings.Builder workflowTemplateServiceSettingsBuilder =
     WorkflowTemplateServiceStubSettings.newBuilder();
 workflowTemplateServiceSettingsBuilder
     .createWorkflowTemplateSettings()
     .setRetrySettings(
         workflowTemplateServiceSettingsBuilder
             .createWorkflowTemplateSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 WorkflowTemplateServiceStubSettings workflowTemplateServiceSettings =
     workflowTemplateServiceSettingsBuilder.build();
 

WorkflowTemplateServiceStubSettings.Builder

Builder for WorkflowTemplateServiceStubSettings.