Package com.google.cloud.orchestration.airflow.service.v1beta1.stub (1.19.0)

Classes

EnvironmentsStub

Base stub class for the Environments service API.

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

EnvironmentsStubSettings

Settings class to configure an instance of EnvironmentsStub.

The default instance has everything set to sensible defaults:

  • The default service address (composer.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 getEnvironment 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
 EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
     EnvironmentsStubSettings.newBuilder();
 environmentsSettingsBuilder
     .getEnvironmentSettings()
     .setRetrySettings(
         environmentsSettingsBuilder
             .getEnvironmentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
 

EnvironmentsStubSettings.Builder

Builder for EnvironmentsStubSettings.

GrpcEnvironmentsCallableFactory

gRPC callable factory implementation for the Environments service API.

This class is for advanced usage.

GrpcEnvironmentsStub

gRPC stub implementation for the Environments service API.

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

GrpcImageVersionsCallableFactory

gRPC callable factory implementation for the ImageVersions service API.

This class is for advanced usage.

GrpcImageVersionsStub

gRPC stub implementation for the ImageVersions service API.

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

HttpJsonEnvironmentsCallableFactory

REST callable factory implementation for the Environments service API.

This class is for advanced usage.

HttpJsonEnvironmentsStub

REST stub implementation for the Environments service API.

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

HttpJsonImageVersionsCallableFactory

REST callable factory implementation for the ImageVersions service API.

This class is for advanced usage.

HttpJsonImageVersionsStub

REST stub implementation for the ImageVersions service API.

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

ImageVersionsStub

Base stub class for the ImageVersions service API.

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

ImageVersionsStubSettings

Settings class to configure an instance of ImageVersionsStub.

The default instance has everything set to sensible defaults:

  • The default service address (composer.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 listImageVersions 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
 ImageVersionsStubSettings.Builder imageVersionsSettingsBuilder =
     ImageVersionsStubSettings.newBuilder();
 imageVersionsSettingsBuilder
     .listImageVersionsSettings()
     .setRetrySettings(
         imageVersionsSettingsBuilder
             .listImageVersionsSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ImageVersionsStubSettings imageVersionsSettings = imageVersionsSettingsBuilder.build();
 

ImageVersionsStubSettings.Builder

Builder for ImageVersionsStubSettings.