Interface Osmformat.PrimitiveBlockOrBuilder
-
- All Superinterfaces:
proto4.MessageLiteOrBuilder
,proto4.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.PrimitiveBlock
,Osmformat.PrimitiveBlock.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.PrimitiveBlockOrBuilder extends proto4.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.int
getGranularity()
Granularity, units of nanodegrees, used to store coordinates in this blocklong
getLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.long
getLonOffset()
optional int64 lon_offset = 20 [default = 0];
Osmformat.PrimitiveGroup
getPrimitivegroup(int index)
repeated .PrimitiveGroup primitivegroup = 2;
int
getPrimitivegroupCount()
repeated .PrimitiveGroup primitivegroup = 2;
List<Osmformat.PrimitiveGroup>
getPrimitivegroupList()
repeated .PrimitiveGroup primitivegroup = 2;
Osmformat.PrimitiveGroupOrBuilder
getPrimitivegroupOrBuilder(int index)
repeated .PrimitiveGroup primitivegroup = 2;
List<? extends Osmformat.PrimitiveGroupOrBuilder>
getPrimitivegroupOrBuilderList()
repeated .PrimitiveGroup primitivegroup = 2;
Osmformat.StringTable
getStringtable()
required .StringTable stringtable = 1;
Osmformat.StringTableOrBuilder
getStringtableOrBuilder()
required .StringTable stringtable = 1;
boolean
hasDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.boolean
hasGranularity()
Granularity, units of nanodegrees, used to store coordinates in this blockboolean
hasLatOffset()
Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.boolean
hasLonOffset()
optional int64 lon_offset = 20 [default = 0];
boolean
hasStringtable()
required .StringTable stringtable = 1;
-
-
-
Method Detail
-
hasStringtable
boolean hasStringtable()
required .StringTable stringtable = 1;
- Returns:
- Whether the stringtable field is set.
-
getStringtable
Osmformat.StringTable getStringtable()
required .StringTable stringtable = 1;
- Returns:
- The stringtable.
-
getStringtableOrBuilder
Osmformat.StringTableOrBuilder getStringtableOrBuilder()
required .StringTable stringtable = 1;
-
getPrimitivegroupList
List<Osmformat.PrimitiveGroup> getPrimitivegroupList()
repeated .PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroup
Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupCount
int getPrimitivegroupCount()
repeated .PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupOrBuilderList
List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList()
repeated .PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupOrBuilder
Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index)
repeated .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 coordinates and the granularity grid in unites 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 coordinates and the granularity grid in unites 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.
-
-