Class GrpcMetastorePartitionServiceStub
java.lang.Object
com.google.cloud.bigquery.storage.v1beta.stub.MetastorePartitionServiceStub
com.google.cloud.bigquery.storage.v1beta.stub.GrpcMetastorePartitionServiceStub
- All Implemented Interfaces:
com.google.api.gax.core.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, com.google.api.gax.rpc.ClientContext clientContext) Constructs an instance of GrpcMetastorePartitionServiceStub, using the given settings.protectedGrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMetastorePartitionServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) com.google.api.gax.rpc.UnaryCallable<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse> com.google.api.gax.rpc.UnaryCallable<BatchDeleteMetastorePartitionsRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse> final voidclose()static final GrpcMetastorePartitionServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext) static final GrpcMetastorePartitionServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) static final GrpcMetastorePartitionServiceStubcreate(MetastorePartitionServiceStubSettings settings) com.google.longrunning.stub.GrpcOperationsStubbooleanbooleancom.google.api.gax.rpc.UnaryCallable<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse> voidshutdown()voidcom.google.api.gax.rpc.BidiStreamingCallable<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse>
-
Constructor Details
-
GrpcMetastorePartitionServiceStub
protected GrpcMetastorePartitionServiceStub(MetastorePartitionServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcMetastorePartitionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub() -
batchCreateMetastorePartitionsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse> batchCreateMetastorePartitionsCallable()- Overrides:
batchCreateMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
batchDeleteMetastorePartitionsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchDeleteMetastorePartitionsRequest,com.google.protobuf.Empty> batchDeleteMetastorePartitionsCallable()- Overrides:
batchDeleteMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
batchUpdateMetastorePartitionsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse> batchUpdateMetastorePartitionsCallable()- Overrides:
batchUpdateMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
listMetastorePartitionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse> listMetastorePartitionsCallable()- Overrides:
listMetastorePartitionsCallablein classMetastorePartitionServiceStub
-
streamMetastorePartitionsCallable
public com.google.api.gax.rpc.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
-