public static final class Osmformat.Relation extends GeneratedMessageLite implements Osmformat.RelationOrBuilder
OSMPBF.Relation
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.Relation.Builder
Protobuf type
OSMPBF.Relation |
static class |
Osmformat.Relation.MemberType
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<Osmformat.Relation> |
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.Relation |
getDefaultInstance() |
Osmformat.Relation |
getDefaultInstanceForType() |
long |
getId()
required int64 id = 1; |
Osmformat.Info |
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<Integer> |
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<Long> |
getMemidsList()
repeated sint64 memids = 9 [packed = true]; |
Parser<Osmformat.Relation> |
getParserForType() |
int |
getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true]; |
int |
getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true]; |
List<Integer> |
getRolesSidList()
repeated int32 roles_sid = 8 [packed = true]; |
int |
getSerializedSize() |
Osmformat.Relation.MemberType |
getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true]; |
int |
getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true]; |
List<Osmformat.Relation.MemberType> |
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<Integer> |
getValsList()
repeated uint32 vals = 3 [packed = true]; |
boolean |
hasId()
required int64 id = 1; |
boolean |
hasInfo()
optional .OSMPBF.Info info = 4; |
boolean |
isInitialized() |
static Osmformat.Relation.Builder |
newBuilder() |
static Osmformat.Relation.Builder |
newBuilder(Osmformat.Relation prototype) |
Osmformat.Relation.Builder |
newBuilderForType() |
static Osmformat.Relation |
parseDelimitedFrom(InputStream input) |
static Osmformat.Relation |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(byte[] data) |
static Osmformat.Relation |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(ByteString data) |
static Osmformat.Relation |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(CodedInputStream input) |
static Osmformat.Relation |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.Relation |
parseFrom(InputStream input) |
static Osmformat.Relation |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Osmformat.Relation.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(CodedOutputStream output) |
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()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.Relation> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
public boolean hasId()
required int64 id = 1;
hasId
in interface Osmformat.RelationOrBuilder
public long getId()
required int64 id = 1;
getId
in interface Osmformat.RelationOrBuilder
public List<Integer> getKeysList()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
getKeysList
in interface Osmformat.RelationOrBuilder
public int getKeysCount()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
getKeysCount
in interface Osmformat.RelationOrBuilder
public int getKeys(int index)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
getKeys
in interface Osmformat.RelationOrBuilder
public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.RelationOrBuilder
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.RelationOrBuilder
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.RelationOrBuilder
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
hasInfo
in interface Osmformat.RelationOrBuilder
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
getInfo
in interface Osmformat.RelationOrBuilder
public List<Integer> getRolesSidList()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
getRolesSidList
in interface Osmformat.RelationOrBuilder
public int getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
getRolesSidCount
in interface Osmformat.RelationOrBuilder
public int getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
getRolesSid
in interface Osmformat.RelationOrBuilder
public List<Long> getMemidsList()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
getMemidsList
in interface Osmformat.RelationOrBuilder
public int getMemidsCount()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
getMemidsCount
in interface Osmformat.RelationOrBuilder
public long getMemids(int index)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
getMemids
in interface Osmformat.RelationOrBuilder
public List<Osmformat.Relation.MemberType> getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
getTypesList
in interface Osmformat.RelationOrBuilder
public int getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
getTypesCount
in interface Osmformat.RelationOrBuilder
public Osmformat.Relation.MemberType getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
getTypes
in interface Osmformat.RelationOrBuilder
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.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()
newBuilderForType
in interface MessageLite
public static Osmformat.Relation.Builder newBuilder(Osmformat.Relation prototype)
public Osmformat.Relation.Builder toBuilder()
toBuilder
in interface MessageLite