public static final class Fileformat.Blob extends com.protobuf .GeneratedMessageLite implements Fileformat .BlobOrBuilder
OSMPBF.Blob
| Modifier and Type | Class and Description |
|---|---|
static class |
Fileformat
Protobuf type
OSMPBF.Blob
|
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.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 com |
PARSER
|
static int |
RAW_FIELD_NUMBER
|
static int |
RAW_SIZE_FIELD_NUMBER
|
static int |
ZLIB_DATA_FIELD_NUMBER
|
| Modifier and Type | Method and Description |
|---|---|
static Fileformat |
getDefaultInstance()
|
Fileformat |
getDefaultInstanceForType()
|
com |
getLz4Data()
optional bytes lz4_data = 6;
|
com |
getLzmaData()
optional bytes lzma_data = 4;
|
com |
getOBSOLETEBzip2Data()
Deprecated.
|
com |
getParserForType()
|
com |
getRaw()
optional bytes raw = 1;
|
int |
getRawSize()
optional int32 raw_size = 2;
|
int |
getSerializedSize()
|
com |
getZlibData()
optional bytes zlib_data = 3;
|
boolean |
hasLz4Data()
optional bytes lz4_data = 6;
|
boolean |
hasLzmaData()
optional bytes lzma_data = 4;
|
boolean |
hasOBSOLETEBzip2Data()
Deprecated.
|
boolean |
hasRaw()
optional bytes raw = 1;
|
boolean |
hasRawSize()
optional int32 raw_size = 2;
|
boolean |
hasZlibData()
optional bytes zlib_data = 3;
|
boolean |
isInitialized()
|
static Fileformat |
newBuilder()
|
static Fileformat |
newBuilder(Fileformat
|
Fileformat |
newBuilderForType()
|
static Fileformat |
parseDelimitedFrom(InputStream
|
static Fileformat |
parseDelimitedFrom(InputStream
|
static Fileformat |
parseFrom(byte[] data)
|
static Fileformat |
parseFrom(byte[] data, com
|
static Fileformat |
parseFrom(com
|
static Fileformat |
parseFrom(com
|
static Fileformat |
parseFrom(com
|
static Fileformat |
parseFrom(com
|
static Fileformat |
parseFrom(InputStream
|
static Fileformat |
parseFrom(InputStream
|
Fileformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.protobuf .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 com.protobuf .Parser <Fileformat .Blob > getParserForType()
public boolean hasRaw()
optional bytes raw = 1;
No compression
public com.protobuf .ByteString getRaw()
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 com.protobuf .ByteString getZlibData()
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 com.protobuf .ByteString getLzmaData()
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 com.protobuf .ByteString getOBSOLETEBzip2Data()
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 com.protobuf .ByteString getLz4Data()
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(com.protobuf .CodedOutputStream output) throws IOException
writeTo in interface
com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace in class
com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static Fileformat.Blob parseFrom(com .protobuf .ByteString data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(com .protobuf .ByteString data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(byte[] data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(byte[] data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Fileformat.Blob parseFrom(InputStream input) throws IOException
IOException
public static Fileformat.Blob parseFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fileformat.Blob parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Fileformat.Blob parseDelimitedFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fileformat.Blob parseFrom(com .protobuf .CodedInputStream input) throws IOException
IOException
public static Fileformat.Blob parseFrom(com .protobuf .CodedInputStream input, com .protobuf .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()