public static final class Osmformat.Node extends proto4.GeneratedMessage implements Osmformat.NodeOrBuilder
Node
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.Node.Builder
Protobuf type
Node |
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>, proto4.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ID_FIELD_NUMBER |
static int |
INFO_FIELD_NUMBER |
static int |
KEYS_FIELD_NUMBER |
static int |
LAT_FIELD_NUMBER |
static int |
LON_FIELD_NUMBER |
static int |
VALS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Osmformat.Node |
getDefaultInstance() |
Osmformat.Node |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
required sint64 id = 1; |
Osmformat.Info |
getInfo()
May be omitted in omitmeta
|
Osmformat.InfoOrBuilder |
getInfoOrBuilder()
May be omitted in omitmeta
|
int |
getKeys(int index)
Parallel arrays.
|
int |
getKeysCount()
Parallel arrays.
|
List<Integer> |
getKeysList()
Parallel arrays.
|
long |
getLat()
required sint64 lat = 8; |
long |
getLon()
required sint64 lon = 9; |
proto4.Parser<Osmformat.Node> |
getParserForType() |
int |
getSerializedSize() |
int |
getVals(int index)
String IDs.
|
int |
getValsCount()
String IDs.
|
List<Integer> |
getValsList()
String IDs.
|
int |
hashCode() |
boolean |
hasId()
required sint64 id = 1; |
boolean |
hasInfo()
May be omitted in omitmeta
|
boolean |
hasLat()
required sint64 lat = 8; |
boolean |
hasLon()
required sint64 lon = 9; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.Node.Builder |
newBuilder() |
static Osmformat.Node.Builder |
newBuilder(Osmformat.Node prototype) |
Osmformat.Node.Builder |
newBuilderForType() |
protected Osmformat.Node.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.Node |
parseDelimitedFrom(InputStream input) |
static Osmformat.Node |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Node |
parseFrom(byte[] data) |
static Osmformat.Node |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Node |
parseFrom(ByteBuffer data) |
static Osmformat.Node |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Node |
parseFrom(proto4.ByteString data) |
static Osmformat.Node |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Node |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.Node |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Node |
parseFrom(InputStream input) |
static Osmformat.Node |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.Node> |
parser() |
Osmformat.Node.Builder |
toBuilder() |
void |
writeTo(proto4.CodedOutputStream output) |
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
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
public static final int VALS_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER
public static final int LAT_FIELD_NUMBER
public static final int LON_FIELD_NUMBER
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage
public boolean hasId()
required sint64 id = 1;
hasId
in interface Osmformat.NodeOrBuilder
public long getId()
required sint64 id = 1;
getId
in interface Osmformat.NodeOrBuilder
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysList
in interface Osmformat.NodeOrBuilder
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysCount
in interface Osmformat.NodeOrBuilder
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeys
in interface Osmformat.NodeOrBuilder
index
- The index of the element to return.public List<Integer> getValsList()
String IDs.
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.NodeOrBuilder
public int getValsCount()
String IDs.
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.NodeOrBuilder
public int getVals(int index)
String IDs.
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.NodeOrBuilder
index
- The index of the element to return.public boolean hasInfo()
May be omitted in omitmeta
optional .Info info = 4;
hasInfo
in interface Osmformat.NodeOrBuilder
public Osmformat.Info getInfo()
May be omitted in omitmeta
optional .Info info = 4;
getInfo
in interface Osmformat.NodeOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
May be omitted in omitmeta
optional .Info info = 4;
getInfoOrBuilder
in interface Osmformat.NodeOrBuilder
public boolean hasLat()
required sint64 lat = 8;
hasLat
in interface Osmformat.NodeOrBuilder
public long getLat()
required sint64 lat = 8;
getLat
in interface Osmformat.NodeOrBuilder
public boolean hasLon()
required sint64 lon = 9;
hasLon
in interface Osmformat.NodeOrBuilder
public long getLon()
required sint64 lon = 9;
getLon
in interface Osmformat.NodeOrBuilder
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage
public void writeTo(proto4.CodedOutputStream output) throws IOException
writeTo
in interface proto4.MessageLite
writeTo
in class proto4.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface proto4.MessageLite
getSerializedSize
in class proto4.GeneratedMessage
public boolean equals(Object obj)
equals
in interface proto4.Message
equals
in class proto4.AbstractMessage
public int hashCode()
hashCode
in interface proto4.Message
hashCode
in class proto4.AbstractMessage
public static Osmformat.Node parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Node parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Node parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Node parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Node parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Node parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.Node parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.Node.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.Node.Builder newBuilder()
public static Osmformat.Node.Builder newBuilder(Osmformat.Node prototype)
public Osmformat.Node.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.Node.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.Node getDefaultInstance()
public static proto4.Parser<Osmformat.Node> parser()
public proto4.Parser<Osmformat.Node> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.Node getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.