Class ThreeDNode

  • All Implemented Interfaces:
    ThreeDNodeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ThreeDNode
    extends com.google.protobuf.GeneratedMessageV3
    implements ThreeDNodeOrBuilder
    Protobuf type com.cognite.beam.proto.ThreeDNode
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasId

        public boolean hasId()
        optional int64 id = 1;
        Specified by:
        hasId in interface ThreeDNodeOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
        optional int64 id = 1;
        Specified by:
        getId in interface ThreeDNodeOrBuilder
        Returns:
        The id.
      • hasTreeIndex

        public boolean hasTreeIndex()
        optional int64 treeIndex = 2;
        Specified by:
        hasTreeIndex in interface ThreeDNodeOrBuilder
        Returns:
        Whether the treeIndex field is set.
      • getTreeIndex

        public long getTreeIndex()
        optional int64 treeIndex = 2;
        Specified by:
        getTreeIndex in interface ThreeDNodeOrBuilder
        Returns:
        The treeIndex.
      • hasParentId

        public boolean hasParentId()
        optional int64 parentId = 3;
        Specified by:
        hasParentId in interface ThreeDNodeOrBuilder
        Returns:
        Whether the parentId field is set.
      • getParentId

        public long getParentId()
        optional int64 parentId = 3;
        Specified by:
        getParentId in interface ThreeDNodeOrBuilder
        Returns:
        The parentId.
      • hasDepth

        public boolean hasDepth()
        optional int64 depth = 4;
        Specified by:
        hasDepth in interface ThreeDNodeOrBuilder
        Returns:
        Whether the depth field is set.
      • getDepth

        public long getDepth()
        optional int64 depth = 4;
        Specified by:
        getDepth in interface ThreeDNodeOrBuilder
        Returns:
        The depth.
      • hasName

        public boolean hasName()
        optional string name = 5;
        Specified by:
        hasName in interface ThreeDNodeOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 5;
        Specified by:
        getNameBytes in interface ThreeDNodeOrBuilder
        Returns:
        The bytes for name.
      • hasSubtreeSize

        public boolean hasSubtreeSize()
        optional int64 subtreeSize = 6;
        Specified by:
        hasSubtreeSize in interface ThreeDNodeOrBuilder
        Returns:
        Whether the subtreeSize field is set.
      • getSubtreeSize

        public long getSubtreeSize()
        optional int64 subtreeSize = 6;
        Specified by:
        getSubtreeSize in interface ThreeDNodeOrBuilder
        Returns:
        The subtreeSize.
      • hasProperties

        public boolean hasProperties()
        optional .com.cognite.beam.proto.ThreeDNode.Properties properties = 7;
        Specified by:
        hasProperties in interface ThreeDNodeOrBuilder
        Returns:
        Whether the properties field is set.
      • hasBoundingBox

        public boolean hasBoundingBox()
        optional .com.cognite.beam.proto.ThreeDNode.BoundingBox boundingBox = 8;
        Specified by:
        hasBoundingBox in interface ThreeDNodeOrBuilder
        Returns:
        Whether the boundingBox field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 ThreeDNode parseFrom​(ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ThreeDNode parseFrom​(ByteBuffer data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ThreeDNode parseFrom​(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ThreeDNode parseFrom​(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ThreeDNode parseFrom​(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ThreeDNode parseFrom​(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

        protected ThreeDNode.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static ThreeDNode getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<ThreeDNode> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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