public static final class Osmformat.PrimitiveBlock extends GeneratedMessageLiteimplements Osmformat .PrimitiveBlockOrBuilder
OSMPBF.PrimitiveBlock
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat
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 |
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()
public Parser<Osmformat .PrimitiveBlock > getParserForType()
public boolean hasStringtable()
required .OSMPBF.StringTable stringtable = 1;
public Osmformat.StringTable getStringtable()
required .OSMPBF.StringTable stringtable = 1;
public List<Osmformat .PrimitiveGroup > getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
public List<? extends Osmformat .PrimitiveGroupOrBuilder > getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
public int getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
public Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
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
public int getGranularity()
optional int32 granularity = 17 [default = 100];
Granularity, units of nanodegrees, used to store coordinates in this block
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.
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.
public boolean hasLonOffset()
optional int64 lon_offset = 20 [default = 0];
public long getLonOffset()
optional int64 lon_offset = 20 [default = 0];
public boolean hasDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
public int getDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
public final boolean isInitialized()
public void writeTo(CodedOutputStreamoutput) throws IOException
writeTo
in interface
MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() 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()
public static Osmformat.PrimitiveBlock .Builder newBuilder(Osmformat .PrimitiveBlock prototype)
public Osmformat.PrimitiveBlock .Builder toBuilder()