public static class ReservationServiceSettings.Builder extends ClientSettings.Builder<ReservationServiceSettings,ReservationServiceSettings.Builder>
Builder for ReservationServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ReservationServiceSettings settings)
protected Builder(ReservationServiceSettings settings)
Parameter
Builder(ReservationServiceStubSettings.Builder stubSettings)
protected Builder(ReservationServiceStubSettings.Builder stubSettings)
Parameter
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
Returns
build()
public ReservationServiceSettings build()
Returns
Overrides
Exceptions
createAssignmentSettings()
public UnaryCallSettings.Builder<CreateAssignmentRequest,Assignment> createAssignmentSettings()
Returns the builder for the settings used for calls to createAssignment.
Returns
createCapacityCommitmentSettings()
public UnaryCallSettings.Builder<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentSettings()
Returns the builder for the settings used for calls to createCapacityCommitment.
Returns
createReservationSettings()
public UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()
Returns the builder for the settings used for calls to createReservation.
Returns
deleteAssignmentSettings()
public UnaryCallSettings.Builder<DeleteAssignmentRequest,Empty> deleteAssignmentSettings()
Returns the builder for the settings used for calls to deleteAssignment.
Returns
deleteCapacityCommitmentSettings()
public UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,Empty> deleteCapacityCommitmentSettings()
Returns the builder for the settings used for calls to deleteCapacityCommitment.
Returns
deleteReservationSettings()
public UnaryCallSettings.Builder<DeleteReservationRequest,Empty> deleteReservationSettings()
Returns the builder for the settings used for calls to deleteReservation.
Returns
getBiReservationSettings()
public UnaryCallSettings.Builder<GetBiReservationRequest,BiReservation> getBiReservationSettings()
Returns the builder for the settings used for calls to getBiReservation.
Returns
getCapacityCommitmentSettings()
public UnaryCallSettings.Builder<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentSettings()
Returns the builder for the settings used for calls to getCapacityCommitment.
Returns
getReservationSettings()
public UnaryCallSettings.Builder<GetReservationRequest,Reservation> getReservationSettings()
Returns the builder for the settings used for calls to getReservation.
Returns
getStubSettingsBuilder()
public ReservationServiceStubSettings.Builder getStubSettingsBuilder()
Returns
listAssignmentsSettings()
public PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsSettings()
Returns the builder for the settings used for calls to listAssignments.
Returns
listCapacityCommitmentsSettings()
public PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to listCapacityCommitments.
Returns
listReservationsSettings()
public PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,ReservationServiceClient.ListReservationsPagedResponse> listReservationsSettings()
Returns the builder for the settings used for calls to listReservations.
Returns
mergeCapacityCommitmentsSettings()
public UnaryCallSettings.Builder<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to mergeCapacityCommitments.
Returns
moveAssignmentSettings()
public UnaryCallSettings.Builder<MoveAssignmentRequest,Assignment> moveAssignmentSettings()
Returns the builder for the settings used for calls to moveAssignment.
Returns
searchAllAssignmentsSettings()
public PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsSettings()
Returns the builder for the settings used for calls to searchAllAssignments.
Returns
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
splitCapacityCommitmentSettings()
public UnaryCallSettings.Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentSettings()
Returns the builder for the settings used for calls to splitCapacityCommitment.
Returns
updateAssignmentSettings()
public UnaryCallSettings.Builder<UpdateAssignmentRequest,Assignment> updateAssignmentSettings()
Returns the builder for the settings used for calls to updateAssignment.
Returns
updateBiReservationSettings()
public UnaryCallSettings.Builder<UpdateBiReservationRequest,BiReservation> updateBiReservationSettings()
Returns the builder for the settings used for calls to updateBiReservation.
Returns
updateCapacityCommitmentSettings()
public UnaryCallSettings.Builder<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentSettings()
Returns the builder for the settings used for calls to updateCapacityCommitment.
Returns
updateReservationSettings()
public UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> updateReservationSettings()
Returns the builder for the settings used for calls to updateReservation.
Returns