@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonRegionCommitmentStub extends RegionCommitmentStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList> |
aggregatedListRegionCommitmentsMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetRegionCommitmentHttpRequest,Commitment> |
getRegionCommitmentMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertRegionCommitmentHttpRequest,Operation> |
insertRegionCommitmentMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListRegionCommitmentsHttpRequest,CommitmentList> |
listRegionCommitmentsMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionCommitmentStub, using the given settings.
|
protected |
HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionCommitmentStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList> aggregatedListRegionCommitmentsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetRegionCommitmentHttpRequest,Commitment> getRegionCommitmentMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertRegionCommitmentHttpRequest,Operation> insertRegionCommitmentMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListRegionCommitmentsHttpRequest,CommitmentList> listRegionCommitmentsMethodDescriptor
protected HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub create(RegionCommitmentStubSettings settings) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub 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<AggregatedListRegionCommitmentsHttpRequest,RegionCommitmentClient.AggregatedListRegionCommitmentsPagedResponse> aggregatedListRegionCommitmentsPagedCallable()
aggregatedListRegionCommitmentsPagedCallable
in class RegionCommitmentStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList> aggregatedListRegionCommitmentsCallable()
aggregatedListRegionCommitmentsCallable
in class RegionCommitmentStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetRegionCommitmentHttpRequest,Commitment> getRegionCommitmentCallable()
getRegionCommitmentCallable
in class RegionCommitmentStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertRegionCommitmentHttpRequest,Operation> insertRegionCommitmentCallable()
insertRegionCommitmentCallable
in class RegionCommitmentStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListRegionCommitmentsHttpRequest,RegionCommitmentClient.ListRegionCommitmentsPagedResponse> listRegionCommitmentsPagedCallable()
listRegionCommitmentsPagedCallable
in class RegionCommitmentStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListRegionCommitmentsHttpRequest,CommitmentList> listRegionCommitmentsCallable()
listRegionCommitmentsCallable
in class RegionCommitmentStub
public final void close()
close
in interface AutoCloseable
close
in class RegionCommitmentStub
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.