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 class
Osmformat.PrimitiveGroup.Builder
Group 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 int
CHANGESETS_FIELD_NUMBER
static int
DENSE_FIELD_NUMBER
static int
NODES_FIELD_NUMBER
static int
RELATIONS_FIELD_NUMBER
static int
WAYS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Osmformat.ChangeSet
getChangesets(int index)
repeated .ChangeSet changesets = 5;
int
getChangesetsCount()
repeated .ChangeSet changesets = 5;
List<Osmformat.ChangeSet>
getChangesetsList()
repeated .ChangeSet changesets = 5;
Osmformat.ChangeSetOrBuilder
getChangesetsOrBuilder(int index)
repeated .ChangeSet changesets = 5;
List<? extends Osmformat.ChangeSetOrBuilder>
getChangesetsOrBuilderList()
repeated .ChangeSet changesets = 5;
static Osmformat.PrimitiveGroup
getDefaultInstance()
Osmformat.PrimitiveGroup
getDefaultInstanceForType()
Osmformat.DenseNodes
getDense()
optional .DenseNodes dense = 2;
Osmformat.DenseNodesOrBuilder
getDenseOrBuilder()
optional .DenseNodes dense = 2;
static proto4.Descriptors.Descriptor
getDescriptor()
Osmformat.Node
getNodes(int index)
repeated .Node nodes = 1;
int
getNodesCount()
repeated .Node nodes = 1;
List<Osmformat.Node>
getNodesList()
repeated .Node nodes = 1;
Osmformat.NodeOrBuilder
getNodesOrBuilder(int index)
repeated .Node nodes = 1;
List<? extends Osmformat.NodeOrBuilder>
getNodesOrBuilderList()
repeated .Node nodes = 1;
proto4.Parser<Osmformat.PrimitiveGroup>
getParserForType()
Osmformat.Relation
getRelations(int index)
repeated .Relation relations = 4;
int
getRelationsCount()
repeated .Relation relations = 4;
List<Osmformat.Relation>
getRelationsList()
repeated .Relation relations = 4;
Osmformat.RelationOrBuilder
getRelationsOrBuilder(int index)
repeated .Relation relations = 4;
List<? extends Osmformat.RelationOrBuilder>
getRelationsOrBuilderList()
repeated .Relation relations = 4;
int
getSerializedSize()
Osmformat.Way
getWays(int index)
repeated .Way ways = 3;
int
getWaysCount()
repeated .Way ways = 3;
List<Osmformat.Way>
getWaysList()
repeated .Way ways = 3;
Osmformat.WayOrBuilder
getWaysOrBuilder(int index)
repeated .Way ways = 3;
List<? extends Osmformat.WayOrBuilder>
getWaysOrBuilderList()
repeated .Way ways = 3;
boolean
hasDense()
optional .DenseNodes dense = 2;
int
hashCode()
protected proto4.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Osmformat.PrimitiveGroup.Builder
newBuilder()
static Osmformat.PrimitiveGroup.Builder
newBuilder(Osmformat.PrimitiveGroup prototype)
Osmformat.PrimitiveGroup.Builder
newBuilderForType()
protected Osmformat.PrimitiveGroup.Builder
newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(InputStream input)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(byte[] data)
static Osmformat.PrimitiveGroup
parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(InputStream input)
static Osmformat.PrimitiveGroup
parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(ByteBuffer data)
static Osmformat.PrimitiveGroup
parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(proto4.ByteString data)
static Osmformat.PrimitiveGroup
parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(proto4.CodedInputStream input)
static Osmformat.PrimitiveGroup
parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)
static proto4.Parser<Osmformat.PrimitiveGroup>
parser()
Osmformat.PrimitiveGroup.Builder
toBuilder()
void
writeTo(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:
internalGetFieldAccessorTable
in classproto4.GeneratedMessage
-
getNodesList
public List<Osmformat.Node> getNodesList()
repeated .Node nodes = 1;
- Specified by:
getNodesList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilderList
public List<? extends Osmformat.NodeOrBuilder> getNodesOrBuilderList()
repeated .Node nodes = 1;
- Specified by:
getNodesOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesCount
public int getNodesCount()
repeated .Node nodes = 1;
- Specified by:
getNodesCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodes
public Osmformat.Node getNodes(int index)
repeated .Node nodes = 1;
- Specified by:
getNodes
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilder
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .Node nodes = 1;
- Specified by:
getNodesOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
hasDense
public boolean hasDense()
optional .DenseNodes dense = 2;
- Specified by:
hasDense
in interfaceOsmformat.PrimitiveGroupOrBuilder
- Returns:
- Whether the dense field is set.
-
getDense
public Osmformat.DenseNodes getDense()
optional .DenseNodes dense = 2;
- Specified by:
getDense
in interfaceOsmformat.PrimitiveGroupOrBuilder
- Returns:
- The dense.
-
getDenseOrBuilder
public Osmformat.DenseNodesOrBuilder getDenseOrBuilder()
optional .DenseNodes dense = 2;
- Specified by:
getDenseOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysList
public List<Osmformat.Way> getWaysList()
repeated .Way ways = 3;
- Specified by:
getWaysList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilderList
public List<? extends Osmformat.WayOrBuilder> getWaysOrBuilderList()
repeated .Way ways = 3;
- Specified by:
getWaysOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysCount
public int getWaysCount()
repeated .Way ways = 3;
- Specified by:
getWaysCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWays
public Osmformat.Way getWays(int index)
repeated .Way ways = 3;
- Specified by:
getWays
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilder
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .Way ways = 3;
- Specified by:
getWaysOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsList
public List<Osmformat.Relation> getRelationsList()
repeated .Relation relations = 4;
- Specified by:
getRelationsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilderList
public List<? extends Osmformat.RelationOrBuilder> getRelationsOrBuilderList()
repeated .Relation relations = 4;
- Specified by:
getRelationsOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsCount
public int getRelationsCount()
repeated .Relation relations = 4;
- Specified by:
getRelationsCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelations
public Osmformat.Relation getRelations(int index)
repeated .Relation relations = 4;
- Specified by:
getRelations
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilder
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .Relation relations = 4;
- Specified by:
getRelationsOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsList
public List<Osmformat.ChangeSet> getChangesetsList()
repeated .ChangeSet changesets = 5;
- Specified by:
getChangesetsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilderList
public List<? extends Osmformat.ChangeSetOrBuilder> getChangesetsOrBuilderList()
repeated .ChangeSet changesets = 5;
- Specified by:
getChangesetsOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsCount
public int getChangesetsCount()
repeated .ChangeSet changesets = 5;
- Specified by:
getChangesetsCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesets
public Osmformat.ChangeSet getChangesets(int index)
repeated .ChangeSet changesets = 5;
- Specified by:
getChangesets
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilder
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .ChangeSet changesets = 5;
- Specified by:
getChangesetsOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceproto4.MessageLiteOrBuilder
- Overrides:
isInitialized
in classproto4.GeneratedMessage
-
writeTo
public void writeTo(proto4.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceproto4.MessageLite
- Overrides:
writeTo
in classproto4.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceproto4.MessageLite
- Overrides:
getSerializedSize
in classproto4.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceproto4.Message
- Overrides:
equals
in classproto4.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceproto4.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfaceproto4.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfaceproto4.Message
- Specified by:
toBuilder
in interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.PrimitiveGroup.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in 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:
getParserForType
in interfaceproto4.Message
- Specified by:
getParserForType
in interfaceproto4.MessageLite
- Overrides:
getParserForType
in classproto4.GeneratedMessage
-
getDefaultInstanceForType
public Osmformat.PrimitiveGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageOrBuilder
-
-