Class InstanceGroupsSettings.Builder (1.15.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
NameDescription
clientContextClientContext

Builder(InstanceGroupsSettings settings)

protected Builder(InstanceGroupsSettings settings)
Parameter
NameDescription
settingsInstanceGroupsSettings

Builder(InstanceGroupsStubSettings.Builder stubSettings)

protected Builder(InstanceGroupsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsInstanceGroupsStubSettings.Builder

Methods

addInstancesOperationSettings()

public OperationCallSettings.Builder<AddInstancesInstanceGroupRequest,Operation,Operation> addInstancesOperationSettings()

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

Returns
TypeDescription
Builder<AddInstancesInstanceGroupRequest,Operation,Operation>

addInstancesSettings()

public UnaryCallSettings.Builder<AddInstancesInstanceGroupRequest,Operation> addInstancesSettings()

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

Returns
TypeDescription
Builder<AddInstancesInstanceGroupRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListInstanceGroupsRequest,InstanceGroupAggregatedList,InstanceGroupsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceGroupRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceGroupRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteInstanceGroupRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceGroupRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetInstanceGroupRequest,InstanceGroup>

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertInstanceGroupRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertInstanceGroupRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertInstanceGroupRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertInstanceGroupRequest,Operation>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesInstanceGroupsRequest,InstanceGroupsListInstances,InstanceGroupsClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<ListInstanceGroupsRequest,InstanceGroupList,ListPagedResponse>

removeInstancesOperationSettings()

public OperationCallSettings.Builder<RemoveInstancesInstanceGroupRequest,Operation,Operation> removeInstancesOperationSettings()

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

Returns
TypeDescription
Builder<RemoveInstancesInstanceGroupRequest,Operation,Operation>

removeInstancesSettings()

public UnaryCallSettings.Builder<RemoveInstancesInstanceGroupRequest,Operation> removeInstancesSettings()

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

Returns
TypeDescription
Builder<RemoveInstancesInstanceGroupRequest,Operation>

setNamedPortsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsInstanceGroupRequest,Operation,Operation>

setNamedPortsSettings()

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

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

Returns
TypeDescription
Builder<SetNamedPortsInstanceGroupRequest,Operation>