@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 | Constructor and Description |
---|---|
protected |
HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonRegionCommitmentStub, using the given settings.
|
protected |
HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionCommitmentStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList> aggregatedListRegionCommitmentsMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetRegionCommitmentHttpRequest,Commitment> getRegionCommitmentMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertRegionCommitmentHttpRequest,Operation> insertRegionCommitmentMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListRegionCommitmentsHttpRequest,CommitmentList> listRegionCommitmentsMethodDescriptor
protected HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonRegionCommitmentStub(RegionCommitmentStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub create(RegionCommitmentStubSettings settings) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRegionCommitmentStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AggregatedListRegionCommitmentsHttpRequest,RegionCommitmentClient.AggregatedListRegionCommitmentsPagedResponse> aggregatedListRegionCommitmentsPagedCallable()
aggregatedListRegionCommitmentsPagedCallable
in class RegionCommitmentStub
@BetaApi public UnaryCallable<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList> aggregatedListRegionCommitmentsCallable()
aggregatedListRegionCommitmentsCallable
in class RegionCommitmentStub
@BetaApi public UnaryCallable<GetRegionCommitmentHttpRequest,Commitment> getRegionCommitmentCallable()
getRegionCommitmentCallable
in class RegionCommitmentStub
@BetaApi public UnaryCallable<InsertRegionCommitmentHttpRequest,Operation> insertRegionCommitmentCallable()
insertRegionCommitmentCallable
in class RegionCommitmentStub
@BetaApi public UnaryCallable<ListRegionCommitmentsHttpRequest,RegionCommitmentClient.ListRegionCommitmentsPagedResponse> listRegionCommitmentsPagedCallable()
listRegionCommitmentsPagedCallable
in class RegionCommitmentStub
@BetaApi public 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.