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

public final class PBNode extends com.google.protobuf.GeneratedMessage implements PBNodeOrBuilder
Protobuf type io.lionweb.lioncore.protobuf.PBNode
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type io.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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    boolean
     
    int
    getAnnotations(int index)
    This is a list of indexes representing the string values corresponding to the IDs of the annotations
    int
    This is a list of indexes representing the string values corresponding to the IDs of the annotations
    This is a list of indexes representing the string values corresponding to the IDs of the annotations
    int
    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;
    repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
    repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
    static PBNode
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    int
    int32 id = 1;
    int
    Optional
    com.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;
    repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
    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;
    repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
    repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(PBNode prototype)
     
     
    protected PBNode.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static PBNode
     
    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
     
    static PBNode
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static PBNode
     
    static PBNode
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<PBNode>
     
     
    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

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getId

      public int getId()
      int32 id = 1;
      Specified by:
      getId in interface PBNodeOrBuilder
      Returns:
      The id.
    • getClassifier

      public int getClassifier()
      int32 classifier = 2;
      Specified by:
      getClassifier in interface PBNodeOrBuilder
      Returns:
      The classifier.
    • getPropertiesList

      public List<PBProperty> getPropertiesList()
      repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
      Specified by:
      getPropertiesList in interface PBNodeOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends PBPropertyOrBuilder> getPropertiesOrBuilderList()
      repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
      Specified by:
      getPropertiesOrBuilderList in interface PBNodeOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
      repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
      Specified by:
      getPropertiesCount in interface PBNodeOrBuilder
    • getProperties

      public PBProperty getProperties(int index)
      repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
      Specified by:
      getProperties in interface PBNodeOrBuilder
    • getPropertiesOrBuilder

      public PBPropertyOrBuilder getPropertiesOrBuilder(int index)
      repeated .io.lionweb.lioncore.protobuf.PBProperty properties = 3;
      Specified by:
      getPropertiesOrBuilder in interface PBNodeOrBuilder
    • getContainmentsList

      public List<PBContainment> getContainmentsList()
      repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
      Specified by:
      getContainmentsList in interface PBNodeOrBuilder
    • getContainmentsOrBuilderList

      public List<? extends PBContainmentOrBuilder> getContainmentsOrBuilderList()
      repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
      Specified by:
      getContainmentsOrBuilderList in interface PBNodeOrBuilder
    • getContainmentsCount

      public int getContainmentsCount()
      repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
      Specified by:
      getContainmentsCount in interface PBNodeOrBuilder
    • getContainments

      public PBContainment getContainments(int index)
      repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
      Specified by:
      getContainments in interface PBNodeOrBuilder
    • getContainmentsOrBuilder

      public PBContainmentOrBuilder getContainmentsOrBuilder(int index)
      repeated .io.lionweb.lioncore.protobuf.PBContainment containments = 4;
      Specified by:
      getContainmentsOrBuilder in interface PBNodeOrBuilder
    • getReferencesList

      public List<PBReference> getReferencesList()
      repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
      Specified by:
      getReferencesList in interface PBNodeOrBuilder
    • getReferencesOrBuilderList

      public List<? extends PBReferenceOrBuilder> getReferencesOrBuilderList()
      repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
      Specified by:
      getReferencesOrBuilderList in interface PBNodeOrBuilder
    • getReferencesCount

      public int getReferencesCount()
      repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
      Specified by:
      getReferencesCount in interface PBNodeOrBuilder
    • getReferences

      public PBReference getReferences(int index)
      repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
      Specified by:
      getReferences in interface PBNodeOrBuilder
    • getReferencesOrBuilder

      public PBReferenceOrBuilder getReferencesOrBuilder(int index)
      repeated .io.lionweb.lioncore.protobuf.PBReference references = 5;
      Specified by:
      getReferencesOrBuilder in interface PBNodeOrBuilder
    • getAnnotationsList

      public List<Integer> 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 interface PBNodeOrBuilder
      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 interface PBNodeOrBuilder
      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 interface PBNodeOrBuilder
      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 interface PBNodeOrBuilder
      Returns:
      The parent.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static PBNode parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PBNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PBNode parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PBNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PBNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PBNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PBNode.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PBNode.Builder newBuilder()
    • newBuilder

      public static PBNode.Builder newBuilder(PBNode prototype)
    • toBuilder

      public PBNode.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PBNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PBNode getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PBNode> parser()
    • getParserForType

      public com.google.protobuf.Parser<PBNode> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PBNode getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder