Class ProtoRows (3.4.0)

public final class ProtoRows extends GeneratedMessageV3 implements ProtoRowsOrBuilder

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

Implements

ProtoRowsOrBuilder

Static Fields

SERIALIZED_ROWS_FIELD_NUMBER

public static final int SERIALIZED_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProtoRows getDefaultInstance()
Returns
TypeDescription
ProtoRows

getDescriptor()

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

newBuilder()

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

newBuilder(ProtoRows prototype)

public static ProtoRows.Builder newBuilder(ProtoRows prototype)
Parameter
NameDescription
prototypeProtoRows
Returns
TypeDescription
ProtoRows.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProtoRows getDefaultInstanceForType()
Returns
TypeDescription
ProtoRows

getParserForType()

public Parser<ProtoRows> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<ByteString>

A list containing the serializedRows.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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