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