public static final class Osmformat.PrimitiveBlock extends com.protobuf .GeneratedMessageLite implements Osmformat .PrimitiveBlockOrBuilder
OSMPBF.PrimitiveBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat
Protobuf type
OSMPBF.PrimitiveBlock
|
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.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 com |
PARSER
|
static int |
PRIMITIVEGROUP_FIELD_NUMBER
|
static int |
STRINGTABLE_FIELD_NUMBER
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
int |
getGranularity()
optional int32 granularity = 17 [default = 100];
|
long |
getLatOffset()
optional int64 lat_offset = 19 [default = 0];
|
long |
getLonOffset()
optional int64 lon_offset = 20 [default = 0];
|
com |
getParserForType()
|
Osmformat |
getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
|
int |
getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
|
List |
getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
|
Osmformat |
getPrimitivegroupOrBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
|
List |
getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
|
int |
getSerializedSize()
|
Osmformat |
getStringtable()
required .OSMPBF.StringTable stringtable = 1;
|
boolean |
hasDateGranularity()
optional int32 date_granularity = 18 [default = 1000];
|
boolean |
hasGranularity()
optional int32 granularity = 17 [default = 100];
|
boolean |
hasLatOffset()
optional int64 lat_offset = 19 [default = 0];
|
boolean |
hasLonOffset()
optional int64 lon_offset = 20 [default = 0];
|
boolean |
hasStringtable()
required .OSMPBF.StringTable stringtable = 1;
|
boolean |
isInitialized()
|
static Osmformat |
newBuilder()
|
static Osmformat |
newBuilder(Osmformat
|
Osmformat |
newBuilderForType()
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseFrom(byte[] data)
|
static Osmformat |
parseFrom(byte[] data, com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(InputStream
|
static Osmformat |
parseFrom(InputStream
|
Osmformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.protobuf .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 com.protobuf .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(com.protobuf .CodedOutputStream output) throws IOException
writeTo in interface
com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace in class
com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static Osmformat.PrimitiveBlock parseFrom(com .protobuf .ByteString data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(com .protobuf .ByteString data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(byte[] data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(byte[] data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.PrimitiveBlock parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(com .protobuf .CodedInputStream input) throws IOException
IOException
public static Osmformat.PrimitiveBlock parseFrom(com .protobuf .CodedInputStream input, com .protobuf .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()