Class RegionInstanceGroupsStubSettings.Builder (1.46.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
NameDescription
clientContextClientContext

Builder(RegionInstanceGroupsStubSettings settings)

protected Builder(RegionInstanceGroupsStubSettings settings)
Parameter
NameDescription
settingsRegionInstanceGroupsStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionInstanceGroupRequest,InstanceGroup>

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>

unaryMethodSettingsBuilders()

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