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
,java.io.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 private int
bitField0_
private java.util.List<Osmformat.ChangeSet>
changesets_
static int
CHANGESETS_FIELD_NUMBER
private static Osmformat.PrimitiveGroup
DEFAULT_INSTANCE
private Osmformat.DenseNodes
dense_
static int
DENSE_FIELD_NUMBER
private byte
memoizedIsInitialized
private java.util.List<Osmformat.Node>
nodes_
static int
NODES_FIELD_NUMBER
static com.google.protobuf.Parser<Osmformat.PrimitiveGroup>
PARSER
Deprecated.private java.util.List<Osmformat.Relation>
relations_
static int
RELATIONS_FIELD_NUMBER
private static long
serialVersionUID
private java.util.List<Osmformat.Way>
ways_
static int
WAYS_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description private
PrimitiveGroup()
private
PrimitiveGroup(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
private
PrimitiveGroup(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Osmformat.ChangeSet
getChangesets(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
int
getChangesetsCount()
repeated .OSMPBF.ChangeSet changesets = 5;
java.util.List<Osmformat.ChangeSet>
getChangesetsList()
repeated .OSMPBF.ChangeSet changesets = 5;
Osmformat.ChangeSetOrBuilder
getChangesetsOrBuilder(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
java.util.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;
java.util.List<Osmformat.Node>
getNodesList()
repeated .OSMPBF.Node nodes = 1;
Osmformat.NodeOrBuilder
getNodesOrBuilder(int index)
repeated .OSMPBF.Node nodes = 1;
java.util.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;
java.util.List<Osmformat.Relation>
getRelationsList()
repeated .OSMPBF.Relation relations = 4;
Osmformat.RelationOrBuilder
getRelationsOrBuilder(int index)
repeated .OSMPBF.Relation relations = 4;
java.util.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;
java.util.List<Osmformat.Way>
getWaysList()
repeated .OSMPBF.Way ways = 3;
Osmformat.WayOrBuilder
getWaysOrBuilder(int index)
repeated .OSMPBF.Way ways = 3;
java.util.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)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(java.io.InputStream input)
static Osmformat.PrimitiveGroup
parseDelimitedFrom(java.io.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(java.io.InputStream input)
static Osmformat.PrimitiveGroup
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Osmformat.PrimitiveGroup
parseFrom(java.nio.ByteBuffer data)
static Osmformat.PrimitiveGroup
parseFrom(java.nio.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, 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
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
nodes_
private java.util.List<Osmformat.Node> nodes_
-
DENSE_FIELD_NUMBER
public static final int DENSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dense_
private Osmformat.DenseNodes dense_
-
WAYS_FIELD_NUMBER
public static final int WAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ways_
private java.util.List<Osmformat.Way> ways_
-
RELATIONS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
relations_
private java.util.List<Osmformat.Relation> relations_
-
CHANGESETS_FIELD_NUMBER
public static final int CHANGESETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
changesets_
private java.util.List<Osmformat.ChangeSet> changesets_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Osmformat.PrimitiveGroup DEFAULT_INSTANCE
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Osmformat.PrimitiveGroup> PARSER
Deprecated.
-
-
Constructor Detail
-
PrimitiveGroup
private PrimitiveGroup(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
PrimitiveGroup
private PrimitiveGroup()
-
PrimitiveGroup
private PrimitiveGroup(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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 java.util.List<Osmformat.Node> getNodesList()
repeated .OSMPBF.Node nodes = 1;
- Specified by:
getNodesList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getNodesOrBuilderList
public java.util.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
- Returns:
- Whether the dense field is set.
-
getDense
public Osmformat.DenseNodes getDense()
optional .OSMPBF.DenseNodes dense = 2;
- Specified by:
getDense
in interfaceOsmformat.PrimitiveGroupOrBuilder
- Returns:
- The dense.
-
getDenseOrBuilder
public Osmformat.DenseNodesOrBuilder getDenseOrBuilder()
optional .OSMPBF.DenseNodes dense = 2;
- Specified by:
getDenseOrBuilder
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysList
public java.util.List<Osmformat.Way> getWaysList()
repeated .OSMPBF.Way ways = 3;
- Specified by:
getWaysList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getWaysOrBuilderList
public java.util.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 java.util.List<Osmformat.Relation> getRelationsList()
repeated .OSMPBF.Relation relations = 4;
- Specified by:
getRelationsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getRelationsOrBuilderList
public java.util.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 java.util.List<Osmformat.ChangeSet> getChangesetsList()
repeated .OSMPBF.ChangeSet changesets = 5;
- Specified by:
getChangesetsList
in interfaceOsmformat.PrimitiveGroupOrBuilder
-
getChangesetsOrBuilderList
public java.util.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 java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Osmformat.PrimitiveGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Osmformat.PrimitiveGroup parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Osmformat.PrimitiveGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.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
-
-