public static class InstanceAdminStubSettings.Builder extends StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceAdminStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
InstanceAdminStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
InstanceAdminStubSettings |
build() |
OperationCallSettings.Builder<com.google.spanner.admin.instance.v1.CreateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.CreateInstanceMetadata> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.CreateInstanceRequest,Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.DeleteInstanceRequest,Empty> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,com.google.spanner.admin.instance.v1.InstanceConfig> |
getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.
|
UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.GetInstanceRequest,com.google.spanner.admin.instance.v1.Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
PagedCallSettings.Builder<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> |
listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.
|
PagedCallSettings.Builder<com.google.spanner.admin.instance.v1.ListInstancesRequest,com.google.spanner.admin.instance.v1.ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
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<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
OperationCallSettings.Builder<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.UpdateInstanceMetadata> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,Operation> |
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(InstanceAdminStubSettings settings)
public InstanceAdminStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,com.google.spanner.admin.instance.v1.InstanceConfig> getInstanceConfigSettings()
public PagedCallSettings.Builder<com.google.spanner.admin.instance.v1.ListInstancesRequest,com.google.spanner.admin.instance.v1.ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.GetInstanceRequest,com.google.spanner.admin.instance.v1.Instance> getInstanceSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.CreateInstanceRequest,Operation> createInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.spanner.admin.instance.v1.CreateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.CreateInstanceMetadata> createInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,Operation> updateInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.UpdateInstanceMetadata> updateInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.instance.v1.DeleteInstanceRequest,Empty> deleteInstanceSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public InstanceAdminStubSettings build() throws IOException
build
in class StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.