Package crosby.binary
Class Osmformat.DenseNodes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- crosby.binary.Osmformat.DenseNodes
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Osmformat.DenseNodesOrBuilder,Serializable
- Enclosing class:
- Osmformat
public static final class Osmformat.DenseNodes extends com.google.protobuf.GeneratedMessageV3 implements Osmformat.DenseNodesOrBuilder
Protobuf typeOSMPBF.DenseNodes- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOsmformat.DenseNodes.BuilderProtobuf typeOSMPBF.DenseNodes-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDENSEINFO_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKEYS_VALS_FIELD_NUMBERstatic intLAT_FIELD_NUMBERstatic intLON_FIELD_NUMBERstatic com.google.protobuf.Parser<Osmformat.DenseNodes>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Osmformat.DenseNodesgetDefaultInstance()Osmformat.DenseNodesgetDefaultInstanceForType()Osmformat.DenseInfogetDenseinfo()optional .OSMPBF.DenseInfo denseinfo = 5;Osmformat.DenseInfoOrBuildergetDenseinfoOrBuilder()optional .OSMPBF.DenseInfo denseinfo = 5;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId(int index)DELTA codedintgetIdCount()DELTA codedList<Long>getIdList()DELTA codedintgetKeysVals(int index)Special packing of keys and vals into one array.intgetKeysValsCount()Special packing of keys and vals into one array.List<Integer>getKeysValsList()Special packing of keys and vals into one array.longgetLat(int index)DELTA codedintgetLatCount()DELTA codedList<Long>getLatList()DELTA codedlonggetLon(int index)DELTA codedintgetLonCount()DELTA codedList<Long>getLonList()DELTA codedcom.google.protobuf.Parser<Osmformat.DenseNodes>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDenseinfo()optional .OSMPBF.DenseInfo denseinfo = 5;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.DenseNodes.BuildernewBuilder()static Osmformat.DenseNodes.BuildernewBuilder(Osmformat.DenseNodes prototype)Osmformat.DenseNodes.BuildernewBuilderForType()protected Osmformat.DenseNodes.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Osmformat.DenseNodesparseDelimitedFrom(InputStream input)static Osmformat.DenseNodesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(byte[] data)static Osmformat.DenseNodesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(com.google.protobuf.ByteString data)static Osmformat.DenseNodesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(com.google.protobuf.CodedInputStream input)static Osmformat.DenseNodesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(InputStream input)static Osmformat.DenseNodesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(ByteBuffer data)static Osmformat.DenseNodesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Osmformat.DenseNodes>parser()Osmformat.DenseNodes.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Osmformat.DenseNodes> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getIdList
public List<Long> getIdList()
DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the id.
-
getIdCount
public int getIdCount()
DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of id.
-
getId
public long getId(int index)
DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdin interfaceOsmformat.DenseNodesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The id at the given index.
-
hasDenseinfo
public boolean hasDenseinfo()
optional .OSMPBF.DenseInfo denseinfo = 5;- Specified by:
hasDenseinfoin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- Whether the denseinfo field is set.
-
getDenseinfo
public Osmformat.DenseInfo getDenseinfo()
optional .OSMPBF.DenseInfo denseinfo = 5;- Specified by:
getDenseinfoin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The denseinfo.
-
getDenseinfoOrBuilder
public Osmformat.DenseInfoOrBuilder getDenseinfoOrBuilder()
optional .OSMPBF.DenseInfo denseinfo = 5;- Specified by:
getDenseinfoOrBuilderin interfaceOsmformat.DenseNodesOrBuilder
-
getLatList
public List<Long> getLatList()
DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the lat.
-
getLatCount
public int getLatCount()
DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of lat.
-
getLat
public long getLat(int index)
DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatin 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:
getLonListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the lon.
-
getLonCount
public int getLonCount()
DELTA coded
repeated sint64 lon = 9 [packed = true];- Specified by:
getLonCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of lon.
-
getLon
public long getLon(int index)
DELTA coded
repeated sint64 lon = 9 [packed = true];- Specified by:
getLonin 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:
getKeysValsListin 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:
getKeysValsCountin 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:
getKeysValsin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input, com.google.protobuf.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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.DenseNodes.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.DenseNodes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Osmformat.DenseNodes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Osmformat.DenseNodes> parser()
-
getParserForType
public com.google.protobuf.Parser<Osmformat.DenseNodes> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Osmformat.DenseNodes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-