- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.3.1
- 2.2.7
- 2.1.4
public class ReservationServiceStubSettings extends StubSettings<ReservationServiceStubSettings>
Settings class to configure an instance of ReservationServiceStub.
The default instance has everything set to sensible defaults:
- The default service address (bigqueryreservation.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of createReservation to 30 seconds:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
ReservationServiceStubSettings.Builder reservationServiceSettingsBuilder =
ReservationServiceStubSettings.newBuilder();
reservationServiceSettingsBuilder
.createReservationSettings()
.setRetrySettings(
reservationServiceSettingsBuilder
.createReservationSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ReservationServiceStubSettings reservationServiceSettings =
reservationServiceSettingsBuilder.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Type | Description |
Builder |
defaultHttpJsonApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static ReservationServiceStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Type | Description |
ReservationServiceStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static ReservationServiceStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
ReservationServiceStubSettings.Builder |
newHttpJsonBuilder()
public static ReservationServiceStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Type | Description |
ReservationServiceStubSettings.Builder |
Constructors
ReservationServiceStubSettings(ReservationServiceStubSettings.Builder settingsBuilder)
protected ReservationServiceStubSettings(ReservationServiceStubSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | ReservationServiceStubSettings.Builder |
Methods
createAssignmentSettings()
public UnaryCallSettings<CreateAssignmentRequest,Assignment> createAssignmentSettings()
Returns the object with the settings used for calls to createAssignment.
Type | Description |
UnaryCallSettings<CreateAssignmentRequest,Assignment> |
createCapacityCommitmentSettings()
public UnaryCallSettings<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentSettings()
Returns the object with the settings used for calls to createCapacityCommitment.
Type | Description |
UnaryCallSettings<CreateCapacityCommitmentRequest,CapacityCommitment> |
createReservationSettings()
public UnaryCallSettings<CreateReservationRequest,Reservation> createReservationSettings()
Returns the object with the settings used for calls to createReservation.
Type | Description |
UnaryCallSettings<CreateReservationRequest,Reservation> |
createStub()
public ReservationServiceStub createStub()
Type | Description |
ReservationServiceStub |
Type | Description |
IOException |
deleteAssignmentSettings()
public UnaryCallSettings<DeleteAssignmentRequest,Empty> deleteAssignmentSettings()
Returns the object with the settings used for calls to deleteAssignment.
Type | Description |
UnaryCallSettings<DeleteAssignmentRequest,Empty> |
deleteCapacityCommitmentSettings()
public UnaryCallSettings<DeleteCapacityCommitmentRequest,Empty> deleteCapacityCommitmentSettings()
Returns the object with the settings used for calls to deleteCapacityCommitment.
Type | Description |
UnaryCallSettings<DeleteCapacityCommitmentRequest,Empty> |
deleteReservationSettings()
public UnaryCallSettings<DeleteReservationRequest,Empty> deleteReservationSettings()
Returns the object with the settings used for calls to deleteReservation.
Type | Description |
UnaryCallSettings<DeleteReservationRequest,Empty> |
getBiReservationSettings()
public UnaryCallSettings<GetBiReservationRequest,BiReservation> getBiReservationSettings()
Returns the object with the settings used for calls to getBiReservation.
Type | Description |
UnaryCallSettings<GetBiReservationRequest,BiReservation> |
getCapacityCommitmentSettings()
public UnaryCallSettings<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentSettings()
Returns the object with the settings used for calls to getCapacityCommitment.
Type | Description |
UnaryCallSettings<GetCapacityCommitmentRequest,CapacityCommitment> |
getReservationSettings()
public UnaryCallSettings<GetReservationRequest,Reservation> getReservationSettings()
Returns the object with the settings used for calls to getReservation.
Type | Description |
UnaryCallSettings<GetReservationRequest,Reservation> |
listAssignmentsSettings()
public PagedCallSettings<ListAssignmentsRequest,ListAssignmentsResponse,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsSettings()
Returns the object with the settings used for calls to listAssignments.
Type | Description |
PagedCallSettings<ListAssignmentsRequest,ListAssignmentsResponse,ListAssignmentsPagedResponse> |
listCapacityCommitmentsSettings()
public PagedCallSettings<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsSettings()
Returns the object with the settings used for calls to listCapacityCommitments.
Type | Description |
PagedCallSettings<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,ListCapacityCommitmentsPagedResponse> |
listReservationsSettings()
public PagedCallSettings<ListReservationsRequest,ListReservationsResponse,ReservationServiceClient.ListReservationsPagedResponse> listReservationsSettings()
Returns the object with the settings used for calls to listReservations.
Type | Description |
PagedCallSettings<ListReservationsRequest,ListReservationsResponse,ListReservationsPagedResponse> |
mergeCapacityCommitmentsSettings()
public UnaryCallSettings<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsSettings()
Returns the object with the settings used for calls to mergeCapacityCommitments.
Type | Description |
UnaryCallSettings<MergeCapacityCommitmentsRequest,CapacityCommitment> |
moveAssignmentSettings()
public UnaryCallSettings<MoveAssignmentRequest,Assignment> moveAssignmentSettings()
Returns the object with the settings used for calls to moveAssignment.
Type | Description |
UnaryCallSettings<MoveAssignmentRequest,Assignment> |
searchAllAssignmentsSettings()
public PagedCallSettings<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsSettings()
Returns the object with the settings used for calls to searchAllAssignments.
Type | Description |
PagedCallSettings<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse,SearchAllAssignmentsPagedResponse> |
searchAssignmentsSettings() (deprecated)
public PagedCallSettings<SearchAssignmentsRequest,SearchAssignmentsResponse,ReservationServiceClient.SearchAssignmentsPagedResponse> searchAssignmentsSettings()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the object with the settings used for calls to searchAssignments.
Type | Description |
PagedCallSettings<SearchAssignmentsRequest,SearchAssignmentsResponse,SearchAssignmentsPagedResponse> |
splitCapacityCommitmentSettings()
public UnaryCallSettings<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentSettings()
Returns the object with the settings used for calls to splitCapacityCommitment.
Type | Description |
UnaryCallSettings<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> |
toBuilder()
public ReservationServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
ReservationServiceStubSettings.Builder |
updateAssignmentSettings()
public UnaryCallSettings<UpdateAssignmentRequest,Assignment> updateAssignmentSettings()
Returns the object with the settings used for calls to updateAssignment.
Type | Description |
UnaryCallSettings<UpdateAssignmentRequest,Assignment> |
updateBiReservationSettings()
public UnaryCallSettings<UpdateBiReservationRequest,BiReservation> updateBiReservationSettings()
Returns the object with the settings used for calls to updateBiReservation.
Type | Description |
UnaryCallSettings<UpdateBiReservationRequest,BiReservation> |
updateCapacityCommitmentSettings()
public UnaryCallSettings<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentSettings()
Returns the object with the settings used for calls to updateCapacityCommitment.
Type | Description |
UnaryCallSettings<UpdateCapacityCommitmentRequest,CapacityCommitment> |
updateReservationSettings()
public UnaryCallSettings<UpdateReservationRequest,Reservation> updateReservationSettings()
Returns the object with the settings used for calls to updateReservation.
Type | Description |
UnaryCallSettings<UpdateReservationRequest,Reservation> |