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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Row |
|
buildPartial()
public Row buildPartial()
Returns |
Type |
Description |
Row |
|
clear()
public Row.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
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)
Overrides
clearValues()
public Row.Builder clearValues()
clone()
public Row.Builder clone()
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
|
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns |
Type |
Description |
Row |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableValues() (deprecated)
public Map<String,Value> getMutableValues()
Use alternate mutation accessors instead.
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()
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;
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()
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()
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter |
Name |
Description |
other |
Row
|
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
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)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides