public static class ConfigStubSettings.Builder extends StubSettings.Builder<ConfigStubSettings,ConfigStubSettings.Builder>
Builder for ConfigStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ConfigStubSettings settings)
protected Builder(ConfigStubSettings settings)
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.
build()
public ConfigStubSettings build()
Overrides
createDeploymentOperationSettings()
public OperationCallSettings.Builder<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationSettings()
Returns the builder for the settings used for calls to createDeployment.
createDeploymentSettings()
public UnaryCallSettings.Builder<CreateDeploymentRequest,Operation> createDeploymentSettings()
Returns the builder for the settings used for calls to createDeployment.
deleteDeploymentOperationSettings()
public OperationCallSettings.Builder<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationSettings()
Returns the builder for the settings used for calls to deleteDeployment.
deleteDeploymentSettings()
public UnaryCallSettings.Builder<DeleteDeploymentRequest,Operation> deleteDeploymentSettings()
Returns the builder for the settings used for calls to deleteDeployment.
deleteStatefileSettings()
public UnaryCallSettings.Builder<DeleteStatefileRequest,Empty> deleteStatefileSettings()
Returns the builder for the settings used for calls to deleteStatefile.
exportDeploymentStatefileSettings()
public UnaryCallSettings.Builder<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileSettings()
Returns the builder for the settings used for calls to exportDeploymentStatefile.
exportLockInfoSettings()
public UnaryCallSettings.Builder<ExportLockInfoRequest,LockInfo> exportLockInfoSettings()
Returns the builder for the settings used for calls to exportLockInfo.
exportRevisionStatefileSettings()
public UnaryCallSettings.Builder<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileSettings()
Returns the builder for the settings used for calls to exportRevisionStatefile.
getDeploymentSettings()
public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()
Returns the builder for the settings used for calls to getDeployment.
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> | |
getResourceSettings()
public UnaryCallSettings.Builder<GetResourceRequest,Resource> getResourceSettings()
Returns the builder for the settings used for calls to getResource.
getRevisionSettings()
public UnaryCallSettings.Builder<GetRevisionRequest,Revision> getRevisionSettings()
Returns the builder for the settings used for calls to getRevision.
importStatefileSettings()
public UnaryCallSettings.Builder<ImportStatefileRequest,Statefile> importStatefileSettings()
Returns the builder for the settings used for calls to importStatefile.
listDeploymentsSettings()
public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsSettings()
Returns the builder for the settings used for calls to listDeployments.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConfigClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listResourcesSettings()
public PagedCallSettings.Builder<ListResourcesRequest,ListResourcesResponse,ConfigClient.ListResourcesPagedResponse> listResourcesSettings()
Returns the builder for the settings used for calls to listResources.
listRevisionsSettings()
public PagedCallSettings.Builder<ListRevisionsRequest,ListRevisionsResponse,ConfigClient.ListRevisionsPagedResponse> listRevisionsSettings()
Returns the builder for the settings used for calls to listRevisions.
lockDeploymentOperationSettings()
public OperationCallSettings.Builder<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationSettings()
Returns the builder for the settings used for calls to lockDeployment.
lockDeploymentSettings()
public UnaryCallSettings.Builder<LockDeploymentRequest,Operation> lockDeploymentSettings()
Returns the builder for the settings used for calls to lockDeployment.
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.
unlockDeploymentSettings()
public UnaryCallSettings.Builder<UnlockDeploymentRequest,Operation> unlockDeploymentSettings()
Returns the builder for the settings used for calls to unlockDeployment.
updateDeploymentOperationSettings()
public OperationCallSettings.Builder<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationSettings()
Returns the builder for the settings used for calls to updateDeployment.
updateDeploymentSettings()
public UnaryCallSettings.Builder<UpdateDeploymentRequest,Operation> updateDeploymentSettings()
Returns the builder for the settings used for calls to updateDeployment.