Class ReservationServiceStubSettings.Builder (2.23.0)

See more code actions.
public static class ReservationServiceStubSettings.Builder extends StubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder>

Builder for ReservationServiceStubSettings.

java.lang.Object > StubSettings.Builder > ReservationServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReservationServiceStubSettings settings)

protected Builder(ReservationServiceStubSettings settings)
Parameter
NameDescription
settingsReservationServiceStubSettings

Methods

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

public ReservationServiceStubSettings.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>

build()

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

createAssignmentSettings()

public UnaryCallSettings.Builder<CreateAssignmentRequest,Assignment> createAssignmentSettings()

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

createCapacityCommitmentSettings()

public UnaryCallSettings.Builder<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentSettings()

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

createReservationSettings()

public UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()

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

deleteAssignmentSettings()

public UnaryCallSettings.Builder<DeleteAssignmentRequest,Empty> deleteAssignmentSettings()

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

Returns
TypeDescription
Builder<DeleteAssignmentRequest,Empty>

deleteCapacityCommitmentSettings()

public UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,Empty> deleteCapacityCommitmentSettings()

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

deleteReservationSettings()

public UnaryCallSettings.Builder<DeleteReservationRequest,Empty> deleteReservationSettings()

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

Returns
TypeDescription
Builder<DeleteReservationRequest,Empty>

getBiReservationSettings()

public UnaryCallSettings.Builder<GetBiReservationRequest,BiReservation> getBiReservationSettings()

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

getCapacityCommitmentSettings()

public UnaryCallSettings.Builder<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentSettings()

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

getReservationSettings()

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

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

listAssignmentsSettings()

public PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsSettings()

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

listCapacityCommitmentsSettings()

public PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsSettings()

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

listReservationsSettings()

public PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,ReservationServiceClient.ListReservationsPagedResponse> listReservationsSettings()

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

mergeCapacityCommitmentsSettings()

public UnaryCallSettings.Builder<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsSettings()

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

moveAssignmentSettings()

public UnaryCallSettings.Builder<MoveAssignmentRequest,Assignment> moveAssignmentSettings()

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

searchAllAssignmentsSettings()

public PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsSettings()

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

searchAssignmentsSettings() (deprecated)

public PagedCallSettings.Builder<SearchAssignmentsRequest,SearchAssignmentsResponse,ReservationServiceClient.SearchAssignmentsPagedResponse> searchAssignmentsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

splitCapacityCommitmentSettings()

public UnaryCallSettings.Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentSettings()

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

unaryMethodSettingsBuilders()

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

updateAssignmentSettings()

public UnaryCallSettings.Builder<UpdateAssignmentRequest,Assignment> updateAssignmentSettings()

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

updateBiReservationSettings()

public UnaryCallSettings.Builder<UpdateBiReservationRequest,BiReservation> updateBiReservationSettings()

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

updateCapacityCommitmentSettings()

public UnaryCallSettings.Builder<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentSettings()

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

updateReservationSettings()

public UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> updateReservationSettings()

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