Package com.baremaps.osm.binary
Class Osmformat.Relation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.baremaps.osm.binary.Osmformat.Relation
-
- All Implemented Interfaces:
Osmformat.RelationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- Osmformat
public static final class Osmformat.Relation extends com.google.protobuf.GeneratedMessageV3 implements Osmformat.RelationOrBuilder
Protobuf typeosmpbf.Relation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Osmformat.Relation.Builder
Protobuf typeosmpbf.Relation
static class
Osmformat.Relation.MemberType
Protobuf enumosmpbf.Relation.MemberType
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ID_FIELD_NUMBER
static int
INFO_FIELD_NUMBER
static int
KEYS_FIELD_NUMBER
static int
MEMIDS_FIELD_NUMBER
static com.google.protobuf.Parser<Osmformat.Relation>
PARSER
Deprecated.static int
ROLES_SID_FIELD_NUMBER
static int
TYPES_FIELD_NUMBER
static int
VALS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Osmformat.Relation
getDefaultInstance()
Osmformat.Relation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getId()
required int64 id = 1;
Osmformat.Info
getInfo()
optional .osmpbf.Info info = 4;
Osmformat.InfoOrBuilder
getInfoOrBuilder()
optional .osmpbf.Info info = 4;
int
getKeys(int index)
Parallel arrays.int
getKeysCount()
Parallel arrays.List<Integer>
getKeysList()
Parallel arrays.long
getMemids(int index)
DELTA encodedint
getMemidsCount()
DELTA encodedList<Long>
getMemidsList()
DELTA encodedcom.google.protobuf.Parser<Osmformat.Relation>
getParserForType()
int
getRolesSid(int index)
Parallel arraysint
getRolesSidCount()
Parallel arraysList<Integer>
getRolesSidList()
Parallel arraysint
getSerializedSize()
Osmformat.Relation.MemberType
getTypes(int index)
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
int
getTypesCount()
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
List<Osmformat.Relation.MemberType>
getTypesList()
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
com.google.protobuf.UnknownFieldSet
getUnknownFields()
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 .osmpbf.Info info = 4;
protected com.google.protobuf.GeneratedMessageV3.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Osmformat.Relation
parseDelimitedFrom(InputStream input)
static Osmformat.Relation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.Relation
parseFrom(byte[] data)
static Osmformat.Relation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.Relation
parseFrom(com.google.protobuf.ByteString data)
static Osmformat.Relation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.Relation
parseFrom(com.google.protobuf.CodedInputStream input)
static Osmformat.Relation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.Relation
parseFrom(InputStream input)
static Osmformat.Relation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.Relation
parseFrom(ByteBuffer data)
static Osmformat.Relation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Osmformat.Relation>
parser()
Osmformat.Relation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALS_FIELD_NUMBER
public static final int VALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFO_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLES_SID_FIELD_NUMBER
public static final int ROLES_SID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMIDS_FIELD_NUMBER
public static final int MEMIDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Osmformat.Relation> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
required int64 id = 1;
- Specified by:
hasId
in interfaceOsmformat.RelationOrBuilder
-
getId
public long getId()
required int64 id = 1;
- Specified by:
getId
in interfaceOsmformat.RelationOrBuilder
-
getKeysList
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Specified by:
getKeysList
in interfaceOsmformat.RelationOrBuilder
-
getKeysCount
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Specified by:
getKeysCount
in interfaceOsmformat.RelationOrBuilder
-
getKeys
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Specified by:
getKeys
in interfaceOsmformat.RelationOrBuilder
-
getValsList
public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
- Specified by:
getValsList
in interfaceOsmformat.RelationOrBuilder
-
getValsCount
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
- Specified by:
getValsCount
in interfaceOsmformat.RelationOrBuilder
-
getVals
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
- Specified by:
getVals
in interfaceOsmformat.RelationOrBuilder
-
hasInfo
public boolean hasInfo()
optional .osmpbf.Info info = 4;
- Specified by:
hasInfo
in interfaceOsmformat.RelationOrBuilder
-
getInfo
public Osmformat.Info getInfo()
optional .osmpbf.Info info = 4;
- Specified by:
getInfo
in interfaceOsmformat.RelationOrBuilder
-
getInfoOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .osmpbf.Info info = 4;
- Specified by:
getInfoOrBuilder
in interfaceOsmformat.RelationOrBuilder
-
getRolesSidList
public List<Integer> getRolesSidList()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
- Specified by:
getRolesSidList
in interfaceOsmformat.RelationOrBuilder
-
getRolesSidCount
public int getRolesSidCount()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
- Specified by:
getRolesSidCount
in interfaceOsmformat.RelationOrBuilder
-
getRolesSid
public int getRolesSid(int index)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
- Specified by:
getRolesSid
in interfaceOsmformat.RelationOrBuilder
-
getMemidsList
public List<Long> getMemidsList()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
- Specified by:
getMemidsList
in interfaceOsmformat.RelationOrBuilder
-
getMemidsCount
public int getMemidsCount()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
- Specified by:
getMemidsCount
in interfaceOsmformat.RelationOrBuilder
-
getMemids
public long getMemids(int index)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
- Specified by:
getMemids
in interfaceOsmformat.RelationOrBuilder
-
getTypesList
public List<Osmformat.Relation.MemberType> getTypesList()
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
- Specified by:
getTypesList
in interfaceOsmformat.RelationOrBuilder
-
getTypesCount
public int getTypesCount()
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
- Specified by:
getTypesCount
in interfaceOsmformat.RelationOrBuilder
-
getTypes
public Osmformat.Relation.MemberType getTypes(int index)
repeated .osmpbf.Relation.MemberType types = 10 [packed = true];
- Specified by:
getTypes
in interfaceOsmformat.RelationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Osmformat.Relation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.Relation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Relation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.Relation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.Relation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Relation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.Relation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.Relation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Osmformat.Relation.Builder newBuilder()
-
newBuilder
public static Osmformat.Relation.Builder newBuilder(Osmformat.Relation prototype)
-
toBuilder
public Osmformat.Relation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.Relation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Osmformat.Relation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Osmformat.Relation> parser()
-
getParserForType
public com.google.protobuf.Parser<Osmformat.Relation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Osmformat.Relation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-