Class InstanceGroupsStubSettings.Builder (1.27.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
NameDescription
clientContextClientContext

Builder(InstanceGroupsStubSettings settings)

protected Builder(InstanceGroupsStubSettings settings)
Parameter
NameDescription
settingsInstanceGroupsStubSettings

Methods

addInstancesOperationSettings()

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

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

Returns
TypeDescription
Builder<AddInstancesInstanceGroupRequest,Operation,Operation>

addInstancesSettings()

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

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

Returns
TypeDescription
Builder<AddInstancesInstanceGroupRequest,Operation>

aggregatedListSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
InstanceGroupsStubSettings.Builder

build()

public InstanceGroupsStubSettings build()
Returns
TypeDescription
InstanceGroupsStubSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstanceGroupRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteInstanceGroupRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetInstanceGroupRequest,InstanceGroup>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertInstanceGroupRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertInstanceGroupRequest,Operation>

listInstancesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListInstanceGroupsRequest,InstanceGroupList,ListPagedResponse>

removeInstancesOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveInstancesInstanceGroupRequest,Operation,Operation>

removeInstancesSettings()

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

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

Returns
TypeDescription
Builder<RemoveInstancesInstanceGroupRequest,Operation>

setNamedPortsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsInstanceGroupRequest,Operation,Operation>

setNamedPortsSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsInstanceGroupRequest,Operation>

unaryMethodSettingsBuilders()

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