Package crosby.binary
Class Osmformat.PrimitiveGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- crosby.binary.Osmformat.PrimitiveGroup
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Osmformat.PrimitiveGroupOrBuilder,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 classOsmformat.PrimitiveGroup.BuilderGroup 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 intCHANGESETS_FIELD_NUMBERstatic intDENSE_FIELD_NUMBERstatic intNODES_FIELD_NUMBERstatic com.google.protobuf.Parser<Osmformat.PrimitiveGroup>PARSERDeprecated.static 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 .OSMPBF.ChangeSet changesets = 5;intgetChangesetsCount()repeated .OSMPBF.ChangeSet changesets = 5;List<Osmformat.ChangeSet>getChangesetsList()repeated .OSMPBF.ChangeSet changesets = 5;Osmformat.ChangeSetOrBuildergetChangesetsOrBuilder(int index)repeated .OSMPBF.ChangeSet changesets = 5;List<? extends Osmformat.ChangeSetOrBuilder>getChangesetsOrBuilderList()repeated .OSMPBF.ChangeSet changesets = 5;static Osmformat.PrimitiveGroupgetDefaultInstance()Osmformat.PrimitiveGroupgetDefaultInstanceForType()Osmformat.DenseNodesgetDense()optional .OSMPBF.DenseNodes dense = 2;Osmformat.DenseNodesOrBuildergetDenseOrBuilder()optional .OSMPBF.DenseNodes dense = 2;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Osmformat.NodegetNodes(int index)repeated .OSMPBF.Node nodes = 1;intgetNodesCount()repeated .OSMPBF.Node nodes = 1;List<Osmformat.Node>getNodesList()repeated .OSMPBF.Node nodes = 1;Osmformat.NodeOrBuildergetNodesOrBuilder(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.RelationgetRelations(int index)repeated .OSMPBF.Relation relations = 4;intgetRelationsCount()repeated .OSMPBF.Relation relations = 4;List<Osmformat.Relation>getRelationsList()repeated .OSMPBF.Relation relations = 4;Osmformat.RelationOrBuildergetRelationsOrBuilder(int index)repeated .OSMPBF.Relation relations = 4;List<? extends Osmformat.RelationOrBuilder>getRelationsOrBuilderList()repeated .OSMPBF.Relation relations = 4;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()Osmformat.WaygetWays(int index)repeated .OSMPBF.Way ways = 3;intgetWaysCount()repeated .OSMPBF.Way ways = 3;List<Osmformat.Way>getWaysList()repeated .OSMPBF.Way ways = 3;Osmformat.WayOrBuildergetWaysOrBuilder(int index)repeated .OSMPBF.Way ways = 3;List<? extends Osmformat.WayOrBuilder>getWaysOrBuilderList()repeated .OSMPBF.Way ways = 3;booleanhasDense()optional .OSMPBF.DenseNodes dense = 2;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.PrimitiveGroup.BuildernewBuilder()static Osmformat.PrimitiveGroup.BuildernewBuilder(Osmformat.PrimitiveGroup prototype)Osmformat.PrimitiveGroup.BuildernewBuilderForType()protected Osmformat.PrimitiveGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Osmformat.PrimitiveGroupparseDelimitedFrom(InputStream input)static Osmformat.PrimitiveGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(byte[] data)static Osmformat.PrimitiveGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(com.google.protobuf.ByteString data)static Osmformat.PrimitiveGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(com.google.protobuf.CodedInputStream input)static Osmformat.PrimitiveGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(InputStream input)static Osmformat.PrimitiveGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Osmformat.PrimitiveGroupparseFrom(ByteBuffer data)static Osmformat.PrimitiveGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Osmformat.PrimitiveGroup>parser()Osmformat.PrimitiveGroup.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
-
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
-
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
-
getNodesList
public List<Osmformat.Node> getNodesList()
repeated .OSMPBF.Node nodes = 1;- Specified by:
getNodesListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilderList
public List<? extends Osmformat.NodeOrBuilder> getNodesOrBuilderList()
repeated .OSMPBF.Node nodes = 1;- Specified by:
getNodesOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesCount
public int getNodesCount()
repeated .OSMPBF.Node nodes = 1;- Specified by:
getNodesCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodes
public Osmformat.Node getNodes(int index)
repeated .OSMPBF.Node nodes = 1;- Specified by:
getNodesin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilder
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .OSMPBF.Node nodes = 1;- Specified by:
getNodesOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
hasDense
public boolean hasDense()
optional .OSMPBF.DenseNodes dense = 2;- Specified by:
hasDensein interfaceOsmformat.PrimitiveGroupOrBuilder- Returns:
- Whether the dense field is set.
-
getDense
public Osmformat.DenseNodes getDense()
optional .OSMPBF.DenseNodes dense = 2;- Specified by:
getDensein interfaceOsmformat.PrimitiveGroupOrBuilder- Returns:
- The dense.
-
getDenseOrBuilder
public Osmformat.DenseNodesOrBuilder getDenseOrBuilder()
optional .OSMPBF.DenseNodes dense = 2;- Specified by:
getDenseOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysList
public List<Osmformat.Way> getWaysList()
repeated .OSMPBF.Way ways = 3;- Specified by:
getWaysListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilderList
public List<? extends Osmformat.WayOrBuilder> getWaysOrBuilderList()
repeated .OSMPBF.Way ways = 3;- Specified by:
getWaysOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysCount
public int getWaysCount()
repeated .OSMPBF.Way ways = 3;- Specified by:
getWaysCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWays
public Osmformat.Way getWays(int index)
repeated .OSMPBF.Way ways = 3;- Specified by:
getWaysin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilder
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .OSMPBF.Way ways = 3;- Specified by:
getWaysOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsList
public List<Osmformat.Relation> getRelationsList()
repeated .OSMPBF.Relation relations = 4;- Specified by:
getRelationsListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilderList
public List<? extends Osmformat.RelationOrBuilder> getRelationsOrBuilderList()
repeated .OSMPBF.Relation relations = 4;- Specified by:
getRelationsOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsCount
public int getRelationsCount()
repeated .OSMPBF.Relation relations = 4;- Specified by:
getRelationsCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelations
public Osmformat.Relation getRelations(int index)
repeated .OSMPBF.Relation relations = 4;- Specified by:
getRelationsin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilder
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .OSMPBF.Relation relations = 4;- Specified by:
getRelationsOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsList
public List<Osmformat.ChangeSet> getChangesetsList()
repeated .OSMPBF.ChangeSet changesets = 5;- Specified by:
getChangesetsListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilderList
public List<? extends Osmformat.ChangeSetOrBuilder> getChangesetsOrBuilderList()
repeated .OSMPBF.ChangeSet changesets = 5;- Specified by:
getChangesetsOrBuilderListin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsCount
public int getChangesetsCount()
repeated .OSMPBF.ChangeSet changesets = 5;- Specified by:
getChangesetsCountin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesets
public Osmformat.ChangeSet getChangesets(int index)
repeated .OSMPBF.ChangeSet changesets = 5;- Specified by:
getChangesetsin interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilder
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .OSMPBF.ChangeSet changesets = 5;- Specified by:
getChangesetsOrBuilderin interfaceOsmformat.PrimitiveGroupOrBuilder
-
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.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Osmformat.PrimitiveGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Osmformat.PrimitiveGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-