Class InstanceGroupsSettings.Builder (1.65.0)

public static class InstanceGroupsSettings.Builder extends ClientSettings.Builder<InstanceGroupsSettings,InstanceGroupsSettings.Builder>

Builder for InstanceGroupsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InstanceGroupsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceGroupsSettings settings)

protected Builder(InstanceGroupsSettings settings)
Parameter
Name Description
settings InstanceGroupsSettings

Builder(InstanceGroupsStubSettings.Builder stubSettings)

protected Builder(InstanceGroupsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings InstanceGroupsStubSettings.Builder

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 InstanceGroupsSettings.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
InstanceGroupsSettings.Builder

build()

public InstanceGroupsSettings build()
Returns
Type Description
InstanceGroupsSettings
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>

getStubSettingsBuilder()

public InstanceGroupsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
InstanceGroupsStubSettings.Builder

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>