public static final class Osmformat.Relation extends proto4.GeneratedMessage implements Osmformat.RelationOrBuilder
Relation
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.Relation.Builder
Protobuf type
Relation |
static class |
Osmformat.Relation.MemberType
Protobuf enum
Relation.MemberType |
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 |
MEMIDS_FIELD_NUMBER |
static int |
ROLES_SID_FIELD_NUMBER |
static int |
TYPES_FIELD_NUMBER |
static int |
VALS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Osmformat.Relation |
getDefaultInstance() |
Osmformat.Relation |
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.
|
long |
getMemids(int index)
DELTA encoded
|
int |
getMemidsCount()
DELTA encoded
|
List<Long> |
getMemidsList()
DELTA encoded
|
proto4.Parser<Osmformat.Relation> |
getParserForType() |
int |
getRolesSid(int index)
Parallel arrays
|
int |
getRolesSidCount()
Parallel arrays
|
List<Integer> |
getRolesSidList()
Parallel arrays
|
int |
getSerializedSize() |
Osmformat.Relation.MemberType |
getTypes(int index)
repeated .Relation.MemberType types = 10 [packed = true]; |
int |
getTypesCount()
repeated .Relation.MemberType types = 10 [packed = true]; |
List<Osmformat.Relation.MemberType> |
getTypesList()
repeated .Relation.MemberType types = 10 [packed = true]; |
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.Relation.Builder |
newBuilder() |
static Osmformat.Relation.Builder |
newBuilder(Osmformat.Relation prototype) |
Osmformat.Relation.Builder |
newBuilderForType() |
protected Osmformat.Relation.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.Relation |
parseDelimitedFrom(InputStream input) |
static Osmformat.Relation |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(byte[] data) |
static Osmformat.Relation |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(ByteBuffer data) |
static Osmformat.Relation |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(proto4.ByteString data) |
static Osmformat.Relation |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.Relation |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(InputStream input) |
static Osmformat.Relation |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.Relation> |
parser() |
Osmformat.Relation.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 ROLES_SID_FIELD_NUMBER
public static final int MEMIDS_FIELD_NUMBER
public static final int TYPES_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.RelationOrBuilder
public long getId()
required int64 id = 1;
getId
in interface Osmformat.RelationOrBuilder
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysList
in interface Osmformat.RelationOrBuilder
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysCount
in interface Osmformat.RelationOrBuilder
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeys
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.RelationOrBuilder
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.RelationOrBuilder
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public boolean hasInfo()
optional .Info info = 4;
hasInfo
in interface Osmformat.RelationOrBuilder
public Osmformat.Info getInfo()
optional .Info info = 4;
getInfo
in interface Osmformat.RelationOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .Info info = 4;
getInfoOrBuilder
in interface Osmformat.RelationOrBuilder
public List<Integer> getRolesSidList()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSidList
in interface Osmformat.RelationOrBuilder
public int getRolesSidCount()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSidCount
in interface Osmformat.RelationOrBuilder
public int getRolesSid(int index)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSid
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public List<Long> getMemidsList()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemidsList
in interface Osmformat.RelationOrBuilder
public int getMemidsCount()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemidsCount
in interface Osmformat.RelationOrBuilder
public long getMemids(int index)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemids
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public List<Osmformat.Relation.MemberType> getTypesList()
repeated .Relation.MemberType types = 10 [packed = true];
getTypesList
in interface Osmformat.RelationOrBuilder
public int getTypesCount()
repeated .Relation.MemberType types = 10 [packed = true];
getTypesCount
in interface Osmformat.RelationOrBuilder
public Osmformat.Relation.MemberType getTypes(int index)
repeated .Relation.MemberType types = 10 [packed = true];
getTypes
in interface Osmformat.RelationOrBuilder
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.Relation parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Relation parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Relation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Relation parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Relation parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.Relation parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.Relation.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.Relation.Builder newBuilder()
public static Osmformat.Relation.Builder newBuilder(Osmformat.Relation prototype)
public Osmformat.Relation.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.Relation.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.Relation getDefaultInstance()
public static proto4.Parser<Osmformat.Relation> parser()
public proto4.Parser<Osmformat.Relation> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.Relation getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.