Package crosby.binary
Class Osmformat.PrimitiveBlock.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
- crosby.binary.Osmformat.PrimitiveBlock.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Osmformat.PrimitiveBlockOrBuilder,Cloneable
- Enclosing class:
- Osmformat.PrimitiveBlock
public static final class Osmformat.PrimitiveBlock.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder> implements Osmformat.PrimitiveBlockOrBuilder
Protobuf typeOSMPBF.PrimitiveBlock
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.PrimitiveBlock.BuilderaddAllPrimitivegroup(Iterable<? extends Osmformat.PrimitiveGroup> values)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderaddPrimitivegroup(int index, Osmformat.PrimitiveGroup value)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderaddPrimitivegroup(int index, Osmformat.PrimitiveGroup.Builder builderForValue)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderaddPrimitivegroup(Osmformat.PrimitiveGroup value)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderaddPrimitivegroup(Osmformat.PrimitiveGroup.Builder builderForValue)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveGroup.BuilderaddPrimitivegroupBuilder()repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveGroup.BuilderaddPrimitivegroupBuilder(int index)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Osmformat.PrimitiveBlockbuild()Osmformat.PrimitiveBlockbuildPartial()Osmformat.PrimitiveBlock.Builderclear()Osmformat.PrimitiveBlock.BuilderclearDateGranularity()Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.Osmformat.PrimitiveBlock.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Osmformat.PrimitiveBlock.BuilderclearGranularity()Granularity, units of nanodegrees, used to store coordinates in this block.Osmformat.PrimitiveBlock.BuilderclearLatOffset()Offset value between the output coordinates and the granularity grid in units of nanodegrees.Osmformat.PrimitiveBlock.BuilderclearLonOffset()optional int64 lon_offset = 20 [default = 0];Osmformat.PrimitiveBlock.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Osmformat.PrimitiveBlock.BuilderclearPrimitivegroup()repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuilderclearStringtable()required .OSMPBF.StringTable stringtable = 1;Osmformat.PrimitiveBlock.Builderclone()intgetDateGranularity()Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.Osmformat.PrimitiveBlockgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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;Osmformat.PrimitiveGroup.BuildergetPrimitivegroupBuilder(int index)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;List<Osmformat.PrimitiveGroup.Builder>getPrimitivegroupBuilderList()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.StringTable.BuildergetStringtableBuilder()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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Osmformat.PrimitiveBlock.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Osmformat.PrimitiveBlock.BuildermergeFrom(com.google.protobuf.Message other)Osmformat.PrimitiveBlock.BuildermergeFrom(Osmformat.PrimitiveBlock other)Osmformat.PrimitiveBlock.BuildermergeStringtable(Osmformat.StringTable value)required .OSMPBF.StringTable stringtable = 1;Osmformat.PrimitiveBlock.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Osmformat.PrimitiveBlock.BuilderremovePrimitivegroup(int index)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuildersetDateGranularity(int value)Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.Osmformat.PrimitiveBlock.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Osmformat.PrimitiveBlock.BuildersetGranularity(int value)Granularity, units of nanodegrees, used to store coordinates in this block.Osmformat.PrimitiveBlock.BuildersetLatOffset(long value)Offset value between the output coordinates and the granularity grid in units of nanodegrees.Osmformat.PrimitiveBlock.BuildersetLonOffset(long value)optional int64 lon_offset = 20 [default = 0];Osmformat.PrimitiveBlock.BuildersetPrimitivegroup(int index, Osmformat.PrimitiveGroup value)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuildersetPrimitivegroup(int index, Osmformat.PrimitiveGroup.Builder builderForValue)repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveBlock.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Osmformat.PrimitiveBlock.BuildersetStringtable(Osmformat.StringTable value)required .OSMPBF.StringTable stringtable = 1;Osmformat.PrimitiveBlock.BuildersetStringtable(Osmformat.StringTable.Builder builderForValue)required .OSMPBF.StringTable stringtable = 1;Osmformat.PrimitiveBlock.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
clear
public Osmformat.PrimitiveBlock.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
getDefaultInstanceForType
public Osmformat.PrimitiveBlock getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Osmformat.PrimitiveBlock build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Osmformat.PrimitiveBlock buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Osmformat.PrimitiveBlock.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
setField
public Osmformat.PrimitiveBlock.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
clearField
public Osmformat.PrimitiveBlock.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
clearOneof
public Osmformat.PrimitiveBlock.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
setRepeatedField
public Osmformat.PrimitiveBlock.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
addRepeatedField
public Osmformat.PrimitiveBlock.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
mergeFrom
public Osmformat.PrimitiveBlock.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Osmformat.PrimitiveBlock.Builder>
-
mergeFrom
public Osmformat.PrimitiveBlock.Builder mergeFrom(Osmformat.PrimitiveBlock other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
mergeFrom
public Osmformat.PrimitiveBlock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Osmformat.PrimitiveBlock.Builder>- Throws:
IOException
-
hasStringtable
public boolean hasStringtable()
required .OSMPBF.StringTable stringtable = 1;- Specified by:
hasStringtablein interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the stringtable field is set.
-
getStringtable
public Osmformat.StringTable getStringtable()
required .OSMPBF.StringTable stringtable = 1;- Specified by:
getStringtablein interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The stringtable.
-
setStringtable
public Osmformat.PrimitiveBlock.Builder setStringtable(Osmformat.StringTable value)
required .OSMPBF.StringTable stringtable = 1;
-
setStringtable
public Osmformat.PrimitiveBlock.Builder setStringtable(Osmformat.StringTable.Builder builderForValue)
required .OSMPBF.StringTable stringtable = 1;
-
mergeStringtable
public Osmformat.PrimitiveBlock.Builder mergeStringtable(Osmformat.StringTable value)
required .OSMPBF.StringTable stringtable = 1;
-
clearStringtable
public Osmformat.PrimitiveBlock.Builder clearStringtable()
required .OSMPBF.StringTable stringtable = 1;
-
getStringtableBuilder
public Osmformat.StringTable.Builder getStringtableBuilder()
required .OSMPBF.StringTable stringtable = 1;
-
getStringtableOrBuilder
public Osmformat.StringTableOrBuilder getStringtableOrBuilder()
required .OSMPBF.StringTable stringtable = 1;- Specified by:
getStringtableOrBuilderin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupList
public List<Osmformat.PrimitiveGroup> getPrimitivegroupList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupListin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupCount
public int getPrimitivegroupCount()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupCountin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroup
public Osmformat.PrimitiveGroup getPrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupin interfaceOsmformat.PrimitiveBlockOrBuilder
-
setPrimitivegroup
public Osmformat.PrimitiveBlock.Builder setPrimitivegroup(int index, Osmformat.PrimitiveGroup value)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
setPrimitivegroup
public Osmformat.PrimitiveBlock.Builder setPrimitivegroup(int index, Osmformat.PrimitiveGroup.Builder builderForValue)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addPrimitivegroup
public Osmformat.PrimitiveBlock.Builder addPrimitivegroup(Osmformat.PrimitiveGroup value)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addPrimitivegroup
public Osmformat.PrimitiveBlock.Builder addPrimitivegroup(int index, Osmformat.PrimitiveGroup value)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addPrimitivegroup
public Osmformat.PrimitiveBlock.Builder addPrimitivegroup(Osmformat.PrimitiveGroup.Builder builderForValue)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addPrimitivegroup
public Osmformat.PrimitiveBlock.Builder addPrimitivegroup(int index, Osmformat.PrimitiveGroup.Builder builderForValue)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addAllPrimitivegroup
public Osmformat.PrimitiveBlock.Builder addAllPrimitivegroup(Iterable<? extends Osmformat.PrimitiveGroup> values)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
clearPrimitivegroup
public Osmformat.PrimitiveBlock.Builder clearPrimitivegroup()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
removePrimitivegroup
public Osmformat.PrimitiveBlock.Builder removePrimitivegroup(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupBuilder
public Osmformat.PrimitiveGroup.Builder getPrimitivegroupBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupOrBuilder
public Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupOrBuilderin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupOrBuilderList
public List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupOrBuilderListin interfaceOsmformat.PrimitiveBlockOrBuilder
-
addPrimitivegroupBuilder
public Osmformat.PrimitiveGroup.Builder addPrimitivegroupBuilder()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
addPrimitivegroupBuilder
public Osmformat.PrimitiveGroup.Builder addPrimitivegroupBuilder(int index)
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
getPrimitivegroupBuilderList
public List<Osmformat.PrimitiveGroup.Builder> getPrimitivegroupBuilderList()
repeated .OSMPBF.PrimitiveGroup primitivegroup = 2;
-
hasGranularity
public boolean hasGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Specified by:
hasGranularityin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the granularity field is set.
-
getGranularity
public int getGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Specified by:
getGranularityin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The granularity.
-
setGranularity
public Osmformat.PrimitiveBlock.Builder setGranularity(int value)
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
public Osmformat.PrimitiveBlock.Builder clearGranularity()
Granularity, units of nanodegrees, used to store coordinates in this block.
optional int32 granularity = 17 [default = 100];- Returns:
- This builder for chaining.
-
hasLatOffset
public boolean hasLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Specified by:
hasLatOffsetin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the latOffset field is set.
-
getLatOffset
public long getLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Specified by:
getLatOffsetin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The latOffset.
-
setLatOffset
public Osmformat.PrimitiveBlock.Builder setLatOffset(long value)
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Parameters:
value- The latOffset to set.- Returns:
- This builder for chaining.
-
clearLatOffset
public Osmformat.PrimitiveBlock.Builder clearLatOffset()
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
optional int64 lat_offset = 19 [default = 0];- Returns:
- This builder for chaining.
-
hasLonOffset
public boolean hasLonOffset()
optional int64 lon_offset = 20 [default = 0];- Specified by:
hasLonOffsetin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the lonOffset field is set.
-
getLonOffset
public long getLonOffset()
optional int64 lon_offset = 20 [default = 0];- Specified by:
getLonOffsetin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The lonOffset.
-
setLonOffset
public Osmformat.PrimitiveBlock.Builder setLonOffset(long value)
optional int64 lon_offset = 20 [default = 0];- Parameters:
value- The lonOffset to set.- Returns:
- This builder for chaining.
-
clearLonOffset
public Osmformat.PrimitiveBlock.Builder clearLonOffset()
optional int64 lon_offset = 20 [default = 0];- Returns:
- This builder for chaining.
-
hasDateGranularity
public boolean hasDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Specified by:
hasDateGranularityin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the dateGranularity field is set.
-
getDateGranularity
public int getDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Specified by:
getDateGranularityin interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The dateGranularity.
-
setDateGranularity
public Osmformat.PrimitiveBlock.Builder setDateGranularity(int value)
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Parameters:
value- The dateGranularity to set.- Returns:
- This builder for chaining.
-
clearDateGranularity
public Osmformat.PrimitiveBlock.Builder clearDateGranularity()
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
optional int32 date_granularity = 18 [default = 1000];- Returns:
- This builder for chaining.
-
setUnknownFields
public final Osmformat.PrimitiveBlock.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
mergeUnknownFields
public final Osmformat.PrimitiveBlock.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.PrimitiveBlock.Builder>
-
-