Class Fileformat.Blob

    • Method Detail

      • getDescriptor

        public static final proto4.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class proto4.GeneratedMessage
      • hasRaw

        public boolean hasRaw()
         No compression
         
        optional bytes raw = 1;
        Specified by:
        hasRaw in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the raw field is set.
      • getRaw

        public proto4.ByteString getRaw()
         No compression
         
        optional bytes raw = 1;
        Specified by:
        getRaw in interface Fileformat.BlobOrBuilder
        Returns:
        The raw.
      • hasRawSize

        public boolean hasRawSize()
         When compressed, the uncompressed size
         
        optional int32 raw_size = 2;
        Specified by:
        hasRawSize in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the rawSize field is set.
      • getRawSize

        public int getRawSize()
         When compressed, the uncompressed size
         
        optional int32 raw_size = 2;
        Specified by:
        getRawSize in interface Fileformat.BlobOrBuilder
        Returns:
        The rawSize.
      • hasZlibData

        public boolean hasZlibData()
         Possible compressed versions of the data.
         
        optional bytes zlib_data = 3;
        Specified by:
        hasZlibData in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the zlibData field is set.
      • getZlibData

        public proto4.ByteString getZlibData()
         Possible compressed versions of the data.
         
        optional bytes zlib_data = 3;
        Specified by:
        getZlibData in interface Fileformat.BlobOrBuilder
        Returns:
        The zlibData.
      • hasLzmaData

        public boolean hasLzmaData()
         PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
         
        optional bytes lzma_data = 4;
        Specified by:
        hasLzmaData in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the lzmaData field is set.
      • getLzmaData

        public proto4.ByteString getLzmaData()
         PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
         
        optional bytes lzma_data = 4;
        Specified by:
        getLzmaData in interface Fileformat.BlobOrBuilder
        Returns:
        The lzmaData.
      • hasOBSOLETEBzip2Data

        @Deprecated
        public boolean hasOBSOLETEBzip2Data()
        Deprecated.
        Blob.OBSOLETE_bzip2_data is deprecated. See main/java/org/apache/sedona/proto/fileformat.proto;l=32
         Formerly used for bzip2 compressed data. Depreciated in 2010.
         
        optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
        Specified by:
        hasOBSOLETEBzip2Data in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the oBSOLETEBzip2Data field is set.
      • getOBSOLETEBzip2Data

        @Deprecated
        public proto4.ByteString getOBSOLETEBzip2Data()
        Deprecated.
        Blob.OBSOLETE_bzip2_data is deprecated. See main/java/org/apache/sedona/proto/fileformat.proto;l=32
         Formerly used for bzip2 compressed data. Depreciated in 2010.
         
        optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
        Specified by:
        getOBSOLETEBzip2Data in interface Fileformat.BlobOrBuilder
        Returns:
        The oBSOLETEBzip2Data.
      • isInitialized

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

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

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

        public boolean equals​(Object obj)
        Specified by:
        equals in interface proto4.Message
        Overrides:
        equals in class proto4.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface proto4.Message
        Overrides:
        hashCode in class proto4.AbstractMessage
      • parseFrom

        public static Fileformat.Blob parseFrom​(ByteBuffer data)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(ByteBuffer data,
                                                proto4.ExtensionRegistryLite extensionRegistry)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(proto4.ByteString data)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(proto4.ByteString data,
                                                proto4.ExtensionRegistryLite extensionRegistry)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(byte[] data)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(byte[] data,
                                                proto4.ExtensionRegistryLite extensionRegistry)
                                         throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • newBuilderForType

        public Fileformat.Blob.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface proto4.Message
        Specified by:
        newBuilderForType in interface proto4.MessageLite
      • toBuilder

        public Fileformat.Blob.Builder toBuilder()
        Specified by:
        toBuilder in interface proto4.Message
        Specified by:
        toBuilder in interface proto4.MessageLite
      • newBuilderForType

        protected Fileformat.Blob.Builder newBuilderForType​(proto4.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class proto4.AbstractMessage
      • getParserForType

        public proto4.Parser<Fileformat.Blob> getParserForType()
        Specified by:
        getParserForType in interface proto4.Message
        Specified by:
        getParserForType in interface proto4.MessageLite
        Overrides:
        getParserForType in class proto4.GeneratedMessage
      • getDefaultInstanceForType

        public Fileformat.Blob getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageOrBuilder