Documentation ¶
Overview ¶
Package osmpb is a generated protocol buffer package.
It is generated from these files:
osm.proto
It has these top-level messages:
Changeset Bounds Change Tags OSM Node Info DenseNodes DenseInfo Way Relation DenseMembers
Index ¶
- Variables
- type Bounds
- func (*Bounds) Descriptor() ([]byte, []int)
- func (m *Bounds) GetMaxLat() int64
- func (m *Bounds) GetMaxLon() int64
- func (m *Bounds) GetMinLat() int64
- func (m *Bounds) GetMinLon() int64
- func (m *Bounds) Marshal() (dAtA []byte, err error)
- func (m *Bounds) MarshalTo(dAtA []byte) (int, error)
- func (*Bounds) ProtoMessage()
- func (m *Bounds) Reset()
- func (m *Bounds) Size() (n int)
- func (m *Bounds) String() string
- func (m *Bounds) Unmarshal(dAtA []byte) error
- type Change
- func (*Change) Descriptor() ([]byte, []int)
- func (m *Change) GetContext() *OSM
- func (m *Change) GetCreate() *OSM
- func (m *Change) GetDelete() *OSM
- func (m *Change) GetModify() *OSM
- func (m *Change) GetStrings() []string
- func (m *Change) Marshal() (dAtA []byte, err error)
- func (m *Change) MarshalTo(dAtA []byte) (int, error)
- func (*Change) ProtoMessage()
- func (m *Change) Reset()
- func (m *Change) Size() (n int)
- func (m *Change) String() string
- func (m *Change) Unmarshal(dAtA []byte) error
- type Changeset
- func (*Changeset) Descriptor() ([]byte, []int)
- func (m *Changeset) GetBounds() *Bounds
- func (m *Changeset) GetChange() *Change
- func (m *Changeset) GetClosedAt() int64
- func (m *Changeset) GetCreatedAt() int64
- func (m *Changeset) GetId() int64
- func (m *Changeset) GetKeys() []uint32
- func (m *Changeset) GetOpen() bool
- func (m *Changeset) GetStrings() []string
- func (m *Changeset) GetUserId() int32
- func (m *Changeset) GetUserSid() uint32
- func (m *Changeset) GetVals() []uint32
- func (m *Changeset) Marshal() (dAtA []byte, err error)
- func (m *Changeset) MarshalTo(dAtA []byte) (int, error)
- func (*Changeset) ProtoMessage()
- func (m *Changeset) Reset()
- func (m *Changeset) Size() (n int)
- func (m *Changeset) String() string
- func (m *Changeset) Unmarshal(dAtA []byte) error
- type DenseInfo
- func (*DenseInfo) Descriptor() ([]byte, []int)
- func (m *DenseInfo) GetChangesetIds() []int64
- func (m *DenseInfo) GetCommitteds() []int64
- func (m *DenseInfo) GetTimestamps() []int64
- func (m *DenseInfo) GetUserIds() []int32
- func (m *DenseInfo) GetUserSids() []int32
- func (m *DenseInfo) GetVersions() []int32
- func (m *DenseInfo) GetVisibles() []bool
- func (m *DenseInfo) Marshal() (dAtA []byte, err error)
- func (m *DenseInfo) MarshalTo(dAtA []byte) (int, error)
- func (*DenseInfo) ProtoMessage()
- func (m *DenseInfo) Reset()
- func (m *DenseInfo) Size() (n int)
- func (m *DenseInfo) String() string
- func (m *DenseInfo) Unmarshal(dAtA []byte) error
- type DenseMembers
- func (*DenseMembers) Descriptor() ([]byte, []int)
- func (m *DenseMembers) GetChangesetIds() []int64
- func (m *DenseMembers) GetIndexes() []int32
- func (m *DenseMembers) GetLats() []int64
- func (m *DenseMembers) GetLons() []int64
- func (m *DenseMembers) GetOrientation() []int32
- func (m *DenseMembers) GetTimestamps() []int64
- func (m *DenseMembers) GetVersions() []int32
- func (m *DenseMembers) Marshal() (dAtA []byte, err error)
- func (m *DenseMembers) MarshalTo(dAtA []byte) (int, error)
- func (*DenseMembers) ProtoMessage()
- func (m *DenseMembers) Reset()
- func (m *DenseMembers) Size() (n int)
- func (m *DenseMembers) String() string
- func (m *DenseMembers) Unmarshal(dAtA []byte) error
- type DenseNodes
- func (*DenseNodes) Descriptor() ([]byte, []int)
- func (m *DenseNodes) GetDenseInfo() *DenseInfo
- func (m *DenseNodes) GetIds() []int64
- func (m *DenseNodes) GetKeysVals() []uint32
- func (m *DenseNodes) GetLats() []int64
- func (m *DenseNodes) GetLons() []int64
- func (m *DenseNodes) GetStrings() []string
- func (m *DenseNodes) Marshal() (dAtA []byte, err error)
- func (m *DenseNodes) MarshalTo(dAtA []byte) (int, error)
- func (*DenseNodes) ProtoMessage()
- func (m *DenseNodes) Reset()
- func (m *DenseNodes) Size() (n int)
- func (m *DenseNodes) String() string
- func (m *DenseNodes) Unmarshal(dAtA []byte) error
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetChangesetId() int64
- func (m *Info) GetCommitted() int64
- func (m *Info) GetTimestamp() int64
- func (m *Info) GetUserId() int32
- func (m *Info) GetUserSid() uint32
- func (m *Info) GetVersion() int32
- func (m *Info) GetVisible() bool
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(dAtA []byte) (int, error)
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) Size() (n int)
- func (m *Info) String() string
- func (m *Info) Unmarshal(dAtA []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetId() int64
- func (m *Node) GetInfo() *Info
- func (m *Node) GetKeys() []uint32
- func (m *Node) GetLat() int64
- func (m *Node) GetLon() int64
- func (m *Node) GetVals() []uint32
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- type OSM
- func (*OSM) Descriptor() ([]byte, []int)
- func (m *OSM) GetBounds() *Bounds
- func (m *OSM) GetDenseNodes() *DenseNodes
- func (m *OSM) GetNodes() []*Node
- func (m *OSM) GetRelations() []*Relation
- func (m *OSM) GetStrings() []string
- func (m *OSM) GetWays() []*Way
- func (m *OSM) Marshal() (dAtA []byte, err error)
- func (m *OSM) MarshalTo(dAtA []byte) (int, error)
- func (*OSM) ProtoMessage()
- func (m *OSM) Reset()
- func (m *OSM) Size() (n int)
- func (m *OSM) String() string
- func (m *OSM) Unmarshal(dAtA []byte) error
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)
- func (m *Relation) GetDenseMembers() *DenseMembers
- func (m *Relation) GetId() int64
- func (m *Relation) GetInfo() *Info
- func (m *Relation) GetKeys() []uint32
- func (m *Relation) GetRefs() []int64
- func (m *Relation) GetRoles() []uint32
- func (m *Relation) GetTypes() []Relation_MemberType
- func (m *Relation) GetUpdates() *DenseMembers
- func (m *Relation) GetVals() []uint32
- func (m *Relation) Marshal() (dAtA []byte, err error)
- func (m *Relation) MarshalTo(dAtA []byte) (int, error)
- func (*Relation) ProtoMessage()
- func (m *Relation) Reset()
- func (m *Relation) Size() (n int)
- func (m *Relation) String() string
- func (m *Relation) Unmarshal(dAtA []byte) error
- type Relation_MemberType
- type Tags
- func (*Tags) Descriptor() ([]byte, []int)
- func (m *Tags) GetKeysVals() []string
- func (m *Tags) Marshal() (dAtA []byte, err error)
- func (m *Tags) MarshalTo(dAtA []byte) (int, error)
- func (*Tags) ProtoMessage()
- func (m *Tags) Reset()
- func (m *Tags) Size() (n int)
- func (m *Tags) String() string
- func (m *Tags) Unmarshal(dAtA []byte) error
- type Way
- func (*Way) Descriptor() ([]byte, []int)
- func (m *Way) GetDenseMembers() *DenseMembers
- func (m *Way) GetId() int64
- func (m *Way) GetInfo() *Info
- func (m *Way) GetKeys() []uint32
- func (m *Way) GetRefs() []int64
- func (m *Way) GetUpdates() *DenseMembers
- func (m *Way) GetVals() []uint32
- func (m *Way) Marshal() (dAtA []byte, err error)
- func (m *Way) MarshalTo(dAtA []byte) (int, error)
- func (*Way) ProtoMessage()
- func (m *Way) Reset()
- func (m *Way) Size() (n int)
- func (m *Way) String() string
- func (m *Way) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthOsm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOsm = fmt.Errorf("proto: integer overflow") )
View Source
var Relation_MemberType_name = map[int32]string{
0: "NODE",
1: "WAY",
2: "RELATION",
}
View Source
var Relation_MemberType_value = map[string]int32{
"NODE": 0,
"WAY": 1,
"RELATION": 2,
}
Functions ¶
This section is empty.
Types ¶
type Bounds ¶
type Bounds struct { MinLon int64 `protobuf:"zigzag64,1,req,name=min_lon,json=minLon" json:"min_lon"` MaxLon int64 `protobuf:"zigzag64,2,req,name=max_lon,json=maxLon" json:"max_lon"` MinLat int64 `protobuf:"zigzag64,3,req,name=min_lat,json=minLat" json:"min_lat"` MaxLat int64 `protobuf:"zigzag64,4,req,name=max_lat,json=maxLat" json:"max_lat"` }
func (*Bounds) Descriptor ¶
func (*Bounds) ProtoMessage ¶
func (*Bounds) ProtoMessage()
type Change ¶
type Change struct { Create *OSM `protobuf:"bytes,1,opt,name=create" json:"create,omitempty"` Modify *OSM `protobuf:"bytes,2,opt,name=modify" json:"modify,omitempty"` Delete *OSM `protobuf:"bytes,3,opt,name=delete" json:"delete,omitempty"` // elements that give the change extra context like // nodes of the ways, and previous versions. Context *OSM `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"` // contains the tag strings if this is the root of the data. Strings []string `protobuf:"bytes,20,rep,name=strings" json:"strings,omitempty"` }
func (*Change) Descriptor ¶
func (*Change) GetContext ¶
func (*Change) GetStrings ¶
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
type Changeset ¶
type Changeset struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // Parallel arrays. Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` UserId *int32 `protobuf:"varint,5,opt,name=user_id,json=userId" json:"user_id,omitempty"` UserSid *uint32 `protobuf:"varint,6,opt,name=user_sid,json=userSid" json:"user_sid,omitempty"` CreatedAt *int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` ClosedAt *int64 `protobuf:"varint,8,opt,name=closed_at,json=closedAt" json:"closed_at,omitempty"` Open *bool `protobuf:"varint,9,opt,name=open" json:"open,omitempty"` Bounds *Bounds `protobuf:"bytes,10,opt,name=bounds" json:"bounds,omitempty"` Change *Change `protobuf:"bytes,11,opt,name=change" json:"change,omitempty"` // contains the tag strings for everything // in this entire changeset. Strings []string `protobuf:"bytes,20,rep,name=strings" json:"strings,omitempty"` }
func (*Changeset) Descriptor ¶
func (*Changeset) GetClosedAt ¶
func (*Changeset) GetCreatedAt ¶
func (*Changeset) GetStrings ¶
func (*Changeset) GetUserSid ¶
func (*Changeset) ProtoMessage ¶
func (*Changeset) ProtoMessage()
type DenseInfo ¶
type DenseInfo struct { Versions []int32 `protobuf:"varint,1,rep,packed,name=versions" json:"versions,omitempty"` Timestamps []int64 `protobuf:"zigzag64,2,rep,packed,name=timestamps" json:"timestamps,omitempty"` // these will be omitted if the object represents one changeset // and these will be all the same. ChangesetIds []int64 `protobuf:"zigzag64,3,rep,packed,name=changeset_ids,json=changesetIds" json:"changeset_ids,omitempty"` UserIds []int32 `protobuf:"zigzag32,4,rep,packed,name=user_ids,json=userIds" json:"user_ids,omitempty"` UserSids []int32 `protobuf:"zigzag32,5,rep,packed,name=user_sids,json=userSids" json:"user_sids,omitempty"` // The visible flag is used to store history information. It indicates that // the current object version has been created by a delete operation on the // OSM API. This info may be omitted if it can be inferred from its group // ie. create, modify, delete. Visibles []bool `protobuf:"varint,6,rep,packed,name=visibles" json:"visibles,omitempty"` // the time this element was committed into the db. Could be much later than // timestamp for large uploads. Committeds []int64 `protobuf:"zigzag64,7,rep,packed,name=committeds" json:"committeds,omitempty"` }
func (*DenseInfo) Descriptor ¶
func (*DenseInfo) GetChangesetIds ¶
func (*DenseInfo) GetCommitteds ¶
func (*DenseInfo) GetTimestamps ¶
func (*DenseInfo) GetUserIds ¶
func (*DenseInfo) GetUserSids ¶
func (*DenseInfo) GetVersions ¶
func (*DenseInfo) GetVisibles ¶
func (*DenseInfo) ProtoMessage ¶
func (*DenseInfo) ProtoMessage()
type DenseMembers ¶
type DenseMembers struct { Indexes []int32 `protobuf:"zigzag32,1,rep,packed,name=indexes" json:"indexes,omitempty"` Versions []int32 `protobuf:"varint,2,rep,packed,name=versions" json:"versions,omitempty"` Timestamps []int64 `protobuf:"zigzag64,3,rep,packed,name=timestamps" json:"timestamps,omitempty"` ChangesetIds []int64 `protobuf:"zigzag64,4,rep,packed,name=changeset_ids,json=changesetIds" json:"changeset_ids,omitempty"` Orientation []int32 `protobuf:"zigzag32,5,rep,packed,name=orientation" json:"orientation,omitempty"` // included if some of the members are nodes Lats []int64 `protobuf:"zigzag64,8,rep,packed,name=lats" json:"lats,omitempty"` Lons []int64 `protobuf:"zigzag64,9,rep,packed,name=lons" json:"lons,omitempty"` }
func (*DenseMembers) Descriptor ¶
func (*DenseMembers) Descriptor() ([]byte, []int)
func (*DenseMembers) GetChangesetIds ¶
func (m *DenseMembers) GetChangesetIds() []int64
func (*DenseMembers) GetIndexes ¶
func (m *DenseMembers) GetIndexes() []int32
func (*DenseMembers) GetLats ¶
func (m *DenseMembers) GetLats() []int64
func (*DenseMembers) GetLons ¶
func (m *DenseMembers) GetLons() []int64
func (*DenseMembers) GetOrientation ¶
func (m *DenseMembers) GetOrientation() []int32
func (*DenseMembers) GetTimestamps ¶
func (m *DenseMembers) GetTimestamps() []int64
func (*DenseMembers) GetVersions ¶
func (m *DenseMembers) GetVersions() []int32
func (*DenseMembers) Marshal ¶
func (m *DenseMembers) Marshal() (dAtA []byte, err error)
func (*DenseMembers) ProtoMessage ¶
func (*DenseMembers) ProtoMessage()
func (*DenseMembers) Reset ¶
func (m *DenseMembers) Reset()
func (*DenseMembers) Size ¶
func (m *DenseMembers) Size() (n int)
func (*DenseMembers) String ¶
func (m *DenseMembers) String() string
func (*DenseMembers) Unmarshal ¶
func (m *DenseMembers) Unmarshal(dAtA []byte) error
type DenseNodes ¶
type DenseNodes struct { Ids []int64 `protobuf:"zigzag64,1,rep,packed,name=ids" json:"ids,omitempty"` DenseInfo *DenseInfo `protobuf:"bytes,5,opt,name=dense_info,json=denseInfo" json:"dense_info,omitempty"` Lats []int64 `protobuf:"zigzag64,8,rep,packed,name=lats" json:"lats,omitempty"` Lons []int64 `protobuf:"zigzag64,9,rep,packed,name=lons" json:"lons,omitempty"` // Special packing of keys and vals into one array. We use a single stringid // of 0 to delimit when the tags of a node ends and the tags of the next node // begin. The storage pattern is: ((<keyid> <valid>)* '0' )* As an exception, // if no node in the current block has any key/value pairs, this array does // not contain any delimiters, but is simply empty. KeysVals []uint32 `protobuf:"varint,10,rep,packed,name=keys_vals,json=keysVals" json:"keys_vals,omitempty"` Strings []string `protobuf:"bytes,15,rep,name=strings" json:"strings,omitempty"` }
func (*DenseNodes) Descriptor ¶
func (*DenseNodes) Descriptor() ([]byte, []int)
func (*DenseNodes) GetDenseInfo ¶
func (m *DenseNodes) GetDenseInfo() *DenseInfo
func (*DenseNodes) GetIds ¶
func (m *DenseNodes) GetIds() []int64
func (*DenseNodes) GetKeysVals ¶
func (m *DenseNodes) GetKeysVals() []uint32
func (*DenseNodes) GetLats ¶
func (m *DenseNodes) GetLats() []int64
func (*DenseNodes) GetLons ¶
func (m *DenseNodes) GetLons() []int64
func (*DenseNodes) GetStrings ¶
func (m *DenseNodes) GetStrings() []string
func (*DenseNodes) Marshal ¶
func (m *DenseNodes) Marshal() (dAtA []byte, err error)
func (*DenseNodes) ProtoMessage ¶
func (*DenseNodes) ProtoMessage()
func (*DenseNodes) Reset ¶
func (m *DenseNodes) Reset()
func (*DenseNodes) Size ¶
func (m *DenseNodes) Size() (n int)
func (*DenseNodes) String ¶
func (m *DenseNodes) String() string
func (*DenseNodes) Unmarshal ¶
func (m *DenseNodes) Unmarshal(dAtA []byte) error
type Info ¶
type Info struct { Version int32 `protobuf:"varint,1,opt,name=version" json:"version"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp"` // these can be omitted if the object represents one changeset // since they will be all the same. However tests on 200k changesets // show this saves about 17 bytes per changeset on average after gzip. ChangesetId int64 `protobuf:"varint,3,opt,name=changeset_id,json=changesetId" json:"changeset_id"` UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id"` UserSid uint32 `protobuf:"varint,5,opt,name=user_sid,json=userSid" json:"user_sid"` // The visible flag is used to store history information. It indicates that // the current object version has been created by a delete operation on the // OSM API. This info may be omitted if it can be inferred from its group // ie. create, modify, delete. Visible *bool `protobuf:"varint,6,opt,name=visible" json:"visible,omitempty"` // the time this element was committed into the db. Could be much later than // timestamp for large uploads. Committed *int64 `protobuf:"varint,7,opt,name=committed" json:"committed,omitempty"` }
func (*Info) Descriptor ¶
func (*Info) GetChangesetId ¶
func (*Info) GetCommitted ¶
func (*Info) GetTimestamp ¶
func (*Info) GetUserSid ¶
func (*Info) GetVersion ¶
func (*Info) GetVisible ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
type Node ¶
type Node struct { Id int64 `protobuf:"varint,1,req,name=id" json:"id"` // Parallel arrays. Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` Lat int64 `protobuf:"zigzag64,8,req,name=lat" json:"lat"` Lon int64 `protobuf:"zigzag64,9,req,name=lon" json:"lon"` }
func (*Node) Descriptor ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
type OSM ¶
type OSM struct { Bounds *Bounds `protobuf:"bytes,1,opt,name=bounds" json:"bounds,omitempty"` // an encoded should have either nodes or a dense_nodes, but not both. Nodes []*Node `protobuf:"bytes,2,rep,name=nodes" json:"nodes,omitempty"` DenseNodes *DenseNodes `protobuf:"bytes,3,opt,name=dense_nodes,json=denseNodes" json:"dense_nodes,omitempty"` Ways []*Way `protobuf:"bytes,4,rep,name=ways" json:"ways,omitempty"` Relations []*Relation `protobuf:"bytes,5,rep,name=relations" json:"relations,omitempty"` // contains the tag strings if this is the root of the data. Strings []string `protobuf:"bytes,15,rep,name=strings" json:"strings,omitempty"` }
func (*OSM) Descriptor ¶
func (*OSM) GetDenseNodes ¶
func (m *OSM) GetDenseNodes() *DenseNodes
func (*OSM) GetRelations ¶
func (*OSM) GetStrings ¶
func (*OSM) ProtoMessage ¶
func (*OSM) ProtoMessage()
type Relation ¶
type Relation struct { Id int64 `protobuf:"varint,1,req,name=id" json:"id"` // Parallel arrays. Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` // Parallel arrays // Roles has been changed int32 -> uint32 form the osm proto, // this is for consistency and backwards compatible. Roles []uint32 `protobuf:"varint,8,rep,packed,name=roles" json:"roles,omitempty"` Refs []int64 `protobuf:"zigzag64,9,rep,packed,name=refs" json:"refs,omitempty"` Types []Relation_MemberType `protobuf:"varint,10,rep,packed,name=types,enum=osm.Relation_MemberType" json:"types,omitempty"` // DenseMembers includes annotated information about the members DenseMembers *DenseMembers `protobuf:"bytes,11,opt,name=dense_members,json=denseMembers" json:"dense_members,omitempty"` // updates are changes to members that did not happen // at a similar time to a change in the parent. Updates *DenseMembers `protobuf:"bytes,12,opt,name=updates" json:"updates,omitempty"` }
func (*Relation) Descriptor ¶
func (*Relation) GetDenseMembers ¶
func (m *Relation) GetDenseMembers() *DenseMembers
func (*Relation) GetTypes ¶
func (m *Relation) GetTypes() []Relation_MemberType
func (*Relation) GetUpdates ¶
func (m *Relation) GetUpdates() *DenseMembers
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
type Relation_MemberType ¶
type Relation_MemberType int32
const ( Relation_NODE Relation_MemberType = 0 Relation_WAY Relation_MemberType = 1 Relation_RELATION Relation_MemberType = 2 )
func (Relation_MemberType) Enum ¶
func (x Relation_MemberType) Enum() *Relation_MemberType
func (Relation_MemberType) EnumDescriptor ¶
func (Relation_MemberType) EnumDescriptor() ([]byte, []int)
func (Relation_MemberType) String ¶
func (x Relation_MemberType) String() string
func (*Relation_MemberType) UnmarshalJSON ¶
func (x *Relation_MemberType) UnmarshalJSON(data []byte) error
type Tags ¶
type Tags struct { // encoded as [key1, val1, key2, val2, etc.] KeysVals []string `protobuf:"bytes,1,rep,name=keys_vals,json=keysVals" json:"keys_vals,omitempty"` }
func (*Tags) Descriptor ¶
func (*Tags) GetKeysVals ¶
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
type Way ¶
type Way struct { Id int64 `protobuf:"varint,1,req,name=id" json:"id"` // Parallel arrays. Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` // Only one of the next two must be included. // refs are DELTA coded node ids. If there is more info, // versions, changeset ids, lat and lon will be encoded // as a DenseMembers object. Refs []int64 `protobuf:"zigzag64,8,rep,packed,name=refs" json:"refs,omitempty"` DenseMembers *DenseMembers `protobuf:"bytes,9,opt,name=dense_members,json=denseMembers" json:"dense_members,omitempty"` // updates are changes to members that did not happen // at a similar time to a change in the parent. Updates *DenseMembers `protobuf:"bytes,10,opt,name=updates" json:"updates,omitempty"` }
func (*Way) Descriptor ¶
func (*Way) GetDenseMembers ¶
func (m *Way) GetDenseMembers() *DenseMembers
func (*Way) GetUpdates ¶
func (m *Way) GetUpdates() *DenseMembers
func (*Way) ProtoMessage ¶
func (*Way) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.