Class AvroRows (3.5.2)

public final class AvroRows extends GeneratedMessageV3 implements AvroRowsOrBuilder

Avro rows.

Protobuf type google.cloud.bigquery.storage.v1.AvroRows

Implements

AvroRowsOrBuilder

Static Fields

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SERIALIZED_BINARY_ROWS_FIELD_NUMBER

public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AvroRows getDefaultInstance()
Returns
Type Description
AvroRows

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AvroRows.Builder newBuilder()
Returns
Type Description
AvroRows.Builder

newBuilder(AvroRows prototype)

public static AvroRows.Builder newBuilder(AvroRows prototype)
Parameter
Name Description
prototype AvroRows
Returns
Type Description
AvroRows.Builder

parseDelimitedFrom(InputStream input)

public static AvroRows parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AvroRows parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AvroRows parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AvroRows parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AvroRows parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AvroRows parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AvroRows parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroRows
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AvroRows> parser()
Returns
Type Description
Parser<AvroRows>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AvroRows getDefaultInstanceForType()
Returns
Type Description
AvroRows

getParserForType()

public Parser<AvroRows> getParserForType()
Returns
Type Description
Parser<AvroRows>
Overrides

getRowCount() (deprecated)

public long getRowCount()

Deprecated. google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See google/cloud/bigquery/storage/v1/avro.proto;l=39

[Deprecated] The count of rows in the returning block. Please use the format-independent ReadRowsResponse.row_count instead.

int64 row_count = 2 [deprecated = true];

Returns
Type Description
long

The rowCount.

getSerializedBinaryRows()

public ByteString getSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
Type Description
ByteString

The serializedBinaryRows.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AvroRows.Builder newBuilderForType()
Returns
Type Description
AvroRows.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AvroRows.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AvroRows.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AvroRows.Builder toBuilder()
Returns
Type Description
AvroRows.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException