Class ReservationServiceStubSettings.Builder (2.6.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.6.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  ReservationServiceStubSettings . Builder   extends   StubSettings . Builder<ReservationServiceStubSettings , ReservationServiceStubSettings . Builder > 
  Builder for ReservationServiceStubSettings.
Constructors
   
  Builder() 
  
  Builder(ClientContext clientContext) 
  
    
protected   Builder ( ClientContext   clientContext )  
  Parameter 
  
  Builder(ReservationServiceStubSettings settings) 
  
    
protected   Builder ( ReservationServiceStubSettings   settings )  
  Parameter 
  
  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.
Parameter 
  
  Returns 
  
  build() 
  
    
public   ReservationServiceStubSettings   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 
  
  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 
  
  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.
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 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]