Package crosby.binary
Interface Fileformat.BlobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Fileformat.Blob
,Fileformat.Blob.Builder
- Enclosing class:
- Fileformat
public static interface Fileformat.BlobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Fileformat.Blob.DataCase
getDataCase()
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.ByteString
getRaw()
No compressionint
getRawSize()
When compressed, the uncompressed sizecom.google.protobuf.ByteString
getZlibData()
Possible compressed versions of the data.com.google.protobuf.ByteString
getZstdData()
For ZSTD compressed data (optional)boolean
hasLz4Data()
For LZ4 compressed data (optional)boolean
hasLzmaData()
For LZMA compressed data (optional)boolean
hasOBSOLETEBzip2Data()
Deprecated.boolean
hasRaw()
No compressionboolean
hasRawSize()
When compressed, the uncompressed sizeboolean
hasZlibData()
Possible compressed versions of the data.boolean
hasZstdData()
For ZSTD compressed data (optional)-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRawSize
boolean hasRawSize()
When compressed, the uncompressed size
optional int32 raw_size = 2;
- Returns:
- Whether the rawSize field is set.
-
getRawSize
int getRawSize()
When compressed, the uncompressed size
optional int32 raw_size = 2;
- Returns:
- The rawSize.
-
hasRaw
boolean hasRaw()
No compression
bytes raw = 1;
- Returns:
- Whether the raw field is set.
-
getRaw
com.google.protobuf.ByteString getRaw()
No compression
bytes raw = 1;
- Returns:
- The raw.
-
hasZlibData
boolean hasZlibData()
Possible compressed versions of the data.
bytes zlib_data = 3;
- Returns:
- Whether the zlibData field is set.
-
getZlibData
com.google.protobuf.ByteString getZlibData()
Possible compressed versions of the data.
bytes zlib_data = 3;
- Returns:
- The zlibData.
-
hasLzmaData
boolean hasLzmaData()
For LZMA compressed data (optional)
bytes lzma_data = 4;
- Returns:
- Whether the lzmaData field is set.
-
getLzmaData
com.google.protobuf.ByteString getLzmaData()
For LZMA compressed data (optional)
bytes lzma_data = 4;
- Returns:
- The lzmaData.
-
hasOBSOLETEBzip2Data
@Deprecated boolean hasOBSOLETEBzip2Data()
Deprecated.Formerly used for bzip2 compressed data. Deprecated in 2010.
bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
- Returns:
- Whether the oBSOLETEBzip2Data field is set.
-
getOBSOLETEBzip2Data
@Deprecated com.google.protobuf.ByteString getOBSOLETEBzip2Data()
Deprecated.Formerly used for bzip2 compressed data. Deprecated in 2010.
bytes OBSOLETE_bzip2_data = 5 [deprecated = true];
- Returns:
- The oBSOLETEBzip2Data.
-
hasLz4Data
boolean hasLz4Data()
For LZ4 compressed data (optional)
bytes lz4_data = 6;
- Returns:
- Whether the lz4Data field is set.
-
getLz4Data
com.google.protobuf.ByteString getLz4Data()
For LZ4 compressed data (optional)
bytes lz4_data = 6;
- Returns:
- The lz4Data.
-
hasZstdData
boolean hasZstdData()
For ZSTD compressed data (optional)
bytes zstd_data = 7;
- Returns:
- Whether the zstdData field is set.
-
getZstdData
com.google.protobuf.ByteString getZstdData()
For ZSTD compressed data (optional)
bytes zstd_data = 7;
- Returns:
- The zstdData.
-
getDataCase
Fileformat.Blob.DataCase getDataCase()
-
-