Class Osmformat.Relation
- java.lang.Object
- 
- proto4.AbstractMessageLite
- 
- proto4.AbstractMessage
- 
- proto4.GeneratedMessage
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.Relation
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Osmformat.RelationOrBuilder,- proto4.Message,- proto4.MessageLite,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat
 
 public static final class Osmformat.Relation extends proto4.GeneratedMessage implements Osmformat.RelationOrBuilder Protobuf typeRelation- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOsmformat.Relation.BuilderProtobuf typeRelationstatic classOsmformat.Relation.MemberTypeProtobuf enumRelation.MemberType- 
Nested classes/interfaces inherited from class proto4.GeneratedMessageproto4.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 extends Object>, proto4.GeneratedMessage.UnusedPrivateParameter
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intID_FIELD_NUMBERstatic intINFO_FIELD_NUMBERstatic intKEYS_FIELD_NUMBERstatic intMEMIDS_FIELD_NUMBERstatic intROLES_SID_FIELD_NUMBERstatic intTYPES_FIELD_NUMBERstatic intVALS_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Osmformat.RelationgetDefaultInstance()Osmformat.RelationgetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()longgetId()required int64 id = 1;Osmformat.InfogetInfo()optional .Info info = 4;Osmformat.InfoOrBuildergetInfoOrBuilder()optional .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 encodedproto4.Parser<Osmformat.Relation>getParserForType()intgetRolesSid(int index)Parallel arraysintgetRolesSidCount()Parallel arraysList<Integer>getRolesSidList()Parallel arraysintgetSerializedSize()Osmformat.Relation.MemberTypegetTypes(int index)repeated .Relation.MemberType types = 10 [packed = true];intgetTypesCount()repeated .Relation.MemberType types = 10 [packed = true];List<Osmformat.Relation.MemberType>getTypesList()repeated .Relation.MemberType types = 10 [packed = true];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 .Info info = 4;protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.Relation.BuildernewBuilder()static Osmformat.Relation.BuildernewBuilder(Osmformat.Relation prototype)Osmformat.Relation.BuildernewBuilderForType()protected Osmformat.Relation.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Osmformat.RelationparseDelimitedFrom(InputStream input)static Osmformat.RelationparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(byte[] data)static Osmformat.RelationparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(InputStream input)static Osmformat.RelationparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(ByteBuffer data)static Osmformat.RelationparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(proto4.ByteString data)static Osmformat.RelationparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.RelationparseFrom(proto4.CodedInputStream input)static Osmformat.RelationparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Osmformat.Relation>parser()Osmformat.Relation.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)- 
Methods inherited from class proto4.GeneratedMessagecanUseUnsafe, 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
 - 
Methods inherited from class proto4.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashFields, toString
 - 
Methods inherited from class proto4.AbstractMessageLiteaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
ID_FIELD_NUMBERpublic static final int ID_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
KEYS_FIELD_NUMBERpublic static final int KEYS_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
VALS_FIELD_NUMBERpublic static final int VALS_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
INFO_FIELD_NUMBERpublic static final int INFO_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
ROLES_SID_FIELD_NUMBERpublic static final int ROLES_SID_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
MEMIDS_FIELD_NUMBERpublic static final int MEMIDS_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
TYPES_FIELD_NUMBERpublic static final int TYPES_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDescriptorpublic static final proto4.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- proto4.GeneratedMessage
 
 - 
hasIdpublic boolean hasId() required int64 id = 1;- Specified by:
- hasIdin interface- Osmformat.RelationOrBuilder
- Returns:
- Whether the id field is set.
 
 - 
getIdpublic long getId() required int64 id = 1;- Specified by:
- getIdin interface- Osmformat.RelationOrBuilder
- Returns:
- The id.
 
 - 
getKeysListpublic List<Integer> getKeysList() Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the keys.
 
 - 
getKeysCountpublic int getKeysCount() Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of keys.
 
 - 
getKeyspublic int getKeys(int index) Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The keys at the given index.
 
 - 
getValsListpublic List<Integer> getValsList() repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the vals.
 
 - 
getValsCountpublic int getValsCount() repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of vals.
 
 - 
getValspublic int getVals(int index) repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The vals at the given index.
 
 - 
hasInfopublic boolean hasInfo() optional .Info info = 4;- Specified by:
- hasInfoin interface- Osmformat.RelationOrBuilder
- Returns:
- Whether the info field is set.
 
 - 
getInfopublic Osmformat.Info getInfo() optional .Info info = 4;- Specified by:
- getInfoin interface- Osmformat.RelationOrBuilder
- Returns:
- The info.
 
 - 
getInfoOrBuilderpublic Osmformat.InfoOrBuilder getInfoOrBuilder() optional .Info info = 4;- Specified by:
- getInfoOrBuilderin interface- Osmformat.RelationOrBuilder
 
 - 
getRolesSidListpublic List<Integer> getRolesSidList() Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the rolesSid.
 
 - 
getRolesSidCountpublic int getRolesSidCount() Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of rolesSid.
 
 - 
getRolesSidpublic int getRolesSid(int index) Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The rolesSid at the given index.
 
 - 
getMemidsListpublic List<Long> getMemidsList() DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the memids.
 
 - 
getMemidsCountpublic int getMemidsCount() DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of memids.
 
 - 
getMemidspublic long getMemids(int index) DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The memids at the given index.
 
 - 
getTypesListpublic List<Osmformat.Relation.MemberType> getTypesList() repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the types.
 
 - 
getTypesCountpublic int getTypesCount() repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of types.
 
 - 
getTypespublic Osmformat.Relation.MemberType getTypes(int index) repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The types at the given index.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage
 
 - 
writeTopublic void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
- writeToin interface- proto4.MessageLite
- Overrides:
- writeToin class- proto4.GeneratedMessage
- Throws:
- IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- proto4.MessageLite
- Overrides:
- getSerializedSizein class- proto4.GeneratedMessage
 
 - 
equalspublic boolean equals(Object obj) - Specified by:
- equalsin interface- proto4.Message
- Overrides:
- equalsin class- proto4.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- proto4.Message
- Overrides:
- hashCodein class- proto4.AbstractMessage
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException - Throws:
- proto4.InvalidProtocolBufferException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.Relation parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Osmformat.Relation parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(proto4.CodedInputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Osmformat.Relation parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
newBuilderForTypepublic Osmformat.Relation.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- proto4.Message
- Specified by:
- newBuilderForTypein interface- proto4.MessageLite
 
 - 
newBuilderpublic static Osmformat.Relation.Builder newBuilder() 
 - 
newBuilderpublic static Osmformat.Relation.Builder newBuilder(Osmformat.Relation prototype) 
 - 
toBuilderpublic Osmformat.Relation.Builder toBuilder() - Specified by:
- toBuilderin interface- proto4.Message
- Specified by:
- toBuilderin interface- proto4.MessageLite
 
 - 
newBuilderForTypeprotected Osmformat.Relation.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent) - Overrides:
- newBuilderForTypein class- proto4.AbstractMessage
 
 - 
getDefaultInstancepublic static Osmformat.Relation getDefaultInstance() 
 - 
parserpublic static proto4.Parser<Osmformat.Relation> parser() 
 - 
getParserForTypepublic proto4.Parser<Osmformat.Relation> getParserForType() - Specified by:
- getParserForTypein interface- proto4.Message
- Specified by:
- getParserForTypein interface- proto4.MessageLite
- Overrides:
- getParserForTypein class- proto4.GeneratedMessage
 
 - 
getDefaultInstanceForTypepublic Osmformat.Relation getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 
- 
 
-