Class Osmformat.PrimitiveBlock
- java.lang.Object
- 
- proto4.AbstractMessageLite
- 
- proto4.AbstractMessage
- 
- proto4.GeneratedMessage
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.PrimitiveBlock
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Osmformat.PrimitiveBlockOrBuilder,- proto4.Message,- proto4.MessageLite,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat
 
 public static final class Osmformat.PrimitiveBlock extends proto4.GeneratedMessage implements Osmformat.PrimitiveBlockOrBuilder Protobuf typePrimitiveBlock- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOsmformat.PrimitiveBlock.BuilderProtobuf typePrimitiveBlock- 
Nested classes/interfaces inherited from class proto4.GeneratedMessageproto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T extends Object>, proto4.GeneratedMessage.UnusedPrivateParameter
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intDATE_GRANULARITY_FIELD_NUMBERstatic intGRANULARITY_FIELD_NUMBERstatic intLAT_OFFSET_FIELD_NUMBERstatic intLON_OFFSET_FIELD_NUMBERstatic intPRIMITIVEGROUP_FIELD_NUMBERstatic intSTRINGTABLE_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetDateGranularity()Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.static Osmformat.PrimitiveBlockgetDefaultInstance()Osmformat.PrimitiveBlockgetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()intgetGranularity()Granularity, units of nanodegrees, used to store coordinates in this blocklonggetLatOffset()Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.longgetLonOffset()optional int64 lon_offset = 20 [default = 0];proto4.Parser<Osmformat.PrimitiveBlock>getParserForType()Osmformat.PrimitiveGroupgetPrimitivegroup(int index)repeated .PrimitiveGroup primitivegroup = 2;intgetPrimitivegroupCount()repeated .PrimitiveGroup primitivegroup = 2;List<Osmformat.PrimitiveGroup>getPrimitivegroupList()repeated .PrimitiveGroup primitivegroup = 2;Osmformat.PrimitiveGroupOrBuildergetPrimitivegroupOrBuilder(int index)repeated .PrimitiveGroup primitivegroup = 2;List<? extends Osmformat.PrimitiveGroupOrBuilder>getPrimitivegroupOrBuilderList()repeated .PrimitiveGroup primitivegroup = 2;intgetSerializedSize()Osmformat.StringTablegetStringtable()required .StringTable stringtable = 1;Osmformat.StringTableOrBuildergetStringtableOrBuilder()required .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 blockinthashCode()booleanhasLatOffset()Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.booleanhasLonOffset()optional int64 lon_offset = 20 [default = 0];booleanhasStringtable()required .StringTable stringtable = 1;protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.PrimitiveBlock.BuildernewBuilder()static Osmformat.PrimitiveBlock.BuildernewBuilder(Osmformat.PrimitiveBlock prototype)Osmformat.PrimitiveBlock.BuildernewBuilderForType()protected Osmformat.PrimitiveBlock.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Osmformat.PrimitiveBlockparseDelimitedFrom(InputStream input)static Osmformat.PrimitiveBlockparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveBlockparseFrom(byte[] data)static Osmformat.PrimitiveBlockparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveBlockparseFrom(InputStream input)static Osmformat.PrimitiveBlockparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveBlockparseFrom(ByteBuffer data)static Osmformat.PrimitiveBlockparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveBlockparseFrom(proto4.ByteString data)static Osmformat.PrimitiveBlockparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveBlockparseFrom(proto4.CodedInputStream input)static Osmformat.PrimitiveBlockparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Osmformat.PrimitiveBlock>parser()Osmformat.PrimitiveBlock.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)- 
Methods inherited from class proto4.GeneratedMessagecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
 - 
Methods inherited from class proto4.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashFields, toString
 - 
Methods inherited from class proto4.AbstractMessageLiteaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
STRINGTABLE_FIELD_NUMBERpublic static final int STRINGTABLE_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
PRIMITIVEGROUP_FIELD_NUMBERpublic static final int PRIMITIVEGROUP_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
GRANULARITY_FIELD_NUMBERpublic static final int GRANULARITY_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
LAT_OFFSET_FIELD_NUMBERpublic static final int LAT_OFFSET_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
LON_OFFSET_FIELD_NUMBERpublic static final int LON_OFFSET_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
DATE_GRANULARITY_FIELD_NUMBERpublic static final int DATE_GRANULARITY_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDescriptorpublic static final proto4.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- proto4.GeneratedMessage
 
 - 
hasStringtablepublic boolean hasStringtable() required .StringTable stringtable = 1;- Specified by:
- hasStringtablein interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- Whether the stringtable field is set.
 
 - 
getStringtablepublic Osmformat.StringTable getStringtable() required .StringTable stringtable = 1;- Specified by:
- getStringtablein interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- The stringtable.
 
 - 
getStringtableOrBuilderpublic Osmformat.StringTableOrBuilder getStringtableOrBuilder() required .StringTable stringtable = 1;- Specified by:
- getStringtableOrBuilderin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
getPrimitivegroupListpublic List<Osmformat.PrimitiveGroup> getPrimitivegroupList() repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
- getPrimitivegroupListin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
getPrimitivegroupOrBuilderListpublic List<? extends Osmformat.PrimitiveGroupOrBuilder> getPrimitivegroupOrBuilderList() repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
- getPrimitivegroupOrBuilderListin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
getPrimitivegroupCountpublic int getPrimitivegroupCount() repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
- getPrimitivegroupCountin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
getPrimitivegrouppublic Osmformat.PrimitiveGroup getPrimitivegroup(int index) repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
- getPrimitivegroupin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
getPrimitivegroupOrBuilderpublic Osmformat.PrimitiveGroupOrBuilder getPrimitivegroupOrBuilder(int index) repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
- getPrimitivegroupOrBuilderin interface- Osmformat.PrimitiveBlockOrBuilder
 
 - 
hasGranularitypublic boolean hasGranularity() Granularity, units of nanodegrees, used to store coordinates in this block optional int32 granularity = 17 [default = 100];- Specified by:
- hasGranularityin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- Whether the granularity field is set.
 
 - 
getGranularitypublic int getGranularity() Granularity, units of nanodegrees, used to store coordinates in this block optional int32 granularity = 17 [default = 100];- Specified by:
- getGranularityin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- The granularity.
 
 - 
hasLatOffsetpublic boolean hasLatOffset() Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees. optional int64 lat_offset = 19 [default = 0];- Specified by:
- hasLatOffsetin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- Whether the latOffset field is set.
 
 - 
getLatOffsetpublic long getLatOffset() Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees. optional int64 lat_offset = 19 [default = 0];- Specified by:
- getLatOffsetin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- The latOffset.
 
 - 
hasLonOffsetpublic boolean hasLonOffset() optional int64 lon_offset = 20 [default = 0];- Specified by:
- hasLonOffsetin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- Whether the lonOffset field is set.
 
 - 
getLonOffsetpublic long getLonOffset() optional int64 lon_offset = 20 [default = 0];- Specified by:
- getLonOffsetin interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- The lonOffset.
 
 - 
hasDateGranularitypublic 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 interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- Whether the dateGranularity field is set.
 
 - 
getDateGranularitypublic 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 interface- Osmformat.PrimitiveBlockOrBuilder
- Returns:
- The dateGranularity.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage
 
 - 
writeTopublic void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
- writeToin interface- proto4.MessageLite
- Overrides:
- writeToin class- proto4.GeneratedMessage
- Throws:
- IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- proto4.MessageLite
- Overrides:
- getSerializedSizein class- proto4.GeneratedMessage
 
 - 
equalspublic boolean equals(Object obj) - Specified by:
- equalsin interface- proto4.Message
- Overrides:
- equalsin class- proto4.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- proto4.Message
- Overrides:
- hashCodein class- proto4.AbstractMessage
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(proto4.CodedInputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.PrimitiveBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
newBuilderForTypepublic Osmformat.PrimitiveBlock.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- proto4.Message
- Specified by:
- newBuilderForTypein interface- proto4.MessageLite
 
 - 
newBuilderpublic static Osmformat.PrimitiveBlock.Builder newBuilder() 
 - 
newBuilderpublic static Osmformat.PrimitiveBlock.Builder newBuilder(Osmformat.PrimitiveBlock prototype) 
 - 
toBuilderpublic Osmformat.PrimitiveBlock.Builder toBuilder() - Specified by:
- toBuilderin interface- proto4.Message
- Specified by:
- toBuilderin interface- proto4.MessageLite
 
 - 
newBuilderForTypeprotected Osmformat.PrimitiveBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent) - Overrides:
- newBuilderForTypein class- proto4.AbstractMessage
 
 - 
getDefaultInstancepublic static Osmformat.PrimitiveBlock getDefaultInstance() 
 - 
parserpublic static proto4.Parser<Osmformat.PrimitiveBlock> parser() 
 - 
getParserForTypepublic proto4.Parser<Osmformat.PrimitiveBlock> getParserForType() - Specified by:
- getParserForTypein interface- proto4.Message
- Specified by:
- getParserForTypein interface- proto4.MessageLite
- Overrides:
- getParserForTypein class- proto4.GeneratedMessage
 
 - 
getDefaultInstanceForTypepublic Osmformat.PrimitiveBlock getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 
- 
 
-