public static final class Osmformat.HeaderBlock.Builder extends proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder> implements Osmformat.HeaderBlockOrBuilder
HeaderBlock| Modifier and Type | Method and Description |
|---|---|
Osmformat.HeaderBlock.Builder |
addAllOptionalFeatures(Iterable<String> values)
repeated string optional_features = 5; |
Osmformat.HeaderBlock.Builder |
addAllRequiredFeatures(Iterable<String> values)
Additional tags to aid in parsing this dataset
|
Osmformat.HeaderBlock.Builder |
addOptionalFeatures(String value)
repeated string optional_features = 5; |
Osmformat.HeaderBlock.Builder |
addOptionalFeaturesBytes(proto4.ByteString value)
repeated string optional_features = 5; |
Osmformat.HeaderBlock.Builder |
addRequiredFeatures(String value)
Additional tags to aid in parsing this dataset
|
Osmformat.HeaderBlock.Builder |
addRequiredFeaturesBytes(proto4.ByteString value)
Additional tags to aid in parsing this dataset
|
Osmformat.HeaderBlock |
build() |
Osmformat.HeaderBlock |
buildPartial() |
Osmformat.HeaderBlock.Builder |
clear() |
Osmformat.HeaderBlock.Builder |
clearBbox()
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBlock.Builder |
clearOptionalFeatures()
repeated string optional_features = 5; |
Osmformat.HeaderBlock.Builder |
clearOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
|
Osmformat.HeaderBlock.Builder |
clearOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
|
Osmformat.HeaderBlock.Builder |
clearOsmosisReplicationTimestamp()
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
|
Osmformat.HeaderBlock.Builder |
clearRequiredFeatures()
Additional tags to aid in parsing this dataset
|
Osmformat.HeaderBlock.Builder |
clearSource()
From the bbox field.
|
Osmformat.HeaderBlock.Builder |
clearWritingprogram()
optional string writingprogram = 16; |
Osmformat.HeaderBBox |
getBbox()
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBBox.Builder |
getBboxBuilder()
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBBoxOrBuilder |
getBboxOrBuilder()
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBlock |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Descriptors.Descriptor |
getDescriptorForType() |
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
|
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
|
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; |
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() |
Osmformat.HeaderBlock.Builder |
mergeBbox(Osmformat.HeaderBBox value)
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBlock.Builder |
mergeFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
Osmformat.HeaderBlock.Builder |
mergeFrom(proto4.Message other) |
Osmformat.HeaderBlock.Builder |
mergeFrom(Osmformat.HeaderBlock other) |
Osmformat.HeaderBlock.Builder |
setBbox(Osmformat.HeaderBBox.Builder builderForValue)
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBlock.Builder |
setBbox(Osmformat.HeaderBBox value)
optional .HeaderBBox bbox = 1; |
Osmformat.HeaderBlock.Builder |
setOptionalFeatures(int index,
String value)
repeated string optional_features = 5; |
Osmformat.HeaderBlock.Builder |
setOsmosisReplicationBaseUrl(String value)
replication base URL (from Osmosis' configuration.txt file)
|
Osmformat.HeaderBlock.Builder |
setOsmosisReplicationBaseUrlBytes(proto4.ByteString value)
replication base URL (from Osmosis' configuration.txt file)
|
Osmformat.HeaderBlock.Builder |
setOsmosisReplicationSequenceNumber(long value)
replication sequence number (sequenceNumber in state.txt)
|
Osmformat.HeaderBlock.Builder |
setOsmosisReplicationTimestamp(long value)
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
|
Osmformat.HeaderBlock.Builder |
setRequiredFeatures(int index,
String value)
Additional tags to aid in parsing this dataset
|
Osmformat.HeaderBlock.Builder |
setSource(String value)
From the bbox field.
|
Osmformat.HeaderBlock.Builder |
setSourceBytes(proto4.ByteString value)
From the bbox field.
|
Osmformat.HeaderBlock.Builder |
setWritingprogram(String value)
optional string writingprogram = 16; |
Osmformat.HeaderBlock.Builder |
setWritingprogramBytes(proto4.ByteString value)
optional string writingprogram = 16; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>public Osmformat.HeaderBlock.Builder clear()
clear in interface proto4.Message.Builderclear in interface proto4.MessageLite.Builderclear in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface proto4.Message.BuildergetDescriptorForType in interface proto4.MessageOrBuildergetDescriptorForType in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>public Osmformat.HeaderBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface proto4.MessageLiteOrBuildergetDefaultInstanceForType in interface proto4.MessageOrBuilderpublic Osmformat.HeaderBlock build()
build in interface proto4.Message.Builderbuild in interface proto4.MessageLite.Builderpublic Osmformat.HeaderBlock buildPartial()
buildPartial in interface proto4.Message.BuilderbuildPartial in interface proto4.MessageLite.Builderpublic Osmformat.HeaderBlock.Builder mergeFrom(proto4.Message other)
mergeFrom in interface proto4.Message.BuildermergeFrom in class proto4.AbstractMessage.Builder<Osmformat.HeaderBlock.Builder>public Osmformat.HeaderBlock.Builder mergeFrom(Osmformat.HeaderBlock other)
public final boolean isInitialized()
isInitialized in interface proto4.MessageLiteOrBuilderisInitialized in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>public Osmformat.HeaderBlock.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface proto4.Message.BuildermergeFrom in interface proto4.MessageLite.BuildermergeFrom in class proto4.AbstractMessage.Builder<Osmformat.HeaderBlock.Builder>IOExceptionpublic boolean hasBbox()
optional .HeaderBBox bbox = 1;hasBbox in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBBox getBbox()
optional .HeaderBBox bbox = 1;getBbox in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setBbox(Osmformat.HeaderBBox value)
optional .HeaderBBox bbox = 1;public Osmformat.HeaderBlock.Builder setBbox(Osmformat.HeaderBBox.Builder builderForValue)
optional .HeaderBBox bbox = 1;public Osmformat.HeaderBlock.Builder mergeBbox(Osmformat.HeaderBBox value)
optional .HeaderBBox bbox = 1;public Osmformat.HeaderBlock.Builder clearBbox()
optional .HeaderBBox bbox = 1;public Osmformat.HeaderBBox.Builder getBboxBuilder()
optional .HeaderBBox bbox = 1;public Osmformat.HeaderBBoxOrBuilder getBboxOrBuilder()
optional .HeaderBBox bbox = 1;getBboxOrBuilder in interface Osmformat.HeaderBlockOrBuilderpublic proto4.ProtocolStringList getRequiredFeaturesList()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;getRequiredFeaturesList in interface Osmformat.HeaderBlockOrBuilderpublic int getRequiredFeaturesCount()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;getRequiredFeaturesCount in interface Osmformat.HeaderBlockOrBuilderpublic String getRequiredFeatures(int index)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;getRequiredFeatures in interface Osmformat.HeaderBlockOrBuilderindex - 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.HeaderBlockOrBuilderindex - The index of the value to return.public Osmformat.HeaderBlock.Builder setRequiredFeatures(int index, String value)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;index - The index to set the value at.value - The requiredFeatures to set.public Osmformat.HeaderBlock.Builder addRequiredFeatures(String value)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;value - The requiredFeatures to add.public Osmformat.HeaderBlock.Builder addAllRequiredFeatures(Iterable<String> values)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;values - The requiredFeatures to add.public Osmformat.HeaderBlock.Builder clearRequiredFeatures()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;public Osmformat.HeaderBlock.Builder addRequiredFeaturesBytes(proto4.ByteString value)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;value - The bytes of the requiredFeatures to add.public proto4.ProtocolStringList getOptionalFeaturesList()
repeated string optional_features = 5;getOptionalFeaturesList in interface Osmformat.HeaderBlockOrBuilderpublic int getOptionalFeaturesCount()
repeated string optional_features = 5;getOptionalFeaturesCount in interface Osmformat.HeaderBlockOrBuilderpublic String getOptionalFeatures(int index)
repeated string optional_features = 5;getOptionalFeatures in interface Osmformat.HeaderBlockOrBuilderindex - The index of the element to return.public proto4.ByteString getOptionalFeaturesBytes(int index)
repeated string optional_features = 5;getOptionalFeaturesBytes in interface Osmformat.HeaderBlockOrBuilderindex - The index of the value to return.public Osmformat.HeaderBlock.Builder setOptionalFeatures(int index, String value)
repeated string optional_features = 5;index - The index to set the value at.value - The optionalFeatures to set.public Osmformat.HeaderBlock.Builder addOptionalFeatures(String value)
repeated string optional_features = 5;value - The optionalFeatures to add.public Osmformat.HeaderBlock.Builder addAllOptionalFeatures(Iterable<String> values)
repeated string optional_features = 5;values - The optionalFeatures to add.public Osmformat.HeaderBlock.Builder clearOptionalFeatures()
repeated string optional_features = 5;public Osmformat.HeaderBlock.Builder addOptionalFeaturesBytes(proto4.ByteString value)
repeated string optional_features = 5;value - The bytes of the optionalFeatures to add.public boolean hasWritingprogram()
optional string writingprogram = 16;hasWritingprogram in interface Osmformat.HeaderBlockOrBuilderpublic String getWritingprogram()
optional string writingprogram = 16;getWritingprogram in interface Osmformat.HeaderBlockOrBuilderpublic proto4.ByteString getWritingprogramBytes()
optional string writingprogram = 16;getWritingprogramBytes in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setWritingprogram(String value)
optional string writingprogram = 16;value - The writingprogram to set.public Osmformat.HeaderBlock.Builder clearWritingprogram()
optional string writingprogram = 16;public Osmformat.HeaderBlock.Builder setWritingprogramBytes(proto4.ByteString value)
optional string writingprogram = 16;value - The bytes for writingprogram to set.public boolean hasSource()
From the bbox field.
optional string source = 17;hasSource in interface Osmformat.HeaderBlockOrBuilderpublic String getSource()
From the bbox field.
optional string source = 17;getSource in interface Osmformat.HeaderBlockOrBuilderpublic proto4.ByteString getSourceBytes()
From the bbox field.
optional string source = 17;getSourceBytes in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setSource(String value)
From the bbox field.
optional string source = 17;value - The source to set.public Osmformat.HeaderBlock.Builder clearSource()
From the bbox field.
optional string source = 17;public Osmformat.HeaderBlock.Builder setSourceBytes(proto4.ByteString value)
From the bbox field.
optional string source = 17;value - The bytes for source to set.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.HeaderBlockOrBuilderpublic 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.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setOsmosisReplicationTimestamp(long value)
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;value - The osmosisReplicationTimestamp to set.public Osmformat.HeaderBlock.Builder clearOsmosisReplicationTimestamp()
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;public boolean hasOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;hasOsmosisReplicationSequenceNumber in interface Osmformat.HeaderBlockOrBuilderpublic long getOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;getOsmosisReplicationSequenceNumber in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setOsmosisReplicationSequenceNumber(long value)
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;value - The osmosisReplicationSequenceNumber to set.public Osmformat.HeaderBlock.Builder clearOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;public boolean hasOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;hasOsmosisReplicationBaseUrl in interface Osmformat.HeaderBlockOrBuilderpublic String getOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;getOsmosisReplicationBaseUrl in interface Osmformat.HeaderBlockOrBuilderpublic proto4.ByteString getOsmosisReplicationBaseUrlBytes()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;getOsmosisReplicationBaseUrlBytes in interface Osmformat.HeaderBlockOrBuilderpublic Osmformat.HeaderBlock.Builder setOsmosisReplicationBaseUrl(String value)
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;value - The osmosisReplicationBaseUrl to set.public Osmformat.HeaderBlock.Builder clearOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;public Osmformat.HeaderBlock.Builder setOsmosisReplicationBaseUrlBytes(proto4.ByteString value)
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;value - The bytes for osmosisReplicationBaseUrl to set.Copyright © 2025 The Apache Software Foundation. All rights reserved.