Class BigQueryStorageGrpc (3.2.0)

public final class BigQueryStorageGrpc

BigQuery storage API. The BigQuery storage API can be used to read data stored in BigQuery. The v1beta1 API is not yet officially deprecated, and will go through a full deprecation cycle (https://cloud.google.com/products#product-launch-stages) before the service is turned down. However, new code should use the v1 API going forward.

Inheritance

java.lang.Object > BigQueryStorageGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(BigQueryStorageGrpc.AsyncService service)

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

getBatchCreateReadSessionStreamsMethod()

public static MethodDescriptor<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> getBatchCreateReadSessionStreamsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchCreateReadSessionStreamsRequest,BatchCreateReadSessionStreamsResponse>

getCreateReadSessionMethod()

public static MethodDescriptor<Storage.CreateReadSessionRequest,Storage.ReadSession> getCreateReadSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateReadSessionRequest,ReadSession>

getFinalizeStreamMethod()

public static MethodDescriptor<Storage.FinalizeStreamRequest,Empty> getFinalizeStreamMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<FinalizeStreamRequest,Empty>

getReadRowsMethod()

public static MethodDescriptor<Storage.ReadRowsRequest,Storage.ReadRowsResponse> getReadRowsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReadRowsRequest,ReadRowsResponse>

getServiceDescriptor()

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

getSplitReadStreamMethod()

public static MethodDescriptor<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse> getSplitReadStreamMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SplitReadStreamRequest,SplitReadStreamResponse>

newBlockingStub(Channel channel)

public static BigQueryStorageGrpc.BigQueryStorageBlockingStub 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
BigQueryStorageGrpc.BigQueryStorageBlockingStub

newFutureStub(Channel channel)

public static BigQueryStorageGrpc.BigQueryStorageFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BigQueryStorageGrpc.BigQueryStorageFutureStub

newStub(Channel channel)

public static BigQueryStorageGrpc.BigQueryStorageStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BigQueryStorageGrpc.BigQueryStorageStub