public static final class Osmformat.PrimitiveGroup extends GeneratedMessageLiteimplements 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
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 |
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()
public Parser<Osmformat .PrimitiveGroup > getParserForType()
public List<Osmformat .Node > getNodesList()
repeated .OSMPBF.Node nodes = 1;
public List<? extends Osmformat .NodeOrBuilder > getNodesOrBuilderList()
repeated .OSMPBF.Node nodes = 1;
public int getNodesCount()
repeated .OSMPBF.Node nodes = 1;
public Osmformat.Node getNodes(int index)
repeated .OSMPBF.Node nodes = 1;
public Osmformat.NodeOrBuilder getNodesOrBuilder(int index)
repeated .OSMPBF.Node nodes = 1;
public boolean hasDense()
optional .OSMPBF.DenseNodes dense = 2;
public Osmformat.DenseNodes getDense()
optional .OSMPBF.DenseNodes dense = 2;
public List<Osmformat .Way > getWaysList()
repeated .OSMPBF.Way ways = 3;
public List<? extends Osmformat .WayOrBuilder > getWaysOrBuilderList()
repeated .OSMPBF.Way ways = 3;
public int getWaysCount()
repeated .OSMPBF.Way ways = 3;
public Osmformat.Way getWays(int index)
repeated .OSMPBF.Way ways = 3;
public Osmformat.WayOrBuilder getWaysOrBuilder(int index)
repeated .OSMPBF.Way ways = 3;
public List<Osmformat .Relation > getRelationsList()
repeated .OSMPBF.Relation relations = 4;
public List<? extends Osmformat .RelationOrBuilder > getRelationsOrBuilderList()
repeated .OSMPBF.Relation relations = 4;
public int getRelationsCount()
repeated .OSMPBF.Relation relations = 4;
public Osmformat.Relation getRelations(int index)
repeated .OSMPBF.Relation relations = 4;
public Osmformat.RelationOrBuilder getRelationsOrBuilder(int index)
repeated .OSMPBF.Relation relations = 4;
public List<Osmformat .ChangeSet > getChangesetsList()
repeated .OSMPBF.ChangeSet changesets = 5;
public List<? extends Osmformat .ChangeSetOrBuilder > getChangesetsOrBuilderList()
repeated .OSMPBF.ChangeSet changesets = 5;
public int getChangesetsCount()
repeated .OSMPBF.ChangeSet changesets = 5;
public Osmformat.ChangeSet getChangesets(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
public Osmformat.ChangeSetOrBuilder getChangesetsOrBuilder(int index)
repeated .OSMPBF.ChangeSet changesets = 5;
public final boolean isInitialized()
public void writeTo(CodedOutputStreamoutput) throws IOException
writeTo
in interface
MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() 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()
public static Osmformat.PrimitiveGroup .Builder newBuilder(Osmformat .PrimitiveGroup prototype)
public Osmformat.PrimitiveGroup .Builder toBuilder()