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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface proto4.MessageLite.Builder
clear
in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>
public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface proto4.Message.Builder
getDescriptorForType
in interface proto4.MessageOrBuilder
getDescriptorForType
in class proto4.GeneratedMessage.Builder<Osmformat.HeaderBlock.Builder>
public Osmformat.HeaderBlock getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
public Osmformat.HeaderBlock build()
build
in interface proto4.Message.Builder
build
in interface proto4.MessageLite.Builder
public Osmformat.HeaderBlock buildPartial()
buildPartial
in interface proto4.Message.Builder
buildPartial
in interface proto4.MessageLite.Builder
public Osmformat.HeaderBlock.Builder mergeFrom(proto4.Message other)
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.HeaderBlock.Builder>
public Osmformat.HeaderBlock.Builder mergeFrom(Osmformat.HeaderBlock other)
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface proto4.MessageLite.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.HeaderBlock.Builder>
IOException
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.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.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 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.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 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.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 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.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 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.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 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.HeaderBlockOrBuilder
public long getOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;
getOsmosisReplicationSequenceNumber
in interface Osmformat.HeaderBlockOrBuilder
public 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.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 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.