Interface Osmformat.HeaderBlockOrBuilder
-
- All Superinterfaces:
proto4.MessageLiteOrBuilder
,proto4.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.HeaderBlock
,Osmformat.HeaderBlock.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.HeaderBlockOrBuilder extends proto4.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Osmformat.HeaderBBox
getBbox()
optional .HeaderBBox bbox = 1;
Osmformat.HeaderBBoxOrBuilder
getBboxOrBuilder()
optional .HeaderBBox bbox = 1;
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;
List<String>
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 OsmosisString
getRequiredFeatures(int index)
Additional tags to aid in parsing this datasetproto4.ByteString
getRequiredFeaturesBytes(int index)
Additional tags to aid in parsing this datasetint
getRequiredFeaturesCount()
Additional tags to aid in parsing this datasetList<String>
getRequiredFeaturesList()
Additional tags to aid in parsing this datasetString
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 Osmosisboolean
hasSource()
From the bbox field.boolean
hasWritingprogram()
optional string writingprogram = 16;
-
-
-
Method Detail
-
hasBbox
boolean hasBbox()
optional .HeaderBBox bbox = 1;
- Returns:
- Whether the bbox field is set.
-
getBbox
Osmformat.HeaderBBox getBbox()
optional .HeaderBBox bbox = 1;
- Returns:
- The bbox.
-
getBboxOrBuilder
Osmformat.HeaderBBoxOrBuilder getBboxOrBuilder()
optional .HeaderBBox bbox = 1;
-
getRequiredFeaturesList
List<String> getRequiredFeaturesList()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
- Returns:
- A list containing the requiredFeatures.
-
getRequiredFeaturesCount
int getRequiredFeaturesCount()
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
- Returns:
- The count of requiredFeatures.
-
getRequiredFeatures
String getRequiredFeatures(int index)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The requiredFeatures at the given index.
-
getRequiredFeaturesBytes
proto4.ByteString getRequiredFeaturesBytes(int index)
Additional tags to aid in parsing this dataset
repeated string required_features = 4;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requiredFeatures at the given index.
-
getOptionalFeaturesList
List<String> getOptionalFeaturesList()
repeated string optional_features = 5;
- Returns:
- A list containing the optionalFeatures.
-
getOptionalFeaturesCount
int getOptionalFeaturesCount()
repeated string optional_features = 5;
- Returns:
- The count of optionalFeatures.
-
getOptionalFeatures
String getOptionalFeatures(int index)
repeated string optional_features = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The optionalFeatures at the given index.
-
getOptionalFeaturesBytes
proto4.ByteString getOptionalFeaturesBytes(int index)
repeated string optional_features = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the optionalFeatures at the given index.
-
hasWritingprogram
boolean hasWritingprogram()
optional string writingprogram = 16;
- Returns:
- Whether the writingprogram field is set.
-
getWritingprogram
String getWritingprogram()
optional string writingprogram = 16;
- Returns:
- The writingprogram.
-
getWritingprogramBytes
proto4.ByteString getWritingprogramBytes()
optional string writingprogram = 16;
- Returns:
- The bytes for writingprogram.
-
hasSource
boolean hasSource()
From the bbox field.
optional string source = 17;
- Returns:
- Whether the source field is set.
-
getSource
String getSource()
From the bbox field.
optional string source = 17;
- Returns:
- The source.
-
getSourceBytes
proto4.ByteString getSourceBytes()
From the bbox field.
optional string source = 17;
- Returns:
- The bytes for source.
-
hasOsmosisReplicationTimestamp
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;
- Returns:
- Whether the osmosisReplicationTimestamp field is set.
-
getOsmosisReplicationTimestamp
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;
- Returns:
- The osmosisReplicationTimestamp.
-
hasOsmosisReplicationSequenceNumber
boolean hasOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;
- Returns:
- Whether the osmosisReplicationSequenceNumber field is set.
-
getOsmosisReplicationSequenceNumber
long getOsmosisReplicationSequenceNumber()
replication sequence number (sequenceNumber in state.txt)
optional int64 osmosis_replication_sequence_number = 33;
- Returns:
- The osmosisReplicationSequenceNumber.
-
hasOsmosisReplicationBaseUrl
boolean hasOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
- Returns:
- Whether the osmosisReplicationBaseUrl field is set.
-
getOsmosisReplicationBaseUrl
String getOsmosisReplicationBaseUrl()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
- Returns:
- The osmosisReplicationBaseUrl.
-
getOsmosisReplicationBaseUrlBytes
proto4.ByteString getOsmosisReplicationBaseUrlBytes()
replication base URL (from Osmosis' configuration.txt file)
optional string osmosis_replication_base_url = 34;
- Returns:
- The bytes for osmosisReplicationBaseUrl.
-
-