Package crosby.binary
Class Osmformat.Node
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- crosby.binary.Osmformat.Node
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Osmformat.NodeOrBuilder,Serializable
- Enclosing class:
- Osmformat
public static final class Osmformat.Node extends com.google.protobuf.GeneratedMessageV3 implements Osmformat.NodeOrBuilder
Protobuf typeOSMPBF.Node- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOsmformat.Node.BuilderProtobuf typeOSMPBF.Node-
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 intID_FIELD_NUMBERstatic intINFO_FIELD_NUMBERstatic intKEYS_FIELD_NUMBERstatic intLAT_FIELD_NUMBERstatic intLON_FIELD_NUMBERstatic com.google.protobuf.Parser<Osmformat.Node>PARSERDeprecated.static intVALS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Osmformat.NodegetDefaultInstance()Osmformat.NodegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()required sint64 id = 1;Osmformat.InfogetInfo()May be omitted in omitmetaOsmformat.InfoOrBuildergetInfoOrBuilder()May be omitted in omitmetaintgetKeys(int index)Parallel arrays.intgetKeysCount()Parallel arrays.List<Integer>getKeysList()Parallel arrays.longgetLat()required sint64 lat = 8;longgetLon()required sint64 lon = 9;com.google.protobuf.Parser<Osmformat.Node>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVals(int index)String IDs.intgetValsCount()String IDs.List<Integer>getValsList()String IDs.inthashCode()booleanhasId()required sint64 id = 1;booleanhasInfo()May be omitted in omitmetabooleanhasLat()required sint64 lat = 8;booleanhasLon()required sint64 lon = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.Node.BuildernewBuilder()static Osmformat.Node.BuildernewBuilder(Osmformat.Node prototype)Osmformat.Node.BuildernewBuilderForType()protected Osmformat.Node.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Osmformat.NodeparseDelimitedFrom(InputStream input)static Osmformat.NodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.NodeparseFrom(byte[] data)static Osmformat.NodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.NodeparseFrom(com.google.protobuf.ByteString data)static Osmformat.NodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.NodeparseFrom(com.google.protobuf.CodedInputStream input)static Osmformat.NodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.NodeparseFrom(InputStream input)static Osmformat.NodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.NodeparseFrom(ByteBuffer data)static Osmformat.NodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Osmformat.Node>parser()Osmformat.Node.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
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALS_FIELD_NUMBER
public static final int VALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFO_FIELD_NUMBER
public static final int INFO_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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Osmformat.Node> 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
-
hasId
public boolean hasId()
required sint64 id = 1;- Specified by:
hasIdin interfaceOsmformat.NodeOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
required sint64 id = 1;- Specified by:
getIdin interfaceOsmformat.NodeOrBuilder- Returns:
- The id.
-
getKeysList
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysListin interfaceOsmformat.NodeOrBuilder- Returns:
- A list containing the keys.
-
getKeysCount
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysCountin interfaceOsmformat.NodeOrBuilder- Returns:
- The count of keys.
-
getKeys
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysin interfaceOsmformat.NodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-
getValsList
public List<Integer> getValsList()
String IDs.
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsListin interfaceOsmformat.NodeOrBuilder- Returns:
- A list containing the vals.
-
getValsCount
public int getValsCount()
String IDs.
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsCountin interfaceOsmformat.NodeOrBuilder- Returns:
- The count of vals.
-
getVals
public int getVals(int index)
String IDs.
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsin interfaceOsmformat.NodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vals at the given index.
-
hasInfo
public boolean hasInfo()
May be omitted in omitmeta
optional .OSMPBF.Info info = 4;- Specified by:
hasInfoin interfaceOsmformat.NodeOrBuilder- Returns:
- Whether the info field is set.
-
getInfo
public Osmformat.Info getInfo()
May be omitted in omitmeta
optional .OSMPBF.Info info = 4;- Specified by:
getInfoin interfaceOsmformat.NodeOrBuilder- Returns:
- The info.
-
getInfoOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
May be omitted in omitmeta
optional .OSMPBF.Info info = 4;- Specified by:
getInfoOrBuilderin interfaceOsmformat.NodeOrBuilder
-
hasLat
public boolean hasLat()
required sint64 lat = 8;- Specified by:
hasLatin interfaceOsmformat.NodeOrBuilder- Returns:
- Whether the lat field is set.
-
getLat
public long getLat()
required sint64 lat = 8;- Specified by:
getLatin interfaceOsmformat.NodeOrBuilder- Returns:
- The lat.
-
hasLon
public boolean hasLon()
required sint64 lon = 9;- Specified by:
hasLonin interfaceOsmformat.NodeOrBuilder- Returns:
- Whether the lon field is set.
-
getLon
public long getLon()
required sint64 lon = 9;- Specified by:
getLonin interfaceOsmformat.NodeOrBuilder- Returns:
- The lon.
-
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.Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Node 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.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Node parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.Node parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.Node.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Osmformat.Node.Builder newBuilder()
-
newBuilder
public static Osmformat.Node.Builder newBuilder(Osmformat.Node prototype)
-
toBuilder
public Osmformat.Node.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Osmformat.Node getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Osmformat.Node> parser()
-
getParserForType
public com.google.protobuf.Parser<Osmformat.Node> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Osmformat.Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-