- 2.49.0 (latest)
- 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 GrpcReservationServiceStub extends ReservationServiceStub
gRPC stub implementation for the ReservationService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcReservationServiceStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcReservationServiceStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcReservationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcReservationServiceStub |
Type | Description |
IOException |
create(ReservationServiceStubSettings settings)
public static final GrpcReservationServiceStub create(ReservationServiceStubSettings settings)
Name | Description |
settings | ReservationServiceStubSettings |
Type | Description |
GrpcReservationServiceStub |
Type | Description |
IOException |
Constructors
GrpcReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext)
protected GrpcReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcReservationServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | ReservationServiceStubSettings |
clientContext | ClientContext |
GrpcReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcReservationServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | ReservationServiceStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createAssignmentCallable()
public UnaryCallable<CreateAssignmentRequest,Assignment> createAssignmentCallable()
Type | Description |
UnaryCallable<CreateAssignmentRequest,Assignment> |
createCapacityCommitmentCallable()
public UnaryCallable<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentCallable()
Type | Description |
UnaryCallable<CreateCapacityCommitmentRequest,CapacityCommitment> |
createReservationCallable()
public UnaryCallable<CreateReservationRequest,Reservation> createReservationCallable()
Type | Description |
UnaryCallable<CreateReservationRequest,Reservation> |
deleteAssignmentCallable()
public UnaryCallable<DeleteAssignmentRequest,Empty> deleteAssignmentCallable()
Type | Description |
UnaryCallable<DeleteAssignmentRequest,Empty> |
deleteCapacityCommitmentCallable()
public UnaryCallable<DeleteCapacityCommitmentRequest,Empty> deleteCapacityCommitmentCallable()
Type | Description |
UnaryCallable<DeleteCapacityCommitmentRequest,Empty> |
deleteReservationCallable()
public UnaryCallable<DeleteReservationRequest,Empty> deleteReservationCallable()
Type | Description |
UnaryCallable<DeleteReservationRequest,Empty> |
getBiReservationCallable()
public UnaryCallable<GetBiReservationRequest,BiReservation> getBiReservationCallable()
Type | Description |
UnaryCallable<GetBiReservationRequest,BiReservation> |
getCapacityCommitmentCallable()
public UnaryCallable<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentCallable()
Type | Description |
UnaryCallable<GetCapacityCommitmentRequest,CapacityCommitment> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
getReservationCallable()
public UnaryCallable<GetReservationRequest,Reservation> getReservationCallable()
Type | Description |
UnaryCallable<GetReservationRequest,Reservation> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listAssignmentsCallable()
public UnaryCallable<ListAssignmentsRequest,ListAssignmentsResponse> listAssignmentsCallable()
Type | Description |
UnaryCallable<ListAssignmentsRequest,ListAssignmentsResponse> |
listAssignmentsPagedCallable()
public UnaryCallable<ListAssignmentsRequest,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsPagedCallable()
Type | Description |
UnaryCallable<ListAssignmentsRequest,ListAssignmentsPagedResponse> |
listCapacityCommitmentsCallable()
public UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> listCapacityCommitmentsCallable()
Type | Description |
UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> |
listCapacityCommitmentsPagedCallable()
public UnaryCallable<ListCapacityCommitmentsRequest,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsPagedCallable()
Type | Description |
UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsPagedResponse> |
listReservationsCallable()
public UnaryCallable<ListReservationsRequest,ListReservationsResponse> listReservationsCallable()
Type | Description |
UnaryCallable<ListReservationsRequest,ListReservationsResponse> |
listReservationsPagedCallable()
public UnaryCallable<ListReservationsRequest,ReservationServiceClient.ListReservationsPagedResponse> listReservationsPagedCallable()
Type | Description |
UnaryCallable<ListReservationsRequest,ListReservationsPagedResponse> |
mergeCapacityCommitmentsCallable()
public UnaryCallable<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsCallable()
Type | Description |
UnaryCallable<MergeCapacityCommitmentsRequest,CapacityCommitment> |
moveAssignmentCallable()
public UnaryCallable<MoveAssignmentRequest,Assignment> moveAssignmentCallable()
Type | Description |
UnaryCallable<MoveAssignmentRequest,Assignment> |
searchAllAssignmentsCallable()
public UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> searchAllAssignmentsCallable()
Type | Description |
UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> |
searchAllAssignmentsPagedCallable()
public UnaryCallable<SearchAllAssignmentsRequest,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsPagedCallable()
Type | Description |
UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsPagedResponse> |
searchAssignmentsCallable()
public UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsResponse> searchAssignmentsCallable()
Type | Description |
UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsResponse> |
searchAssignmentsPagedCallable()
public UnaryCallable<SearchAssignmentsRequest,ReservationServiceClient.SearchAssignmentsPagedResponse> searchAssignmentsPagedCallable()
Type | Description |
UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
splitCapacityCommitmentCallable()
public UnaryCallable<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentCallable()
Type | Description |
UnaryCallable<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> |
updateAssignmentCallable()
public UnaryCallable<UpdateAssignmentRequest,Assignment> updateAssignmentCallable()
Type | Description |
UnaryCallable<UpdateAssignmentRequest,Assignment> |
updateBiReservationCallable()
public UnaryCallable<UpdateBiReservationRequest,BiReservation> updateBiReservationCallable()
Type | Description |
UnaryCallable<UpdateBiReservationRequest,BiReservation> |
updateCapacityCommitmentCallable()
public UnaryCallable<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentCallable()
Type | Description |
UnaryCallable<UpdateCapacityCommitmentRequest,CapacityCommitment> |
updateReservationCallable()
public UnaryCallable<UpdateReservationRequest,Reservation> updateReservationCallable()
Type | Description |
UnaryCallable<UpdateReservationRequest,Reservation> |