Class ReservationServiceSettings.Builder (2.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]