public static final class Osmformat.ChangeSet extends GeneratedMessageLite implements Osmformat.ChangeSetOrBuilder
OSMPBF.ChangeSet
THIS IS STUB DESIGN FOR CHANGESETS. NOT USED RIGHT NOW. TODO: REMOVE THIS?
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.ChangeSet.Builder
Protobuf type
OSMPBF.ChangeSet |
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 |
ID_FIELD_NUMBER |
static Parser<Osmformat.ChangeSet> |
PARSER |
memoizedHashCode
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.ChangeSet> PARSER
public static final int ID_FIELD_NUMBER
public static Osmformat.ChangeSet getDefaultInstance()
public Osmformat.ChangeSet getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.ChangeSet> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public boolean hasId()
required int64 id = 1;
// Parallel arrays. repeated uint32 keys = 2 [packed = true]; // String IDs. repeated uint32 vals = 3 [packed = true]; // String IDs. optional Info info = 4;
hasId
in interface Osmformat.ChangeSetOrBuilder
public long getId()
required int64 id = 1;
// Parallel arrays. repeated uint32 keys = 2 [packed = true]; // String IDs. repeated uint32 vals = 3 [packed = true]; // String IDs. optional Info info = 4;
getId
in interface Osmformat.ChangeSetOrBuilder
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.ChangeSet parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.ChangeSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.ChangeSet parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.ChangeSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.ChangeSet parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.ChangeSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.ChangeSet parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.ChangeSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.ChangeSet parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.ChangeSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.ChangeSet.Builder newBuilder()
public Osmformat.ChangeSet.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.ChangeSet.Builder newBuilder(Osmformat.ChangeSet prototype)
public Osmformat.ChangeSet.Builder toBuilder()
toBuilder
in interface MessageLite