@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonReservationStub extends ReservationStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonReservationStub(ReservationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonReservationStub, using the given settings.
|
protected |
HttpJsonReservationStub(ReservationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonReservationStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListReservationsHttpRequest,ReservationAggregatedList> aggregatedListReservationsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteReservationHttpRequest,Operation> deleteReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetReservationHttpRequest,Reservation> getReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyReservationHttpRequest,Policy> getIamPolicyReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertReservationHttpRequest,Operation> insertReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListReservationsHttpRequest,ReservationList> listReservationsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ResizeReservationHttpRequest,Operation> resizeReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyReservationHttpRequest,Policy> setIamPolicyReservationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsReservationHttpRequest,TestPermissionsResponse> testIamPermissionsReservationMethodDescriptor
protected HttpJsonReservationStub(ReservationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonReservationStub(ReservationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonReservationStub create(ReservationStubSettings settings) throws IOException
IOException
public static final HttpJsonReservationStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonReservationStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListReservationsHttpRequest,ReservationClient.AggregatedListReservationsPagedResponse> aggregatedListReservationsPagedCallable()
aggregatedListReservationsPagedCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListReservationsHttpRequest,ReservationAggregatedList> aggregatedListReservationsCallable()
aggregatedListReservationsCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteReservationHttpRequest,Operation> deleteReservationCallable()
deleteReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetReservationHttpRequest,Reservation> getReservationCallable()
getReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyReservationHttpRequest,Policy> getIamPolicyReservationCallable()
getIamPolicyReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertReservationHttpRequest,Operation> insertReservationCallable()
insertReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListReservationsHttpRequest,ReservationClient.ListReservationsPagedResponse> listReservationsPagedCallable()
listReservationsPagedCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListReservationsHttpRequest,ReservationList> listReservationsCallable()
listReservationsCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ResizeReservationHttpRequest,Operation> resizeReservationCallable()
resizeReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyReservationHttpRequest,Policy> setIamPolicyReservationCallable()
setIamPolicyReservationCallable
in class ReservationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsReservationHttpRequest,TestPermissionsResponse> testIamPermissionsReservationCallable()
testIamPermissionsReservationCallable
in class ReservationStub
public final void close()
close
in interface AutoCloseable
close
in class ReservationStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.