public static class InstanceAdminSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(InstanceAdminSettings settings) |
protected |
Builder(InstanceAdminStubSettings.Builder stubSettings) |
Modifier and Type | Method and 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<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<DeleteInstanceRequest,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<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<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.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(InstanceAdminSettings settings)
protected Builder(InstanceAdminStubSettings.Builder stubSettings)
public InstanceAdminStubSettings.Builder getStubSettingsBuilder()
public InstanceAdminSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,Empty> deleteInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public InstanceAdminSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<InstanceAdminSettings,InstanceAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.