public static final class Osmformat.Relation extends GeneratedMessageLiteimplements Osmformat .RelationOrBuilder
OSMPBF.Relation
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat
Protobuf type
OSMPBF.Relation
|
static class |
Osmformat
Protobuf enum
OSMPBF.Relation.MemberType
|
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 int |
INFO_FIELD_NUMBER
|
static int |
KEYS_FIELD_NUMBER
|
static int |
MEMIDS_FIELD_NUMBER
|
static Parser |
PARSER
|
static int |
ROLES_SID_FIELD_NUMBER
|
static int |
TYPES_FIELD_NUMBER
|
static int |
VALS_FIELD_NUMBER
|
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
long |
getId()
required int64 id = 1;
|
Osmformat |
getInfo()
optional .OSMPBF.Info info = 4;
|
int |
getKeys(int index)
repeated uint32 keys = 2 [packed = true];
|
int |
getKeysCount()
repeated uint32 keys = 2 [packed = true];
|
List |
getKeysList()
repeated uint32 keys = 2 [packed = true];
|
long |
getMemids(int index)
repeated sint64 memids = 9 [packed = true];
|
int |
getMemidsCount()
repeated sint64 memids = 9 [packed = true];
|
List |
getMemidsList()
repeated sint64 memids = 9 [packed = true];
|
Parser |
getParserForType()
|
int |
getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true];
|
int |
getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true];
|
List |
getRolesSidList()
repeated int32 roles_sid = 8 [packed = true];
|
int |
getSerializedSize()
|
Osmformat |
getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
int |
getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
List |
getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
int |
getVals(int index)
repeated uint32 vals = 3 [packed = true];
|
int |
getValsCount()
repeated uint32 vals = 3 [packed = true];
|
List |
getValsList()
repeated uint32 vals = 3 [packed = true];
|
boolean |
hasId()
required int64 id = 1;
|
boolean |
hasInfo()
optional .OSMPBF.Info info = 4;
|
boolean |
isInitialized()
|
static Osmformat |
newBuilder()
|
static Osmformat |
newBuilder(Osmformat
|
Osmformat |
newBuilderForType()
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseFrom(byte[] data)
|
static Osmformat |
parseFrom(byte[] data, ExtensionRegistryLite
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(InputStream
|
static Osmformat |
parseFrom(InputStream
|
Osmformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(CodedOutputStream
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat .Relation > PARSER
public static final int ID_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
public static final int VALS_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER
public static final int ROLES_SID_FIELD_NUMBER
public static final int MEMIDS_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
public static Osmformat.Relation getDefaultInstance()
public Osmformat.Relation getDefaultInstanceForType()
public Parser<Osmformat .Relation > getParserForType()
public boolean hasId()
required int64 id = 1;
public long getId()
required int64 id = 1;
public List<Integer > getKeysList()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeysCount()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeys(int index)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
public List<Integer > getRolesSidList()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public int getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public int getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public List<Long > getMemidsList()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public int getMemidsCount()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public long getMemids(int index)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public List<Osmformat .Relation .MemberType > getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public int getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .MemberType getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
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.Relation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Relation parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Relation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Relation parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Relation .Builder newBuilder()
public Osmformat.Relation .Builder newBuilderForType()
public static Osmformat.Relation .Builder newBuilder(Osmformat .Relation prototype)
public Osmformat.Relation .Builder toBuilder()