Interface StringIntLabelMapOuterClass.StringIntLabelMapItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringIntLabelMapOuterClass.StringIntLabelMapItem
,StringIntLabelMapOuterClass.StringIntLabelMapItem.Builder
- Enclosing class:
- StringIntLabelMapOuterClass
public static interface StringIntLabelMapOuterClass.StringIntLabelMapItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionHuman readable string label.com.google.protobuf.ByteString
Human readable string label.int
getId()
Integer id that maps to the string name above.getName()
String name.com.google.protobuf.ByteString
String name.boolean
Human readable string label.boolean
hasId()
Integer id that maps to the string name above.boolean
hasName()
String name.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()String name. The most common practice is to set this to a MID or synsets id. Synset: a set of synonyms that share a common meaning. https://en.wikipedia.org/wiki/WordNet
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()String name. The most common practice is to set this to a MID or synsets id. Synset: a set of synonyms that share a common meaning. https://en.wikipedia.org/wiki/WordNet
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()String name. The most common practice is to set this to a MID or synsets id. Synset: a set of synonyms that share a common meaning. https://en.wikipedia.org/wiki/WordNet
optional string name = 1;
- Returns:
- The bytes for name.
-
hasId
boolean hasId()Integer id that maps to the string name above. Label ids should start from 1.
optional int32 id = 2;
- Returns:
- Whether the id field is set.
-
getId
int getId()Integer id that maps to the string name above. Label ids should start from 1.
optional int32 id = 2;
- Returns:
- The id.
-
hasDisplayName
boolean hasDisplayName()Human readable string label.
optional string display_name = 3;
- Returns:
- Whether the displayName field is set.
-
getDisplayName
String getDisplayName()Human readable string label.
optional string display_name = 3;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Human readable string label.
optional string display_name = 3;
- Returns:
- The bytes for displayName.
-