Class LabeledItem (0.41.0)

public final class LabeledItem extends GeneratedMessageV3 implements LabeledItemOrBuilder

A single item in a labeled column.

Protobuf type google.area120.tables.v1alpha1.LabeledItem

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LabeledItem getDefaultInstance()
Returns
TypeDescription
LabeledItem

getDescriptor()

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

newBuilder()

public static LabeledItem.Builder newBuilder()
Returns
TypeDescription
LabeledItem.Builder

newBuilder(LabeledItem prototype)

public static LabeledItem.Builder newBuilder(LabeledItem prototype)
Parameter
NameDescription
prototypeLabeledItem
Returns
TypeDescription
LabeledItem.Builder

parseDelimitedFrom(InputStream input)

public static LabeledItem parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LabeledItem parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LabeledItem parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LabeledItem parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LabeledItem parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LabeledItem parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LabeledItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabeledItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LabeledItem> parser()
Returns
TypeDescription
Parser<LabeledItem>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LabeledItem getDefaultInstanceForType()
Returns
TypeDescription
LabeledItem

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.

getParserForType()

public Parser<LabeledItem> getParserForType()
Returns
TypeDescription
Parser<LabeledItem>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LabeledItem.Builder newBuilderForType()
Returns
TypeDescription
LabeledItem.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LabeledItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LabeledItem.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LabeledItem.Builder toBuilder()
Returns
TypeDescription
LabeledItem.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException