public static final class Fileformat.Blob extends GeneratedMessageLiteimplements Fileformat .BlobOrBuilder
OSMPBF.Blob
Modifier and Type | Class and Description |
---|---|
static class |
Fileformat
Protobuf type
OSMPBF.Blob
|
GeneratedMessageLite.ExtendableBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder <MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage >, GeneratedMessageLite.GeneratedExtension <ContainingType extends MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
LZ4_DATA_FIELD_NUMBER
|
static int |
LZMA_DATA_FIELD_NUMBER
|
static int |
OBSOLETE_BZIP2_DATA_FIELD_NUMBER
|
static Parser |
PARSER
|
static int |
RAW_FIELD_NUMBER
|
static int |
RAW_SIZE_FIELD_NUMBER
|
static int |
ZLIB_DATA_FIELD_NUMBER
|
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Fileformat .Blob > PARSER
public static final int RAW_FIELD_NUMBER
public static final int RAW_SIZE_FIELD_NUMBER
public static final int ZLIB_DATA_FIELD_NUMBER
public static final int LZMA_DATA_FIELD_NUMBER
public static final int OBSOLETE_BZIP2_DATA_FIELD_NUMBER
public static final int LZ4_DATA_FIELD_NUMBER
public static Fileformat.Blob getDefaultInstance()
public Fileformat.Blob getDefaultInstanceForType()
public Parser<Fileformat .Blob > getParserForType()
public boolean hasRaw()
optional bytes raw = 1;
No compression
public ByteStringgetRaw()
optional bytes raw = 1;
No compression
public boolean hasRawSize()
optional int32 raw_size = 2;
When compressed, the uncompressed size
public int getRawSize()
optional int32 raw_size = 2;
When compressed, the uncompressed size
public boolean hasZlibData()
optional bytes zlib_data = 3;
Possible compressed versions of the data.
public ByteStringgetZlibData()
optional bytes zlib_data = 3;
Possible compressed versions of the data.
public boolean hasLzmaData()
optional bytes lzma_data = 4;
PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
public ByteStringgetLzmaData()
optional bytes lzma_data = 4;
PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
@Deprecated public boolean hasOBSOLETEBzip2Data()
optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
Formerly used for bzip2 compressed data. Depreciated in 2010.
@Deprecated public ByteStringgetOBSOLETEBzip2Data()
optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
Formerly used for bzip2 compressed data. Depreciated in 2010.
public boolean hasLz4Data()
optional bytes lz4_data = 6;
lz4 compressed data. It optimized for performance, pretty fast while still offering useful compression ratios.
public ByteStringgetLz4Data()
optional bytes lz4_data = 6;
lz4 compressed data. It optimized for performance, pretty fast while still offering useful compression ratios.
public final boolean isInitialized()
public void writeTo(CodedOutputStreamoutput) throws IOException
writeTo
in interface
MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace
in class
GeneratedMessageLite
ObjectStreamException
public static Fileformat.Blob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(InputStream input) throws IOException
IOException
public static Fileformat.Blob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fileformat.Blob parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Fileformat.Blob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fileformat.Blob parseFrom(CodedInputStream input) throws IOException
IOException
public static Fileformat.Blob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fileformat.Blob .Builder newBuilder()
public Fileformat.Blob .Builder newBuilderForType()
public static Fileformat.Blob .Builder newBuilder(Fileformat .Blob prototype)
public Fileformat.Blob .Builder toBuilder()