Class InstanceGroupsStubSettings.Builder (1.54.0)

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

Builder for InstanceGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InstanceGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceGroupsStubSettings settings)

protected Builder(InstanceGroupsStubSettings settings)
Parameter
Name Description
settings InstanceGroupsStubSettings

Methods

addInstancesOperationSettings()

public OperationCallSettings.Builder<AddInstancesInstanceGroupRequest,Operation,Operation> addInstancesOperationSettings()

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

Returns
Type Description
Builder<AddInstancesInstanceGroupRequest,Operation,Operation>

addInstancesSettings()

public UnaryCallSettings.Builder<AddInstancesInstanceGroupRequest,Operation> addInstancesSettings()

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

Returns
Type Description
Builder<AddInstancesInstanceGroupRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListInstanceGroupsRequest,InstanceGroupAggregatedList,InstanceGroupsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListInstanceGroupsRequest,InstanceGroupAggregatedList,AggregatedListPagedResponse>

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

public InstanceGroupsStubSettings.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<?,?>,java.lang.Void>
Returns
Type Description
InstanceGroupsStubSettings.Builder

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceGroupRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteInstanceGroupRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteInstanceGroupRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteInstanceGroupRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetInstanceGroupRequest,InstanceGroup> getSettings()

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

Returns
Type Description
Builder<GetInstanceGroupRequest,InstanceGroup>

insertOperationSettings()

public OperationCallSettings.Builder<InsertInstanceGroupRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertInstanceGroupRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertInstanceGroupRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertInstanceGroupRequest,Operation>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesInstanceGroupsRequest,InstanceGroupsListInstances,InstanceGroupsClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
Type Description
Builder<ListInstancesInstanceGroupsRequest,InstanceGroupsListInstances,ListInstancesPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListInstanceGroupsRequest,InstanceGroupList,InstanceGroupsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListInstanceGroupsRequest,InstanceGroupList,ListPagedResponse>

removeInstancesOperationSettings()

public OperationCallSettings.Builder<RemoveInstancesInstanceGroupRequest,Operation,Operation> removeInstancesOperationSettings()

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

Returns
Type Description
Builder<RemoveInstancesInstanceGroupRequest,Operation,Operation>

removeInstancesSettings()

public UnaryCallSettings.Builder<RemoveInstancesInstanceGroupRequest,Operation> removeInstancesSettings()

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

Returns
Type Description
Builder<RemoveInstancesInstanceGroupRequest,Operation>

setNamedPortsOperationSettings()

public OperationCallSettings.Builder<SetNamedPortsInstanceGroupRequest,Operation,Operation> setNamedPortsOperationSettings()

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

Returns
Type Description
Builder<SetNamedPortsInstanceGroupRequest,Operation,Operation>

setNamedPortsSettings()

public UnaryCallSettings.Builder<SetNamedPortsInstanceGroupRequest,Operation> setNamedPortsSettings()

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

Returns
Type Description
Builder<SetNamedPortsInstanceGroupRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>