Class ReservationsSettings.Builder (1.33.0)

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

Builder for ReservationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ReservationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReservationsSettings settings)

protected Builder(ReservationsSettings settings)
Parameter
NameDescription
settingsReservationsSettings

Builder(ReservationsStubSettings.Builder stubSettings)

protected Builder(ReservationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsReservationsStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListReservationsRequest,ReservationAggregatedList,ReservationsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListReservationsRequest,ReservationAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteReservationRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteReservationRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyReservationRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<GetIamPolicyReservationRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetReservationRequest,Reservation> getSettings()

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

Returns
TypeDescription
Builder<GetReservationRequest,Reservation>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertReservationRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertReservationRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListReservationsRequest,ReservationList,ReservationsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListReservationsRequest,ReservationList,ListPagedResponse>

resizeOperationSettings()

public OperationCallSettings.Builder<ResizeReservationRequest,Operation,Operation> resizeOperationSettings()

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

Returns
TypeDescription
Builder<ResizeReservationRequest,Operation,Operation>

resizeSettings()

public UnaryCallSettings.Builder<ResizeReservationRequest,Operation> resizeSettings()

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

Returns
TypeDescription
Builder<ResizeReservationRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyReservationRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<SetIamPolicyReservationRequest,Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsReservationRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<TestIamPermissionsReservationRequest,TestPermissionsResponse>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateReservationRequest,Operation,Operation> updateOperationSettings()

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

Returns
TypeDescription
Builder<UpdateReservationRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateReservationRequest,Operation> updateSettings()

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

Returns
TypeDescription
Builder<UpdateReservationRequest,Operation>