Package crosby.binary

Class Fileformat.Blob

    • 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
      • 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.
      • hasRaw

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

        public com.google.protobuf.ByteString getRaw()
         No compression
         
        bytes raw = 1;
        Specified by:
        getRaw in interface Fileformat.BlobOrBuilder
        Returns:
        The raw.
      • hasZlibData

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

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

        public boolean hasLzmaData()
         For LZMA compressed data (optional)
         
        bytes lzma_data = 4;
        Specified by:
        hasLzmaData in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the lzmaData field is set.
      • getLzmaData

        public com.google.protobuf.ByteString getLzmaData()
         For LZMA compressed data (optional)
         
        bytes lzma_data = 4;
        Specified by:
        getLzmaData in interface Fileformat.BlobOrBuilder
        Returns:
        The lzmaData.
      • hasOBSOLETEBzip2Data

        @Deprecated
        public boolean hasOBSOLETEBzip2Data()
        Deprecated.
         Formerly used for bzip2 compressed data. Deprecated in 2010.
         
        bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
        Specified by:
        hasOBSOLETEBzip2Data in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the oBSOLETEBzip2Data field is set.
      • getOBSOLETEBzip2Data

        @Deprecated
        public com.google.protobuf.ByteString getOBSOLETEBzip2Data()
        Deprecated.
         Formerly used for bzip2 compressed data. Deprecated in 2010.
         
        bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
        Specified by:
        getOBSOLETEBzip2Data in interface Fileformat.BlobOrBuilder
        Returns:
        The oBSOLETEBzip2Data.
      • hasLz4Data

        public boolean hasLz4Data()
         For LZ4 compressed data (optional)
         
        bytes lz4_data = 6;
        Specified by:
        hasLz4Data in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the lz4Data field is set.
      • getLz4Data

        public com.google.protobuf.ByteString getLz4Data()
         For LZ4 compressed data (optional)
         
        bytes lz4_data = 6;
        Specified by:
        getLz4Data in interface Fileformat.BlobOrBuilder
        Returns:
        The lz4Data.
      • hasZstdData

        public boolean hasZstdData()
         For ZSTD compressed data (optional)
         
        bytes zstd_data = 7;
        Specified by:
        hasZstdData in interface Fileformat.BlobOrBuilder
        Returns:
        Whether the zstdData field is set.
      • getZstdData

        public com.google.protobuf.ByteString getZstdData()
         For ZSTD compressed data (optional)
         
        bytes zstd_data = 7;
        Specified by:
        getZstdData in interface Fileformat.BlobOrBuilder
        Returns:
        The zstdData.
      • 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 Fileformat.Blob parseFrom​(ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected Fileformat.Blob.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • parser

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

        public com.google.protobuf.Parser<Fileformat.Blob> 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 Fileformat.Blob getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder