Class ConfigStubSettings.Builder (0.21.0)

public static class ConfigStubSettings.Builder extends StubSettings.Builder<ConfigStubSettings,ConfigStubSettings.Builder>

Builder for ConfigStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConfigStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConfigStubSettings settings)

protected Builder(ConfigStubSettings settings)
Parameter
Name Description
settings ConfigStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ConfigStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ConfigStubSettings.Builder

build()

public ConfigStubSettings build()
Returns
Type Description
ConfigStubSettings
Overrides
Exceptions
Type Description
IOException

createDeploymentOperationSettings()

public OperationCallSettings.Builder<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationSettings()

Returns the builder for the settings used for calls to createDeployment.

Returns
Type Description
Builder<CreateDeploymentRequest,Deployment,OperationMetadata>

createDeploymentSettings()

public UnaryCallSettings.Builder<CreateDeploymentRequest,Operation> createDeploymentSettings()

Returns the builder for the settings used for calls to createDeployment.

Returns
Type Description
Builder<CreateDeploymentRequest,Operation>

createPreviewOperationSettings()

public OperationCallSettings.Builder<CreatePreviewRequest,Preview,OperationMetadata> createPreviewOperationSettings()

Returns the builder for the settings used for calls to createPreview.

Returns
Type Description
Builder<CreatePreviewRequest,Preview,OperationMetadata>

createPreviewSettings()

public UnaryCallSettings.Builder<CreatePreviewRequest,Operation> createPreviewSettings()

Returns the builder for the settings used for calls to createPreview.

Returns
Type Description
Builder<CreatePreviewRequest,Operation>

deleteDeploymentOperationSettings()

public OperationCallSettings.Builder<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationSettings()

Returns the builder for the settings used for calls to deleteDeployment.

Returns
Type Description
Builder<DeleteDeploymentRequest,Deployment,OperationMetadata>

deleteDeploymentSettings()

public UnaryCallSettings.Builder<DeleteDeploymentRequest,Operation> deleteDeploymentSettings()

Returns the builder for the settings used for calls to deleteDeployment.

Returns
Type Description
Builder<DeleteDeploymentRequest,Operation>

deletePreviewOperationSettings()

public OperationCallSettings.Builder<DeletePreviewRequest,Preview,OperationMetadata> deletePreviewOperationSettings()

Returns the builder for the settings used for calls to deletePreview.

Returns
Type Description
Builder<DeletePreviewRequest,Preview,OperationMetadata>

deletePreviewSettings()

public UnaryCallSettings.Builder<DeletePreviewRequest,Operation> deletePreviewSettings()

Returns the builder for the settings used for calls to deletePreview.

Returns
Type Description
Builder<DeletePreviewRequest,Operation>

deleteStatefileSettings()

public UnaryCallSettings.Builder<DeleteStatefileRequest,Empty> deleteStatefileSettings()

Returns the builder for the settings used for calls to deleteStatefile.

Returns
Type Description
Builder<DeleteStatefileRequest,Empty>

exportDeploymentStatefileSettings()

public UnaryCallSettings.Builder<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileSettings()

Returns the builder for the settings used for calls to exportDeploymentStatefile.

Returns
Type Description
Builder<ExportDeploymentStatefileRequest,Statefile>

exportLockInfoSettings()

public UnaryCallSettings.Builder<ExportLockInfoRequest,LockInfo> exportLockInfoSettings()

Returns the builder for the settings used for calls to exportLockInfo.

Returns
Type Description
Builder<ExportLockInfoRequest,LockInfo>

exportPreviewResultSettings()

public UnaryCallSettings.Builder<ExportPreviewResultRequest,ExportPreviewResultResponse> exportPreviewResultSettings()

Returns the builder for the settings used for calls to exportPreviewResult.

Returns
Type Description
Builder<ExportPreviewResultRequest,ExportPreviewResultResponse>

exportRevisionStatefileSettings()

public UnaryCallSettings.Builder<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileSettings()

Returns the builder for the settings used for calls to exportRevisionStatefile.

Returns
Type Description
Builder<ExportRevisionStatefileRequest,Statefile>

getDeploymentSettings()

public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()

Returns the builder for the settings used for calls to getDeployment.

Returns
Type Description
Builder<GetDeploymentRequest,Deployment>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getPreviewSettings()

public UnaryCallSettings.Builder<GetPreviewRequest,Preview> getPreviewSettings()

Returns the builder for the settings used for calls to getPreview.

Returns
Type Description
Builder<GetPreviewRequest,Preview>

getResourceSettings()

public UnaryCallSettings.Builder<GetResourceRequest,Resource> getResourceSettings()

Returns the builder for the settings used for calls to getResource.

Returns
Type Description
Builder<GetResourceRequest,Resource>

getRevisionSettings()

public UnaryCallSettings.Builder<GetRevisionRequest,Revision> getRevisionSettings()

Returns the builder for the settings used for calls to getRevision.

Returns
Type Description
Builder<GetRevisionRequest,Revision>

getTerraformVersionSettings()

public UnaryCallSettings.Builder<GetTerraformVersionRequest,TerraformVersion> getTerraformVersionSettings()

Returns the builder for the settings used for calls to getTerraformVersion.

Returns
Type Description
Builder<GetTerraformVersionRequest,TerraformVersion>

importStatefileSettings()

public UnaryCallSettings.Builder<ImportStatefileRequest,Statefile> importStatefileSettings()

Returns the builder for the settings used for calls to importStatefile.

Returns
Type Description
Builder<ImportStatefileRequest,Statefile>

listDeploymentsSettings()

public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsSettings()

Returns the builder for the settings used for calls to listDeployments.

Returns
Type Description
Builder<ListDeploymentsRequest,ListDeploymentsResponse,ListDeploymentsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConfigClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listPreviewsSettings()

public PagedCallSettings.Builder<ListPreviewsRequest,ListPreviewsResponse,ConfigClient.ListPreviewsPagedResponse> listPreviewsSettings()

Returns the builder for the settings used for calls to listPreviews.

Returns
Type Description
Builder<ListPreviewsRequest,ListPreviewsResponse,ListPreviewsPagedResponse>

listResourcesSettings()

public PagedCallSettings.Builder<ListResourcesRequest,ListResourcesResponse,ConfigClient.ListResourcesPagedResponse> listResourcesSettings()

Returns the builder for the settings used for calls to listResources.

Returns
Type Description
Builder<ListResourcesRequest,ListResourcesResponse,ListResourcesPagedResponse>

listRevisionsSettings()

public PagedCallSettings.Builder<ListRevisionsRequest,ListRevisionsResponse,ConfigClient.ListRevisionsPagedResponse> listRevisionsSettings()

Returns the builder for the settings used for calls to listRevisions.

Returns
Type Description
Builder<ListRevisionsRequest,ListRevisionsResponse,ListRevisionsPagedResponse>

listTerraformVersionsSettings()

public PagedCallSettings.Builder<ListTerraformVersionsRequest,ListTerraformVersionsResponse,ConfigClient.ListTerraformVersionsPagedResponse> listTerraformVersionsSettings()

Returns the builder for the settings used for calls to listTerraformVersions.

Returns
Type Description
Builder<ListTerraformVersionsRequest,ListTerraformVersionsResponse,ListTerraformVersionsPagedResponse>

lockDeploymentOperationSettings()

public OperationCallSettings.Builder<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationSettings()

Returns the builder for the settings used for calls to lockDeployment.

Returns
Type Description
Builder<LockDeploymentRequest,Deployment,OperationMetadata>

lockDeploymentSettings()

public UnaryCallSettings.Builder<LockDeploymentRequest,Operation> lockDeploymentSettings()

Returns the builder for the settings used for calls to lockDeployment.

Returns
Type Description
Builder<LockDeploymentRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

unlockDeploymentOperationSettings()

public OperationCallSettings.Builder<UnlockDeploymentRequest,Deployment,OperationMetadata> unlockDeploymentOperationSettings()

Returns the builder for the settings used for calls to unlockDeployment.

Returns
Type Description
Builder<UnlockDeploymentRequest,Deployment,OperationMetadata>

unlockDeploymentSettings()

public UnaryCallSettings.Builder<UnlockDeploymentRequest,Operation> unlockDeploymentSettings()

Returns the builder for the settings used for calls to unlockDeployment.

Returns
Type Description
Builder<UnlockDeploymentRequest,Operation>

updateDeploymentOperationSettings()

public OperationCallSettings.Builder<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationSettings()

Returns the builder for the settings used for calls to updateDeployment.

Returns
Type Description
Builder<UpdateDeploymentRequest,Deployment,OperationMetadata>

updateDeploymentSettings()

public UnaryCallSettings.Builder<UpdateDeploymentRequest,Operation> updateDeploymentSettings()

Returns the builder for the settings used for calls to updateDeployment.

Returns
Type Description
Builder<UpdateDeploymentRequest,Operation>