Class Storage.ReadRowsRequest (3.4.0)

public static final class Storage.ReadRowsRequest extends GeneratedMessageV3 implements Storage.ReadRowsRequestOrBuilder

Requesting row data via ReadRows must provide Stream position information.

Protobuf type google.cloud.bigquery.storage.v1beta1.ReadRowsRequest

Static Fields

READ_POSITION_FIELD_NUMBER

public static final int READ_POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.ReadRowsRequest getDefaultInstance()
Returns
TypeDescription
Storage.ReadRowsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Storage.ReadRowsRequest.Builder newBuilder()
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

newBuilder(Storage.ReadRowsRequest prototype)

public static Storage.ReadRowsRequest.Builder newBuilder(Storage.ReadRowsRequest prototype)
Parameter
NameDescription
prototypeStorage.ReadRowsRequest
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

parseDelimitedFrom(InputStream input)

public static Storage.ReadRowsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Storage.ReadRowsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Storage.ReadRowsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Storage.ReadRowsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Storage.ReadRowsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Storage.ReadRowsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Storage.ReadRowsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ReadRowsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Storage.ReadRowsRequest> parser()
Returns
TypeDescription
Parser<ReadRowsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Storage.ReadRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
Storage.ReadRowsRequest

getParserForType()

public Parser<Storage.ReadRowsRequest> getParserForType()
Returns
TypeDescription
Parser<ReadRowsRequest>
Overrides

getReadPosition()

public Storage.StreamPosition getReadPosition()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.StreamPosition

The readPosition.

getReadPositionOrBuilder()

public Storage.StreamPositionOrBuilder getReadPositionOrBuilder()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.StreamPositionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasReadPosition()

public boolean hasReadPosition()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the readPosition field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Storage.ReadRowsRequest.Builder newBuilderForType()
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.ReadRowsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.ReadRowsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Storage.ReadRowsRequest.Builder toBuilder()
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException