Package com.google.cloud.config.v1
Class ConfigSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
-
- com.google.cloud.config.v1.ConfigSettings.Builder
-
- Enclosing class:
- ConfigSettings
public static class ConfigSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
Builder for ConfigSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConfigSettings settings)
protected
Builder(ConfigStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ConfigSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDeploymentRequest,Deployment,OperationMetadata>
createDeploymentOperationSettings()
Returns the builder for the settings used for calls to createDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDeploymentRequest,com.google.longrunning.Operation>
createDeploymentSettings()
Returns the builder for the settings used for calls to createDeployment.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDeploymentRequest,Deployment,OperationMetadata>
deleteDeploymentOperationSettings()
Returns the builder for the settings used for calls to deleteDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDeploymentRequest,com.google.longrunning.Operation>
deleteDeploymentSettings()
Returns the builder for the settings used for calls to deleteDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStatefileRequest,com.google.protobuf.Empty>
deleteStatefileSettings()
Returns the builder for the settings used for calls to deleteStatefile.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDeploymentStatefileRequest,Statefile>
exportDeploymentStatefileSettings()
Returns the builder for the settings used for calls to exportDeploymentStatefile.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportLockInfoRequest,LockInfo>
exportLockInfoSettings()
Returns the builder for the settings used for calls to exportLockInfo.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportRevisionStatefileRequest,Statefile>
exportRevisionStatefileSettings()
Returns the builder for the settings used for calls to exportRevisionStatefile.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDeploymentRequest,Deployment>
getDeploymentSettings()
Returns the builder for the settings used for calls to getDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetResourceRequest,Resource>
getResourceSettings()
Returns the builder for the settings used for calls to getResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRevisionRequest,Revision>
getRevisionSettings()
Returns the builder for the settings used for calls to getRevision.ConfigStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportStatefileRequest,Statefile>
importStatefileSettings()
Returns the builder for the settings used for calls to importStatefile.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,ConfigClient.ListDeploymentsPagedResponse>
listDeploymentsSettings()
Returns the builder for the settings used for calls to listDeployments.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConfigClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListResourcesRequest,ListResourcesResponse,ConfigClient.ListResourcesPagedResponse>
listResourcesSettings()
Returns the builder for the settings used for calls to listResources.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRevisionsRequest,ListRevisionsResponse,ConfigClient.ListRevisionsPagedResponse>
listRevisionsSettings()
Returns the builder for the settings used for calls to listRevisions.com.google.api.gax.rpc.OperationCallSettings.Builder<LockDeploymentRequest,Deployment,OperationMetadata>
lockDeploymentOperationSettings()
Returns the builder for the settings used for calls to lockDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<LockDeploymentRequest,com.google.longrunning.Operation>
lockDeploymentSettings()
Returns the builder for the settings used for calls to lockDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UnlockDeploymentRequest,Deployment,OperationMetadata>
unlockDeploymentOperationSettings()
Returns the builder for the settings used for calls to unlockDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UnlockDeploymentRequest,com.google.longrunning.Operation>
unlockDeploymentSettings()
Returns the builder for the settings used for calls to unlockDeployment.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDeploymentRequest,Deployment,OperationMetadata>
updateDeploymentOperationSettings()
Returns the builder for the settings used for calls to updateDeployment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDeploymentRequest,com.google.longrunning.Operation>
updateDeploymentSettings()
Returns the builder for the settings used for calls to updateDeployment.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConfigSettings settings)
-
Builder
protected Builder(ConfigStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ConfigStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ConfigSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listDeploymentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsSettings()
Returns the builder for the settings used for calls to listDeployments.
-
getDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()
Returns the builder for the settings used for calls to getDeployment.
-
createDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDeploymentRequest,com.google.longrunning.Operation> createDeploymentSettings()
Returns the builder for the settings used for calls to createDeployment.
-
createDeploymentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationSettings()
Returns the builder for the settings used for calls to createDeployment.
-
updateDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDeploymentRequest,com.google.longrunning.Operation> updateDeploymentSettings()
Returns the builder for the settings used for calls to updateDeployment.
-
updateDeploymentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationSettings()
Returns the builder for the settings used for calls to updateDeployment.
-
deleteDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDeploymentRequest,com.google.longrunning.Operation> deleteDeploymentSettings()
Returns the builder for the settings used for calls to deleteDeployment.
-
deleteDeploymentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationSettings()
Returns the builder for the settings used for calls to deleteDeployment.
-
listRevisionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRevisionsRequest,ListRevisionsResponse,ConfigClient.ListRevisionsPagedResponse> listRevisionsSettings()
Returns the builder for the settings used for calls to listRevisions.
-
getRevisionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRevisionRequest,Revision> getRevisionSettings()
Returns the builder for the settings used for calls to getRevision.
-
getResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetResourceRequest,Resource> getResourceSettings()
Returns the builder for the settings used for calls to getResource.
-
listResourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListResourcesRequest,ListResourcesResponse,ConfigClient.ListResourcesPagedResponse> listResourcesSettings()
Returns the builder for the settings used for calls to listResources.
-
exportDeploymentStatefileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileSettings()
Returns the builder for the settings used for calls to exportDeploymentStatefile.
-
exportRevisionStatefileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileSettings()
Returns the builder for the settings used for calls to exportRevisionStatefile.
-
importStatefileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportStatefileRequest,Statefile> importStatefileSettings()
Returns the builder for the settings used for calls to importStatefile.
-
deleteStatefileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStatefileRequest,com.google.protobuf.Empty> deleteStatefileSettings()
Returns the builder for the settings used for calls to deleteStatefile.
-
lockDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LockDeploymentRequest,com.google.longrunning.Operation> lockDeploymentSettings()
Returns the builder for the settings used for calls to lockDeployment.
-
lockDeploymentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationSettings()
Returns the builder for the settings used for calls to lockDeployment.
-
unlockDeploymentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UnlockDeploymentRequest,com.google.longrunning.Operation> unlockDeploymentSettings()
Returns the builder for the settings used for calls to unlockDeployment.
-
unlockDeploymentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UnlockDeploymentRequest,Deployment,OperationMetadata> unlockDeploymentOperationSettings()
Returns the builder for the settings used for calls to unlockDeployment.
-
exportLockInfoSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportLockInfoRequest,LockInfo> exportLockInfoSettings()
Returns the builder for the settings used for calls to exportLockInfo.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConfigClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ConfigSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
- Throws:
IOException
-
-