Class Row (0.13.0)

public final class Row extends GeneratedMessageV3 implements RowOrBuilder

A single row in a table.

Protobuf type google.area120.tables.v1alpha1.Row

Implements

RowOrBuilder

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
TypeDescription
Row

getDescriptor()

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

newBuilder()

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

newBuilder(Row prototype)

public static Row.Builder newBuilder(Row prototype)
Parameter
NameDescription
prototypeRow
Returns
TypeDescription
Row.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsValues(String key)

public boolean containsValues(String key)

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.

map<string, .google.protobuf.Value> values = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

getName()

public String getName()

The resource name of the row. Row names have the form tables/{table}/rows/{row}. The name is ignored when creating a row.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the row. Row names have the form tables/{table}/rows/{row}. The name is ignored when creating a row.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Row> getParserForType()
Returns
TypeDescription
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValues()

public Map<String,Value> getValues()

Use #getValuesMap() instead.

Returns
TypeDescription
Map<String,Value>

getValuesCount()

public int getValuesCount()

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.

map<string, .google.protobuf.Value> values = 2;

Returns
TypeDescription
int

getValuesMap()

public Map<String,Value> getValuesMap()

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.

map<string, .google.protobuf.Value> values = 2;

Returns
TypeDescription
Map<String,Value>

getValuesOrDefault(String key, Value defaultValue)

public Value getValuesOrDefault(String key, Value defaultValue)

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.

map<string, .google.protobuf.Value> values = 2;

Parameters
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
Value

getValuesOrThrow(String key)

public Value getValuesOrThrow(String key)

The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.

map<string, .google.protobuf.Value> values = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
Value

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
TypeDescription
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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