Class Osmformat.DenseNodes
- java.lang.Object
-
- proto4.AbstractMessageLite
-
- proto4.AbstractMessage
-
- proto4.GeneratedMessage
-
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.DenseNodes
-
- All Implemented Interfaces:
Serializable
,Osmformat.DenseNodesOrBuilder
,proto4.Message
,proto4.MessageLite
,proto4.MessageLiteOrBuilder
,proto4.MessageOrBuilder
- Enclosing class:
- Osmformat
public static final class Osmformat.DenseNodes extends proto4.GeneratedMessage implements Osmformat.DenseNodesOrBuilder
Protobuf typeDenseNodes
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Osmformat.DenseNodes.Builder
Protobuf typeDenseNodes
-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
DENSEINFO_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KEYS_VALS_FIELD_NUMBER
static int
LAT_FIELD_NUMBER
static int
LON_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Osmformat.DenseNodes
getDefaultInstance()
Osmformat.DenseNodes
getDefaultInstanceForType()
Osmformat.DenseInfo
getDenseinfo()
repeated Info info = 4;Osmformat.DenseInfoOrBuilder
getDenseinfoOrBuilder()
repeated Info info = 4;static proto4.Descriptors.Descriptor
getDescriptor()
long
getId(int index)
DELTA codedint
getIdCount()
DELTA codedList<Long>
getIdList()
DELTA codedint
getKeysVals(int index)
Special packing of keys and vals into one array.int
getKeysValsCount()
Special packing of keys and vals into one array.List<Integer>
getKeysValsList()
Special packing of keys and vals into one array.long
getLat(int index)
DELTA codedint
getLatCount()
DELTA codedList<Long>
getLatList()
DELTA codedlong
getLon(int index)
DELTA codedint
getLonCount()
DELTA codedList<Long>
getLonList()
DELTA codedproto4.Parser<Osmformat.DenseNodes>
getParserForType()
int
getSerializedSize()
boolean
hasDenseinfo()
repeated Info info = 4;int
hashCode()
protected proto4.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Osmformat.DenseNodes.Builder
newBuilder()
static Osmformat.DenseNodes.Builder
newBuilder(Osmformat.DenseNodes prototype)
Osmformat.DenseNodes.Builder
newBuilderForType()
protected Osmformat.DenseNodes.Builder
newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
static Osmformat.DenseNodes
parseDelimitedFrom(InputStream input)
static Osmformat.DenseNodes
parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.DenseNodes
parseFrom(byte[] data)
static Osmformat.DenseNodes
parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.DenseNodes
parseFrom(InputStream input)
static Osmformat.DenseNodes
parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.DenseNodes
parseFrom(ByteBuffer data)
static Osmformat.DenseNodes
parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.DenseNodes
parseFrom(proto4.ByteString data)
static Osmformat.DenseNodes
parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.DenseNodes
parseFrom(proto4.CodedInputStream input)
static Osmformat.DenseNodes
parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static proto4.Parser<Osmformat.DenseNodes>
parser()
Osmformat.DenseNodes.Builder
toBuilder()
void
writeTo(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, writeStringNoTag
-
Methods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DENSEINFO_FIELD_NUMBER
public static final int DENSEINFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAT_FIELD_NUMBER
public static final int LAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LON_FIELD_NUMBER
public static final int LON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYS_VALS_FIELD_NUMBER
public static final int KEYS_VALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classproto4.GeneratedMessage
-
getIdList
public List<Long> getIdList()
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getIdList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the id.
-
getIdCount
public int getIdCount()
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getIdCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of id.
-
getId
public long getId(int index)
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getId
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The id at the given index.
-
hasDenseinfo
public boolean hasDenseinfo()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
- Specified by:
hasDenseinfo
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- Whether the denseinfo field is set.
-
getDenseinfo
public Osmformat.DenseInfo getDenseinfo()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
- Specified by:
getDenseinfo
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The denseinfo.
-
getDenseinfoOrBuilder
public Osmformat.DenseInfoOrBuilder getDenseinfoOrBuilder()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
- Specified by:
getDenseinfoOrBuilder
in interfaceOsmformat.DenseNodesOrBuilder
-
getLatList
public List<Long> getLatList()
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLatList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the lat.
-
getLatCount
public int getLatCount()
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLatCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of lat.
-
getLat
public long getLat(int index)
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLat
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lat at the given index.
-
getLonList
public List<Long> getLonList()
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLonList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the lon.
-
getLonCount
public int getLonCount()
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLonCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of lon.
-
getLon
public long getLon(int index)
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLon
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lon at the given index.
-
getKeysValsList
public List<Integer> getKeysValsList()
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];
- Specified by:
getKeysValsList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the keysVals.
-
getKeysValsCount
public int getKeysValsCount()
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];
- Specified by:
getKeysValsCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of keysVals.
-
getKeysVals
public int getKeysVals(int index)
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];
- Specified by:
getKeysVals
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The keysVals at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceproto4.MessageLiteOrBuilder
- Overrides:
isInitialized
in classproto4.GeneratedMessage
-
writeTo
public void writeTo(proto4.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceproto4.MessageLite
- Overrides:
writeTo
in classproto4.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceproto4.MessageLite
- Overrides:
getSerializedSize
in classproto4.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceproto4.Message
- Overrides:
equals
in classproto4.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceproto4.Message
- Overrides:
hashCode
in classproto4.AbstractMessage
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.DenseNodes parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.DenseNodes parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.DenseNodes.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceproto4.Message
- Specified by:
newBuilderForType
in interfaceproto4.MessageLite
-
newBuilder
public static Osmformat.DenseNodes.Builder newBuilder()
-
newBuilder
public static Osmformat.DenseNodes.Builder newBuilder(Osmformat.DenseNodes prototype)
-
toBuilder
public Osmformat.DenseNodes.Builder toBuilder()
- Specified by:
toBuilder
in interfaceproto4.Message
- Specified by:
toBuilder
in interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.DenseNodes.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classproto4.AbstractMessage
-
getDefaultInstance
public static Osmformat.DenseNodes getDefaultInstance()
-
parser
public static proto4.Parser<Osmformat.DenseNodes> parser()
-
getParserForType
public proto4.Parser<Osmformat.DenseNodes> getParserForType()
- Specified by:
getParserForType
in interfaceproto4.Message
- Specified by:
getParserForType
in interfaceproto4.MessageLite
- Overrides:
getParserForType
in classproto4.GeneratedMessage
-
getDefaultInstanceForType
public Osmformat.DenseNodes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageOrBuilder
-
-