Class Row.Builder (0.22.0)

public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> implements RowOrBuilder

A single row in a table.

Protobuf type google.area120.tables.v1alpha1.Row

Implements

RowOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Row.Builder
Overrides

build()

public Row build()
Returns
TypeDescription
Row

buildPartial()

public Row buildPartial()
Returns
TypeDescription
Row

clear()

public Row.Builder clear()
Returns
TypeDescription
Row.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Row.Builder
Overrides

clearName()

public Row.Builder clearName()

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
Row.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Row.Builder
Overrides

clearValues()

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

clone()

public Row.Builder clone()
Returns
TypeDescription
Row.Builder
Overrides

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

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableValues()

public Map<String,Value> getMutableValues()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Value>

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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
NameDescription
otherRow
Returns
TypeDescription
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Row.Builder
Overrides

putAllValues(Map<String,Value> values)

public Row.Builder putAllValues(Map<String,Value> values)

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
valuesMap<String,Value>
Returns
TypeDescription
Row.Builder

putValues(String key, Value value)

public Row.Builder putValues(String key, Value value)

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
valueValue
Returns
TypeDescription
Row.Builder

removeValues(String key)

public Row.Builder removeValues(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
Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Row.Builder
Overrides

setName(String value)

public Row.Builder setName(String value)

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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Row.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Row.Builder setNameBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Row.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Row.Builder
Overrides