Package com.google.cloud.config.v1.stub
Class ConfigStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ConfigStubSettings,ConfigStubSettings.Builder>
-
- com.google.cloud.config.v1.stub.ConfigStubSettings.Builder
-
- Enclosing class:
- ConfigStubSettings
public static class ConfigStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ConfigStubSettings,ConfigStubSettings.Builder>
Builder for ConfigStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConfigStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigStubSettings.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.ConfigStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConfigStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ConfigStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 ConfigStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ConfigStubSettings,ConfigStubSettings.Builder>
- Throws:
IOException
-
-