public static final class Osmformat.Node extends GeneratedMessageLiteimplements Osmformat .NodeOrBuilder
OSMPBF.Node
| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat
Protobuf type
OSMPBF.Node
|
GeneratedMessageLite.ExtendableBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder <MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage >, GeneratedMessageLite.GeneratedExtension <ContainingType extends MessageLite,Type> | 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 Parser |
PARSER
|
static int |
VALS_FIELD_NUMBER
|
memoizedHashCode| Modifier and Type | Method and Description |
|---|---|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
long |
getId()
required sint64 id = 1;
|
Osmformat |
getInfo()
optional .OSMPBF.Info info = 4;
|
int |
getKeys(int index)
repeated uint32 keys = 2 [packed = true];
|
int |
getKeysCount()
repeated uint32 keys = 2 [packed = true];
|
List |
getKeysList()
repeated uint32 keys = 2 [packed = true];
|
long |
getLat()
required sint64 lat = 8;
|
long |
getLon()
required sint64 lon = 9;
|
Parser |
getParserForType()
|
int |
getSerializedSize()
|
int |
getVals(int index)
repeated uint32 vals = 3 [packed = true];
|
int |
getValsCount()
repeated uint32 vals = 3 [packed = true];
|
List |
getValsList()
repeated uint32 vals = 3 [packed = true];
|
boolean |
hasId()
required sint64 id = 1;
|
boolean |
hasInfo()
optional .OSMPBF.Info info = 4;
|
boolean |
hasLat()
required sint64 lat = 8;
|
boolean |
hasLon()
required sint64 lon = 9;
|
boolean |
isInitialized()
|
static Osmformat |
newBuilder()
|
static Osmformat |
newBuilder(Osmformat
|
Osmformat |
newBuilderForType()
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseFrom(byte[] data)
|
static Osmformat |
parseFrom(byte[] data, ExtensionRegistryLite
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(InputStream
|
static Osmformat |
parseFrom(InputStream
|
Osmformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(CodedOutputStream
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static Parser<Osmformat .Node > PARSER
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 Osmformat.Node getDefaultInstance()
public Osmformat.Node getDefaultInstanceForType()
public Parser<Osmformat .Node > getParserForType()
public boolean hasId()
required sint64 id = 1;
public long getId()
required sint64 id = 1;
public List<Integer > getKeysList()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeysCount()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeys(int index)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
String IDs.
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
String IDs.
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public boolean hasLat()
required sint64 lat = 8;
public long getLat()
required sint64 lat = 8;
public boolean hasLon()
required sint64 lon = 9;
public long getLon()
required sint64 lon = 9;
public final boolean isInitialized()
public void writeTo(CodedOutputStreamoutput) throws IOException
writeTo in interface
MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace in class
GeneratedMessageLite
ObjectStreamException
public static Osmformat.Node parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Node parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Node parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Node parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Node parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Node .Builder newBuilder()
public Osmformat.Node .Builder newBuilderForType()
public static Osmformat.Node .Builder newBuilder(Osmformat .Node prototype)
public Osmformat.Node .Builder toBuilder()