Class AvroProto.AvroRows (2.47.0)

public static final class AvroProto.AvroRows extends GeneratedMessageV3 implements AvroProto.AvroRowsOrBuilder

Avro rows.

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

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 AvroProto.AvroRows getDefaultInstance()
Returns
TypeDescription
AvroProto.AvroRows

getDescriptor()

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

newBuilder()

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

newBuilder(AvroProto.AvroRows prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AvroProto.AvroRows getDefaultInstanceForType()
Returns
TypeDescription
AvroProto.AvroRows

getParserForType()

public Parser<AvroProto.AvroRows> getParserForType()
Returns
TypeDescription
Parser<AvroRows>
Overrides

getRowCount()

public long getRowCount()

The count of rows in the returning block.

int64 row_count = 2;

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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