Documentation ¶
Index ¶
- Variables
- type Bounds
- func (*Bounds) Descriptor() ([]byte, []int)deprecated
- func (x *Bounds) GetMaxLat() int64
- func (x *Bounds) GetMaxLon() int64
- func (x *Bounds) GetMinLat() int64
- func (x *Bounds) GetMinLon() int64
- func (*Bounds) ProtoMessage()
- func (x *Bounds) ProtoReflect() protoreflect.Message
- func (x *Bounds) Reset()
- func (x *Bounds) String() string
- type Change
- func (*Change) Descriptor() ([]byte, []int)deprecated
- func (x *Change) GetContext() *OSM
- func (x *Change) GetCreate() *OSM
- func (x *Change) GetDelete() *OSM
- func (x *Change) GetModify() *OSM
- func (x *Change) GetStrings() []string
- func (*Change) ProtoMessage()
- func (x *Change) ProtoReflect() protoreflect.Message
- func (x *Change) Reset()
- func (x *Change) String() string
- type Changeset
- func (*Changeset) Descriptor() ([]byte, []int)deprecated
- func (x *Changeset) GetBounds() *Bounds
- func (x *Changeset) GetChange() *Change
- func (x *Changeset) GetClosedAt() int64
- func (x *Changeset) GetCreatedAt() int64
- func (x *Changeset) GetId() int64
- func (x *Changeset) GetKeys() []uint32
- func (x *Changeset) GetOpen() bool
- func (x *Changeset) GetStrings() []string
- func (x *Changeset) GetUserId() int32
- func (x *Changeset) GetUserSid() uint32
- func (x *Changeset) GetVals() []uint32
- func (*Changeset) ProtoMessage()
- func (x *Changeset) ProtoReflect() protoreflect.Message
- func (x *Changeset) Reset()
- func (x *Changeset) String() string
- type DenseInfo
- func (*DenseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DenseInfo) GetChangesetIds() []int64
- func (x *DenseInfo) GetCommitteds() []int64
- func (x *DenseInfo) GetTimestamps() []int64
- func (x *DenseInfo) GetUserIds() []int32
- func (x *DenseInfo) GetUserSids() []int32
- func (x *DenseInfo) GetVersions() []int32
- func (x *DenseInfo) GetVisibles() []bool
- func (*DenseInfo) ProtoMessage()
- func (x *DenseInfo) ProtoReflect() protoreflect.Message
- func (x *DenseInfo) Reset()
- func (x *DenseInfo) String() string
- type DenseMembers
- func (*DenseMembers) Descriptor() ([]byte, []int)deprecated
- func (x *DenseMembers) GetChangesetIds() []int64
- func (x *DenseMembers) GetIndexes() []int32
- func (x *DenseMembers) GetLats() []int64
- func (x *DenseMembers) GetLons() []int64
- func (x *DenseMembers) GetOrientation() []int32
- func (x *DenseMembers) GetTimestamps() []int64
- func (x *DenseMembers) GetVersions() []int32
- func (*DenseMembers) ProtoMessage()
- func (x *DenseMembers) ProtoReflect() protoreflect.Message
- func (x *DenseMembers) Reset()
- func (x *DenseMembers) String() string
- type DenseNodes
- func (*DenseNodes) Descriptor() ([]byte, []int)deprecated
- func (x *DenseNodes) GetDenseInfo() *DenseInfo
- func (x *DenseNodes) GetIds() []int64
- func (x *DenseNodes) GetKeysVals() []uint32
- func (x *DenseNodes) GetLats() []int64
- func (x *DenseNodes) GetLons() []int64
- func (x *DenseNodes) GetStrings() []string
- func (*DenseNodes) ProtoMessage()
- func (x *DenseNodes) ProtoReflect() protoreflect.Message
- func (x *DenseNodes) Reset()
- func (x *DenseNodes) String() string
- type Info
- func (*Info) Descriptor() ([]byte, []int)deprecated
- func (x *Info) GetChangesetId() int64
- func (x *Info) GetCommitted() int64
- func (x *Info) GetTimestamp() int64
- func (x *Info) GetUserId() int32
- func (x *Info) GetUserSid() uint32
- func (x *Info) GetVersion() int32
- func (x *Info) GetVisible() bool
- func (*Info) ProtoMessage()
- func (x *Info) ProtoReflect() protoreflect.Message
- func (x *Info) Reset()
- func (x *Info) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetId() int64
- func (x *Node) GetInfo() *Info
- func (x *Node) GetKeys() []uint32
- func (x *Node) GetLat() int64
- func (x *Node) GetLon() int64
- func (x *Node) GetVals() []uint32
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type OSM
- func (*OSM) Descriptor() ([]byte, []int)deprecated
- func (x *OSM) GetBounds() *Bounds
- func (x *OSM) GetDenseNodes() *DenseNodes
- func (x *OSM) GetNodes() []*Node
- func (x *OSM) GetRelations() []*Relation
- func (x *OSM) GetStrings() []string
- func (x *OSM) GetWays() []*Way
- func (*OSM) ProtoMessage()
- func (x *OSM) ProtoReflect() protoreflect.Message
- func (x *OSM) Reset()
- func (x *OSM) String() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetDenseMembers() *DenseMembers
- func (x *Relation) GetId() int64
- func (x *Relation) GetInfo() *Info
- func (x *Relation) GetKeys() []uint32
- func (x *Relation) GetRefs() []int64
- func (x *Relation) GetRoles() []uint32
- func (x *Relation) GetTypes() []Relation_MemberType
- func (x *Relation) GetUpdates() *DenseMembers
- func (x *Relation) GetVals() []uint32
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- type Relation_MemberType
- func (Relation_MemberType) Descriptor() protoreflect.EnumDescriptor
- func (x Relation_MemberType) Enum() *Relation_MemberType
- func (Relation_MemberType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Relation_MemberType) Number() protoreflect.EnumNumber
- func (x Relation_MemberType) String() string
- func (Relation_MemberType) Type() protoreflect.EnumType
- func (x *Relation_MemberType) UnmarshalJSON(b []byte) errordeprecated
- type Tags
- type Way
- func (*Way) Descriptor() ([]byte, []int)deprecated
- func (x *Way) GetDenseMembers() *DenseMembers
- func (x *Way) GetId() int64
- func (x *Way) GetInfo() *Info
- func (x *Way) GetKeys() []uint32
- func (x *Way) GetRefs() []int64
- func (x *Way) GetUpdates() *DenseMembers
- func (x *Way) GetVals() []uint32
- func (*Way) ProtoMessage()
- func (x *Way) ProtoReflect() protoreflect.Message
- func (x *Way) Reset()
- func (x *Way) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relation_MemberType_name = map[int32]string{ 0: "NODE", 1: "WAY", 2: "RELATION", } Relation_MemberType_value = map[string]int32{ "NODE": 0, "WAY": 1, "RELATION": 2, } )
Enum value maps for Relation_MemberType.
View Source
var File_osm_proto protoreflect.FileDescriptor
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,omitempty"` MaxLon *int64 `protobuf:"zigzag64,2,req,name=max_lon,json=maxLon" json:"max_lon,omitempty"` MinLat *int64 `protobuf:"zigzag64,3,req,name=min_lat,json=minLat" json:"min_lat,omitempty"` MaxLat *int64 `protobuf:"zigzag64,4,req,name=max_lat,json=maxLat" json:"max_lat,omitempty"` // contains filtered or unexported fields }
func (*Bounds) Descriptor
deprecated
func (*Bounds) ProtoMessage ¶
func (*Bounds) ProtoMessage()
func (*Bounds) ProtoReflect ¶ added in v0.4.0
func (x *Bounds) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) GetContext ¶
func (*Change) GetStrings ¶
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶ added in v0.4.0
func (x *Change) ProtoReflect() protoreflect.Message
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"` // epoch time ClosedAt *int64 `protobuf:"varint,8,opt,name=closed_at,json=closedAt" json:"closed_at,omitempty"` // epoch time 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"` // contains filtered or unexported fields }
func (*Changeset) Descriptor
deprecated
func (*Changeset) GetClosedAt ¶
func (*Changeset) GetCreatedAt ¶
func (*Changeset) GetStrings ¶
func (*Changeset) GetUserSid ¶
func (*Changeset) ProtoMessage ¶
func (*Changeset) ProtoMessage()
func (*Changeset) ProtoReflect ¶ added in v0.4.0
func (x *Changeset) ProtoReflect() protoreflect.Message
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"` // DELTA coded // 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"` // DELTA coded UserIds []int32 `protobuf:"zigzag32,4,rep,packed,name=user_ids,json=userIds" json:"user_ids,omitempty"` // DELTA coded UserSids []int32 `protobuf:"zigzag32,5,rep,packed,name=user_sids,json=userSids" json:"user_sids,omitempty"` // String IDs for usernames. DELTA coded // 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"` // DELTA coded // contains filtered or unexported fields }
func (*DenseInfo) Descriptor
deprecated
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()
func (*DenseInfo) ProtoReflect ¶ added in v0.4.0
func (x *DenseInfo) ProtoReflect() protoreflect.Message
type DenseMembers ¶
type DenseMembers struct { Indexes []int32 `protobuf:"zigzag32,1,rep,packed,name=indexes" json:"indexes,omitempty"` // DELTA coded Versions []int32 `protobuf:"varint,2,rep,packed,name=versions" json:"versions,omitempty"` Timestamps []int64 `protobuf:"zigzag64,3,rep,packed,name=timestamps" json:"timestamps,omitempty"` // DELTA coded ChangesetIds []int64 `protobuf:"zigzag64,4,rep,packed,name=changeset_ids,json=changesetIds" json:"changeset_ids,omitempty"` // DELTA coded 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"` // DELTA coded Lons []int64 `protobuf:"zigzag64,9,rep,packed,name=lons" json:"lons,omitempty"` // DELTA coded // contains filtered or unexported fields }
func (*DenseMembers) Descriptor
deprecated
func (*DenseMembers) Descriptor() ([]byte, []int)
Deprecated: Use DenseMembers.ProtoReflect.Descriptor instead.
func (*DenseMembers) GetChangesetIds ¶
func (x *DenseMembers) GetChangesetIds() []int64
func (*DenseMembers) GetIndexes ¶
func (x *DenseMembers) GetIndexes() []int32
func (*DenseMembers) GetLats ¶
func (x *DenseMembers) GetLats() []int64
func (*DenseMembers) GetLons ¶
func (x *DenseMembers) GetLons() []int64
func (*DenseMembers) GetOrientation ¶
func (x *DenseMembers) GetOrientation() []int32
func (*DenseMembers) GetTimestamps ¶
func (x *DenseMembers) GetTimestamps() []int64
func (*DenseMembers) GetVersions ¶
func (x *DenseMembers) GetVersions() []int32
func (*DenseMembers) ProtoMessage ¶
func (*DenseMembers) ProtoMessage()
func (*DenseMembers) ProtoReflect ¶ added in v0.4.0
func (x *DenseMembers) ProtoReflect() protoreflect.Message
func (*DenseMembers) Reset ¶
func (x *DenseMembers) Reset()
func (*DenseMembers) String ¶
func (x *DenseMembers) String() string
type DenseNodes ¶
type DenseNodes struct { Ids []int64 `protobuf:"zigzag64,1,rep,packed,name=ids" json:"ids,omitempty"` // DELTA coded 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"` // DELTA coded Lons []int64 `protobuf:"zigzag64,9,rep,packed,name=lons" json:"lons,omitempty"` // DELTA coded // 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"` // NOTE: id less than 16 encodes as 2 less bytes. // contains filtered or unexported fields }
func (*DenseNodes) Descriptor
deprecated
func (*DenseNodes) Descriptor() ([]byte, []int)
Deprecated: Use DenseNodes.ProtoReflect.Descriptor instead.
func (*DenseNodes) GetDenseInfo ¶
func (x *DenseNodes) GetDenseInfo() *DenseInfo
func (*DenseNodes) GetIds ¶
func (x *DenseNodes) GetIds() []int64
func (*DenseNodes) GetKeysVals ¶
func (x *DenseNodes) GetKeysVals() []uint32
func (*DenseNodes) GetLats ¶
func (x *DenseNodes) GetLats() []int64
func (*DenseNodes) GetLons ¶
func (x *DenseNodes) GetLons() []int64
func (*DenseNodes) GetStrings ¶
func (x *DenseNodes) GetStrings() []string
func (*DenseNodes) ProtoMessage ¶
func (*DenseNodes) ProtoMessage()
func (*DenseNodes) ProtoReflect ¶ added in v0.4.0
func (x *DenseNodes) ProtoReflect() protoreflect.Message
func (*DenseNodes) Reset ¶
func (x *DenseNodes) Reset()
func (*DenseNodes) String ¶
func (x *DenseNodes) String() string
type Info ¶
type Info struct { Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` // Epoch // 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,omitempty"` UserId *int32 `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"` UserSid *uint32 `protobuf:"varint,5,opt,name=user_sid,json=userSid" json:"user_sid,omitempty"` // String ID // 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"` // Epoch // contains filtered or unexported fields }
func (*Info) Descriptor
deprecated
func (*Info) GetChangesetId ¶
func (*Info) GetCommitted ¶
func (*Info) GetTimestamp ¶
func (*Info) GetUserSid ¶
func (*Info) GetVersion ¶
func (*Info) GetVisible ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶ added in v0.4.0
func (x *Info) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct { Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` // Parallel arrays. Keys []uint32 `protobuf:"varint,2,rep,packed,name=keys" json:"keys,omitempty"` // String IDs. Vals []uint32 `protobuf:"varint,3,rep,packed,name=vals" json:"vals,omitempty"` // String IDs. Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` Lat *int64 `protobuf:"zigzag64,8,req,name=lat" json:"lat,omitempty"` Lon *int64 `protobuf:"zigzag64,9,req,name=lon" json:"lon,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.4.0
func (x *Node) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*OSM) Descriptor
deprecated
func (*OSM) GetDenseNodes ¶
func (x *OSM) GetDenseNodes() *DenseNodes
func (*OSM) GetRelations ¶
func (*OSM) GetStrings ¶
func (*OSM) ProtoMessage ¶
func (*OSM) ProtoMessage()
func (*OSM) ProtoReflect ¶ added in v0.4.0
func (x *OSM) ProtoReflect() protoreflect.Message
type Relation ¶
type Relation struct { Id *int64 `protobuf:"varint,1,req,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"` 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"` // String IDs. Refs []int64 `protobuf:"zigzag64,9,rep,packed,name=refs" json:"refs,omitempty"` // DELTA encoded 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"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetDenseMembers ¶
func (x *Relation) GetDenseMembers() *DenseMembers
func (*Relation) GetTypes ¶
func (x *Relation) GetTypes() []Relation_MemberType
func (*Relation) GetUpdates ¶
func (x *Relation) GetUpdates() *DenseMembers
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶ added in v0.4.0
func (x *Relation) ProtoReflect() protoreflect.Message
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) Descriptor ¶ added in v0.4.0
func (Relation_MemberType) Descriptor() protoreflect.EnumDescriptor
func (Relation_MemberType) Enum ¶
func (x Relation_MemberType) Enum() *Relation_MemberType
func (Relation_MemberType) EnumDescriptor
deprecated
func (Relation_MemberType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Relation_MemberType.Descriptor instead.
func (Relation_MemberType) Number ¶ added in v0.4.0
func (x Relation_MemberType) Number() protoreflect.EnumNumber
func (Relation_MemberType) String ¶
func (x Relation_MemberType) String() string
func (Relation_MemberType) Type ¶ added in v0.4.0
func (Relation_MemberType) Type() protoreflect.EnumType
func (*Relation_MemberType) UnmarshalJSON
deprecated
func (x *Relation_MemberType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // contains filtered or unexported fields }
func (*Tags) Descriptor
deprecated
func (*Tags) GetKeysVals ¶
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect ¶ added in v0.4.0
func (x *Tags) ProtoReflect() protoreflect.Message
type Way ¶
type Way struct { Id *int64 `protobuf:"varint,1,req,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"` 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"` // contains filtered or unexported fields }
func (*Way) Descriptor
deprecated
func (*Way) GetDenseMembers ¶
func (x *Way) GetDenseMembers() *DenseMembers
func (*Way) GetUpdates ¶
func (x *Way) GetUpdates() *DenseMembers
func (*Way) ProtoMessage ¶
func (*Way) ProtoMessage()
func (*Way) ProtoReflect ¶ added in v0.4.0
func (x *Way) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.