Class RegionInstanceGroupsStubSettings.Builder (1.64.0)

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

Builder for RegionInstanceGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionInstanceGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionInstanceGroupsStubSettings settings)

protected Builder(RegionInstanceGroupsStubSettings settings)
Parameter
Name Description
settings RegionInstanceGroupsStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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