public static final class Osmformat.Way extends GeneratedMessageLiteimplements Osmformat .WayOrBuilder
OSMPBF.Way
| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat
Protobuf type
OSMPBF.Way
|
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 Parser |
PARSER
|
static int |
REFS_FIELD_NUMBER
|
static int |
VALS_FIELD_NUMBER
|
memoizedHashCode| Modifier and Type | Method and Description |
|---|---|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
long |
getId()
required int64 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];
|
Parser |
getParserForType()
|
long |
getRefs(int index)
repeated sint64 refs = 8 [packed = true];
|
int |
getRefsCount()
repeated sint64 refs = 8 [packed = true];
|
List |
getRefsList()
repeated sint64 refs = 8 [packed = true];
|
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 int64 id = 1;
|
boolean |
hasInfo()
optional .OSMPBF.Info info = 4;
|
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 .Way > 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 REFS_FIELD_NUMBER
public static Osmformat.Way getDefaultInstance()
public Osmformat.Way getDefaultInstanceForType()
public Parser<Osmformat .Way > getParserForType()
public boolean hasId()
required int64 id = 1;
public long getId()
required int64 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];
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
public int getRefsCount()
repeated sint64 refs = 8 [packed = true];
DELTA coded
public long getRefs(int index)
repeated sint64 refs = 8 [packed = true];
DELTA coded
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.Way parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Way parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Way parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Way parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Way parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Way parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Way parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Way parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Way parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.Way parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Way .Builder newBuilder()
public Osmformat.Way .Builder newBuilderForType()
public static Osmformat.Way .Builder newBuilder(Osmformat .Way prototype)
public Osmformat.Way .Builder toBuilder()