Package crosby.binary
Interface Osmformat.PrimitiveBlockOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.PrimitiveBlock,Osmformat.PrimitiveBlock.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.PrimitiveBlockOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDateGranularity()Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.intgetGranularity()Granularity, units of nanodegrees, used to store coordinates in this block.longgetLatOffset()Offset value between the output coordinates and the granularity grid in units of nanodegrees.longgetLonOffset()optional int64 lon_offset = 20 [default = 0];Osmformat.PrimitiveGroupgetPrimitivegroup(int index)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;intgetPrimitivegroupCount()repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;List<Osmformat.PrimitiveGroup>getPrimitivegroupList()repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveGroupOrBuildergetPrimitivegroupOrBuilder(int index)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;List<? extends Osmformat.PrimitiveGroupOrBuilder>getPrimitivegroupOrBuilderList()repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.StringTablegetStringtable()required .OSMPBF.StringTable stringtable = 1;Osmformat.StringTableOrBuildergetStringtableOrBuilder()required .OSMPBF.StringTable stringtable = 1;booleanhasDateGranularity()Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.booleanhasGranularity()Granularity, units of nanodegrees, used to store coordinates in this block.booleanhasLatOffset()Offset value between the output coordinates and the granularity grid in units of nanodegrees.booleanhasLonOffset()optional int64 lon_offset = 20 [default = 0];booleanhasStringtable()required .OSMPBF.StringTable stringtable = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStringtable
boolean hasStringtable()
required .OSMPBF.StringTable stringtable = 1;- Returns:
- Whether the stringtable field is set.
-
getStringtable
Osmformat.StringTable getStringtable()
required .OSMPBF.StringTable stringtable = 1;- Returns:
- The stringtable.
-
getStringtableOrBuilder
Osmformat.StringTableOrBuilder getStringtableOrBuilder()
required .OSMPBF.StringTable stringtable = 1;
-
getPrimitivegroupList
List<Osmformat.PrimitiveGroup> getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroup
Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupCount
int getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupOrBuilderList
List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupOrBuilder
Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
hasGranularity
boolean hasGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Returns:
- Whether the granularity field is set.
-
getGranularity
int getGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Returns:
- The granularity.
-
hasLatOffset
boolean hasLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Returns:
- Whether the latOffset field is set.
-
getLatOffset
long getLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Returns:
- The latOffset.
-
hasLonOffset
boolean hasLonOffset()
optional int64 lon_offset = 20 [default = 0];- Returns:
- Whether the lonOffset field is set.
-
getLonOffset
long getLonOffset()
optional int64 lon_offset = 20 [default = 0];- Returns:
- The lonOffset.
-
hasDateGranularity
boolean hasDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Returns:
- Whether the dateGranularity field is set.
-
getDateGranularity
int getDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Returns:
- The dateGranularity.
-
-