Class ReservationServiceStubSettings.Builder (2.50.0)

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

Builder for ReservationServiceStubSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ReservationServiceStubSettings settings)

protected Builder(ReservationServiceStubSettings settings)
Parameter
Name Description
settings ReservationServiceStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ReservationServiceStubSettings.Builder

build()

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

createAssignmentSettings()

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

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

Returns
Type Description
Builder<CreateAssignmentRequest,Assignment>

createCapacityCommitmentSettings()

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

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

Returns
Type Description
Builder<CreateCapacityCommitmentRequest,CapacityCommitment>

createReservationSettings()

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

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

Returns
Type Description
Builder<CreateReservationRequest,Reservation>

deleteAssignmentSettings()

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

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

Returns
Type Description
Builder<DeleteAssignmentRequest,Empty>

deleteCapacityCommitmentSettings()

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

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

Returns
Type Description
Builder<DeleteCapacityCommitmentRequest,Empty>

deleteReservationSettings()

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

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

Returns
Type Description
Builder<DeleteReservationRequest,Empty>

getBiReservationSettings()

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

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

Returns
Type Description
Builder<GetBiReservationRequest,BiReservation>

getCapacityCommitmentSettings()

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

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

Returns
Type Description
Builder<GetCapacityCommitmentRequest,CapacityCommitment>

getReservationSettings()

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

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

Returns
Type Description
Builder<GetReservationRequest,Reservation>

listAssignmentsSettings()

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

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

Returns
Type Description
Builder<ListAssignmentsRequest,ListAssignmentsResponse,ListAssignmentsPagedResponse>

listCapacityCommitmentsSettings()

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

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

Returns
Type Description
Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ListCapacityCommitmentsPagedResponse>

listReservationsSettings()

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

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

Returns
Type Description
Builder<ListReservationsRequest,ListReservationsResponse,ListReservationsPagedResponse>

mergeCapacityCommitmentsSettings()

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

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

Returns
Type Description
Builder<MergeCapacityCommitmentsRequest,CapacityCommitment>

moveAssignmentSettings()

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

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

Returns
Type Description
Builder<MoveAssignmentRequest,Assignment>

searchAllAssignmentsSettings()

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

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

Returns
Type Description
Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,SearchAllAssignmentsPagedResponse>

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.

Returns
Type Description
Builder<SearchAssignmentsRequest,SearchAssignmentsResponse,SearchAssignmentsPagedResponse>

splitCapacityCommitmentSettings()

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

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

Returns
Type Description
Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse>

unaryMethodSettingsBuilders()

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

updateAssignmentSettings()

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

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

Returns
Type Description
Builder<UpdateAssignmentRequest,Assignment>

updateBiReservationSettings()

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

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

Returns
Type Description
Builder<UpdateBiReservationRequest,BiReservation>

updateCapacityCommitmentSettings()

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

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

Returns
Type Description
Builder<UpdateCapacityCommitmentRequest,CapacityCommitment>

updateReservationSettings()

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

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

Returns
Type Description
Builder<UpdateReservationRequest,Reservation>