Class RegionInstanceGroupsSettings.Builder (1.58.0)

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

Builder for RegionInstanceGroupsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionInstanceGroupsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionInstanceGroupsSettings settings)

protected Builder(RegionInstanceGroupsSettings settings)
Parameter
Name Description
settings RegionInstanceGroupsSettings

Builder(RegionInstanceGroupsStubSettings.Builder stubSettings)

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

Methods

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

public RegionInstanceGroupsSettings.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
RegionInstanceGroupsSettings.Builder

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetRegionInstanceGroupRequest,InstanceGroup>

getStubSettingsBuilder()

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

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsListInstances,RegionInstanceGroupsClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
Type Description
Builder<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsListInstances,ListInstancesPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListRegionInstanceGroupsRequest,RegionInstanceGroupList,RegionInstanceGroupsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionInstanceGroupsRequest,RegionInstanceGroupList,ListPagedResponse>

setNamedPortsOperationSettings()

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

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

Returns
Type Description
Builder<SetNamedPortsRegionInstanceGroupRequest,Operation,Operation>

setNamedPortsSettings()

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

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

Returns
Type Description
Builder<SetNamedPortsRegionInstanceGroupRequest,Operation>