Class Fileformat.Blob
- java.lang.Object
-
- proto4.AbstractMessageLite
-
- proto4.AbstractMessage
-
- proto4.GeneratedMessage
-
- org.apache.sedona.sql.datasources.osmpbf.build.Fileformat.Blob
-
- All Implemented Interfaces:
Serializable,Fileformat.BlobOrBuilder,proto4.Message,proto4.MessageLite,proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- Enclosing class:
- Fileformat
public static final class Fileformat.Blob extends proto4.GeneratedMessage implements Fileformat.BlobOrBuilder
Protobuf typeBlob- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileformat.Blob.BuilderProtobuf typeBlob-
Nested classes/interfaces inherited from class proto4.GeneratedMessage
proto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T extends Object>, proto4.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intLZMA_DATA_FIELD_NUMBERstatic intOBSOLETE_BZIP2_DATA_FIELD_NUMBERstatic intRAW_FIELD_NUMBERstatic intRAW_SIZE_FIELD_NUMBERstatic intZLIB_DATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static Fileformat.BlobgetDefaultInstance()Fileformat.BlobgetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()proto4.ByteStringgetLzmaData()PROPOSED feature for LZMA compressed data.proto4.ByteStringgetOBSOLETEBzip2Data()Deprecated.Blob.OBSOLETE_bzip2_data is deprecated.proto4.Parser<Fileformat.Blob>getParserForType()proto4.ByteStringgetRaw()No compressionintgetRawSize()When compressed, the uncompressed sizeintgetSerializedSize()proto4.ByteStringgetZlibData()Possible compressed versions of the data.inthashCode()booleanhasLzmaData()PROPOSED feature for LZMA compressed data.booleanhasOBSOLETEBzip2Data()Deprecated.Blob.OBSOLETE_bzip2_data is deprecated.booleanhasRaw()No compressionbooleanhasRawSize()When compressed, the uncompressed sizebooleanhasZlibData()Possible compressed versions of the data.protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Fileformat.Blob.BuildernewBuilder()static Fileformat.Blob.BuildernewBuilder(Fileformat.Blob prototype)Fileformat.Blob.BuildernewBuilderForType()protected Fileformat.Blob.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Fileformat.BlobparseDelimitedFrom(InputStream input)static Fileformat.BlobparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Fileformat.BlobparseFrom(byte[] data)static Fileformat.BlobparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Fileformat.BlobparseFrom(InputStream input)static Fileformat.BlobparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Fileformat.BlobparseFrom(ByteBuffer data)static Fileformat.BlobparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Fileformat.BlobparseFrom(proto4.ByteString data)static Fileformat.BlobparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Fileformat.BlobparseFrom(proto4.CodedInputStream input)static Fileformat.BlobparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Fileformat.Blob>parser()Fileformat.Blob.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)-
Methods inherited from class proto4.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RAW_FIELD_NUMBER
public static final int RAW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAW_SIZE_FIELD_NUMBER
public static final int RAW_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZLIB_DATA_FIELD_NUMBER
public static final int ZLIB_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LZMA_DATA_FIELD_NUMBER
public static final int LZMA_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSOLETE_BZIP2_DATA_FIELD_NUMBER
public static final int OBSOLETE_BZIP2_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage
-
hasRaw
public boolean hasRaw()
No compression
optional bytes raw = 1;- Specified by:
hasRawin interfaceFileformat.BlobOrBuilder- Returns:
- Whether the raw field is set.
-
getRaw
public proto4.ByteString getRaw()
No compression
optional bytes raw = 1;- Specified by:
getRawin interfaceFileformat.BlobOrBuilder- Returns:
- The raw.
-
hasRawSize
public boolean hasRawSize()
When compressed, the uncompressed size
optional int32 raw_size = 2;- Specified by:
hasRawSizein interfaceFileformat.BlobOrBuilder- Returns:
- Whether the rawSize field is set.
-
getRawSize
public int getRawSize()
When compressed, the uncompressed size
optional int32 raw_size = 2;- Specified by:
getRawSizein interfaceFileformat.BlobOrBuilder- Returns:
- The rawSize.
-
hasZlibData
public boolean hasZlibData()
Possible compressed versions of the data.
optional bytes zlib_data = 3;- Specified by:
hasZlibDatain interfaceFileformat.BlobOrBuilder- Returns:
- Whether the zlibData field is set.
-
getZlibData
public proto4.ByteString getZlibData()
Possible compressed versions of the data.
optional bytes zlib_data = 3;- Specified by:
getZlibDatain interfaceFileformat.BlobOrBuilder- Returns:
- The zlibData.
-
hasLzmaData
public boolean hasLzmaData()
PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
optional bytes lzma_data = 4;- Specified by:
hasLzmaDatain interfaceFileformat.BlobOrBuilder- Returns:
- Whether the lzmaData field is set.
-
getLzmaData
public proto4.ByteString getLzmaData()
PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
optional bytes lzma_data = 4;- Specified by:
getLzmaDatain interfaceFileformat.BlobOrBuilder- Returns:
- The lzmaData.
-
hasOBSOLETEBzip2Data
@Deprecated public boolean hasOBSOLETEBzip2Data()
Deprecated.Blob.OBSOLETE_bzip2_data is deprecated. See main/java/org/apache/sedona/proto/fileformat.proto;l=32Formerly used for bzip2 compressed data. Depreciated in 2010.
optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];- Specified by:
hasOBSOLETEBzip2Datain interfaceFileformat.BlobOrBuilder- Returns:
- Whether the oBSOLETEBzip2Data field is set.
-
getOBSOLETEBzip2Data
@Deprecated public proto4.ByteString getOBSOLETEBzip2Data()
Deprecated.Blob.OBSOLETE_bzip2_data is deprecated. See main/java/org/apache/sedona/proto/fileformat.proto;l=32Formerly used for bzip2 compressed data. Depreciated in 2010.
optional bytes OBSOLETE_bzip2_data = 5 [deprecated = true];- Specified by:
getOBSOLETEBzip2Datain interfaceFileformat.BlobOrBuilder- Returns:
- The oBSOLETEBzip2Data.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage
-
writeTo
public void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceproto4.MessageLite- Overrides:
writeToin classproto4.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceproto4.MessageLite- Overrides:
getSerializedSizein classproto4.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceproto4.Message- Overrides:
equalsin classproto4.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceproto4.Message- Overrides:
hashCodein classproto4.AbstractMessage
-
parseFrom
public static Fileformat.Blob parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Fileformat.Blob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Fileformat.Blob parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Fileformat.Blob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Fileformat.Blob parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Fileformat.Blob parseFrom(proto4.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Fileformat.Blob parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Fileformat.Blob.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceproto4.Message- Specified by:
newBuilderForTypein interfaceproto4.MessageLite
-
newBuilder
public static Fileformat.Blob.Builder newBuilder()
-
newBuilder
public static Fileformat.Blob.Builder newBuilder(Fileformat.Blob prototype)
-
toBuilder
public Fileformat.Blob.Builder toBuilder()
- Specified by:
toBuilderin interfaceproto4.Message- Specified by:
toBuilderin interfaceproto4.MessageLite
-
newBuilderForType
protected Fileformat.Blob.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classproto4.AbstractMessage
-
getDefaultInstance
public static Fileformat.Blob getDefaultInstance()
-
parser
public static proto4.Parser<Fileformat.Blob> parser()
-
getParserForType
public proto4.Parser<Fileformat.Blob> getParserForType()
- Specified by:
getParserForTypein interfaceproto4.Message- Specified by:
getParserForTypein interfaceproto4.MessageLite- Overrides:
getParserForTypein classproto4.GeneratedMessage
-
getDefaultInstanceForType
public Fileformat.Blob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-
-