Package io.lionweb.lioncore.protobuf
Class PBNode
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.lionweb.lioncore.protobuf.PBNode
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PBNodeOrBuilder
,Serializable
Protobuf type
io.lionweb.lioncore.protobuf.PBNode
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typeio.lionweb.lioncore.protobuf.PBNode
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getAnnotations
(int index) This is a list of indexes representing the string values corresponding to the IDs of the annotationsint
This is a list of indexes representing the string values corresponding to the IDs of the annotationsThis is a list of indexes representing the string values corresponding to the IDs of the annotationsint
int32 classifier = 2;
getContainments
(int index) repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
int
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
getContainmentsOrBuilder
(int index) repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
List<? extends PBContainmentOrBuilder>
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
static PBNode
static final com.google.protobuf.Descriptors.Descriptor
int
getId()
int32 id = 1;
int
Optionalcom.google.protobuf.Parser<PBNode>
getProperties
(int index) repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
int
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
getPropertiesOrBuilder
(int index) repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
List<? extends PBPropertyOrBuilder>
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
getReferences
(int index) repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
int
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
getReferencesOrBuilder
(int index) repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
List<? extends PBReferenceOrBuilder>
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
int
int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static PBNode.Builder
static PBNode.Builder
newBuilder
(PBNode prototype) protected PBNode.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static PBNode
parseDelimitedFrom
(InputStream input) static PBNode
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNode
parseFrom
(byte[] data) static PBNode
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNode
parseFrom
(com.google.protobuf.ByteString data) static PBNode
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNode
parseFrom
(com.google.protobuf.CodedInputStream input) static PBNode
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNode
parseFrom
(InputStream input) static PBNode
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNode
parseFrom
(ByteBuffer data) static PBNode
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PBNode>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
CLASSIFIER_FIELD_NUMBER
public static final int CLASSIFIER_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
CONTAINMENTS_FIELD_NUMBER
public static final int CONTAINMENTS_FIELD_NUMBER- See Also:
-
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getId
public int getId()int32 id = 1;
- Specified by:
getId
in interfacePBNodeOrBuilder
- Returns:
- The id.
-
getClassifier
public int getClassifier()int32 classifier = 2;
- Specified by:
getClassifier
in interfacePBNodeOrBuilder
- Returns:
- The classifier.
-
getPropertiesList
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
- Specified by:
getPropertiesList
in interfacePBNodeOrBuilder
-
getPropertiesOrBuilderList
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
- Specified by:
getPropertiesOrBuilderList
in interfacePBNodeOrBuilder
-
getPropertiesCount
public int getPropertiesCount()repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
- Specified by:
getPropertiesCount
in interfacePBNodeOrBuilder
-
getProperties
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
- Specified by:
getProperties
in interfacePBNodeOrBuilder
-
getPropertiesOrBuilder
repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
- Specified by:
getPropertiesOrBuilder
in interfacePBNodeOrBuilder
-
getContainmentsList
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
- Specified by:
getContainmentsList
in interfacePBNodeOrBuilder
-
getContainmentsOrBuilderList
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
- Specified by:
getContainmentsOrBuilderList
in interfacePBNodeOrBuilder
-
getContainmentsCount
public int getContainmentsCount()repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
- Specified by:
getContainmentsCount
in interfacePBNodeOrBuilder
-
getContainments
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
- Specified by:
getContainments
in interfacePBNodeOrBuilder
-
getContainmentsOrBuilder
repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
- Specified by:
getContainmentsOrBuilder
in interfacePBNodeOrBuilder
-
getReferencesList
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
- Specified by:
getReferencesList
in interfacePBNodeOrBuilder
-
getReferencesOrBuilderList
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
- Specified by:
getReferencesOrBuilderList
in interfacePBNodeOrBuilder
-
getReferencesCount
public int getReferencesCount()repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
- Specified by:
getReferencesCount
in interfacePBNodeOrBuilder
-
getReferences
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
- Specified by:
getReferences
in interfacePBNodeOrBuilder
-
getReferencesOrBuilder
repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
- Specified by:
getReferencesOrBuilder
in interfacePBNodeOrBuilder
-
getAnnotationsList
This is a list of indexes representing the string values corresponding to the IDs of the annotations
repeated int32 annotations = 6;
- Specified by:
getAnnotationsList
in interfacePBNodeOrBuilder
- Returns:
- A list containing the annotations.
-
getAnnotationsCount
public int getAnnotationsCount()This is a list of indexes representing the string values corresponding to the IDs of the annotations
repeated int32 annotations = 6;
- Specified by:
getAnnotationsCount
in interfacePBNodeOrBuilder
- Returns:
- The count of annotations.
-
getAnnotations
public int getAnnotations(int index) This is a list of indexes representing the string values corresponding to the IDs of the annotations
repeated int32 annotations = 6;
- Specified by:
getAnnotations
in interfacePBNodeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The annotations at the given index.
-
getParent
public int getParent()Optional
int32 parent = 7;
- Specified by:
getParent
in interfacePBNodeOrBuilder
- Returns:
- The parent.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PBNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PBNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PBNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PBNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PBNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PBNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PBNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PBNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PBNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PBNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-