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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBigQueryWriteStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(BigQueryWriteStubSettings settings)
public static final GrpcBigQueryWriteStub create(BigQueryWriteStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
appendRowsCallable()
public BidiStreamingCallable<AppendRowsRequest,AppendRowsResponse> appendRowsCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
batchCommitWriteStreamsCallable()
public UnaryCallable<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsCallable()
Returns
Overrides
close()
public final void close()
Overrides
createWriteStreamCallable()
public UnaryCallable<CreateWriteStreamRequest,WriteStream> createWriteStreamCallable()
Returns
Overrides
finalizeWriteStreamCallable()
public UnaryCallable<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamCallable()
Returns
Overrides
flushRowsCallable()
public UnaryCallable<FlushRowsRequest,FlushRowsResponse> flushRowsCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getWriteStreamCallable()
public UnaryCallable<GetWriteStreamRequest,WriteStream> getWriteStreamCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
shutdown()
shutdownNow()
public void shutdownNow()