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 type
PrimitiveBlock- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typePrimitiveBlockNested classes/interfaces inherited from class proto4.GeneratedMessage
proto4.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 Nested classes/interfaces inherited from class proto4.AbstractMessage
proto4.AbstractMessage.BuilderParentNested classes/interfaces inherited from class proto4.AbstractMessageLite
proto4.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class proto4.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class proto4.AbstractMessage
memoizedSizeFields inherited from class proto4.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGranularity of dates, normally represented in units of milliseconds since the 1970 epoch.static Osmformat.PrimitiveBlockstatic final proto4.Descriptors.DescriptorintGranularity, units of nanodegrees, used to store coordinates in this blocklongOffset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.longoptional int64 lon_offset = 20 [default = 0];proto4.Parser<Osmformat.PrimitiveBlock>getPrimitivegroup(int index) repeated .PrimitiveGroup primitivegroup = 2;intrepeated .PrimitiveGroup primitivegroup = 2;repeated .PrimitiveGroup primitivegroup = 2;getPrimitivegroupOrBuilder(int index) repeated .PrimitiveGroup primitivegroup = 2;List<? extends Osmformat.PrimitiveGroupOrBuilder>repeated .PrimitiveGroup primitivegroup = 2;intrequired .StringTable stringtable = 1;required .StringTable stringtable = 1;booleanGranularity of dates, normally represented in units of milliseconds since the 1970 epoch.booleanGranularity, units of nanodegrees, used to store coordinates in this blockinthashCode()booleanOffset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.booleanoptional int64 lon_offset = 20 [default = 0];booleanrequired .StringTable stringtable = 1;protected proto4.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Osmformat.PrimitiveBlock prototype) 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()voidwriteTo(proto4.CodedOutputStream output) Methods inherited from class proto4.GeneratedMessage
canUseUnsafe, 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, writeStringNoTagMethods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface proto4.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface proto4.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STRINGTABLE_FIELD_NUMBER
public static final int STRINGTABLE_FIELD_NUMBER- See Also:
-
PRIMITIVEGROUP_FIELD_NUMBER
public static final int PRIMITIVEGROUP_FIELD_NUMBER- See Also:
-
GRANULARITY_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER- See Also:
-
LAT_OFFSET_FIELD_NUMBER
public static final int LAT_OFFSET_FIELD_NUMBER- See Also:
-
LON_OFFSET_FIELD_NUMBER
public static final int LON_OFFSET_FIELD_NUMBER- See Also:
-
DATE_GRANULARITY_FIELD_NUMBER
public static final int DATE_GRANULARITY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage
-
hasStringtable
public boolean hasStringtable()required .StringTable stringtable = 1;- Specified by:
hasStringtablein interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the stringtable field is set.
-
getStringtable
required .StringTable stringtable = 1;- Specified by:
getStringtablein interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The stringtable.
-
getStringtableOrBuilder
required .StringTable stringtable = 1;- Specified by:
getStringtableOrBuilderin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupList
repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupListin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupOrBuilderList
repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupOrBuilderListin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupCount
public int getPrimitivegroupCount()repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupCountin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroup
repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupin interfaceOsmformat.PrimitiveBlockOrBuilder
-
getPrimitivegroupOrBuilder
repeated .PrimitiveGroup primitivegroup = 2;- Specified by:
getPrimitivegroupOrBuilderin interfaceOsmformat.PrimitiveBlockOrBuilder
-
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.
-
hasLatOffset
public 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 interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- Whether the latOffset field is set.
-
getLatOffset
public 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 interfaceOsmformat.PrimitiveBlockOrBuilder- Returns:
- The latOffset.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfaceproto4.MessageLite- Overrides:
writeToin classproto4.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceproto4.MessageLite- Overrides:
getSerializedSizein classproto4.GeneratedMessage
-
equals
- Specified by:
equalsin interfaceproto4.Message- Overrides:
equalsin classproto4.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceproto4.Message- Overrides:
hashCodein classproto4.AbstractMessage
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.PrimitiveBlock parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveBlock parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceproto4.Message- Specified by:
newBuilderForTypein interfaceproto4.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceproto4.Message- Specified by:
toBuilderin interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.PrimitiveBlock.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classproto4.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceproto4.Message- Specified by:
getParserForTypein interfaceproto4.MessageLite- Overrides:
getParserForTypein classproto4.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-