Class RegionInstanceGroupsSettings.Builder (1.7.2)

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
NameDescription
clientContextClientContext

Builder(RegionInstanceGroupsSettings settings)

protected Builder(RegionInstanceGroupsSettings settings)
Parameter
NameDescription
settingsRegionInstanceGroupsSettings

Builder(RegionInstanceGroupsStubSettings.Builder stubSettings)

protected Builder(RegionInstanceGroupsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionInstanceGroupsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RegionInstanceGroupsSettings.Builder

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionInstanceGroupRequest,InstanceGroup>

getStubSettingsBuilder()

public RegionInstanceGroupsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RegionInstanceGroupsStubSettings.Builder

listInstancesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListRegionInstanceGroupsRequest,RegionInstanceGroupList,ListPagedResponse>

setNamedPortsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsRegionInstanceGroupRequest,Operation,Operation>

setNamedPortsSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsRegionInstanceGroupRequest,Operation>