- 1.49.0 (latest)
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public class CloudDeployStubSettings extends StubSettings<CloudDeployStubSettings>
Settings class to configure an instance of CloudDeployStub.
The default instance has everything set to sensible defaults:
- The default service address (clouddeploy.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 getDeliveryPipeline to 30 seconds:
CloudDeployStubSettings.Builder cloudDeploySettingsBuilder =
CloudDeployStubSettings.newBuilder();
cloudDeploySettingsBuilder
.getDeliveryPipelineSettings()
.setRetrySettings(
cloudDeploySettingsBuilder
.getDeliveryPipelineSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
CloudDeployStubSettings cloudDeploySettings = cloudDeploySettingsBuilder.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static CloudDeployStubSettings.Builder newBuilder()
Returns a new builder for this class.
Type | Description |
CloudDeployStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static CloudDeployStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
CloudDeployStubSettings.Builder |
Constructors
CloudDeployStubSettings(CloudDeployStubSettings.Builder settingsBuilder)
protected CloudDeployStubSettings(CloudDeployStubSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | CloudDeployStubSettings.Builder |
Methods
approveRolloutSettings()
public UnaryCallSettings<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutSettings()
Returns the object with the settings used for calls to approveRollout.
Type | Description |
UnaryCallSettings<ApproveRolloutRequest,ApproveRolloutResponse> |
createDeliveryPipelineOperationSettings()
public OperationCallSettings<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> createDeliveryPipelineOperationSettings()
Returns the object with the settings used for calls to createDeliveryPipeline.
Type | Description |
OperationCallSettings<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> |
createDeliveryPipelineSettings()
public UnaryCallSettings<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineSettings()
Returns the object with the settings used for calls to createDeliveryPipeline.
Type | Description |
UnaryCallSettings<CreateDeliveryPipelineRequest,Operation> |
createReleaseOperationSettings()
public OperationCallSettings<CreateReleaseRequest,Release,OperationMetadata> createReleaseOperationSettings()
Returns the object with the settings used for calls to createRelease.
Type | Description |
OperationCallSettings<CreateReleaseRequest,Release,OperationMetadata> |
createReleaseSettings()
public UnaryCallSettings<CreateReleaseRequest,Operation> createReleaseSettings()
Returns the object with the settings used for calls to createRelease.
Type | Description |
UnaryCallSettings<CreateReleaseRequest,Operation> |
createRolloutOperationSettings()
public OperationCallSettings<CreateRolloutRequest,Rollout,OperationMetadata> createRolloutOperationSettings()
Returns the object with the settings used for calls to createRollout.
Type | Description |
OperationCallSettings<CreateRolloutRequest,Rollout,OperationMetadata> |
createRolloutSettings()
public UnaryCallSettings<CreateRolloutRequest,Operation> createRolloutSettings()
Returns the object with the settings used for calls to createRollout.
Type | Description |
UnaryCallSettings<CreateRolloutRequest,Operation> |
createStub()
public CloudDeployStub createStub()
Type | Description |
CloudDeployStub |
Type | Description |
IOException |
createTargetOperationSettings()
public OperationCallSettings<CreateTargetRequest,Target,OperationMetadata> createTargetOperationSettings()
Returns the object with the settings used for calls to createTarget.
Type | Description |
OperationCallSettings<CreateTargetRequest,Target,OperationMetadata> |
createTargetSettings()
public UnaryCallSettings<CreateTargetRequest,Operation> createTargetSettings()
Returns the object with the settings used for calls to createTarget.
Type | Description |
UnaryCallSettings<CreateTargetRequest,Operation> |
deleteDeliveryPipelineOperationSettings()
public OperationCallSettings<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> deleteDeliveryPipelineOperationSettings()
Returns the object with the settings used for calls to deleteDeliveryPipeline.
Type | Description |
OperationCallSettings<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> |
deleteDeliveryPipelineSettings()
public UnaryCallSettings<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineSettings()
Returns the object with the settings used for calls to deleteDeliveryPipeline.
Type | Description |
UnaryCallSettings<DeleteDeliveryPipelineRequest,Operation> |
deleteTargetOperationSettings()
public OperationCallSettings<DeleteTargetRequest,Empty,OperationMetadata> deleteTargetOperationSettings()
Returns the object with the settings used for calls to deleteTarget.
Type | Description |
OperationCallSettings<DeleteTargetRequest,Empty,OperationMetadata> |
deleteTargetSettings()
public UnaryCallSettings<DeleteTargetRequest,Operation> deleteTargetSettings()
Returns the object with the settings used for calls to deleteTarget.
Type | Description |
UnaryCallSettings<DeleteTargetRequest,Operation> |
getConfigSettings()
public UnaryCallSettings<GetConfigRequest,Config> getConfigSettings()
Returns the object with the settings used for calls to getConfig.
Type | Description |
UnaryCallSettings<GetConfigRequest,Config> |
getDeliveryPipelineSettings()
public UnaryCallSettings<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineSettings()
Returns the object with the settings used for calls to getDeliveryPipeline.
Type | Description |
UnaryCallSettings<GetDeliveryPipelineRequest,DeliveryPipeline> |
getReleaseSettings()
public UnaryCallSettings<GetReleaseRequest,Release> getReleaseSettings()
Returns the object with the settings used for calls to getRelease.
Type | Description |
UnaryCallSettings<GetReleaseRequest,Release> |
getRolloutSettings()
public UnaryCallSettings<GetRolloutRequest,Rollout> getRolloutSettings()
Returns the object with the settings used for calls to getRollout.
Type | Description |
UnaryCallSettings<GetRolloutRequest,Rollout> |
getTargetSettings()
public UnaryCallSettings<GetTargetRequest,Target> getTargetSettings()
Returns the object with the settings used for calls to getTarget.
Type | Description |
UnaryCallSettings<GetTargetRequest,Target> |
listDeliveryPipelinesSettings()
public PagedCallSettings<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse,CloudDeployClient.ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings()
Returns the object with the settings used for calls to listDeliveryPipelines.
Type | Description |
PagedCallSettings<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse,ListDeliveryPipelinesPagedResponse> |
listReleasesSettings()
public PagedCallSettings<ListReleasesRequest,ListReleasesResponse,CloudDeployClient.ListReleasesPagedResponse> listReleasesSettings()
Returns the object with the settings used for calls to listReleases.
Type | Description |
PagedCallSettings<ListReleasesRequest,ListReleasesResponse,ListReleasesPagedResponse> |
listRolloutsSettings()
public PagedCallSettings<ListRolloutsRequest,ListRolloutsResponse,CloudDeployClient.ListRolloutsPagedResponse> listRolloutsSettings()
Returns the object with the settings used for calls to listRollouts.
Type | Description |
PagedCallSettings<ListRolloutsRequest,ListRolloutsResponse,ListRolloutsPagedResponse> |
listTargetsSettings()
public PagedCallSettings<ListTargetsRequest,ListTargetsResponse,CloudDeployClient.ListTargetsPagedResponse> listTargetsSettings()
Returns the object with the settings used for calls to listTargets.
Type | Description |
PagedCallSettings<ListTargetsRequest,ListTargetsResponse,ListTargetsPagedResponse> |
toBuilder()
public CloudDeployStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
CloudDeployStubSettings.Builder |
updateDeliveryPipelineOperationSettings()
public OperationCallSettings<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> updateDeliveryPipelineOperationSettings()
Returns the object with the settings used for calls to updateDeliveryPipeline.
Type | Description |
OperationCallSettings<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> |
updateDeliveryPipelineSettings()
public UnaryCallSettings<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineSettings()
Returns the object with the settings used for calls to updateDeliveryPipeline.
Type | Description |
UnaryCallSettings<UpdateDeliveryPipelineRequest,Operation> |
updateTargetOperationSettings()
public OperationCallSettings<UpdateTargetRequest,Target,OperationMetadata> updateTargetOperationSettings()
Returns the object with the settings used for calls to updateTarget.
Type | Description |
OperationCallSettings<UpdateTargetRequest,Target,OperationMetadata> |
updateTargetSettings()
public UnaryCallSettings<UpdateTargetRequest,Operation> updateTargetSettings()
Returns the object with the settings used for calls to updateTarget.
Type | Description |
UnaryCallSettings<UpdateTargetRequest,Operation> |