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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcReservationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ReservationServiceStubSettings settings)
public static final GrpcReservationServiceStub create(ReservationServiceStubSettings settings)
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.
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.
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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