Class MachineTypesSettings.Builder (1.25.0)

public static class MachineTypesSettings.Builder extends ClientSettings.Builder<MachineTypesSettings,MachineTypesSettings.Builder>

Builder for MachineTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MachineTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MachineTypesSettings settings)

protected Builder(MachineTypesSettings settings)
Parameter
NameDescription
settingsMachineTypesSettings

Builder(MachineTypesStubSettings.Builder stubSettings)

protected Builder(MachineTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMachineTypesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
Builder<AggregatedListMachineTypesRequest,MachineTypeAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetMachineTypeRequest,MachineType>

getStubSettingsBuilder()

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

listSettings()

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

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

Returns
TypeDescription
Builder<ListMachineTypesRequest,MachineTypeList,ListPagedResponse>