public static class ReservationServiceSettings.Builder extends ClientSettings.Builder<ReservationServiceSettings,ReservationServiceSettings.Builder>
Builder for ReservationServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ReservationServiceSettings settings)
protected Builder(ReservationServiceSettings settings)
Builder(ReservationServiceStubSettings.Builder stubSettings)
protected Builder(ReservationServiceStubSettings.Builder stubSettings)
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.
build()
public ReservationServiceSettings build()
Overrides
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.
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.
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.
getStubSettingsBuilder()
public ReservationServiceStubSettings.Builder getStubSettingsBuilder()
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.
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.