Class ProtoRows (3.10.3)

public final class ProtoRows extends GeneratedMessageV3 implements ProtoRowsOrBuilder

Protobuf type google.cloud.bigquery.storage.v1beta2.ProtoRows

Implements

ProtoRowsOrBuilder

Static Fields

SERIALIZED_ROWS_FIELD_NUMBER

public static final int SERIALIZED_ROWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProtoRows getDefaultInstance()
Returns
Type Description
ProtoRows

getDescriptor()

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

newBuilder()

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

newBuilder(ProtoRows prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProtoRows getDefaultInstanceForType()
Returns
Type Description
ProtoRows

getParserForType()

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

getSerializedRows(int index)

public ByteString getSerializedRows(int index)

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ByteString

The serializedRows at the given index.

getSerializedRowsCount()

public int getSerializedRowsCount()

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Returns
Type Description
int

The count of serializedRows.

getSerializedRowsList()

public List<ByteString> getSerializedRowsList()

A sequence of rows serialized as a Protocol Buffer.

See https://developers.google.com/protocol-buffers/docs/overview for more information on deserializing this field.

repeated bytes serialized_rows = 1;

Returns
Type Description
List<ByteString>

A list containing the serializedRows.

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 ProtoRows.Builder newBuilderForType()
Returns
Type Description
ProtoRows.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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