Package crosby.binary
Class Osmformat.Relation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- crosby.binary.Osmformat.Relation
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Osmformat.RelationOrBuilder,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 classOsmformat.Relation.BuilderProtobuf typeOSMPBF.Relationstatic classOsmformat.Relation.MemberTypeProtobuf 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 intID_FIELD_NUMBERstatic intINFO_FIELD_NUMBERstatic intKEYS_FIELD_NUMBERstatic intMEMIDS_FIELD_NUMBERstatic com.google.protobuf.Parser<Osmformat.Relation>PARSERDeprecated.static intROLES_SID_FIELD_NUMBERstatic intTYPES_FIELD_NUMBERstatic intVALS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Osmformat.RelationgetDefaultInstance()Osmformat.RelationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()required int64 id = 1;Osmformat.InfogetInfo()optional .OSMPBF.Info info = 4;Osmformat.InfoOrBuildergetInfoOrBuilder()optional .OSMPBF.Info info = 4;intgetKeys(int index)Parallel arrays.intgetKeysCount()Parallel arrays.List<Integer>getKeysList()Parallel arrays.longgetMemids(int index)DELTA encodedintgetMemidsCount()DELTA encodedList<Long>getMemidsList()DELTA encodedcom.google.protobuf.Parser<Osmformat.Relation>getParserForType()intgetRolesSid(int index)Parallel arraysintgetRolesSidCount()Parallel arraysList<Integer>getRolesSidList()Parallel arraysintgetSerializedSize()Osmformat.Relation.MemberTypegetTypes(int index)repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];intgetTypesCount()repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];List<Osmformat.Relation.MemberType>getTypesList()repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVals(int index)repeated uint32 vals = 3 [packed = true];intgetValsCount()repeated uint32 vals = 3 [packed = true];List<Integer>getValsList()repeated uint32 vals = 3 [packed = true];inthashCode()booleanhasId()required int64 id = 1;booleanhasInfo()optional .OSMPBF.Info info = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.Relation.BuildernewBuilder()static Osmformat.Relation.BuildernewBuilder(Osmformat.Relation prototype)Osmformat.Relation.BuildernewBuilderForType()protected Osmformat.Relation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Osmformat.RelationparseDelimitedFrom(InputStream input)static Osmformat.RelationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(byte[] data)static Osmformat.RelationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(com.google.protobuf.ByteString data)static Osmformat.RelationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(com.google.protobuf.CodedInputStream input)static Osmformat.RelationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(InputStream input)static Osmformat.RelationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(ByteBuffer data)static Osmformat.RelationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Osmformat.Relation>parser()Osmformat.Relation.BuildertoBuilder()voidwriteTo(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, 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
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
required int64 id = 1;- Specified by:
hasIdin interfaceOsmformat.RelationOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
required int64 id = 1;- Specified by:
getIdin interfaceOsmformat.RelationOrBuilder- Returns:
- The id.
-
getKeysList
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysListin interfaceOsmformat.RelationOrBuilder- Returns:
- A list containing the keys.
-
getKeysCount
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysCountin interfaceOsmformat.RelationOrBuilder- Returns:
- The count of keys.
-
getKeys
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];- Specified by:
getKeysin interfaceOsmformat.RelationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-
getValsList
public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsListin interfaceOsmformat.RelationOrBuilder- Returns:
- A list containing the vals.
-
getValsCount
public int getValsCount()
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsCountin interfaceOsmformat.RelationOrBuilder- Returns:
- The count of vals.
-
getVals
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];- Specified by:
getValsin interfaceOsmformat.RelationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vals at the given index.
-
hasInfo
public boolean hasInfo()
optional .OSMPBF.Info info = 4;- Specified by:
hasInfoin interfaceOsmformat.RelationOrBuilder- Returns:
- Whether the info field is set.
-
getInfo
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;- Specified by:
getInfoin interfaceOsmformat.RelationOrBuilder- Returns:
- The info.
-
getInfoOrBuilder
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .OSMPBF.Info info = 4;- Specified by:
getInfoOrBuilderin interfaceOsmformat.RelationOrBuilder
-
getRolesSidList
public List<Integer> getRolesSidList()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];- Specified by:
getRolesSidListin interfaceOsmformat.RelationOrBuilder- Returns:
- A list containing the rolesSid.
-
getRolesSidCount
public int getRolesSidCount()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];- Specified by:
getRolesSidCountin interfaceOsmformat.RelationOrBuilder- Returns:
- The count of rolesSid.
-
getRolesSid
public int getRolesSid(int index)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];- Specified by:
getRolesSidin interfaceOsmformat.RelationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rolesSid at the given index.
-
getMemidsList
public List<Long> getMemidsList()
DELTA encoded
repeated sint64 memids = 9 [packed = true];- Specified by:
getMemidsListin interfaceOsmformat.RelationOrBuilder- Returns:
- A list containing the memids.
-
getMemidsCount
public int getMemidsCount()
DELTA encoded
repeated sint64 memids = 9 [packed = true];- Specified by:
getMemidsCountin interfaceOsmformat.RelationOrBuilder- Returns:
- The count of memids.
-
getMemids
public long getMemids(int index)
DELTA encoded
repeated sint64 memids = 9 [packed = true];- Specified by:
getMemidsin interfaceOsmformat.RelationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The memids at the given index.
-
getTypesList
public List<Osmformat.Relation.MemberType> getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];- Specified by:
getTypesListin interfaceOsmformat.RelationOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];- Specified by:
getTypesCountin interfaceOsmformat.RelationOrBuilder- Returns:
- The count of types.
-
getTypes
public Osmformat.Relation.MemberType getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];- Specified by:
getTypesin interfaceOsmformat.RelationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.Relation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Osmformat.Relation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-