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(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.
|
InstanceAdminSettings |
build() |
OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<CreateInstanceRequest,Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<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<GetInstanceConfigRequest,InstanceConfig> |
getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.
|
UnaryCallSettings.Builder<GetInstanceRequest,Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
InstanceAdminStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> |
listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.
|
PagedCallSettings.Builder<ListInstancesRequest,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<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> |
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
|
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
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(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
public UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationSettings()
public UnaryCallSettings.Builder<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 © 2022 Google LLC. All rights reserved.