Package crosby.binary

Class Fileformat.Blob

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Fileformat.BlobOrBuilder, java.io.Serializable
    Enclosing class:
    Fileformat

    public static final class Fileformat.Blob
    extends com.google.protobuf.GeneratedMessageV3
    implements Fileformat.BlobOrBuilder
    Protobuf type OSMPBF.Blob
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Fileformat.Blob.Builder
      Protobuf type OSMPBF.Blob
      static class  Fileformat.Blob.DataCase  
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Blob()  
      private Blob​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      private Blob​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      Fileformat.Blob.DataCase getDataCase()  
      static Fileformat.Blob getDefaultInstance()  
      Fileformat.Blob getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.ByteString getLz4Data()
      For LZ4 compressed data (optional)
      com.google.protobuf.ByteString getLzmaData()
      For LZMA compressed data (optional)
      com.google.protobuf.ByteString getOBSOLETEBzip2Data()
      Deprecated.
      com.google.protobuf.Parser<Fileformat.Blob> getParserForType()  
      com.google.protobuf.ByteString getRaw()
      No compression
      int getRawSize()
      When compressed, the uncompressed size
      int getSerializedSize()  
      com.google.protobuf.UnknownFieldSet getUnknownFields()  
      com.google.protobuf.ByteString getZlibData()
      Possible compressed versions of the data.
      com.google.protobuf.ByteString getZstdData()
      For ZSTD compressed data (optional)
      int hashCode()  
      boolean hasLz4Data()
      For LZ4 compressed data (optional)
      boolean hasLzmaData()
      For LZMA compressed data (optional)
      boolean hasOBSOLETEBzip2Data()
      Deprecated.
      boolean hasRaw()
      No compression
      boolean hasRawSize()
      When compressed, the uncompressed size
      boolean hasZlibData()
      Possible compressed versions of the data.
      boolean hasZstdData()
      For ZSTD compressed data (optional)
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static Fileformat.Blob.Builder newBuilder()  
      static Fileformat.Blob.Builder newBuilder​(Fileformat.Blob prototype)  
      Fileformat.Blob.Builder newBuilderForType()  
      protected Fileformat.Blob.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Fileformat.Blob parseDelimitedFrom​(java.io.InputStream input)  
      static Fileformat.Blob parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Fileformat.Blob parseFrom​(byte[] data)  
      static Fileformat.Blob parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Fileformat.Blob parseFrom​(com.google.protobuf.ByteString data)  
      static Fileformat.Blob parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Fileformat.Blob parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Fileformat.Blob parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Fileformat.Blob parseFrom​(java.io.InputStream input)  
      static Fileformat.Blob parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Fileformat.Blob parseFrom​(java.nio.ByteBuffer data)  
      static Fileformat.Blob parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Fileformat.Blob> parser()  
      Fileformat.Blob.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • dataCase_

        private int dataCase_
      • data_

        private java.lang.Object data_
      • rawSize_

        private int rawSize_
      • OBSOLETE_BZIP2_DATA_FIELD_NUMBER

        public static final int OBSOLETE_BZIP2_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • PARSER

        @Deprecated
        public static final com.google.protobuf.Parser<Fileformat.Blob> PARSER
        Deprecated.
    • Constructor Detail

      • Blob

        private Blob​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • Blob

        private Blob()
      • Blob

        private Blob​(com.google.protobuf.CodedInputStream input,
                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
    • Method Detail

      • newInstance

        protected java.lang.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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Fileformat.Blob parseFrom​(java.nio.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​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Fileformat.Blob parseFrom​(java.io.InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Fileformat.Blob parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Fileformat.Blob parseDelimitedFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Fileformat.Blob parseFrom​(com.google.protobuf.CodedInputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Fileformat.Blob parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.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