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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LabeledItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LabeledItem build()
Returns
buildPartial()
public LabeledItem buildPartial()
Returns
clear()
public LabeledItem.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LabeledItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearId()
public LabeledItem.Builder clearId()
Internal id associated with the item.
string id = 2;
Returns
clearName()
public LabeledItem.Builder clearName()
Display string as entered by user.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LabeledItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LabeledItem.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LabeledItem getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getId()
Internal id associated with the item.
string id = 2;
Returns
getIdBytes()
public ByteString getIdBytes()
Internal id associated with the item.
string id = 2;
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LabeledItem other)
public LabeledItem.Builder mergeFrom(LabeledItem other)
Parameter
Returns
public LabeledItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LabeledItem.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LabeledItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LabeledItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LabeledItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LabeledItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides