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 StubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder>
Builder for ReservationServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ReservationServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createAssignment.Returns the builder for the settings used for calls to createCapacityCommitment.Returns the builder for the settings used for calls to createReservationGroup.Returns the builder for the settings used for calls to createReservation.UnaryCallSettings.Builder<DeleteAssignmentRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteAssignment.UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteCapacityCommitment.UnaryCallSettings.Builder<DeleteReservationGroupRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteReservationGroup.UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteReservation.Returns the builder for the settings used for calls to failoverReservation.Returns the builder for the settings used for calls to getBiReservation.Returns the builder for the settings used for calls to getCapacityCommitment.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getReservationGroup.Returns the builder for the settings used for calls to getReservation.PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse, ReservationServiceClient.ListAssignmentsPagedResponse> Returns the builder for the settings used for calls to listAssignments.PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse, ReservationServiceClient.ListCapacityCommitmentsPagedResponse> Returns the builder for the settings used for calls to listCapacityCommitments.PagedCallSettings.Builder<ListReservationGroupsRequest,ListReservationGroupsResponse, ReservationServiceClient.ListReservationGroupsPagedResponse> Returns the builder for the settings used for calls to listReservationGroups.PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse, ReservationServiceClient.ListReservationsPagedResponse> Returns the builder for the settings used for calls to listReservations.Returns the builder for the settings used for calls to mergeCapacityCommitments.Returns the builder for the settings used for calls to moveAssignment.PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse, ReservationServiceClient.SearchAllAssignmentsPagedResponse> Returns the builder for the settings used for calls to searchAllAssignments.PagedCallSettings.Builder<SearchAssignmentsRequest,SearchAssignmentsResponse, ReservationServiceClient.SearchAssignmentsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to splitCapacityCommitment.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateAssignment.Returns the builder for the settings used for calls to updateBiReservation.Returns the builder for the settings used for calls to updateCapacityCommitment.Returns the builder for the settings used for calls to updateReservation.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createReservationSettings
Returns the builder for the settings used for calls to createReservation. -
listReservationsSettings
public PagedCallSettings.Builder<ListReservationsRequest,ListReservationsResponse, listReservationsSettings()ReservationServiceClient.ListReservationsPagedResponse> Returns the builder for the settings used for calls to listReservations. -
getReservationSettings
Returns the builder for the settings used for calls to getReservation. -
deleteReservationSettings
public UnaryCallSettings.Builder<DeleteReservationRequest,com.google.protobuf.Empty> deleteReservationSettings()Returns the builder for the settings used for calls to deleteReservation. -
updateReservationSettings
Returns the builder for the settings used for calls to updateReservation. -
failoverReservationSettings
public UnaryCallSettings.Builder<FailoverReservationRequest,Reservation> failoverReservationSettings()Returns the builder for the settings used for calls to failoverReservation. -
createCapacityCommitmentSettings
public UnaryCallSettings.Builder<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentSettings()Returns the builder for the settings used for calls to createCapacityCommitment. -
listCapacityCommitmentsSettings
public PagedCallSettings.Builder<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse, listCapacityCommitmentsSettings()ReservationServiceClient.ListCapacityCommitmentsPagedResponse> Returns the builder for the settings used for calls to listCapacityCommitments. -
getCapacityCommitmentSettings
public UnaryCallSettings.Builder<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentSettings()Returns the builder for the settings used for calls to getCapacityCommitment. -
deleteCapacityCommitmentSettings
public UnaryCallSettings.Builder<DeleteCapacityCommitmentRequest,com.google.protobuf.Empty> deleteCapacityCommitmentSettings()Returns the builder for the settings used for calls to deleteCapacityCommitment. -
updateCapacityCommitmentSettings
public UnaryCallSettings.Builder<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentSettings()Returns the builder for the settings used for calls to updateCapacityCommitment. -
splitCapacityCommitmentSettings
public UnaryCallSettings.Builder<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentSettings()Returns the builder for the settings used for calls to splitCapacityCommitment. -
mergeCapacityCommitmentsSettings
public UnaryCallSettings.Builder<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsSettings()Returns the builder for the settings used for calls to mergeCapacityCommitments. -
createAssignmentSettings
Returns the builder for the settings used for calls to createAssignment. -
listAssignmentsSettings
public PagedCallSettings.Builder<ListAssignmentsRequest,ListAssignmentsResponse, listAssignmentsSettings()ReservationServiceClient.ListAssignmentsPagedResponse> Returns the builder for the settings used for calls to listAssignments. -
deleteAssignmentSettings
public UnaryCallSettings.Builder<DeleteAssignmentRequest,com.google.protobuf.Empty> deleteAssignmentSettings()Returns the builder for the settings used for calls to deleteAssignment. -
searchAssignmentsSettings
@Deprecated public PagedCallSettings.Builder<SearchAssignmentsRequest,SearchAssignmentsResponse, searchAssignmentsSettings()ReservationServiceClient.SearchAssignmentsPagedResponse> 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 PagedCallSettings.Builder<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse, searchAllAssignmentsSettings()ReservationServiceClient.SearchAllAssignmentsPagedResponse> Returns the builder for the settings used for calls to searchAllAssignments. -
moveAssignmentSettings
Returns the builder for the settings used for calls to moveAssignment. -
updateAssignmentSettings
Returns the builder for the settings used for calls to updateAssignment. -
getBiReservationSettings
Returns the builder for the settings used for calls to getBiReservation. -
updateBiReservationSettings
public UnaryCallSettings.Builder<UpdateBiReservationRequest,BiReservation> updateBiReservationSettings()Returns the builder for the settings used for calls to updateBiReservation. -
getIamPolicySettings
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy. -
setIamPolicySettings
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
createReservationGroupSettings
public UnaryCallSettings.Builder<CreateReservationGroupRequest,ReservationGroup> createReservationGroupSettings()Returns the builder for the settings used for calls to createReservationGroup. -
getReservationGroupSettings
public UnaryCallSettings.Builder<GetReservationGroupRequest,ReservationGroup> getReservationGroupSettings()Returns the builder for the settings used for calls to getReservationGroup. -
deleteReservationGroupSettings
public UnaryCallSettings.Builder<DeleteReservationGroupRequest,com.google.protobuf.Empty> deleteReservationGroupSettings()Returns the builder for the settings used for calls to deleteReservationGroup. -
listReservationGroupsSettings
public PagedCallSettings.Builder<ListReservationGroupsRequest,ListReservationGroupsResponse, listReservationGroupsSettings()ReservationServiceClient.ListReservationGroupsPagedResponse> Returns the builder for the settings used for calls to listReservationGroups. -
build
- Specified by:
buildin classStubSettings.Builder<ReservationServiceStubSettings,ReservationServiceStubSettings.Builder> - Throws:
IOException
-