Class ReservationsStubSettings.Builder (1.51.0)

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

Builder for ReservationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ReservationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReservationsStubSettings settings)

protected Builder(ReservationsStubSettings settings)
Parameter
NameDescription
settingsReservationsStubSettings

Methods

aggregatedListSettings()

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

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

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

resizeOperationSettings()

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

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

resizeSettings()

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

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

setIamPolicySettings()

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

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

testIamPermissionsSettings()

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

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

unaryMethodSettingsBuilders()

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

updateOperationSettings()

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

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

updateSettings()

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

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