Class InstanceAdminSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
-
- com.google.cloud.spanner.admin.instance.v1.InstanceAdminSettings.Builder
-
- Enclosing class:
- InstanceAdminSettings
public static class InstanceAdminSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
Builder for InstanceAdminSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(InstanceAdminSettings settings)
protected
Builder(InstanceAdminStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAdminSettings.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.InstanceAdminSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata>
createInstanceConfigOperationSettings()
Returns the builder for the settings used for calls to createInstanceConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceConfigRequest,com.google.longrunning.Operation>
createInstanceConfigSettings()
Returns the builder for the settings used for calls to createInstanceConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata>
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation>
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceConfigRequest,com.google.protobuf.Empty>
deleteInstanceConfigSettings()
Returns the builder for the settings used for calls to deleteInstanceConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty>
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.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<GetInstanceConfigRequest,InstanceConfig>
getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance>
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.InstanceAdminStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse,InstanceAdminClient.ListInstanceConfigOperationsPagedResponse>
listInstanceConfigOperationsSettings()
Returns the builder for the settings used for calls to listInstanceConfigOperations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse>
listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse>
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.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<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata>
updateInstanceConfigOperationSettings()
Returns the builder for the settings used for calls to updateInstanceConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceConfigRequest,com.google.longrunning.Operation>
updateInstanceConfigSettings()
Returns the builder for the settings used for calls to updateInstanceConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata>
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation>
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, 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(InstanceAdminSettings settings)
-
Builder
protected Builder(InstanceAdminStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public InstanceAdminStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public InstanceAdminSettings.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.
-
listInstanceConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.
-
getInstanceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.
-
createInstanceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceConfigRequest,com.google.longrunning.Operation> createInstanceConfigSettings()
Returns the builder for the settings used for calls to createInstanceConfig.
-
createInstanceConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata> createInstanceConfigOperationSettings()
Returns the builder for the settings used for calls to createInstanceConfig.
-
updateInstanceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceConfigRequest,com.google.longrunning.Operation> updateInstanceConfigSettings()
Returns the builder for the settings used for calls to updateInstanceConfig.
-
updateInstanceConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata> updateInstanceConfigOperationSettings()
Returns the builder for the settings used for calls to updateInstanceConfig.
-
deleteInstanceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceConfigRequest,com.google.protobuf.Empty> deleteInstanceConfigSettings()
Returns the builder for the settings used for calls to deleteInstanceConfig.
-
listInstanceConfigOperationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse,InstanceAdminClient.ListInstanceConfigOperationsPagedResponse> listInstanceConfigOperationsSettings()
Returns the builder for the settings used for calls to listInstanceConfigOperations.
-
listInstancesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
-
getInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
-
createInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
-
createInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
-
updateInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
-
updateInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
-
deleteInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
-
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 InstanceAdminSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
- Throws:
IOException
-
-