Class Osmformat.HeaderBlock
- java.lang.Object
- 
- proto4.AbstractMessageLite
- 
- proto4.AbstractMessage
- 
- proto4.GeneratedMessage
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.HeaderBlock
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Osmformat.HeaderBlockOrBuilder,- proto4.Message,- proto4.MessageLite,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat
 
 public static final class Osmformat.HeaderBlock extends proto4.GeneratedMessage implements Osmformat.HeaderBlockOrBuilder Protobuf typeHeaderBlock- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOsmformat.HeaderBlock.BuilderProtobuf typeHeaderBlock- 
Nested classes/interfaces inherited from class proto4.GeneratedMessageproto4.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 SummaryFields Modifier and Type Field Description static intBBOX_FIELD_NUMBERstatic intOPTIONAL_FEATURES_FIELD_NUMBERstatic intOSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBERstatic intOSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBERstatic intOSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBERstatic intREQUIRED_FEATURES_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intWRITINGPROGRAM_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Osmformat.HeaderBBoxgetBbox()optional .HeaderBBox bbox = 1;Osmformat.HeaderBBoxOrBuildergetBboxOrBuilder()optional .HeaderBBox bbox = 1;static Osmformat.HeaderBlockgetDefaultInstance()Osmformat.HeaderBlockgetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()StringgetOptionalFeatures(int index)repeated string optional_features = 5;proto4.ByteStringgetOptionalFeaturesBytes(int index)repeated string optional_features = 5;intgetOptionalFeaturesCount()repeated string optional_features = 5;proto4.ProtocolStringListgetOptionalFeaturesList()repeated string optional_features = 5;StringgetOsmosisReplicationBaseUrl()replication base URL (from Osmosis' configuration.txt file)proto4.ByteStringgetOsmosisReplicationBaseUrlBytes()replication base URL (from Osmosis' configuration.txt file)longgetOsmosisReplicationSequenceNumber()replication sequence number (sequenceNumber in state.txt)longgetOsmosisReplicationTimestamp()replication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by Osmosisproto4.Parser<Osmformat.HeaderBlock>getParserForType()StringgetRequiredFeatures(int index)Additional tags to aid in parsing this datasetproto4.ByteStringgetRequiredFeaturesBytes(int index)Additional tags to aid in parsing this datasetintgetRequiredFeaturesCount()Additional tags to aid in parsing this datasetproto4.ProtocolStringListgetRequiredFeaturesList()Additional tags to aid in parsing this datasetintgetSerializedSize()StringgetSource()From the bbox field.proto4.ByteStringgetSourceBytes()From the bbox field.StringgetWritingprogram()optional string writingprogram = 16;proto4.ByteStringgetWritingprogramBytes()optional string writingprogram = 16;booleanhasBbox()optional .HeaderBBox bbox = 1;inthashCode()booleanhasOsmosisReplicationBaseUrl()replication base URL (from Osmosis' configuration.txt file)booleanhasOsmosisReplicationSequenceNumber()replication sequence number (sequenceNumber in state.txt)booleanhasOsmosisReplicationTimestamp()replication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by OsmosisbooleanhasSource()From the bbox field.booleanhasWritingprogram()optional string writingprogram = 16;protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.HeaderBlock.BuildernewBuilder()static Osmformat.HeaderBlock.BuildernewBuilder(Osmformat.HeaderBlock prototype)Osmformat.HeaderBlock.BuildernewBuilderForType()protected Osmformat.HeaderBlock.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Osmformat.HeaderBlockparseDelimitedFrom(InputStream input)static Osmformat.HeaderBlockparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.HeaderBlockparseFrom(byte[] data)static Osmformat.HeaderBlockparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.HeaderBlockparseFrom(InputStream input)static Osmformat.HeaderBlockparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.HeaderBlockparseFrom(ByteBuffer data)static Osmformat.HeaderBlockparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.HeaderBlockparseFrom(proto4.ByteString data)static Osmformat.HeaderBlockparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.HeaderBlockparseFrom(proto4.CodedInputStream input)static Osmformat.HeaderBlockparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Osmformat.HeaderBlock>parser()Osmformat.HeaderBlock.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)- 
Methods inherited from class proto4.GeneratedMessagecanUseUnsafe, 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.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashFields, toString
 - 
Methods inherited from class proto4.AbstractMessageLiteaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
BBOX_FIELD_NUMBERpublic static final int BBOX_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
REQUIRED_FEATURES_FIELD_NUMBERpublic static final int REQUIRED_FEATURES_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
OPTIONAL_FEATURES_FIELD_NUMBERpublic static final int OPTIONAL_FEATURES_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
WRITINGPROGRAM_FIELD_NUMBERpublic static final int WRITINGPROGRAM_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
SOURCE_FIELD_NUMBERpublic static final int SOURCE_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBERpublic static final int OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBERpublic static final int OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBERpublic static final int OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDescriptorpublic static final proto4.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- proto4.GeneratedMessage
 
 - 
hasBboxpublic boolean hasBbox() optional .HeaderBBox bbox = 1;- Specified by:
- hasBboxin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the bbox field is set.
 
 - 
getBboxpublic Osmformat.HeaderBBox getBbox() optional .HeaderBBox bbox = 1;- Specified by:
- getBboxin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The bbox.
 
 - 
getBboxOrBuilderpublic Osmformat.HeaderBBoxOrBuilder getBboxOrBuilder() optional .HeaderBBox bbox = 1;- Specified by:
- getBboxOrBuilderin interface- Osmformat.HeaderBlockOrBuilder
 
 - 
getRequiredFeaturesListpublic proto4.ProtocolStringList getRequiredFeaturesList() Additional tags to aid in parsing this dataset repeated string required_features = 4;- Specified by:
- getRequiredFeaturesListin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- A list containing the requiredFeatures.
 
 - 
getRequiredFeaturesCountpublic int getRequiredFeaturesCount() Additional tags to aid in parsing this dataset repeated string required_features = 4;- Specified by:
- getRequiredFeaturesCountin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The count of requiredFeatures.
 
 - 
getRequiredFeaturespublic String getRequiredFeatures(int index) Additional tags to aid in parsing this dataset repeated string required_features = 4;- Specified by:
- getRequiredFeaturesin interface- Osmformat.HeaderBlockOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The requiredFeatures at the given index.
 
 - 
getRequiredFeaturesBytespublic proto4.ByteString getRequiredFeaturesBytes(int index) Additional tags to aid in parsing this dataset repeated string required_features = 4;- Specified by:
- getRequiredFeaturesBytesin interface- Osmformat.HeaderBlockOrBuilder
- Parameters:
- index- The index of the value to return.
- Returns:
- The bytes of the requiredFeatures at the given index.
 
 - 
getOptionalFeaturesListpublic proto4.ProtocolStringList getOptionalFeaturesList() repeated string optional_features = 5;- Specified by:
- getOptionalFeaturesListin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- A list containing the optionalFeatures.
 
 - 
getOptionalFeaturesCountpublic int getOptionalFeaturesCount() repeated string optional_features = 5;- Specified by:
- getOptionalFeaturesCountin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The count of optionalFeatures.
 
 - 
getOptionalFeaturespublic String getOptionalFeatures(int index) repeated string optional_features = 5;- Specified by:
- getOptionalFeaturesin interface- Osmformat.HeaderBlockOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The optionalFeatures at the given index.
 
 - 
getOptionalFeaturesBytespublic proto4.ByteString getOptionalFeaturesBytes(int index) repeated string optional_features = 5;- Specified by:
- getOptionalFeaturesBytesin interface- Osmformat.HeaderBlockOrBuilder
- Parameters:
- index- The index of the value to return.
- Returns:
- The bytes of the optionalFeatures at the given index.
 
 - 
hasWritingprogrampublic boolean hasWritingprogram() optional string writingprogram = 16;- Specified by:
- hasWritingprogramin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the writingprogram field is set.
 
 - 
getWritingprogrampublic String getWritingprogram() optional string writingprogram = 16;- Specified by:
- getWritingprogramin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The writingprogram.
 
 - 
getWritingprogramBytespublic proto4.ByteString getWritingprogramBytes() optional string writingprogram = 16;- Specified by:
- getWritingprogramBytesin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The bytes for writingprogram.
 
 - 
hasSourcepublic boolean hasSource() From the bbox field. optional string source = 17;- Specified by:
- hasSourcein interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the source field is set.
 
 - 
getSourcepublic String getSource() From the bbox field. optional string source = 17;- Specified by:
- getSourcein interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The source.
 
 - 
getSourceBytespublic proto4.ByteString getSourceBytes() From the bbox field. optional string source = 17;- Specified by:
- getSourceBytesin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The bytes for source.
 
 - 
hasOsmosisReplicationTimestamppublic boolean hasOsmosisReplicationTimestamp() replication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by Osmosis optional int64 osmosis_replication_timestamp = 32;- Specified by:
- hasOsmosisReplicationTimestampin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the osmosisReplicationTimestamp field is set.
 
 - 
getOsmosisReplicationTimestamppublic long getOsmosisReplicationTimestamp() replication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by Osmosis optional int64 osmosis_replication_timestamp = 32;- Specified by:
- getOsmosisReplicationTimestampin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The osmosisReplicationTimestamp.
 
 - 
hasOsmosisReplicationSequenceNumberpublic boolean hasOsmosisReplicationSequenceNumber() replication sequence number (sequenceNumber in state.txt) optional int64 osmosis_replication_sequence_number = 33;- Specified by:
- hasOsmosisReplicationSequenceNumberin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the osmosisReplicationSequenceNumber field is set.
 
 - 
getOsmosisReplicationSequenceNumberpublic long getOsmosisReplicationSequenceNumber() replication sequence number (sequenceNumber in state.txt) optional int64 osmosis_replication_sequence_number = 33;- Specified by:
- getOsmosisReplicationSequenceNumberin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The osmosisReplicationSequenceNumber.
 
 - 
hasOsmosisReplicationBaseUrlpublic boolean hasOsmosisReplicationBaseUrl() replication base URL (from Osmosis' configuration.txt file) optional string osmosis_replication_base_url = 34;- Specified by:
- hasOsmosisReplicationBaseUrlin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- Whether the osmosisReplicationBaseUrl field is set.
 
 - 
getOsmosisReplicationBaseUrlpublic String getOsmosisReplicationBaseUrl() replication base URL (from Osmosis' configuration.txt file) optional string osmosis_replication_base_url = 34;- Specified by:
- getOsmosisReplicationBaseUrlin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The osmosisReplicationBaseUrl.
 
 - 
getOsmosisReplicationBaseUrlBytespublic proto4.ByteString getOsmosisReplicationBaseUrlBytes() replication base URL (from Osmosis' configuration.txt file) optional string osmosis_replication_base_url = 34;- Specified by:
- getOsmosisReplicationBaseUrlBytesin interface- Osmformat.HeaderBlockOrBuilder
- Returns:
- The bytes for osmosisReplicationBaseUrl.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage
 
 - 
writeTopublic void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
- writeToin interface- proto4.MessageLite
- Overrides:
- writeToin class- proto4.GeneratedMessage
- Throws:
- IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- proto4.MessageLite
- Overrides:
- getSerializedSizein class- proto4.GeneratedMessage
 
 - 
equalspublic boolean equals(Object obj) - Specified by:
- equalsin interface- proto4.Message
- Overrides:
- equalsin class- proto4.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- proto4.Message
- Overrides:
- hashCodein class- proto4.AbstractMessage
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(proto4.CodedInputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.HeaderBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
newBuilderForTypepublic Osmformat.HeaderBlock.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- proto4.Message
- Specified by:
- newBuilderForTypein interface- proto4.MessageLite
 
 - 
newBuilderpublic static Osmformat.HeaderBlock.Builder newBuilder() 
 - 
newBuilderpublic static Osmformat.HeaderBlock.Builder newBuilder(Osmformat.HeaderBlock prototype) 
 - 
toBuilderpublic Osmformat.HeaderBlock.Builder toBuilder() - Specified by:
- toBuilderin interface- proto4.Message
- Specified by:
- toBuilderin interface- proto4.MessageLite
 
 - 
newBuilderForTypeprotected Osmformat.HeaderBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent) - Overrides:
- newBuilderForTypein class- proto4.AbstractMessage
 
 - 
getDefaultInstancepublic static Osmformat.HeaderBlock getDefaultInstance() 
 - 
parserpublic static proto4.Parser<Osmformat.HeaderBlock> parser() 
 - 
getParserForTypepublic proto4.Parser<Osmformat.HeaderBlock> getParserForType() - Specified by:
- getParserForTypein interface- proto4.Message
- Specified by:
- getParserForTypein interface- proto4.MessageLite
- Overrides:
- getParserForTypein class- proto4.GeneratedMessage
 
 - 
getDefaultInstanceForTypepublic Osmformat.HeaderBlock getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 
- 
 
-