public class GrpcBigQueryWriteStub extends BigQueryWriteStub
gRPC stub implementation for the BigQueryWrite service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcBigQueryWriteStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBigQueryWriteStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(BigQueryWriteStubSettings settings)
public static final GrpcBigQueryWriteStub create(BigQueryWriteStubSettings settings)
Constructors
GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext)
protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext)
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.
GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
appendRowsCallable()
public BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> appendRowsCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchCommitWriteStreamsCallable()
public UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsCallable()
Overrides
close()
public final void close()
Overrides
createWriteStreamCallable()
public UnaryCallable<CreateWriteStreamRequest,WriteStream> createWriteStreamCallable()
Overrides
finalizeWriteStreamCallable()
public UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()
Overrides
flushRowsCallable()
public UnaryCallable<FlushRowsRequest,FlushRowsResponse> flushRowsCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getWriteStreamCallable()
public UnaryCallable<GetWriteStreamRequest,WriteStream> getWriteStreamCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()