Package com.baremaps.osm.binary
Class Osmformat.PrimitiveGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.baremaps.osm.binary.Osmformat.PrimitiveGroup
-
- All Implemented Interfaces:
Osmformat.PrimitiveGroupOrBuilder
,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.PrimitiveGroup extends com.google.protobuf.GeneratedMessageV3 implements Osmformat.PrimitiveGroupOrBuilder
Group of OSMPrimitives. All primitives in a group must be the same type.
Protobuf typeosmpbf.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 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
CHANGESETS_FIELD_NUMBER
static int
DENSE_FIELD_NUMBER
static int
NODES_FIELD_NUMBER
static com.google.protobuf.Parser<Osmformat.PrimitiveGroup>
PARSER
Deprecated.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 .osmpbf.ChangeSet changesets = 5;
int
getChangesetsCount()
repeated .osmpbf.ChangeSet changesets = 5;
List<Osmformat.ChangeSet>
getChangesetsList()
repeated .osmpbf.ChangeSet changesets = 5;
Osmformat.ChangeSetOrBuilder
getChangesetsOrBuilder(int index)
repeated .osmpbf.ChangeSet changesets = 5;
List<? extends Osmformat.ChangeSetOrBuilder>
getChangesetsOrBuilderList()
repeated .osmpbf.ChangeSet changesets = 5;
static Osmformat.PrimitiveGroup
getDefaultInstance()
Osmformat.PrimitiveGroup
getDefaultInstanceForType()
Osmformat.DenseNodes
getDense()
optional .osmpbf.DenseNodes dense = 2;
Osmformat.DenseNodesOrBuilder
getDenseOrBuilder()
optional .osmpbf.DenseNodes dense = 2;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Osmformat.Node
getNodes(int index)
repeated .osmpbf.Node nodes = 1;
int
getNodesCount()
repeated .osmpbf.Node nodes = 1;
List<Osmformat.Node>
getNodesList()
repeated .osmpbf.Node nodes = 1;
Osmformat.NodeOrBuilder
getNodesOrBuilder(int index)
repeated .osmpbf.Node nodes = 1;
List<? extends Osmformat.NodeOrBuilder>
getNodesOrBuilderList()
repeated .osmpbf.Node nodes = 1;
com.google.protobuf.Parser<Osmformat.PrimitiveGroup>
getParserForType()
Osmformat.Relation
getRelations(int index)
repeated .osmpbf.Relation relations = 4;
int
getRelationsCount()
repeated .osmpbf.Relation relations = 4;
List<Osmformat.Relation>
getRelationsList()
repeated .osmpbf.Relation relations = 4;
Osmformat.RelationOrBuilder
getRelationsOrBuilder(int index)
repeated .osmpbf.Relation relations = 4;
List<? extends Osmformat.RelationOrBuilder>
getRelationsOrBuilderList()
repeated .osmpbf.Relation relations = 4;
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
Osmformat.Way
getWays(int index)
repeated .osmpbf.Way ways = 3;
int
getWaysCount()
repeated .osmpbf.Way ways = 3;
List<Osmformat.Way>
getWaysList()
repeated .osmpbf.Way ways = 3;
Osmformat.WayOrBuilder
getWaysOrBuilder(int index)
repeated .osmpbf.Way ways = 3;
List<? extends Osmformat.WayOrBuilder>
getWaysOrBuilderList()
repeated .osmpbf.Way ways = 3;
boolean
hasDense()
optional .osmpbf.DenseNodes dense = 2;
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(InputStream input)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(byte[] data)
static Osmformat.PrimitiveGroup
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(com.google.protobuf.ByteString data)
static Osmformat.PrimitiveGroup
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(com.google.protobuf.CodedInputStream input)
static Osmformat.PrimitiveGroup
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(InputStream input)
static Osmformat.PrimitiveGroup
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(ByteBuffer data)
static Osmformat.PrimitiveGroup
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Osmformat.PrimitiveGroup>
parser()
Osmformat.PrimitiveGroup.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
-
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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Osmformat.PrimitiveGroup> 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
-
getNodesList
public List<Osmformat.Node> getNodesList()
repeated .osmpbf.Node nodes = 1;
- Specified by:
getNodesList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilderList
public List<? extends Osmformat.NodeOrBuilder> getNodesOrBuilderList()
repeated .osmpbf.Node nodes = 1;
- Specified by:
getNodesOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesCount
public int getNodesCount()
repeated .osmpbf.Node nodes = 1;
- Specified by:
getNodesCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodes
public Osmformat.Node getNodes(int index)
repeated .osmpbf.Node nodes = 1;
- Specified by:
getNodes
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilder
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .osmpbf.Node nodes = 1;
- Specified by:
getNodesOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
hasDense
public boolean hasDense()
optional .osmpbf.DenseNodes dense = 2;
- Specified by:
hasDense
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getDense
public Osmformat.DenseNodes getDense()
optional .osmpbf.DenseNodes dense = 2;
- Specified by:
getDense
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getDenseOrBuilder
public Osmformat.DenseNodesOrBuilder getDenseOrBuilder()
optional .osmpbf.DenseNodes dense = 2;
- Specified by:
getDenseOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysList
public List<Osmformat.Way> getWaysList()
repeated .osmpbf.Way ways = 3;
- Specified by:
getWaysList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilderList
public List<? extends Osmformat.WayOrBuilder> getWaysOrBuilderList()
repeated .osmpbf.Way ways = 3;
- Specified by:
getWaysOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysCount
public int getWaysCount()
repeated .osmpbf.Way ways = 3;
- Specified by:
getWaysCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWays
public Osmformat.Way getWays(int index)
repeated .osmpbf.Way ways = 3;
- Specified by:
getWays
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilder
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .osmpbf.Way ways = 3;
- Specified by:
getWaysOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsList
public List<Osmformat.Relation> getRelationsList()
repeated .osmpbf.Relation relations = 4;
- Specified by:
getRelationsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilderList
public List<? extends Osmformat.RelationOrBuilder> getRelationsOrBuilderList()
repeated .osmpbf.Relation relations = 4;
- Specified by:
getRelationsOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsCount
public int getRelationsCount()
repeated .osmpbf.Relation relations = 4;
- Specified by:
getRelationsCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelations
public Osmformat.Relation getRelations(int index)
repeated .osmpbf.Relation relations = 4;
- Specified by:
getRelations
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilder
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .osmpbf.Relation relations = 4;
- Specified by:
getRelationsOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsList
public List<Osmformat.ChangeSet> getChangesetsList()
repeated .osmpbf.ChangeSet changesets = 5;
- Specified by:
getChangesetsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilderList
public List<? extends Osmformat.ChangeSetOrBuilder> getChangesetsOrBuilderList()
repeated .osmpbf.ChangeSet changesets = 5;
- Specified by:
getChangesetsOrBuilderList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsCount
public int getChangesetsCount()
repeated .osmpbf.ChangeSet changesets = 5;
- Specified by:
getChangesetsCount
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesets
public Osmformat.ChangeSet getChangesets(int index)
repeated .osmpbf.ChangeSet changesets = 5;
- Specified by:
getChangesets
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilder
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .osmpbf.ChangeSet changesets = 5;
- Specified by:
getChangesetsOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
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.PrimitiveGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup 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.PrimitiveGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(InputStream input, com.google.protobuf.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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.PrimitiveGroup.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.PrimitiveGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Osmformat.PrimitiveGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Osmformat.PrimitiveGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<Osmformat.PrimitiveGroup> 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.PrimitiveGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-