- 2.52.0 (latest)
- 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 HttpJsonReservationServiceStub extends ReservationServiceStub
REST 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 HttpJsonReservationServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonReservationServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonReservationServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonReservationServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ReservationServiceStubSettings settings)
public static final HttpJsonReservationServiceStub create(ReservationServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ReservationServiceStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonReservationServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonReservationServiceStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ReservationServiceStubSettings |
clientContext | ClientContext |
HttpJsonReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonReservationServiceStub(ReservationServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonReservationServiceStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ReservationServiceStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createAssignmentCallable()
public UnaryCallable<CreateAssignmentRequest,Assignment> createAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateAssignmentRequest,Assignment> |
createCapacityCommitmentCallable()
public UnaryCallable<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCapacityCommitmentRequest,CapacityCommitment> |
createReservationCallable()
public UnaryCallable<CreateReservationRequest,Reservation> createReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReservationRequest,Reservation> |
deleteAssignmentCallable()
public UnaryCallable<DeleteAssignmentRequest,Empty> deleteAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteAssignmentRequest,Empty> |
deleteCapacityCommitmentCallable()
public UnaryCallable<DeleteCapacityCommitmentRequest,Empty> deleteCapacityCommitmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteCapacityCommitmentRequest,Empty> |
deleteReservationCallable()
public UnaryCallable<DeleteReservationRequest,Empty> deleteReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteReservationRequest,Empty> |
getBiReservationCallable()
public UnaryCallable<GetBiReservationRequest,BiReservation> getBiReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBiReservationRequest,BiReservation> |
getCapacityCommitmentCallable()
public UnaryCallable<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCapacityCommitmentRequest,CapacityCommitment> |
getReservationCallable()
public UnaryCallable<GetReservationRequest,Reservation> getReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReservationRequest,Reservation> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listAssignmentsCallable()
public UnaryCallable<ListAssignmentsRequest,ListAssignmentsResponse> listAssignmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAssignmentsRequest,ListAssignmentsResponse> |
listAssignmentsPagedCallable()
public UnaryCallable<ListAssignmentsRequest,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAssignmentsRequest,ListAssignmentsPagedResponse> |
listCapacityCommitmentsCallable()
public UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> listCapacityCommitmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> |
listCapacityCommitmentsPagedCallable()
public UnaryCallable<ListCapacityCommitmentsRequest,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsPagedResponse> |
listReservationsCallable()
public UnaryCallable<ListReservationsRequest,ListReservationsResponse> listReservationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReservationsRequest,ListReservationsResponse> |
listReservationsPagedCallable()
public UnaryCallable<ListReservationsRequest,ReservationServiceClient.ListReservationsPagedResponse> listReservationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReservationsRequest,ListReservationsPagedResponse> |
mergeCapacityCommitmentsCallable()
public UnaryCallable<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MergeCapacityCommitmentsRequest,CapacityCommitment> |
moveAssignmentCallable()
public UnaryCallable<MoveAssignmentRequest,Assignment> moveAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MoveAssignmentRequest,Assignment> |
searchAllAssignmentsCallable()
public UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> searchAllAssignmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> |
searchAllAssignmentsPagedCallable()
public UnaryCallable<SearchAllAssignmentsRequest,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsPagedResponse> |
searchAssignmentsCallable()
public UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsResponse> searchAssignmentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsResponse> |
searchAssignmentsPagedCallable()
public UnaryCallable<SearchAssignmentsRequest,ReservationServiceClient.SearchAssignmentsPagedResponse> searchAssignmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
splitCapacityCommitmentCallable()
public UnaryCallable<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> |
updateAssignmentCallable()
public UnaryCallable<UpdateAssignmentRequest,Assignment> updateAssignmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateAssignmentRequest,Assignment> |
updateBiReservationCallable()
public UnaryCallable<UpdateBiReservationRequest,BiReservation> updateBiReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBiReservationRequest,BiReservation> |
updateCapacityCommitmentCallable()
public UnaryCallable<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCapacityCommitmentRequest,CapacityCommitment> |
updateReservationCallable()
public UnaryCallable<UpdateReservationRequest,Reservation> updateReservationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateReservationRequest,Reservation> |