Class ConfigSettings.Builder (0.1.0)

public static class ConfigSettings.Builder extends ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>

Builder for ConfigSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConfigSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConfigSettings settings)

protected Builder(ConfigSettings settings)
Parameter
NameDescription
settingsConfigSettings

Builder(ConfigStubSettings.Builder stubSettings)

protected Builder(ConfigStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConfigStubSettings.Builder

Methods

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

public ConfigSettings.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
ConfigSettings.Builder

build()

public ConfigSettings build()
Returns
TypeDescription
ConfigSettings
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>

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>

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>

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>

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>

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>

getStubSettingsBuilder()

public ConfigStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ConfigStubSettings.Builder

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>

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>

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>

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>