public static final class LabeledItem.Builder extends GeneratedMessageV3.Builder<LabeledItem.Builder> implements LabeledItemOrBuilder
A single item in a labeled column.
Protobuf type google.area120.tables.v1alpha1.LabeledItem
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 LabeledItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LabeledItem build()
buildPartial()
public LabeledItem buildPartial()
clear()
public LabeledItem.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LabeledItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public LabeledItem.Builder clearId()
Internal id associated with the item.
string id = 2;
clearName()
public LabeledItem.Builder clearName()
Display string as entered by user.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public LabeledItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LabeledItem.Builder clone()
Overrides
getDefaultInstanceForType()
public LabeledItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getId()
Internal id associated with the item.
string id = 2;
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Internal id associated with the item.
string id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getName()
Display string as entered by user.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Display string as entered by user.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LabeledItem other)
public LabeledItem.Builder mergeFrom(LabeledItem other)
public LabeledItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LabeledItem.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LabeledItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LabeledItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public LabeledItem.Builder setId(String value)
Internal id associated with the item.
string id = 2;
Parameter |
Name |
Description |
value |
String
The id to set.
|
setIdBytes(ByteString value)
public LabeledItem.Builder setIdBytes(ByteString value)
Internal id associated with the item.
string id = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for id to set.
|
setName(String value)
public LabeledItem.Builder setName(String value)
Display string as entered by user.
string name = 1;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public LabeledItem.Builder setNameBytes(ByteString value)
Display string as entered by user.
string name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LabeledItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LabeledItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides