public static class InstanceAdminSettings.Builder extends ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceAdminSettings settings) |
protected |
Builder(InstanceAdminStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
InstanceAdminSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
InstanceAdminSettings |
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.
|
InstanceAdminStubSettings.Builder |
getStubSettingsBuilder() |
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.
|
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, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(InstanceAdminSettings settings)
protected Builder(InstanceAdminStubSettings.Builder stubSettings)
public InstanceAdminStubSettings.Builder getStubSettingsBuilder()
public InstanceAdminSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
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 long-running operations 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 long-running operations 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 InstanceAdminSettings build() throws IOException
build
in class ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.