Class ReservationServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder>
-
- com.google.cloud.bigquery.reservation.v1.stub.ReservationServiceStubSettings.Builder
-
- Enclosing class:
- ReservationServiceStubSettings
public static class ReservationServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder>
Builder for ReservationServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ReservationServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReservationServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ReservationServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAssignmentRequest,Assignment>
createAssignmentSettings()
Returns the builder for the settings used for calls to createAssignment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCapacityCommitmentRequest,CapacityCommitment>
createCapacityCommitmentSettings()
Returns the builder for the settings used for calls to createCapacityCommitment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReservationRequest,Reservation>
createReservationSettings()
Returns the builder for the settings used for calls to createReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAssignmentRequest,com.google.protobuf.Empty>
deleteAssignmentSettings()
Returns the builder for the settings used for calls to deleteAssignment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,com.google.protobuf.Empty>
deleteCapacityCommitmentSettings()
Returns the builder for the settings used for calls to deleteCapacityCommitment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty>
deleteReservationSettings()
Returns the builder for the settings used for calls to deleteReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBiReservationRequest,BiReservation>
getBiReservationSettings()
Returns the builder for the settings used for calls to getBiReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCapacityCommitmentRequest,CapacityCommitment>
getCapacityCommitmentSettings()
Returns the builder for the settings used for calls to getCapacityCommitment.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation>
getReservationSettings()
Returns the builder for the settings used for calls to getReservation.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse,ReservationServiceClient.ListAssignmentsPagedResponse>
listAssignmentsSettings()
Returns the builder for the settings used for calls to listAssignments.com.google.api.gax.rpc.PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ReservationServiceClient.ListCapacityCommitmentsPagedResponse>
listCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to listCapacityCommitments.com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,ReservationServiceClient.ListReservationsPagedResponse>
listReservationsSettings()
Returns the builder for the settings used for calls to listReservations.com.google.api.gax.rpc.UnaryCallSettings.Builder<MergeCapacityCommitmentsRequest,CapacityCommitment>
mergeCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to mergeCapacityCommitments.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveAssignmentRequest,Assignment>
moveAssignmentSettings()
Returns the builder for the settings used for calls to moveAssignment.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,ReservationServiceClient.SearchAllAssignmentsPagedResponse>
searchAllAssignmentsSettings()
Returns the builder for the settings used for calls to searchAllAssignments.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAssignmentsRequest,SearchAssignmentsResponse,ReservationServiceClient.SearchAssignmentsPagedResponse>
searchAssignmentsSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.UnaryCallSettings.Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse>
splitCapacityCommitmentSettings()
Returns the builder for the settings used for calls to splitCapacityCommitment.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAssignmentRequest,Assignment>
updateAssignmentSettings()
Returns the builder for the settings used for calls to updateAssignment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBiReservationRequest,BiReservation>
updateBiReservationSettings()
Returns the builder for the settings used for calls to updateBiReservation.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCapacityCommitmentRequest,CapacityCommitment>
updateCapacityCommitmentSettings()
Returns the builder for the settings used for calls to updateCapacityCommitment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,Reservation>
updateReservationSettings()
Returns the builder for the settings used for calls to updateReservation.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ReservationServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ReservationServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReservationRequest,Reservation> createReservationSettings()
Returns the builder for the settings used for calls to createReservation.
-
listReservationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse,ReservationServiceClient.ListReservationsPagedResponse> listReservationsSettings()
Returns the builder for the settings used for calls to listReservations.
-
getReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,Reservation> getReservationSettings()
Returns the builder for the settings used for calls to getReservation.
-
deleteReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty> deleteReservationSettings()
Returns the builder for the settings used for calls to deleteReservation.
-
updateReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,Reservation> updateReservationSettings()
Returns the builder for the settings used for calls to updateReservation.
-
createCapacityCommitmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentSettings()
Returns the builder for the settings used for calls to createCapacityCommitment.
-
listCapacityCommitmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to listCapacityCommitments.
-
getCapacityCommitmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentSettings()
Returns the builder for the settings used for calls to getCapacityCommitment.
-
deleteCapacityCommitmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,com.google.protobuf.Empty> deleteCapacityCommitmentSettings()
Returns the builder for the settings used for calls to deleteCapacityCommitment.
-
updateCapacityCommitmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentSettings()
Returns the builder for the settings used for calls to updateCapacityCommitment.
-
splitCapacityCommitmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentSettings()
Returns the builder for the settings used for calls to splitCapacityCommitment.
-
mergeCapacityCommitmentsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsSettings()
Returns the builder for the settings used for calls to mergeCapacityCommitments.
-
createAssignmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAssignmentRequest,Assignment> createAssignmentSettings()
Returns the builder for the settings used for calls to createAssignment.
-
listAssignmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsSettings()
Returns the builder for the settings used for calls to listAssignments.
-
deleteAssignmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAssignmentRequest,com.google.protobuf.Empty> deleteAssignmentSettings()
Returns the builder for the settings used for calls to deleteAssignment.
-
searchAssignmentsSettings
@Deprecated public com.google.api.gax.rpc.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.
-
searchAllAssignmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsSettings()
Returns the builder for the settings used for calls to searchAllAssignments.
-
moveAssignmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveAssignmentRequest,Assignment> moveAssignmentSettings()
Returns the builder for the settings used for calls to moveAssignment.
-
updateAssignmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAssignmentRequest,Assignment> updateAssignmentSettings()
Returns the builder for the settings used for calls to updateAssignment.
-
getBiReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBiReservationRequest,BiReservation> getBiReservationSettings()
Returns the builder for the settings used for calls to getBiReservation.
-
updateBiReservationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBiReservationRequest,BiReservation> updateBiReservationSettings()
Returns the builder for the settings used for calls to updateBiReservation.
-
build
public ReservationServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder>
- Throws:
IOException
-
-