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 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 block.long
getLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.long
getLonOffset()
optional int64 lon_offset = 20 [default = 0];
Osmformat.PrimitiveGroup
getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
int
getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
java.util.List<Osmformat.PrimitiveGroup>
getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
Osmformat.PrimitiveGroupOrBuilder
getPrimitivegroupOrBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
java.util.List<? extends Osmformat.PrimitiveGroupOrBuilder>
getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
Osmformat.StringTable
getStringtable()
required .OSMPBF.StringTable stringtable = 1;
Osmformat.StringTableOrBuilder
getStringtableOrBuilder()
required .OSMPBF.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 block.boolean
hasLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.boolean
hasLonOffset()
optional int64 lon_offset = 20 [default = 0];
boolean
hasStringtable()
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
java.util.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
java.util.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.
-
-