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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessagepublic boolean hasId()
required int64 id = 1;hasId in interface Osmformat.RelationOrBuilderpublic long getId()
required int64 id = 1;getId in interface Osmformat.RelationOrBuilderpublic List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];getKeysList in interface Osmformat.RelationOrBuilderpublic int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];getKeysCount in interface Osmformat.RelationOrBuilderpublic int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];getKeys in interface Osmformat.RelationOrBuilderindex - The index of the element to return.public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];getValsList in interface Osmformat.RelationOrBuilderpublic int getValsCount()
repeated uint32 vals = 3 [packed = true];getValsCount in interface Osmformat.RelationOrBuilderpublic int getVals(int index)
repeated uint32 vals = 3 [packed = true];getVals in interface Osmformat.RelationOrBuilderindex - The index of the element to return.public boolean hasInfo()
optional .Info info = 4;hasInfo in interface Osmformat.RelationOrBuilderpublic Osmformat.Info getInfo()
optional .Info info = 4;getInfo in interface Osmformat.RelationOrBuilderpublic Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .Info info = 4;getInfoOrBuilder in interface Osmformat.RelationOrBuilderpublic List<Integer> getRolesSidList()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];getRolesSidList in interface Osmformat.RelationOrBuilderpublic int getRolesSidCount()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];getRolesSidCount in interface Osmformat.RelationOrBuilderpublic int getRolesSid(int index)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];getRolesSid in interface Osmformat.RelationOrBuilderindex - The index of the element to return.public List<Long> getMemidsList()
DELTA encoded
repeated sint64 memids = 9 [packed = true];getMemidsList in interface Osmformat.RelationOrBuilderpublic int getMemidsCount()
DELTA encoded
repeated sint64 memids = 9 [packed = true];getMemidsCount in interface Osmformat.RelationOrBuilderpublic long getMemids(int index)
DELTA encoded
repeated sint64 memids = 9 [packed = true];getMemids in interface Osmformat.RelationOrBuilderindex - The index of the element to return.public List<Osmformat.Relation.MemberType> getTypesList()
repeated .Relation.MemberType types = 10 [packed = true];getTypesList in interface Osmformat.RelationOrBuilderpublic int getTypesCount()
repeated .Relation.MemberType types = 10 [packed = true];getTypesCount in interface Osmformat.RelationOrBuilderpublic Osmformat.Relation.MemberType getTypes(int index)
repeated .Relation.MemberType types = 10 [packed = true];getTypes in interface Osmformat.RelationOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface proto4.MessageLiteOrBuilderisInitialized in class proto4.GeneratedMessagepublic void writeTo(proto4.CodedOutputStream output)
throws IOException
writeTo in interface proto4.MessageLitewriteTo in class proto4.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface proto4.MessageLitegetSerializedSize in class proto4.GeneratedMessagepublic boolean equals(Object obj)
equals in interface proto4.Messageequals in class proto4.AbstractMessagepublic int hashCode()
hashCode in interface proto4.MessagehashCode in class proto4.AbstractMessagepublic static Osmformat.Relation parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Relation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.Relation parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.Relation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.Relation parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.Relation parseFrom(proto4.CodedInputStream input) throws IOException
IOExceptionpublic static Osmformat.Relation parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Osmformat.Relation.Builder newBuilderForType()
newBuilderForType in interface proto4.MessagenewBuilderForType in interface proto4.MessageLitepublic static Osmformat.Relation.Builder newBuilder()
public static Osmformat.Relation.Builder newBuilder(Osmformat.Relation prototype)
public Osmformat.Relation.Builder toBuilder()
toBuilder in interface proto4.MessagetoBuilder in interface proto4.MessageLiteprotected Osmformat.Relation.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType in class proto4.AbstractMessagepublic static Osmformat.Relation getDefaultInstance()
public static proto4.Parser<Osmformat.Relation> parser()
public proto4.Parser<Osmformat.Relation> getParserForType()
getParserForType in interface proto4.MessagegetParserForType in interface proto4.MessageLitegetParserForType in class proto4.GeneratedMessagepublic Osmformat.Relation getDefaultInstanceForType()
getDefaultInstanceForType in interface proto4.MessageLiteOrBuildergetDefaultInstanceForType in interface proto4.MessageOrBuilderCopyright © 2025 The Apache Software Foundation. All rights reserved.