public static final class Fileformat.Blob.Builder extends com.protobuf .GeneratedMessageLite .Builder <Fileformat .Blob ,Fileformat .Blob .Builder > implements Fileformat .BlobOrBuilder
OSMPBF.Blob
| Modifier and Type | Method and Description |
|---|---|
Fileformat |
build()
|
Fileformat |
buildPartial()
|
Fileformat |
clear()
|
Fileformat |
clearLz4Data()
optional bytes lz4_data = 6;
|
Fileformat |
clearLzmaData()
optional bytes lzma_data = 4;
|
Fileformat |
clearOBSOLETEBzip2Data()
Deprecated.
|
Fileformat |
clearRaw()
optional bytes raw = 1;
|
Fileformat |
clearRawSize()
optional int32 raw_size = 2;
|
Fileformat |
clearZlibData()
optional bytes zlib_data = 3;
|
Fileformat |
clone()
|
Fileformat |
getDefaultInstanceForType()
|
com |
getLz4Data()
optional bytes lz4_data = 6;
|
com |
getLzmaData()
optional bytes lzma_data = 4;
|
com |
getOBSOLETEBzip2Data()
Deprecated.
|
com |
getRaw()
optional bytes raw = 1;
|
int |
getRawSize()
optional int32 raw_size = 2;
|
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()
|
Fileformat |
mergeFrom(com
|
Fileformat |
mergeFrom(Fileformat
|
Fileformat |
setLz4Data(com
optional bytes lz4_data = 6;
|
Fileformat |
setLzmaData(com
optional bytes lzma_data = 4;
|
Fileformat |
setOBSOLETEBzip2Data(com
Deprecated.
|
Fileformat |
setRaw(com
optional bytes raw = 1;
|
Fileformat |
setRawSize(int value)
optional int32 raw_size = 2;
|
Fileformat |
setZlibData(com
optional bytes zlib_data = 3;
|
public Fileformat.Blob .Builder clear()
public Fileformat.Blob .Builder clone()
public Fileformat.Blob getDefaultInstanceForType()
public Fileformat.Blob build()
public Fileformat.Blob buildPartial()
public Fileformat.Blob .Builder mergeFrom(Fileformat .Blob other)
public final boolean isInitialized()
public Fileformat.Blob .Builder mergeFrom(com .protobuf .CodedInputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface
com.google.protobuf.MessageLite.Builder
mergeFrom in class
com.google.protobuf.AbstractMessageLite.Builder<Fileformat.Blob.Builder >
IOException
public boolean hasRaw()
optional bytes raw = 1;
No compression
public com.protobuf .ByteString getRaw()
optional bytes raw = 1;
No compression
public Fileformat.Blob .Builder setRaw(com .protobuf .ByteString value)
optional bytes raw = 1;
No compression
public Fileformat.Blob .Builder clearRaw()
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 Fileformat.Blob .Builder setRawSize(int value)
optional int32 raw_size = 2;
When compressed, the uncompressed size
public Fileformat.Blob .Builder clearRawSize()
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 Fileformat.Blob .Builder setZlibData(com .protobuf .ByteString value)
optional bytes zlib_data = 3;
Possible compressed versions of the data.
public Fileformat.Blob .Builder clearZlibData()
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.
public Fileformat.Blob .Builder setLzmaData(com .protobuf .ByteString value)
optional bytes lzma_data = 4;
PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
public Fileformat.Blob .Builder clearLzmaData()
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.
@Deprecated public Fileformat.Blob .Builder setOBSOLETEBzip2Data(com .protobuf .ByteString value)
optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
Formerly used for bzip2 compressed data. Depreciated in 2010.
@Deprecated public Fileformat.Blob .Builder clearOBSOLETEBzip2Data()
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 Fileformat.Blob .Builder setLz4Data(com .protobuf .ByteString value)
optional bytes lz4_data = 6;
lz4 compressed data. It optimized for performance, pretty fast while still offering useful compression ratios.
public Fileformat.Blob .Builder clearLz4Data()
optional bytes lz4_data = 6;
lz4 compressed data. It optimized for performance, pretty fast while still offering useful compression ratios.