Class GrpcBigQueryWriteStub
java.lang.Object
com.google.cloud.bigquery.storage.v1beta2.stub.BigQueryWriteStub
com.google.cloud.bigquery.storage.v1beta2.stub.GrpcBigQueryWriteStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class GrpcBigQueryWriteStub
extends BigQueryWriteStub
Deprecated.
This class is deprecated and will be removed in the next major version update.
gRPC stub implementation for the BigQueryWrite service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext) Deprecated.Constructs an instance of GrpcBigQueryWriteStub, using the given settings.protectedGrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Deprecated.Constructs an instance of GrpcBigQueryWriteStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.booleanawaitTermination(long duration, TimeUnit unit) Deprecated.Deprecated.final voidclose()Deprecated.static final GrpcBigQueryWriteStubcreate(ClientContext clientContext) Deprecated.static final GrpcBigQueryWriteStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) Deprecated.static final GrpcBigQueryWriteStubcreate(BigQueryWriteStubSettings settings) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.voidshutdown()Deprecated.voidDeprecated.
-
Constructor Details
-
GrpcBigQueryWriteStub
protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext) throws IOException Deprecated.Constructs an instance of GrpcBigQueryWriteStub, 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
-
GrpcBigQueryWriteStub
protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Deprecated.Constructs an instance of GrpcBigQueryWriteStub, 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 GrpcBigQueryWriteStub create(BigQueryWriteStubSettings settings) throws IOException Deprecated.- Throws:
IOException
-
create
Deprecated.- Throws:
IOException
-
create
public static final GrpcBigQueryWriteStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Deprecated.- Throws:
IOException
-
getOperationsStub
Deprecated. -
createWriteStreamCallable
Deprecated.- Overrides:
createWriteStreamCallablein classBigQueryWriteStub
-
appendRowsCallable
Deprecated.- Overrides:
appendRowsCallablein classBigQueryWriteStub
-
getWriteStreamCallable
Deprecated.- Overrides:
getWriteStreamCallablein classBigQueryWriteStub
-
finalizeWriteStreamCallable
public UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()Deprecated.- Overrides:
finalizeWriteStreamCallablein classBigQueryWriteStub
-
batchCommitWriteStreamsCallable
public UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsCallable()Deprecated.- Overrides:
batchCommitWriteStreamsCallablein classBigQueryWriteStub
-
flushRowsCallable
Deprecated.- Overrides:
flushRowsCallablein classBigQueryWriteStub
-
close
public final void close()Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBigQueryWriteStub
-
shutdown
public void shutdown()Deprecated. -
isShutdown
public boolean isShutdown()Deprecated. -
isTerminated
public boolean isTerminated()Deprecated. -
shutdownNow
public void shutdownNow()Deprecated. -
awaitTermination
Deprecated.- Throws:
InterruptedException
-