public static final class Osmformat.PrimitiveGroup extends GeneratedMessageLite implements Osmformat.PrimitiveGroupOrBuilder
OSMPBF.PrimitiveGroup
Group of OSMPrimitives. All primitives in a group must be the same type.
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.PrimitiveGroup.Builder
Protobuf type
OSMPBF.PrimitiveGroup |
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CHANGESETS_FIELD_NUMBER |
static int |
DENSE_FIELD_NUMBER |
static int |
NODES_FIELD_NUMBER |
static Parser<Osmformat.PrimitiveGroup> |
PARSER |
static int |
RELATIONS_FIELD_NUMBER |
static int |
WAYS_FIELD_NUMBER |
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.PrimitiveGroup> PARSER
public static final int NODES_FIELD_NUMBER
public static final int DENSE_FIELD_NUMBER
public static final int WAYS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER
public static final int CHANGESETS_FIELD_NUMBER
public static Osmformat.PrimitiveGroup getDefaultInstance()
public Osmformat.PrimitiveGroup getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.PrimitiveGroup> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public List<Osmformat.Node> getNodesList()
repeated .OSMPBF.Node nodes = 1;
getNodesList
in interface Osmformat.PrimitiveGroupOrBuilder
public List<? extends Osmformat.NodeOrBuilder> getNodesOrBuilderList()
repeated .OSMPBF.Node nodes = 1;
public int getNodesCount()
repeated .OSMPBF.Node nodes = 1;
getNodesCount
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.Node getNodes(int index)
repeated .OSMPBF.Node nodes = 1;
getNodes
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .OSMPBF.Node nodes = 1;
public boolean hasDense()
optional .OSMPBF.DenseNodes dense = 2;
hasDense
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.DenseNodes getDense()
optional .OSMPBF.DenseNodes dense = 2;
getDense
in interface Osmformat.PrimitiveGroupOrBuilder
public List<Osmformat.Way> getWaysList()
repeated .OSMPBF.Way ways = 3;
getWaysList
in interface Osmformat.PrimitiveGroupOrBuilder
public List<? extends Osmformat.WayOrBuilder> getWaysOrBuilderList()
repeated .OSMPBF.Way ways = 3;
public int getWaysCount()
repeated .OSMPBF.Way ways = 3;
getWaysCount
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.Way getWays(int index)
repeated .OSMPBF.Way ways = 3;
getWays
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .OSMPBF.Way ways = 3;
public List<Osmformat.Relation> getRelationsList()
repeated .OSMPBF.Relation relations = 4;
getRelationsList
in interface Osmformat.PrimitiveGroupOrBuilder
public List<? extends Osmformat.RelationOrBuilder> getRelationsOrBuilderList()
repeated .OSMPBF.Relation relations = 4;
public int getRelationsCount()
repeated .OSMPBF.Relation relations = 4;
getRelationsCount
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.Relation getRelations(int index)
repeated .OSMPBF.Relation relations = 4;
getRelations
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .OSMPBF.Relation relations = 4;
public List<Osmformat.ChangeSet> getChangesetsList()
repeated .OSMPBF.ChangeSet changesets = 5;
getChangesetsList
in interface Osmformat.PrimitiveGroupOrBuilder
public List<? extends Osmformat.ChangeSetOrBuilder> getChangesetsOrBuilderList()
repeated .OSMPBF.ChangeSet changesets = 5;
public int getChangesetsCount()
repeated .OSMPBF.ChangeSet changesets = 5;
getChangesetsCount
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.ChangeSet getChangesets(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
getChangesets
in interface Osmformat.PrimitiveGroupOrBuilder
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class GeneratedMessageLite
ObjectStreamException
public static Osmformat.PrimitiveGroup parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveGroup parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.PrimitiveGroup parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveGroup parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.PrimitiveGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveGroup parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.PrimitiveGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.PrimitiveGroup.Builder newBuilder()
public Osmformat.PrimitiveGroup.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.PrimitiveGroup.Builder newBuilder(Osmformat.PrimitiveGroup prototype)
public Osmformat.PrimitiveGroup.Builder toBuilder()
toBuilder
in interface MessageLite