Package io.lionweb.protobuf
Class PBNode
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.lionweb.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.protobuf.PBNode- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeio.lionweb.protobuf.PBNodeNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetAnnotations(int index) This is a list of indexes representing the string values corresponding to the IDs of the annotationsintThis 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 annotationsintint32 classifier = 2;getContainments(int index) repeated .io.lionweb.protobuf.PBContainment containments = 4;intrepeated .io.lionweb.protobuf.PBContainment containments = 4;repeated .io.lionweb.protobuf.PBContainment containments = 4;getContainmentsOrBuilder(int index) repeated .io.lionweb.protobuf.PBContainment containments = 4;List<? extends PBContainmentOrBuilder>repeated .io.lionweb.protobuf.PBContainment containments = 4;static PBNodestatic final com.google.protobuf.Descriptors.DescriptorintgetId()int32 id = 1;intOptionalcom.google.protobuf.Parser<PBNode>getProperties(int index) repeated .io.lionweb.protobuf.PBProperty properties = 3;intrepeated .io.lionweb.protobuf.PBProperty properties = 3;repeated .io.lionweb.protobuf.PBProperty properties = 3;getPropertiesOrBuilder(int index) repeated .io.lionweb.protobuf.PBProperty properties = 3;List<? extends PBPropertyOrBuilder>repeated .io.lionweb.protobuf.PBProperty properties = 3;getReferences(int index) repeated .io.lionweb.protobuf.PBReference references = 5;intrepeated .io.lionweb.protobuf.PBReference references = 5;repeated .io.lionweb.protobuf.PBReference references = 5;getReferencesOrBuilder(int index) repeated .io.lionweb.protobuf.PBReference references = 5;List<? extends PBReferenceOrBuilder>repeated .io.lionweb.protobuf.PBReference references = 5;intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PBNode.Builderstatic PBNode.BuildernewBuilder(PBNode prototype) protected PBNode.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PBNodeparseDelimitedFrom(InputStream input) static PBNodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNodeparseFrom(byte[] data) static PBNodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNodeparseFrom(com.google.protobuf.ByteString data) static PBNodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNodeparseFrom(com.google.protobuf.CodedInputStream input) static PBNodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNodeparseFrom(InputStream input) static PBNodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PBNodeparseFrom(ByteBuffer data) static PBNodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PBNode>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
public int getId()int32 id = 1;- Specified by:
getIdin interfacePBNodeOrBuilder- Returns:
- The id.
-
getClassifier
public int getClassifier()int32 classifier = 2;- Specified by:
getClassifierin interfacePBNodeOrBuilder- Returns:
- The classifier.
-
getPropertiesList
repeated .io.lionweb.protobuf.PBProperty properties = 3;- Specified by:
getPropertiesListin interfacePBNodeOrBuilder
-
getPropertiesOrBuilderList
repeated .io.lionweb.protobuf.PBProperty properties = 3;- Specified by:
getPropertiesOrBuilderListin interfacePBNodeOrBuilder
-
getPropertiesCount
public int getPropertiesCount()repeated .io.lionweb.protobuf.PBProperty properties = 3;- Specified by:
getPropertiesCountin interfacePBNodeOrBuilder
-
getProperties
repeated .io.lionweb.protobuf.PBProperty properties = 3;- Specified by:
getPropertiesin interfacePBNodeOrBuilder
-
getPropertiesOrBuilder
repeated .io.lionweb.protobuf.PBProperty properties = 3;- Specified by:
getPropertiesOrBuilderin interfacePBNodeOrBuilder
-
getContainmentsList
repeated .io.lionweb.protobuf.PBContainment containments = 4;- Specified by:
getContainmentsListin interfacePBNodeOrBuilder
-
getContainmentsOrBuilderList
repeated .io.lionweb.protobuf.PBContainment containments = 4;- Specified by:
getContainmentsOrBuilderListin interfacePBNodeOrBuilder
-
getContainmentsCount
public int getContainmentsCount()repeated .io.lionweb.protobuf.PBContainment containments = 4;- Specified by:
getContainmentsCountin interfacePBNodeOrBuilder
-
getContainments
repeated .io.lionweb.protobuf.PBContainment containments = 4;- Specified by:
getContainmentsin interfacePBNodeOrBuilder
-
getContainmentsOrBuilder
repeated .io.lionweb.protobuf.PBContainment containments = 4;- Specified by:
getContainmentsOrBuilderin interfacePBNodeOrBuilder
-
getReferencesList
repeated .io.lionweb.protobuf.PBReference references = 5;- Specified by:
getReferencesListin interfacePBNodeOrBuilder
-
getReferencesOrBuilderList
repeated .io.lionweb.protobuf.PBReference references = 5;- Specified by:
getReferencesOrBuilderListin interfacePBNodeOrBuilder
-
getReferencesCount
public int getReferencesCount()repeated .io.lionweb.protobuf.PBReference references = 5;- Specified by:
getReferencesCountin interfacePBNodeOrBuilder
-
getReferences
repeated .io.lionweb.protobuf.PBReference references = 5;- Specified by:
getReferencesin interfacePBNodeOrBuilder
-
getReferencesOrBuilder
repeated .io.lionweb.protobuf.PBReference references = 5;- Specified by:
getReferencesOrBuilderin 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:
getAnnotationsListin 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:
getAnnotationsCountin 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:
getAnnotationsin 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:
getParentin interfacePBNodeOrBuilder- Returns:
- The parent.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PBNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-