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