@Generated(value="by gapic-generator-java") public class GrpcReservationServiceStub extends ReservationServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcReservationServiceStub(ReservationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcReservationServiceStub, using the given settings.
|
protected |
GrpcReservationServiceStub(ReservationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcReservationServiceStub, using the given settings.
|
protected GrpcReservationServiceStub(ReservationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcReservationServiceStub(ReservationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcReservationServiceStub create(ReservationServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcReservationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcReservationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateReservationRequest,Reservation> createReservationCallable()
createReservationCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListReservationsRequest,ListReservationsResponse> listReservationsCallable()
listReservationsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListReservationsRequest,ReservationServiceClient.ListReservationsPagedResponse> listReservationsPagedCallable()
listReservationsPagedCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetReservationRequest,Reservation> getReservationCallable()
getReservationCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteReservationRequest,com.google.protobuf.Empty> deleteReservationCallable()
deleteReservationCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateReservationRequest,Reservation> updateReservationCallable()
updateReservationCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateCapacityCommitmentRequest,CapacityCommitment> createCapacityCommitmentCallable()
createCapacityCommitmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> listCapacityCommitmentsCallable()
listCapacityCommitmentsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCapacityCommitmentsRequest,ReservationServiceClient.ListCapacityCommitmentsPagedResponse> listCapacityCommitmentsPagedCallable()
listCapacityCommitmentsPagedCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetCapacityCommitmentRequest,CapacityCommitment> getCapacityCommitmentCallable()
getCapacityCommitmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCapacityCommitmentRequest,com.google.protobuf.Empty> deleteCapacityCommitmentCallable()
deleteCapacityCommitmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateCapacityCommitmentRequest,CapacityCommitment> updateCapacityCommitmentCallable()
updateCapacityCommitmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> splitCapacityCommitmentCallable()
splitCapacityCommitmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<MergeCapacityCommitmentsRequest,CapacityCommitment> mergeCapacityCommitmentsCallable()
mergeCapacityCommitmentsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateAssignmentRequest,Assignment> createAssignmentCallable()
createAssignmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAssignmentsRequest,ListAssignmentsResponse> listAssignmentsCallable()
listAssignmentsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAssignmentsRequest,ReservationServiceClient.ListAssignmentsPagedResponse> listAssignmentsPagedCallable()
listAssignmentsPagedCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteAssignmentRequest,com.google.protobuf.Empty> deleteAssignmentCallable()
deleteAssignmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchAssignmentsRequest,SearchAssignmentsResponse> searchAssignmentsCallable()
searchAssignmentsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchAssignmentsRequest,ReservationServiceClient.SearchAssignmentsPagedResponse> searchAssignmentsPagedCallable()
searchAssignmentsPagedCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> searchAllAssignmentsCallable()
searchAllAssignmentsCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchAllAssignmentsRequest,ReservationServiceClient.SearchAllAssignmentsPagedResponse> searchAllAssignmentsPagedCallable()
searchAllAssignmentsPagedCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<MoveAssignmentRequest,Assignment> moveAssignmentCallable()
moveAssignmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateAssignmentRequest,Assignment> updateAssignmentCallable()
updateAssignmentCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetBiReservationRequest,BiReservation> getBiReservationCallable()
getBiReservationCallable in class ReservationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateBiReservationRequest,BiReservation> updateBiReservationCallable()
updateBiReservationCallable in class ReservationServiceStubpublic final void close()
close in interface AutoCloseableclose in class ReservationServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.