Package crosby.binary

Interface Osmformat.HeaderBlockOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Osmformat.HeaderBlock, Osmformat.HeaderBlock.Builder
    Enclosing class:
    Osmformat

    public static interface Osmformat.HeaderBlockOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasBbox

        boolean hasBbox()
        optional .OSMPBF.HeaderBBox bbox = 1;
        Returns:
        Whether the bbox field is set.
      • getRequiredFeaturesList

        java.util.List<java.lang.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

        java.lang.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

        com.google.protobuf.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

        java.util.List<java.lang.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

        java.lang.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

        com.google.protobuf.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

        java.lang.String getWritingprogram()
        optional string writingprogram = 16;
        Returns:
        The writingprogram.
      • getWritingprogramBytes

        com.google.protobuf.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

        java.lang.String getSource()
         From the bbox field.
         
        optional string source = 17;
        Returns:
        The source.
      • getSourceBytes

        com.google.protobuf.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

        java.lang.String getOsmosisReplicationBaseUrl()
         Replication base URL (from Osmosis' configuration.txt file).
         
        optional string osmosis_replication_base_url = 34;
        Returns:
        The osmosisReplicationBaseUrl.
      • getOsmosisReplicationBaseUrlBytes

        com.google.protobuf.ByteString getOsmosisReplicationBaseUrlBytes()
         Replication base URL (from Osmosis' configuration.txt file).
         
        optional string osmosis_replication_base_url = 34;
        Returns:
        The bytes for osmosisReplicationBaseUrl.