Class InstanceAdminStubSettings.Builder (6.74.0)

public static class InstanceAdminStubSettings.Builder extends StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>

Builder for InstanceAdminStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InstanceAdminStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceAdminStubSettings settings)

protected Builder(InstanceAdminStubSettings settings)
Parameter
Name Description
settings InstanceAdminStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
InstanceAdminStubSettings.Builder

build()

public InstanceAdminStubSettings build()
Returns
Type Description
InstanceAdminStubSettings
Overrides
Exceptions
Type Description
IOException

createInstanceConfigOperationSettings()

public OperationCallSettings.Builder<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata> createInstanceConfigOperationSettings()

Returns the builder for the settings used for calls to createInstanceConfig.

Returns
Type Description
Builder<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata>

createInstanceConfigSettings()

public UnaryCallSettings.Builder<CreateInstanceConfigRequest,Operation> createInstanceConfigSettings()

Returns the builder for the settings used for calls to createInstanceConfig.

Returns
Type Description
Builder<CreateInstanceConfigRequest,Operation>

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
Type Description
Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata>

createInstancePartitionOperationSettings()

public OperationCallSettings.Builder<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata> createInstancePartitionOperationSettings()

Returns the builder for the settings used for calls to createInstancePartition.

Returns
Type Description
Builder<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata>

createInstancePartitionSettings()

public UnaryCallSettings.Builder<CreateInstancePartitionRequest,Operation> createInstancePartitionSettings()

Returns the builder for the settings used for calls to createInstancePartition.

Returns
Type Description
Builder<CreateInstancePartitionRequest,Operation>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
Type Description
Builder<CreateInstanceRequest,Operation>

deleteInstanceConfigSettings()

public UnaryCallSettings.Builder<DeleteInstanceConfigRequest,Empty> deleteInstanceConfigSettings()

Returns the builder for the settings used for calls to deleteInstanceConfig.

Returns
Type Description
Builder<DeleteInstanceConfigRequest,Empty>

deleteInstancePartitionSettings()

public UnaryCallSettings.Builder<DeleteInstancePartitionRequest,Empty> deleteInstancePartitionSettings()

Returns the builder for the settings used for calls to deleteInstancePartition.

Returns
Type Description
Builder<DeleteInstancePartitionRequest,Empty>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Empty> deleteInstanceSettings()

Returns the builder for the settings used for calls to deleteInstance.

Returns
Type Description
Builder<DeleteInstanceRequest,Empty>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getInstanceConfigSettings()

public UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()

Returns the builder for the settings used for calls to getInstanceConfig.

Returns
Type Description
Builder<GetInstanceConfigRequest,InstanceConfig>

getInstancePartitionSettings()

public UnaryCallSettings.Builder<GetInstancePartitionRequest,InstancePartition> getInstancePartitionSettings()

Returns the builder for the settings used for calls to getInstancePartition.

Return