Class LabeledItem.Builder (0.46.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabeledItem build()
Returns
Type Description
LabeledItem

buildPartial()

public LabeledItem buildPartial()
Returns
Type Description
LabeledItem

clear()

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

clearField(Descriptors.FieldDescriptor field)

public LabeledItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LabeledItem.Builder
Overrides

clearId()

public LabeledItem.Builder clearId()

Internal id associated with the item.

string id = 2;

Returns
Type Description
LabeledItem.Builder

This builder for chaining.

clearName()

public LabeledItem.Builder clearName()

Display string as entered by user.

string name = 1;

Returns
Type Description
LabeledItem.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LabeledItem.Builder clone()
Returns
Type Description
LabeledItem.Builder
Overrides

getDefaultInstanceForType()

public LabeledItem getDefaultInstanceForType()
Returns
Type Description
LabeledItem

getDescriptorForType()

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

getId()

public String 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()

public String 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LabeledItem other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LabeledItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LabeledItem.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The bytes for id to set.

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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