Class LabeledItem.Builder (0.24.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabeledItem build()
Returns
TypeDescription
LabeledItem

buildPartial()

public LabeledItem buildPartial()
Returns
TypeDescription
LabeledItem

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public LabeledItem.Builder clearId()

Internal id associated with the item.

string id = 2;

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

clearName()

public LabeledItem.Builder clearName()

Display string as entered by user.

string name = 1;

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LabeledItem getDefaultInstanceForType()
Returns
TypeDescription
LabeledItem

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Internal id associated with the item.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Internal id associated with the item.

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getName()

public String getName()

Display string as entered by user.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Display string as entered by user.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LabeledItem other)

public LabeledItem.Builder mergeFrom(LabeledItem other)
Parameter
NameDescription
otherLabeledItem
Returns
TypeDescription
LabeledItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public LabeledItem.Builder setId(String value)

Internal id associated with the item.

string id = 2;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

setIdBytes(ByteString value)

public LabeledItem.Builder setIdBytes(ByteString value)

Internal id associated with the item.

string id = 2;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

setName(String value)

public LabeledItem.Builder setName(String value)

Display string as entered by user.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LabeledItem.Builder setNameBytes(ByteString value)

Display string as entered by user.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
LabeledItem.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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