Class GrpcMetastorePartitionServiceStub
java.lang.Object
com.google.cloud.bigquery.storage.v1alpha.stub.MetastorePartitionServiceStub
com.google.cloud.bigquery.storage.v1alpha.stub.GrpcMetastorePartitionServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcMetastorePartitionServiceStub
extends MetastorePartitionServiceStub
gRPC stub implementation for the MetastorePartitionService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcMetastorePartitionServiceStub, using the given settings.protectedGrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMetastorePartitionServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteMetastorePartitionsRequest,com.google.protobuf.Empty> final voidclose()static final GrpcMetastorePartitionServiceStubcreate(ClientContext clientContext) static final GrpcMetastorePartitionServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcMetastorePartitionServiceStubcreate(MetastorePartitionServiceStubSettings settings) booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcMetastorePartitionServiceStub
protected GrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcMetastorePartitionServiceStub, 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.- Throws:
IOException
-
GrpcMetastorePartitionServiceStub
protected GrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcMetastorePartitionServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcMetastorePartitionServiceStub create(MetastorePartitionServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcMetastorePartitionServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcMetastorePartitionServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
batchCreateMetastorePartitionsCallable
public UnaryCallable<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse> batchCreateMetastorePartitionsCallable()- Overrides:
batchCreateMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
batchDeleteMetastorePartitionsCallable
public UnaryCallable<BatchDeleteMetastorePartitionsRequest,com.google.protobuf.Empty> batchDeleteMetastorePartitionsCallable()- Overrides:
batchDeleteMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
batchUpdateMetastorePartitionsCallable
public UnaryCallable<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse> batchUpdateMetastorePartitionsCallable()- Overrides:
batchUpdateMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
listMetastorePartitionsCallable
public UnaryCallable<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse> listMetastorePartitionsCallable()- Overrides:
listMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
streamMetastorePartitionsCallable
public BidiStreamingCallable<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse> streamMetastorePartitionsCallable()- Overrides:
streamMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMetastorePartitionServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-