Package com.google.cloud.metastore.v1.stub (2.28.0)

Classes

DataprocMetastoreFederationStub

Base stub class for the DataprocMetastoreFederation service API.

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

DataprocMetastoreFederationStubSettings

Settings class to configure an instance of DataprocMetastoreFederationStub.

The default instance has everything set to sensible defaults:

  • The default service address (metastore.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 getFederation 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
 DataprocMetastoreFederationStubSettings.Builder dataprocMetastoreFederationSettingsBuilder =
     DataprocMetastoreFederationStubSettings.newBuilder();
 dataprocMetastoreFederationSettingsBuilder
     .getFederationSettings()
     .setRetrySettings(
         dataprocMetastoreFederationSettingsBuilder
             .getFederationSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DataprocMetastoreFederationStubSettings dataprocMetastoreFederationSettings =
     dataprocMetastoreFederationSettingsBuilder.build();
 

DataprocMetastoreFederationStubSettings.Builder

Builder for DataprocMetastoreFederationStubSettings.

DataprocMetastoreStub

Base stub class for the DataprocMetastore service API.

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

DataprocMetastoreStubSettings

Settings class to configure an instance of DataprocMetastoreStub.

The default instance has everything set to sensible defaults:

  • The default service address (metastore.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 getService 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
 DataprocMetastoreStubSettings.Builder dataprocMetastoreSettingsBuilder =
     DataprocMetastoreStubSettings.newBuilder();
 dataprocMetastoreSettingsBuilder
     .getServiceSettings()
     .setRetrySettings(
         dataprocMetastoreSettingsBuilder
             .getServiceSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DataprocMetastoreStubSettings dataprocMetastoreSettings =
     dataprocMetastoreSettingsBuilder.build();
 

DataprocMetastoreStubSettings.Builder

Builder for DataprocMetastoreStubSettings.

GrpcDataprocMetastoreCallableFactory

gRPC callable factory implementation for the DataprocMetastore service API.

This class is for advanced usage.

GrpcDataprocMetastoreFederationCallableFactory

gRPC callable factory implementation for the DataprocMetastoreFederation service API.

This class is for advanced usage.

GrpcDataprocMetastoreFederationStub

gRPC stub implementation for the DataprocMetastoreFederation service API.

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

GrpcDataprocMetastoreStub

gRPC stub implementation for the DataprocMetastore service API.

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

HttpJsonDataprocMetastoreCallableFactory

REST callable factory implementation for the DataprocMetastore service API.

This class is for advanced usage.

HttpJsonDataprocMetastoreFederationCallableFactory

REST callable factory implementation for the DataprocMetastoreFederation service API.

This class is for advanced usage.

HttpJsonDataprocMetastoreFederationStub

REST stub implementation for the DataprocMetastoreFederation service API.

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

HttpJsonDataprocMetastoreStub

REST stub implementation for the DataprocMetastore service API.

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