Class AvroRows (2.34.1)

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
TypeDescription
int

SERIALIZED_BINARY_ROWS_FIELD_NUMBER

public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AvroRows getDefaultInstance()
Returns
TypeDescription
AvroRows

getDescriptor()

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

newBuilder()

public static AvroRows.Builder newBuilder()
Returns
TypeDescription
AvroRows.Builder

newBuilder(AvroRows prototype)

public static AvroRows.Builder newBuilder(AvroRows prototype)
Parameter
NameDescription
prototypeAvroRows
Returns
TypeDescription
AvroRows.Builder

parseDelimitedFrom(InputStream input)

public static AvroRows parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AvroRows
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AvroRows parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AvroRows
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AvroRows parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AvroRows
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AvroRows parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AvroRows
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AvroRows parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AvroRows
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AvroRows> parser()
Returns
TypeDescription
Parser<AvroRows>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AvroRows getDefaultInstanceForType()
Returns
TypeDescription
AvroRows

getParserForType()

public Parser<AvroRows> getParserForType()
Returns
TypeDescription
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
TypeDescription
long

The rowCount.

getSerializedBinaryRows()

public ByteString getSerializedBinaryRows()

Binary serialized rows in a block.

bytes serialized_binary_rows = 1;

Returns
TypeDescription
ByteString

The serializedBinaryRows.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 AvroRows.Builder newBuilderForType()
Returns
TypeDescription
AvroRows.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AvroRows.Builder toBuilder()
Returns
TypeDescription
AvroRows.Builder

writeTo(CodedOutputStream output)

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