Class BigQueryWriteGrpc (3.4.0)

public final class BigQueryWriteGrpc

BigQuery Write API. The Write API can be used to write data to BigQuery. The google.cloud.bigquery.storage.v1 API should be used instead of the v1beta2 API for BigQueryWrite operations.

Inheritance

java.lang.Object > BigQueryWriteGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(BigQueryWriteGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(BigQueryWriteGrpc.AsyncService service)
Parameter
NameDescription
serviceBigQueryWriteGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getAppendRowsMethod()

public static MethodDescriptor<AppendRowsRequest,AppendRowsResponse> getAppendRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AppendRowsRequest,AppendRowsResponse>

getBatchCommitWriteStreamsMethod()

public static MethodDescriptor<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> getBatchCommitWriteStreamsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse>

getCreateWriteStreamMethod()

public static MethodDescriptor<CreateWriteStreamRequest,WriteStream> getCreateWriteStreamMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateWriteStreamRequest,WriteStream>

getFinalizeWriteStreamMethod()

public static MethodDescriptor<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> getFinalizeWriteStreamMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse>

getFlushRowsMethod()

public static MethodDescriptor<FlushRowsRequest,FlushRowsResponse> getFlushRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<FlushRowsRequest,FlushRowsResponse>

getGetWriteStreamMethod()

public static MethodDescriptor<GetWriteStreamRequest,WriteStream> getGetWriteStreamMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetWriteStreamRequest,WriteStream>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static BigQueryWriteGrpc.BigQueryWriteBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BigQueryWriteGrpc.BigQueryWriteBlockingStub

newFutureStub(Channel channel)

public static BigQueryWriteGrpc.BigQueryWriteFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BigQueryWriteGrpc.BigQueryWriteFutureStub

newStub(Channel channel)

public static BigQueryWriteGrpc.BigQueryWriteStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BigQueryWriteGrpc.BigQueryWriteStub