Class ReservationServiceSettings.Builder (2.25.0)

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

Builder for ReservationServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ReservationServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReservationServiceSettings settings)

protected Builder(ReservationServiceSettings settings)
Parameter
NameDescription
settingsReservationServiceSettings

Builder(ReservationServiceStubSettings.Builder stubSettings)

protected Builder(ReservationServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsReservationServiceStubSettings.Builder

Methods

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

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

build()

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

createAssignmentSettings()

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

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

Returns
TypeDescription
Builder<CreateAssignmentRequest,Assignment>

createCapacityCommitmentSettings()

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

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

Returns
TypeDescription
Builder<CreateCapacityCommitmentRequest,CapacityCommitment>

createReservationSettings()

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

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

Returns
TypeDescription
Builder<CreateReservationRequest,Reservation>

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.

Returns
TypeDescription
Builder<DeleteCapacityCommitmentRequest,Empty>

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.

Returns
TypeDescription
Builder<GetBiReservationRequest,BiReservation>

getCapacityCommitmentSettings()

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

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

Returns
TypeDescription
Builder<GetCapacityCommitmentRequest,CapacityCommitment>

getReservationSettings()

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

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

Returns
TypeDescription
Builder<GetReservationRequest,Reservation>

getStubSettingsBuilder()

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

listAssignmentsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListReservationsRequest,ListReservationsResponse,ListReservationsPagedResponse>

mergeCapacityCommitmentsSettings()

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

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

Returns
TypeDescription
Builder<MergeCapacityCommitmentsRequest,CapacityCommitment>

moveAssignmentSettings()

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

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

Returns
TypeDescription
Builder<MoveAssignmentRequest,Assignment>

searchAllAssignmentsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<SearchAssignmentsRequest,SearchAssignmentsResponse,SearchAssignmentsPagedResponse>

splitCapacityCommitmentSettings()

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

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

Returns
TypeDescription
Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse>

updateAssignmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateAssignmentRequest,Assignment>

updateBiReservationSettings()

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

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

Returns
TypeDescription
Builder<UpdateBiReservationRequest,BiReservation>

updateCapacityCommitmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateCapacityCommitmentRequest,CapacityCommitment>

updateReservationSettings()

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

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

Returns
TypeDescription
Builder<UpdateReservationRequest,Reservation>