Class ConfigStubSettings.Builder (0.17.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
NameDescription
clientContextClientContext

Builder(ConfigStubSettings settings)

protected Builder(ConfigStubSettings settings)
Parameter
NameDescription
settingsConfigStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ConfigStubSettings.Builder

build()

public ConfigStubSettings build()
Returns
TypeDescription
ConfigStubSettings
Overrides
Exceptions
TypeDescription
IOException

createDeploymentOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDeploymentRequest,Deployment,OperationMetadata>

createDeploymentSettings()

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

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

Returns
TypeDescription
Builder<CreateDeploymentRequest,Operation>

createPreviewOperationSettings()

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

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

Returns
TypeDescription
Builder<CreatePreviewRequest,Preview,OperationMetadata>

createPreviewSettings()

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

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

Returns
TypeDescription
Builder<CreatePreviewRequest,Operation>

deleteDeploymentOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDeploymentRequest,Deployment,OperationMetadata>

deleteDeploymentSettings()

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

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

Returns
TypeDescription
Builder<DeleteDeploymentRequest,Operation>

deletePreviewOperationSettings()

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

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

Returns
TypeDescription
Builder<DeletePreviewRequest,Preview,OperationMetadata>

deletePreviewSettings()

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

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

Returns
TypeDescription
Builder<DeletePreviewRequest,Operation>

deleteStatefileSettings()

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

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

Returns
TypeDescription
Builder<DeleteStatefileRequest,Empty>

exportDeploymentStatefileSettings()

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

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

Returns
TypeDescription
Builder<ExportDeploymentStatefileRequest,Statefile>

exportLockInfoSettings()

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

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

Returns
TypeDescription
Builder<ExportLockInfoRequest,LockInfo>

exportPreviewResultSettings()

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

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

Returns
TypeDescription
Builder<ExportPreviewResultRequest,ExportPreviewResultResponse>

exportRevisionStatefileSettings()

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

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

Returns
TypeDescription
Builder<ExportRevisionStatefileRequest,Statefile>

getDeploymentSettings()

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

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

Returns
TypeDescription
Builder<GetDeploymentRequest,Deployment>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetPreviewRequest,Preview>

getResourceSettings()

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

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

Returns
TypeDescription
Builder<GetResourceRequest,Resource>

getRevisionSettings()

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

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

Returns
TypeDescription
Builder<GetRevisionRequest,Revision>

getTerraformVersionSettings()

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

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

Returns
TypeDescription
Builder<GetTerraformVersionRequest,TerraformVersion>

importStatefileSettings()

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

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

Returns
TypeDescription
Builder<ImportStatefileRequest,Statefile>

listDeploymentsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListTerraformVersionsRequest,ListTerraformVersionsResponse,ListTerraformVersionsPagedResponse>

lockDeploymentOperationSettings()

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

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

Returns
TypeDescription
Builder<LockDeploymentRequest,Deployment,OperationMetadata>

lockDeploymentSettings()

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

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

Returns
TypeDescription
Builder<LockDeploymentRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UnlockDeploymentRequest,Deployment,OperationMetadata>

unlockDeploymentSettings()

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

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

Returns
TypeDescription
Builder<UnlockDeploymentRequest,Operation>

updateDeploymentOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateDeploymentRequest,Deployment,OperationMetadata>

updateDeploymentSettings()

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

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

Returns
TypeDescription
Builder<UpdateDeploymentRequest,Operation>