public static final class Osmformat.PrimitiveBlock extends GeneratedMessageLite implements Osmformat.PrimitiveBlockOrBuilder
OSMPBF.PrimitiveBlock
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.PrimitiveBlock.Builder
Protobuf type
OSMPBF.PrimitiveBlock |
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 |
DATE_GRANULARITY_FIELD_NUMBER |
static int |
GRANULARITY_FIELD_NUMBER |
static int |
LAT_OFFSET_FIELD_NUMBER |
static int |
LON_OFFSET_FIELD_NUMBER |
static Parser<Osmformat.PrimitiveBlock> |
PARSER |
static int |
PRIMITIVEGROUP_FIELD_NUMBER |
static int |
STRINGTABLE_FIELD_NUMBER |
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.PrimitiveBlock> PARSER
public static final int STRINGTABLE_FIELD_NUMBER
public static final int PRIMITIVEGROUP_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER
public static final int LAT_OFFSET_FIELD_NUMBER
public static final int LON_OFFSET_FIELD_NUMBER
public static final int DATE_GRANULARITY_FIELD_NUMBER
public static Osmformat.PrimitiveBlock getDefaultInstance()
public Osmformat.PrimitiveBlock getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.PrimitiveBlock> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public boolean hasStringtable()
required .OSMPBF.StringTable stringtable = 1;
hasStringtable
in interface Osmformat.PrimitiveBlockOrBuilder
public Osmformat.StringTable getStringtable()
required .OSMPBF.StringTable stringtable = 1;
getStringtable
in interface Osmformat.PrimitiveBlockOrBuilder
public List<Osmformat.PrimitiveGroup> getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
getPrimitivegroupList
in interface Osmformat.PrimitiveBlockOrBuilder
public List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
public int getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
getPrimitivegroupCount
in interface Osmformat.PrimitiveBlockOrBuilder
public Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
getPrimitivegroup
in interface Osmformat.PrimitiveBlockOrBuilder
public Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
public boolean hasGranularity()
optional int32 granularity = 17 [default = 100];
Granularity, units of nanodegrees, used to store coordinates in this block
hasGranularity
in interface Osmformat.PrimitiveBlockOrBuilder
public int getGranularity()
optional int32 granularity = 17 [default = 100];
Granularity, units of nanodegrees, used to store coordinates in this block
getGranularity
in interface Osmformat.PrimitiveBlockOrBuilder
public boolean hasLatOffset()
optional int64 lat_offset = 19 [default = 0];
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
hasLatOffset
in interface Osmformat.PrimitiveBlockOrBuilder
public long getLatOffset()
optional int64 lat_offset = 19 [default = 0];
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
getLatOffset
in interface Osmformat.PrimitiveBlockOrBuilder
public boolean hasLonOffset()
optional int64 lon_offset = 20 [default = 0];
hasLonOffset
in interface Osmformat.PrimitiveBlockOrBuilder
public long getLonOffset()
optional int64 lon_offset = 20 [default = 0];
getLonOffset
in interface Osmformat.PrimitiveBlockOrBuilder
public boolean hasDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
hasDateGranularity
in interface Osmformat.PrimitiveBlockOrBuilder
public int getDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
getDateGranularity
in interface Osmformat.PrimitiveBlockOrBuilder
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.PrimitiveBlock parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveBlock.Builder newBuilder()
public Osmformat.PrimitiveBlock.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.PrimitiveBlock.Builder newBuilder(Osmformat.PrimitiveBlock prototype)
public Osmformat.PrimitiveBlock.Builder toBuilder()
toBuilder
in interface MessageLite