Class Row (0.51.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
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
Type Description
Row

getDescriptor()

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

newBuilder()

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

newBuilder(Row prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Row> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValues() (deprecated)

public Map<String,Value> getValues()

Use #getValuesMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue Value
Returns
Type Description
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
Name Description
key String
Returns
Type Description
Value

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
Type Description
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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