Class Row.Builder (0.57.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Row.Builder
Overrides

build()

public Row build()
Returns
Type Description
Row

buildPartial()

public Row buildPartial()
Returns
Type Description
Row

clear()

public Row.Builder clear()
Returns
Type Description
Row.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Row.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Row.Builder
Overrides

clearValues()

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

clone()

public Row.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableValues() (deprecated)

public Map<String,Value> getMutableValues()

Use alternate mutation accessors instead.

Returns
Type Description
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
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.

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

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
Name Description
other Row
Returns
Type Description
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,Value>
Returns
Type Description
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
Name Description
key String
value Value
Returns
Type Description
Row.Builder

putValuesBuilderIfAbsent(String key)

public Value.Builder putValuesBuilderIfAbsent(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
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
Name Description
key String
Returns
Type Description
Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Row.Builder
Overrides