public static final class Osmformat.Way extends proto4.GeneratedMessage implements Osmformat.WayOrBuilder
Way
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.Way.Builder
Protobuf type
Way |
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 |
REFS_FIELD_NUMBER |
static int |
VALS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Osmformat.Way |
getDefaultInstance() |
Osmformat.Way |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
required int64 id = 1; |
Osmformat.Info |
getInfo()
optional .Info info = 4; |
Osmformat.InfoOrBuilder |
getInfoOrBuilder()
optional .Info info = 4; |
int |
getKeys(int index)
Parallel arrays.
|
int |
getKeysCount()
Parallel arrays.
|
List<Integer> |
getKeysList()
Parallel arrays.
|
proto4.Parser<Osmformat.Way> |
getParserForType() |
long |
getRefs(int index)
DELTA coded
|
int |
getRefsCount()
DELTA coded
|
List<Long> |
getRefsList()
DELTA coded
|
int |
getSerializedSize() |
int |
getVals(int index)
repeated uint32 vals = 3 [packed = true]; |
int |
getValsCount()
repeated uint32 vals = 3 [packed = true]; |
List<Integer> |
getValsList()
repeated uint32 vals = 3 [packed = true]; |
int |
hashCode() |
boolean |
hasId()
required int64 id = 1; |
boolean |
hasInfo()
optional .Info info = 4; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.Way.Builder |
newBuilder() |
static Osmformat.Way.Builder |
newBuilder(Osmformat.Way prototype) |
Osmformat.Way.Builder |
newBuilderForType() |
protected Osmformat.Way.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.Way |
parseDelimitedFrom(InputStream input) |
static Osmformat.Way |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Way |
parseFrom(byte[] data) |
static Osmformat.Way |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Way |
parseFrom(ByteBuffer data) |
static Osmformat.Way |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Way |
parseFrom(proto4.ByteString data) |
static Osmformat.Way |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Way |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.Way |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Way |
parseFrom(InputStream input) |
static Osmformat.Way |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.Way> |
parser() |
Osmformat.Way.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 REFS_FIELD_NUMBER
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage
public boolean hasId()
required int64 id = 1;
hasId
in interface Osmformat.WayOrBuilder
public long getId()
required int64 id = 1;
getId
in interface Osmformat.WayOrBuilder
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysList
in interface Osmformat.WayOrBuilder
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysCount
in interface Osmformat.WayOrBuilder
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeys
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.WayOrBuilder
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.WayOrBuilder
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.public boolean hasInfo()
optional .Info info = 4;
hasInfo
in interface Osmformat.WayOrBuilder
public Osmformat.Info getInfo()
optional .Info info = 4;
getInfo
in interface Osmformat.WayOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .Info info = 4;
getInfoOrBuilder
in interface Osmformat.WayOrBuilder
public List<Long> getRefsList()
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefsList
in interface Osmformat.WayOrBuilder
public int getRefsCount()
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefsCount
in interface Osmformat.WayOrBuilder
public long getRefs(int index)
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefs
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.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.Way parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Way parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Way parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Way parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Way parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Way parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.Way parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.Way.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.Way.Builder newBuilder()
public static Osmformat.Way.Builder newBuilder(Osmformat.Way prototype)
public Osmformat.Way.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.Way.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.Way getDefaultInstance()
public static proto4.Parser<Osmformat.Way> parser()
public proto4.Parser<Osmformat.Way> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.Way getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.