Class MachineTypesStubSettings.Builder (1.52.0)

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

Builder for MachineTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MachineTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MachineTypesStubSettings settings)

protected Builder(MachineTypesStubSettings settings)
Parameter
Name Description
settings MachineTypesStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListMachineTypesRequest,MachineTypeAggregatedList,MachineTypesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListMachineTypesRequest,MachineTypeAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetMachineTypeRequest,MachineType> getSettings()

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

Returns
Type Description
Builder<GetMachineTypeRequest,MachineType>

listSettings()

public PagedCallSettings.Builder<ListMachineTypesRequest,MachineTypeList,MachineTypesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListMachineTypesRequest,MachineTypeList,ListPagedResponse>

unaryMethodSettingsBuilders()

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