Class Osmformat.PrimitiveGroup
- java.lang.Object
-
- proto4.AbstractMessageLite
-
- proto4.AbstractMessage
-
- proto4.GeneratedMessage
-
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.PrimitiveGroup
-
- All Implemented Interfaces:
Serializable,Osmformat.PrimitiveGroupOrBuilder,proto4.Message,proto4.MessageLite,proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- Enclosing class:
- Osmformat
public static final class Osmformat.PrimitiveGroup extends proto4.GeneratedMessage implements Osmformat.PrimitiveGroupOrBuilder
Group of OSMPrimitives. All primitives in a group must be the same type.
Protobuf type
PrimitiveGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOsmformat.PrimitiveGroup.BuilderGroup of OSMPrimitives.-
Nested classes/interfaces inherited from class proto4.GeneratedMessage
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 extends Object>, proto4.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHANGESETS_FIELD_NUMBERstatic intDENSE_FIELD_NUMBERstatic intNODES_FIELD_NUMBERstatic intRELATIONS_FIELD_NUMBERstatic intWAYS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Osmformat.ChangeSetgetChangesets(int index)repeated .ChangeSet changesets = 5;intgetChangesetsCount()repeated .ChangeSet changesets = 5;List<Osmformat.ChangeSet>getChangesetsList()repeated .ChangeSet changesets = 5;Osmformat.ChangeSetOrBuildergetChangesetsOrBuilder(int index)repeated .ChangeSet changesets = 5;List<? extends Osmformat.ChangeSetOrBuilder>getChangesetsOrBuilderList()repeated .ChangeSet changesets = 5;static Osmformat.PrimitiveGroupgetDefaultInstance()Osmformat.PrimitiveGroupgetDefaultInstanceForType()Osmformat.DenseNodesgetDense()optional .DenseNodes dense = 2;Osmformat.DenseNodesOrBuildergetDenseOrBuilder()optional .DenseNodes dense = 2;static proto4.Descriptors.DescriptorgetDescriptor()Osmformat.NodegetNodes(int index)repeated .Node nodes = 1;intgetNodesCount()repeated .Node nodes = 1;List<Osmformat.Node>getNodesList()repeated .Node nodes = 1;Osmformat.NodeOrBuildergetNodesOrBuilder(int index)repeated .Node nodes = 1;List<? extends Osmformat.NodeOrBuilder>getNodesOrBuilderList()repeated .Node nodes = 1;proto4.Parser<Osmformat.PrimitiveGroup>getParserForType()Osmformat.RelationgetRelations(int index)repeated .Relation relations = 4;intgetRelationsCount()repeated .Relation relations = 4;List<Osmformat.Relation>getRelationsList()repeated .Relation relations = 4;Osmformat.RelationOrBuildergetRelationsOrBuilder(int index)repeated .Relation relations = 4;List<? extends Osmformat.RelationOrBuilder>getRelationsOrBuilderList()repeated .Relation relations = 4;intgetSerializedSize()Osmformat.WaygetWays(int index)repeated .Way ways = 3;intgetWaysCount()repeated .Way ways = 3;List<Osmformat.Way>getWaysList()repeated .Way ways = 3;Osmformat.WayOrBuildergetWaysOrBuilder(int index)repeated .Way ways = 3;List<? extends Osmformat.WayOrBuilder>getWaysOrBuilderList()repeated .Way ways = 3;booleanhasDense()optional .DenseNodes dense = 2;inthashCode()protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.PrimitiveGroup.BuildernewBuilder()static Osmformat.PrimitiveGroup.BuildernewBuilder(Osmformat.PrimitiveGroup prototype)Osmformat.PrimitiveGroup.BuildernewBuilderForType()protected Osmformat.PrimitiveGroup.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Osmformat.PrimitiveGroupparseDelimitedFrom(InputStream input)static Osmformat.PrimitiveGroupparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(byte[] data)static Osmformat.PrimitiveGroupparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(InputStream input)static Osmformat.PrimitiveGroupparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(ByteBuffer data)static Osmformat.PrimitiveGroupparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(proto4.ByteString data)static Osmformat.PrimitiveGroupparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(proto4.CodedInputStream input)static Osmformat.PrimitiveGroupparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Osmformat.PrimitiveGroup>parser()Osmformat.PrimitiveGroup.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)-
Methods inherited from class proto4.GeneratedMessage
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
-
Methods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DENSE_FIELD_NUMBER
public static final int DENSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WAYS_FIELD_NUMBER
public static final int WAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIONS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHANGESETS_FIELD_NUMBER
public static final int CHANGESETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage
-
getNodesList
public List<Osmformat.Node> getNodesList()
repeated .Node nodes = 1;- Specified by:
getNodesListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilderList
public List<? extends Osmformat.NodeOrBuilder> getNodesOrBuilderList()
repeated .Node nodes = 1;- Specified by:
getNodesOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesCount
public int getNodesCount()
repeated .Node nodes = 1;- Specified by:
getNodesCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodes
public Osmformat.Node getNodes(int index)
repeated .Node nodes = 1;- Specified by:
getNodesin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilder
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .Node nodes = 1;- Specified by:
getNodesOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
hasDense
public boolean hasDense()
optional .DenseNodes dense = 2;- Specified by:
hasDensein interfaceOsmformat.PrimitiveGroupOrBuilder- Returns:
- Whether the dense field is set.
-
getDense
public Osmformat.DenseNodes getDense()
optional .DenseNodes dense = 2;- Specified by:
getDensein interfaceOsmformat.PrimitiveGroupOrBuilder- Returns:
- The dense.
-
getDenseOrBuilder
public Osmformat.DenseNodesOrBuilder getDenseOrBuilder()
optional .DenseNodes dense = 2;- Specified by:
getDenseOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysList
public List<Osmformat.Way> getWaysList()
repeated .Way ways = 3;- Specified by:
getWaysListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilderList
public List<? extends Osmformat.WayOrBuilder> getWaysOrBuilderList()
repeated .Way ways = 3;- Specified by:
getWaysOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysCount
public int getWaysCount()
repeated .Way ways = 3;- Specified by:
getWaysCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWays
public Osmformat.Way getWays(int index)
repeated .Way ways = 3;- Specified by:
getWaysin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilder
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .Way ways = 3;- Specified by:
getWaysOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsList
public List<Osmformat.Relation> getRelationsList()
repeated .Relation relations = 4;- Specified by:
getRelationsListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilderList
public List<? extends Osmformat.RelationOrBuilder> getRelationsOrBuilderList()
repeated .Relation relations = 4;- Specified by:
getRelationsOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsCount
public int getRelationsCount()
repeated .Relation relations = 4;- Specified by:
getRelationsCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelations
public Osmformat.Relation getRelations(int index)
repeated .Relation relations = 4;- Specified by:
getRelationsin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilder
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .Relation relations = 4;- Specified by:
getRelationsOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsList
public List<Osmformat.ChangeSet> getChangesetsList()
repeated .ChangeSet changesets = 5;- Specified by:
getChangesetsListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilderList
public List<? extends Osmformat.ChangeSetOrBuilder> getChangesetsOrBuilderList()
repeated .ChangeSet changesets = 5;- Specified by:
getChangesetsOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsCount
public int getChangesetsCount()
repeated .ChangeSet changesets = 5;- Specified by:
getChangesetsCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesets
public Osmformat.ChangeSet getChangesets(int index)
repeated .ChangeSet changesets = 5;- Specified by:
getChangesetsin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilder
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .ChangeSet changesets = 5;- Specified by:
getChangesetsOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage
-
writeTo
public void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceproto4.MessageLite- Overrides:
writeToin classproto4.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceproto4.MessageLite- Overrides:
getSerializedSizein classproto4.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceproto4.Message- Overrides:
equalsin classproto4.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceproto4.Message- Overrides:
hashCodein classproto4.AbstractMessage
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.PrimitiveGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.PrimitiveGroup parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(proto4.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.PrimitiveGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceproto4.Message- Specified by:
newBuilderForTypein interfaceproto4.MessageLite
-
newBuilder
public static Osmformat.PrimitiveGroup.Builder newBuilder()
-
newBuilder
public static Osmformat.PrimitiveGroup.Builder newBuilder(Osmformat.PrimitiveGroup prototype)
-
toBuilder
public Osmformat.PrimitiveGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceproto4.Message- Specified by:
toBuilderin interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.PrimitiveGroup.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classproto4.AbstractMessage
-
getDefaultInstance
public static Osmformat.PrimitiveGroup getDefaultInstance()
-
parser
public static proto4.Parser<Osmformat.PrimitiveGroup> parser()
-
getParserForType
public proto4.Parser<Osmformat.PrimitiveGroup> getParserForType()
- Specified by:
getParserForTypein interfaceproto4.Message- Specified by:
getParserForTypein interfaceproto4.MessageLite- Overrides:
getParserForTypein classproto4.GeneratedMessage
-
getDefaultInstanceForType
public Osmformat.PrimitiveGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-
-