public static final class Osmformat.HeaderBlock extends proto4.GeneratedMessage implements Osmformat.HeaderBlockOrBuilder
HeaderBlock
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.HeaderBlock.Builder
Protobuf type
HeaderBlock |
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>, proto4.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
BBOX_FIELD_NUMBER |
static int |
OPTIONAL_FEATURES_FIELD_NUMBER |
static int |
OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER |
static int |
OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER |
static int |
OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER |
static int |
REQUIRED_FEATURES_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
WRITINGPROGRAM_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Osmformat.HeaderBBox |
getBbox()
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBBoxOrBuilder |
getBboxOrBuilder()
optional .HeaderBBox bbox = 1; |
static Osmformat.HeaderBlock |
getDefaultInstance() |
Osmformat.HeaderBlock |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
String |
getOptionalFeatures(int index)
repeated string optional_features = 5; |
proto4.ByteString |
getOptionalFeaturesBytes(int index)
repeated string optional_features = 5; |
int |
getOptionalFeaturesCount()
repeated string optional_features = 5; |
proto4.ProtocolStringList |
getOptionalFeaturesList()
repeated string optional_features = 5; |
String |
getOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
|
proto4.ByteString |
getOsmosisReplicationBaseUrlBytes()
replication base URL (from Osmosis' configuration.txt file)
|
long |
getOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
|
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
|
proto4.Parser<Osmformat.HeaderBlock> |
getParserForType() |
String |
getRequiredFeatures(int index)
Additional tags to aid in parsing this dataset
|
proto4.ByteString |
getRequiredFeaturesBytes(int index)
Additional tags to aid in parsing this dataset
|
int |
getRequiredFeaturesCount()
Additional tags to aid in parsing this dataset
|
proto4.ProtocolStringList |
getRequiredFeaturesList()
Additional tags to aid in parsing this dataset
|
int |
getSerializedSize() |
String |
getSource()
From the bbox field.
|
proto4.ByteString |
getSourceBytes()
From the bbox field.
|
String |
getWritingprogram()
optional string writingprogram = 16; |
proto4.ByteString |
getWritingprogramBytes()
optional string writingprogram = 16; |
boolean |
hasBbox()
optional .HeaderBBox bbox = 1; |
int |
hashCode() |
boolean |
hasOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
|
boolean |
hasOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
|
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
|
boolean |
hasSource()
From the bbox field.
|
boolean |
hasWritingprogram()
optional string writingprogram = 16; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.HeaderBlock.Builder |
newBuilder() |
static Osmformat.HeaderBlock.Builder |
newBuilder(Osmformat.HeaderBlock prototype) |
Osmformat.HeaderBlock.Builder |
newBuilderForType() |
protected Osmformat.HeaderBlock.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.HeaderBlock |
parseDelimitedFrom(InputStream input) |
static Osmformat.HeaderBlock |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.HeaderBlock |
parseFrom(byte[] data) |
static Osmformat.HeaderBlock |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.HeaderBlock |
parseFrom(ByteBuffer data) |
static Osmformat.HeaderBlock |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.HeaderBlock |
parseFrom(proto4.ByteString data) |
static Osmformat.HeaderBlock |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.HeaderBlock |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.HeaderBlock |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.HeaderBlock |
parseFrom(InputStream input) |
static Osmformat.HeaderBlock |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.HeaderBlock> |
parser() |
Osmformat.HeaderBlock.Builder |
toBuilder() |
void |
writeTo(proto4.CodedOutputStream output) |
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
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int BBOX_FIELD_NUMBER
public static final int REQUIRED_FEATURES_FIELD_NUMBER
public static final int OPTIONAL_FEATURES_FIELD_NUMBER
public static final int WRITINGPROGRAM_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_TIMESTAMP_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int OSMOSIS_REPLICATION_BASE_URL_FIELD_NUMBER
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage
public boolean hasBbox()
optional .HeaderBBox bbox = 1;
hasBbox
in interface Osmformat.HeaderBlockOrBuilder
public Osmformat.HeaderBBox getBbox()
optional .HeaderBBox bbox = 1;
getBbox
in interface Osmformat.HeaderBlockOrBuilder
public Osmformat.HeaderBBoxOrBuilder getBboxOrBuilder()
optional .HeaderBBox bbox = 1;
getBboxOrBuilder
in interface Osmformat.HeaderBlockOrBuilder
public proto4.ProtocolStringList getRequiredFeaturesList()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
getRequiredFeaturesList
in interface Osmformat.HeaderBlockOrBuilder
public int getRequiredFeaturesCount()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
getRequiredFeaturesCount
in interface Osmformat.HeaderBlockOrBuilder
public String getRequiredFeatures(int index)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
getRequiredFeatures
in interface Osmformat.HeaderBlockOrBuilder
index
- The index of the element to return.public proto4.ByteString getRequiredFeaturesBytes(int index)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
getRequiredFeaturesBytes
in interface Osmformat.HeaderBlockOrBuilder
index
- The index of the value to return.public proto4.ProtocolStringList getOptionalFeaturesList()
repeated string optional_features = 5;
getOptionalFeaturesList
in interface Osmformat.HeaderBlockOrBuilder
public int getOptionalFeaturesCount()
repeated string optional_features = 5;
getOptionalFeaturesCount
in interface Osmformat.HeaderBlockOrBuilder
public String getOptionalFeatures(int index)
repeated string optional_features = 5;
getOptionalFeatures
in interface Osmformat.HeaderBlockOrBuilder
index
- The index of the element to return.public proto4.ByteString getOptionalFeaturesBytes(int index)
repeated string optional_features = 5;
getOptionalFeaturesBytes
in interface Osmformat.HeaderBlockOrBuilder
index
- The index of the value to return.public boolean hasWritingprogram()
optional string writingprogram = 16;
hasWritingprogram
in interface Osmformat.HeaderBlockOrBuilder
public String getWritingprogram()
optional string writingprogram = 16;
getWritingprogram
in interface Osmformat.HeaderBlockOrBuilder
public proto4.ByteString getWritingprogramBytes()
optional string writingprogram = 16;
getWritingprogramBytes
in interface Osmformat.HeaderBlockOrBuilder
public boolean hasSource()
From the bbox field.
optional string source = 17;
hasSource
in interface Osmformat.HeaderBlockOrBuilder
public String getSource()
From the bbox field.
optional string source = 17;
getSource
in interface Osmformat.HeaderBlockOrBuilder
public proto4.ByteString getSourceBytes()
From the bbox field.
optional string source = 17;
getSourceBytes
in interface Osmformat.HeaderBlockOrBuilder
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;
hasOsmosisReplicationTimestamp
in interface Osmformat.HeaderBlockOrBuilder
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;
getOsmosisReplicationTimestamp
in interface Osmformat.HeaderBlockOrBuilder
public boolean hasOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;
hasOsmosisReplicationSequenceNumber
in interface Osmformat.HeaderBlockOrBuilder
public long getOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;
getOsmosisReplicationSequenceNumber
in interface Osmformat.HeaderBlockOrBuilder
public boolean hasOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
hasOsmosisReplicationBaseUrl
in interface Osmformat.HeaderBlockOrBuilder
public String getOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
getOsmosisReplicationBaseUrl
in interface Osmformat.HeaderBlockOrBuilder
public proto4.ByteString getOsmosisReplicationBaseUrlBytes()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
getOsmosisReplicationBaseUrlBytes
in interface Osmformat.HeaderBlockOrBuilder
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage
public void writeTo(proto4.CodedOutputStream output) throws IOException
writeTo
in interface proto4.MessageLite
writeTo
in class proto4.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface proto4.MessageLite
getSerializedSize
in class proto4.GeneratedMessage
public boolean equals(Object obj)
equals
in interface proto4.Message
equals
in class proto4.AbstractMessage
public int hashCode()
hashCode
in interface proto4.Message
hashCode
in class proto4.AbstractMessage
public static Osmformat.HeaderBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.HeaderBlock.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.HeaderBlock.Builder newBuilder()
public static Osmformat.HeaderBlock.Builder newBuilder(Osmformat.HeaderBlock prototype)
public Osmformat.HeaderBlock.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.HeaderBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.HeaderBlock getDefaultInstance()
public static proto4.Parser<Osmformat.HeaderBlock> parser()
public proto4.Parser<Osmformat.HeaderBlock> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.HeaderBlock getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.