Class GrpcBigQueryWriteStub
java.lang.Object
com.google.cloud.bigquery.storage.v1beta2.stub.BigQueryWriteStub
com.google.cloud.bigquery.storage.v1beta2.stub.GrpcBigQueryWriteStub
- All Implemented Interfaces:
com.google.api.gax.core.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, com.google.api.gax.rpc.ClientContext clientContext) Deprecated.Constructs an instance of GrpcBigQueryWriteStub, using the given settings.protectedGrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) Deprecated.Constructs an instance of GrpcBigQueryWriteStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.rpc.BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> Deprecated.booleanawaitTermination(long duration, TimeUnit unit) Deprecated.com.google.api.gax.rpc.UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> Deprecated.final voidclose()Deprecated.static final GrpcBigQueryWriteStubcreate(com.google.api.gax.rpc.ClientContext clientContext) Deprecated.static final GrpcBigQueryWriteStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) Deprecated.static final GrpcBigQueryWriteStubcreate(BigQueryWriteStubSettings settings) Deprecated.com.google.api.gax.rpc.UnaryCallable<CreateWriteStreamRequest,WriteStream> Deprecated.com.google.api.gax.rpc.UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> Deprecated.com.google.api.gax.rpc.UnaryCallable<FlushRowsRequest,FlushRowsResponse> Deprecated.com.google.longrunning.stub.GrpcOperationsStubDeprecated.com.google.api.gax.rpc.UnaryCallable<GetWriteStreamRequest,WriteStream> Deprecated.booleanDeprecated.booleanDeprecated.voidshutdown()Deprecated.voidDeprecated.
-
Constructor Details
-
GrpcBigQueryWriteStub
protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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
public static final GrpcBigQueryWriteStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException Deprecated.- Throws:
IOException
-
create
public static final GrpcBigQueryWriteStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException Deprecated.- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()Deprecated. -
createWriteStreamCallable
public com.google.api.gax.rpc.UnaryCallable<CreateWriteStreamRequest,WriteStream> createWriteStreamCallable()Deprecated.- Overrides:
createWriteStreamCallablein classBigQueryWriteStub
-
appendRowsCallable
public com.google.api.gax.rpc.BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> appendRowsCallable()Deprecated.- Overrides:
appendRowsCallablein classBigQueryWriteStub
-
getWriteStreamCallable
public com.google.api.gax.rpc.UnaryCallable<GetWriteStreamRequest,WriteStream> getWriteStreamCallable()Deprecated.- Overrides:
getWriteStreamCallablein classBigQueryWriteStub
-
finalizeWriteStreamCallable
public com.google.api.gax.rpc.UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()Deprecated.- Overrides:
finalizeWriteStreamCallablein classBigQueryWriteStub
-
batchCommitWriteStreamsCallable
public com.google.api.gax.rpc.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
-