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 type
HeaderBlock- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeHeaderBlockNested 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 Nested classes/interfaces inherited from class proto4.AbstractMessage
proto4.AbstractMessage.BuilderParentNested classes/interfaces inherited from class proto4.AbstractMessageLite
proto4.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class proto4.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class proto4.AbstractMessage
memoizedSizeFields inherited from class proto4.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBbox()optional .HeaderBBox bbox = 1;optional .HeaderBBox bbox = 1;static Osmformat.HeaderBlockstatic final proto4.Descriptors.DescriptorgetOptionalFeatures(int index) repeated string optional_features = 5;proto4.ByteStringgetOptionalFeaturesBytes(int index) repeated string optional_features = 5;intrepeated string optional_features = 5;proto4.ProtocolStringListrepeated string optional_features = 5;replication base URL (from Osmosis' configuration.txt file)proto4.ByteStringreplication base URL (from Osmosis' configuration.txt file)longreplication sequence number (sequenceNumber in state.txt)longreplication 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>getRequiredFeatures(int index) Additional tags to aid in parsing this datasetproto4.ByteStringgetRequiredFeaturesBytes(int index) Additional tags to aid in parsing this datasetintAdditional tags to aid in parsing this datasetproto4.ProtocolStringListAdditional tags to aid in parsing this datasetintFrom the bbox field.proto4.ByteStringFrom the bbox field.optional string writingprogram = 16;proto4.ByteStringoptional string writingprogram = 16;booleanhasBbox()optional .HeaderBBox bbox = 1;inthashCode()booleanreplication base URL (from Osmosis' configuration.txt file)booleanreplication sequence number (sequenceNumber in state.txt)booleanreplication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by OsmosisbooleanFrom the bbox field.booleanoptional string writingprogram = 16;protected proto4.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Osmformat.HeaderBlock prototype) 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()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, writeStringNoTagMethods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface proto4.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface proto4.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BBOX_FIELD_NUMBER
public static final int BBOX_FIELD_NUMBER- See Also:
-
REQUIRED_FEATURES_FIELD_NUMBER
public static final int REQUIRED_FEATURES_FIELD_NUMBER- See Also:
-
OPTIONAL_FEATURES_FIELD_NUMBER
public static final int OPTIONAL_FEATURES_FIELD_NUMBER- See Also:
-
WRITINGPROGRAM_FIELD_NUMBER
public static final int WRITINGPROGRAM_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER- See Also:
-
OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage
-
hasBbox
public boolean hasBbox()optional .HeaderBBox bbox = 1;- Specified by:
hasBboxin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the bbox field is set.
-
getBbox
optional .HeaderBBox bbox = 1;- Specified by:
getBboxin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The bbox.
-
getBboxOrBuilder
optional .HeaderBBox bbox = 1;- Specified by:
getBboxOrBuilderin interfaceOsmformat.HeaderBlockOrBuilder
-
getRequiredFeaturesList
public proto4.ProtocolStringList getRequiredFeaturesList()Additional tags to aid in parsing this dataset
repeated string required_features = 4;- Specified by:
getRequiredFeaturesListin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- A list containing the requiredFeatures.
-
getRequiredFeaturesCount
public int getRequiredFeaturesCount()Additional tags to aid in parsing this dataset
repeated string required_features = 4;- Specified by:
getRequiredFeaturesCountin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The count of requiredFeatures.
-
getRequiredFeatures
Additional tags to aid in parsing this dataset
repeated string required_features = 4;- Specified by:
getRequiredFeaturesin interfaceOsmformat.HeaderBlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requiredFeatures at the given index.
-
getRequiredFeaturesBytes
public proto4.ByteString getRequiredFeaturesBytes(int index) Additional tags to aid in parsing this dataset
repeated string required_features = 4;- Specified by:
getRequiredFeaturesBytesin interfaceOsmformat.HeaderBlockOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredFeatures at the given index.
-
getOptionalFeaturesList
public proto4.ProtocolStringList getOptionalFeaturesList()repeated string optional_features = 5;- Specified by:
getOptionalFeaturesListin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- A list containing the optionalFeatures.
-
getOptionalFeaturesCount
public int getOptionalFeaturesCount()repeated string optional_features = 5;- Specified by:
getOptionalFeaturesCountin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The count of optionalFeatures.
-
getOptionalFeatures
repeated string optional_features = 5;- Specified by:
getOptionalFeaturesin interfaceOsmformat.HeaderBlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The optionalFeatures at the given index.
-
getOptionalFeaturesBytes
public proto4.ByteString getOptionalFeaturesBytes(int index) repeated string optional_features = 5;- Specified by:
getOptionalFeaturesBytesin interfaceOsmformat.HeaderBlockOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the optionalFeatures at the given index.
-
hasWritingprogram
public boolean hasWritingprogram()optional string writingprogram = 16;- Specified by:
hasWritingprogramin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the writingprogram field is set.
-
getWritingprogram
optional string writingprogram = 16;- Specified by:
getWritingprogramin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The writingprogram.
-
getWritingprogramBytes
public proto4.ByteString getWritingprogramBytes()optional string writingprogram = 16;- Specified by:
getWritingprogramBytesin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The bytes for writingprogram.
-
hasSource
public boolean hasSource()From the bbox field.
optional string source = 17;- Specified by:
hasSourcein interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the source field is set.
-
getSource
From the bbox field.
optional string source = 17;- Specified by:
getSourcein interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The source.
-
getSourceBytes
public proto4.ByteString getSourceBytes()From the bbox field.
optional string source = 17;- Specified by:
getSourceBytesin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The bytes for source.
-
hasOsmosisReplicationTimestamp
public 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 interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the osmosisReplicationTimestamp field is set.
-
getOsmosisReplicationTimestamp
public 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 interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The osmosisReplicationTimestamp.
-
hasOsmosisReplicationSequenceNumber
public boolean hasOsmosisReplicationSequenceNumber()replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;- Specified by:
hasOsmosisReplicationSequenceNumberin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the osmosisReplicationSequenceNumber field is set.
-
getOsmosisReplicationSequenceNumber
public long getOsmosisReplicationSequenceNumber()replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;- Specified by:
getOsmosisReplicationSequenceNumberin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The osmosisReplicationSequenceNumber.
-
hasOsmosisReplicationBaseUrl
public boolean hasOsmosisReplicationBaseUrl()replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;- Specified by:
hasOsmosisReplicationBaseUrlin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- Whether the osmosisReplicationBaseUrl field is set.
-
getOsmosisReplicationBaseUrl
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;- Specified by:
getOsmosisReplicationBaseUrlin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The osmosisReplicationBaseUrl.
-
getOsmosisReplicationBaseUrlBytes
public proto4.ByteString getOsmosisReplicationBaseUrlBytes()replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;- Specified by:
getOsmosisReplicationBaseUrlBytesin interfaceOsmformat.HeaderBlockOrBuilder- Returns:
- The bytes for osmosisReplicationBaseUrl.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage
-
writeTo
- 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
- 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 Osmformat.HeaderBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Osmformat.HeaderBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceproto4.Message- Specified by:
newBuilderForTypein interfaceproto4.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceproto4.Message- Specified by:
toBuilderin interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.HeaderBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classproto4.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceproto4.Message- Specified by:
getParserForTypein interfaceproto4.MessageLite- Overrides:
getParserForTypein classproto4.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-