Class Fileformat.Blob

    • Method Detail

      • getDefaultInstanceForType

        public Fileformat.Blob getDefaultInstanceForType()
      • getParserForType

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

        public boolean hasRaw()
        optional bytes raw = 1;
         No compression
         
      • getRaw

        public com.google.protobuf.ByteString getRaw()
        optional bytes raw = 1;
         No compression
         
      • hasRawSize

        public boolean hasRawSize()
        optional int32 raw_size = 2;
         When compressed, the uncompressed size
         
      • getRawSize

        public int getRawSize()
        optional int32 raw_size = 2;
         When compressed, the uncompressed size
         
      • hasZlibData

        public boolean hasZlibData()
        optional bytes zlib_data = 3;
         Possible compressed versions of the data.
         
      • getZlibData

        public com.google.protobuf.ByteString getZlibData()
        optional bytes zlib_data = 3;
         Possible compressed versions of the data.
         
      • hasLzmaData

        public boolean hasLzmaData()
        optional bytes lzma_data = 4;
         PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
         
      • getLzmaData

        public com.google.protobuf.ByteString getLzmaData()
        optional bytes lzma_data = 4;
         PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
         
      • hasOBSOLETEBzip2Data

        @Deprecated
        public boolean hasOBSOLETEBzip2Data()
        Deprecated. 
        optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
         Formerly used for bzip2 compressed data. Depreciated in 2010.
         
      • getOBSOLETEBzip2Data

        @Deprecated
        public com.google.protobuf.ByteString getOBSOLETEBzip2Data()
        Deprecated. 
        optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
         Formerly used for bzip2 compressed data. Depreciated in 2010.
         
      • hasLz4Data

        public boolean hasLz4Data()
        optional bytes lz4_data = 6;
         lz4 compressed data. It optimized for performance, pretty fast
         while still offering useful compression ratios.
         
      • getLz4Data

        public com.google.protobuf.ByteString getLz4Data()
        optional bytes lz4_data = 6;
         lz4 compressed data. It optimized for performance, pretty fast
         while still offering useful compression ratios.
         
      • isInitialized

        public final boolean isInitialized()
      • writeTo

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

        public int getSerializedSize()
      • 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