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