Class InstanceAdminStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
com.google.cloud.spanner.admin.instance.v1.stub.InstanceAdminStubSettings.Builder
- Enclosing class:
- InstanceAdminStubSettings
public static class InstanceAdminStubSettings.Builder
extends StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
Builder for InstanceAdminStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(InstanceAdminStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()OperationCallSettings.Builder<CreateInstanceConfigRequest,InstanceConfig, CreateInstanceConfigMetadata> Returns the builder for the settings used for calls to createInstanceConfig.Returns the builder for the settings used for calls to createInstanceConfig.Returns the builder for the settings used for calls to createInstance.OperationCallSettings.Builder<CreateInstancePartitionRequest,InstancePartition, CreateInstancePartitionMetadata> Returns the builder for the settings used for calls to createInstancePartition.Returns the builder for the settings used for calls to createInstancePartition.Returns the builder for the settings used for calls to createInstance.UnaryCallSettings.Builder<DeleteInstanceConfigRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteInstanceConfig.UnaryCallSettings.Builder<DeleteInstancePartitionRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteInstancePartition.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getInstanceConfig.Returns the builder for the settings used for calls to getInstancePartition.Returns the builder for the settings used for calls to getInstance.PagedCallSettings.Builder<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse, InstanceAdminClient.ListInstanceConfigOperationsPagedResponse> Returns the builder for the settings used for calls to listInstanceConfigOperations.PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse, InstanceAdminClient.ListInstanceConfigsPagedResponse> Returns the builder for the settings used for calls to listInstanceConfigs.PagedCallSettings.Builder<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse, InstanceAdminClient.ListInstancePartitionOperationsPagedResponse> Returns the builder for the settings used for calls to listInstancePartitionOperations.PagedCallSettings.Builder<ListInstancePartitionsRequest,ListInstancePartitionsResponse, InstanceAdminClient.ListInstancePartitionsPagedResponse> Returns the builder for the settings used for calls to listInstancePartitions.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, InstanceAdminClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.Returns the builder for the settings used for calls to moveInstance.Returns the builder for the settings used for calls to moveInstance.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> OperationCallSettings.Builder<UpdateInstanceConfigRequest,InstanceConfig, UpdateInstanceConfigMetadata> Returns the builder for the settings used for calls to updateInstanceConfig.Returns the builder for the settings used for calls to updateInstanceConfig.Returns the builder for the settings used for calls to updateInstance.OperationCallSettings.Builder<UpdateInstancePartitionRequest,InstancePartition, UpdateInstancePartitionMetadata> Returns the builder for the settings used for calls to updateInstancePartition.Returns the builder for the settings used for calls to updateInstancePartition.Returns the builder for the settings used for calls to updateInstance.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public InstanceAdminStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listInstanceConfigsSettings
public PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse, listInstanceConfigsSettings()InstanceAdminClient.ListInstanceConfigsPagedResponse> Returns the builder for the settings used for calls to listInstanceConfigs. -
getInstanceConfigSettings
public UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()Returns the builder for the settings used for calls to getInstanceConfig. -
createInstanceConfigSettings
public UnaryCallSettings.Builder<CreateInstanceConfigRequest,Operation> createInstanceConfigSettings()Returns the builder for the settings used for calls to createInstanceConfig. -
createInstanceConfigOperationSettings
public OperationCallSettings.Builder<CreateInstanceConfigRequest,InstanceConfig, createInstanceConfigOperationSettings()CreateInstanceConfigMetadata> Returns the builder for the settings used for calls to createInstanceConfig. -
updateInstanceConfigSettings
public UnaryCallSettings.Builder<UpdateInstanceConfigRequest,Operation> updateInstanceConfigSettings()Returns the builder for the settings used for calls to updateInstanceConfig. -
updateInstanceConfigOperationSettings
public OperationCallSettings.Builder<UpdateInstanceConfigRequest,InstanceConfig, updateInstanceConfigOperationSettings()UpdateInstanceConfigMetadata> Returns the builder for the settings used for calls to updateInstanceConfig. -
deleteInstanceConfigSettings
public UnaryCallSettings.Builder<DeleteInstanceConfigRequest,com.google.protobuf.Empty> deleteInstanceConfigSettings()Returns the builder for the settings used for calls to deleteInstanceConfig. -
listInstanceConfigOperationsSettings
public PagedCallSettings.Builder<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse, listInstanceConfigOperationsSettings()InstanceAdminClient.ListInstanceConfigOperationsPagedResponse> Returns the builder for the settings used for calls to listInstanceConfigOperations. -
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()InstanceAdminClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
listInstancePartitionsSettings
public PagedCallSettings.Builder<ListInstancePartitionsRequest,ListInstancePartitionsResponse, listInstancePartitionsSettings()InstanceAdminClient.ListInstancePartitionsPagedResponse> Returns the builder for the settings used for calls to listInstancePartitions. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
createInstanceSettings
Returns the builder for the settings used for calls to createInstance. -
createInstanceOperationSettings
public OperationCallSettings.Builder<CreateInstanceRequest,Instance, createInstanceOperationSettings()CreateInstanceMetadata> Returns the builder for the settings used for calls to createInstance. -
updateInstanceSettings
Returns the builder for the settings used for calls to updateInstance. -
updateInstanceOperationSettings
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance, updateInstanceOperationSettings()UpdateInstanceMetadata> Returns the builder for the settings used for calls to updateInstance. -
deleteInstanceSettings
public UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty> deleteInstanceSettings()Returns the builder for the settings used for calls to deleteInstance. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
getInstancePartitionSettings
public UnaryCallSettings.Builder<GetInstancePartitionRequest,InstancePartition> getInstancePartitionSettings()Returns the builder for the settings used for calls to getInstancePartition. -
createInstancePartitionSettings
public UnaryCallSettings.Builder<CreateInstancePartitionRequest,Operation> createInstancePartitionSettings()Returns the builder for the settings used for calls to createInstancePartition. -
createInstancePartitionOperationSettings
public OperationCallSettings.Builder<CreateInstancePartitionRequest,InstancePartition, createInstancePartitionOperationSettings()CreateInstancePartitionMetadata> Returns the builder for the settings used for calls to createInstancePartition. -
deleteInstancePartitionSettings
public UnaryCallSettings.Builder<DeleteInstancePartitionRequest,com.google.protobuf.Empty> deleteInstancePartitionSettings()Returns the builder for the settings used for calls to deleteInstancePartition. -
updateInstancePartitionSettings
public UnaryCallSettings.Builder<UpdateInstancePartitionRequest,Operation> updateInstancePartitionSettings()Returns the builder for the settings used for calls to updateInstancePartition. -
updateInstancePartitionOperationSettings
public OperationCallSettings.Builder<UpdateInstancePartitionRequest,InstancePartition, updateInstancePartitionOperationSettings()UpdateInstancePartitionMetadata> Returns the builder for the settings used for calls to updateInstancePartition. -
listInstancePartitionOperationsSettings
public PagedCallSettings.Builder<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse, listInstancePartitionOperationsSettings()InstanceAdminClient.ListInstancePartitionOperationsPagedResponse> Returns the builder for the settings used for calls to listInstancePartitionOperations. -
moveInstanceSettings
Returns the builder for the settings used for calls to moveInstance. -
moveInstanceOperationSettings
public OperationCallSettings.Builder<MoveInstanceRequest,MoveInstanceResponse, moveInstanceOperationSettings()MoveInstanceMetadata> Returns the builder for the settings used for calls to moveInstance. -
build
- Specified by:
buildin classStubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder> - Throws:
IOException
-