public static final class Osmformat.HeaderBlock extends GeneratedMessageLite implements Osmformat.HeaderBlockOrBuilder
OSMPBF.HeaderBlock
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.HeaderBlock.Builder
Protobuf type
OSMPBF.HeaderBlock |
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BBOX_FIELD_NUMBER |
static int |
OPTIONAL_FEATURES_FIELD_NUMBER |
static Parser<Osmformat.HeaderBlock> |
PARSER |
static int |
REQUIRED_FEATURES_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
WRITINGPROGRAM_FIELD_NUMBER |
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.HeaderBlock> PARSER
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 Osmformat.HeaderBlock getDefaultInstance()
public Osmformat.HeaderBlock getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.HeaderBlock> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public boolean hasBbox()
optional .OSMPBF.HeaderBBox bbox = 1;
hasBbox
in interface Osmformat.HeaderBlockOrBuilder
public Osmformat.HeaderBBox getBbox()
optional .OSMPBF.HeaderBBox bbox = 1;
getBbox
in interface Osmformat.HeaderBlockOrBuilder
public ProtocolStringList getRequiredFeaturesList()
repeated string required_features = 4;
Additional tags to aid in parsing this dataset
getRequiredFeaturesList
in interface Osmformat.HeaderBlockOrBuilder
public int getRequiredFeaturesCount()
repeated string required_features = 4;
Additional tags to aid in parsing this dataset
getRequiredFeaturesCount
in interface Osmformat.HeaderBlockOrBuilder
public String getRequiredFeatures(int index)
repeated string required_features = 4;
Additional tags to aid in parsing this dataset
getRequiredFeatures
in interface Osmformat.HeaderBlockOrBuilder
public ByteString getRequiredFeaturesBytes(int index)
repeated string required_features = 4;
Additional tags to aid in parsing this dataset
getRequiredFeaturesBytes
in interface Osmformat.HeaderBlockOrBuilder
public 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
public ByteString getOptionalFeaturesBytes(int index)
repeated string optional_features = 5;
getOptionalFeaturesBytes
in interface Osmformat.HeaderBlockOrBuilder
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 ByteString getWritingprogramBytes()
optional string writingprogram = 16;
getWritingprogramBytes
in interface Osmformat.HeaderBlockOrBuilder
public boolean hasSource()
optional string source = 17;
From the bbox field.
hasSource
in interface Osmformat.HeaderBlockOrBuilder
public String getSource()
optional string source = 17;
From the bbox field.
getSource
in interface Osmformat.HeaderBlockOrBuilder
public ByteString getSourceBytes()
optional string source = 17;
From the bbox field.
getSourceBytes
in interface Osmformat.HeaderBlockOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class GeneratedMessageLite
ObjectStreamException
public static Osmformat.HeaderBlock parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.HeaderBlock parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.HeaderBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.HeaderBlock.Builder newBuilder()
public Osmformat.HeaderBlock.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.HeaderBlock.Builder newBuilder(Osmformat.HeaderBlock prototype)
public Osmformat.HeaderBlock.Builder toBuilder()
toBuilder
in interface MessageLite