osmpb

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 5 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Bounds) GetMaxLat

func (m *Bounds) GetMaxLat() int64

func (*Bounds) GetMaxLon

func (m *Bounds) GetMaxLon() int64

func (*Bounds) GetMinLat

func (m *Bounds) GetMinLat() int64

func (*Bounds) GetMinLon

func (m *Bounds) GetMinLon() int64

func (*Bounds) Marshal

func (m *Bounds) Marshal() (dAtA []byte, err error)

func (*Bounds) MarshalTo

func (m *Bounds) MarshalTo(dAtA []byte) (int, error)

func (*Bounds) ProtoMessage

func (*Bounds) ProtoMessage()

func (*Bounds) Reset

func (m *Bounds) Reset()

func (*Bounds) Size

func (m *Bounds) Size() (n int)

func (*Bounds) String

func (m *Bounds) String() string

func (*Bounds) Unmarshal

func (m *Bounds) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Change) GetContext

func (m *Change) GetContext() *OSM

func (*Change) GetCreate

func (m *Change) GetCreate() *OSM

func (*Change) GetDelete

func (m *Change) GetDelete() *OSM

func (*Change) GetModify

func (m *Change) GetModify() *OSM

func (*Change) GetStrings

func (m *Change) GetStrings() []string

func (*Change) Marshal

func (m *Change) Marshal() (dAtA []byte, err error)

func (*Change) MarshalTo

func (m *Change) MarshalTo(dAtA []byte) (int, error)

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) Reset

func (m *Change) Reset()

func (*Change) Size

func (m *Change) Size() (n int)

func (*Change) String

func (m *Change) String() string

func (*Change) Unmarshal

func (m *Change) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Changeset) GetBounds

func (m *Changeset) GetBounds() *Bounds

func (*Changeset) GetChange

func (m *Changeset) GetChange() *Change

func (*Changeset) GetClosedAt

func (m *Changeset) GetClosedAt() int64

func (*Changeset) GetCreatedAt

func (m *Changeset) GetCreatedAt() int64

func (*Changeset) GetId

func (m *Changeset) GetId() int64

func (*Changeset) GetKeys

func (m *Changeset) GetKeys() []uint32

func (*Changeset) GetOpen

func (m *Changeset) GetOpen() bool

func (*Changeset) GetStrings

func (m *Changeset) GetStrings() []string

func (*Changeset) GetUserId

func (m *Changeset) GetUserId() int32

func (*Changeset) GetUserSid

func (m *Changeset) GetUserSid() uint32

func (*Changeset) GetVals

func (m *Changeset) GetVals() []uint32

func (*Changeset) Marshal

func (m *Changeset) Marshal() (dAtA []byte, err error)

func (*Changeset) MarshalTo

func (m *Changeset) MarshalTo(dAtA []byte) (int, error)

func (*Changeset) ProtoMessage

func (*Changeset) ProtoMessage()

func (*Changeset) Reset

func (m *Changeset) Reset()

func (*Changeset) Size

func (m *Changeset) Size() (n int)

func (*Changeset) String

func (m *Changeset) String() string

func (*Changeset) Unmarshal

func (m *Changeset) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*DenseInfo) GetChangesetIds

func (m *DenseInfo) GetChangesetIds() []int64

func (*DenseInfo) GetCommitteds

func (m *DenseInfo) GetCommitteds() []int64

func (*DenseInfo) GetTimestamps

func (m *DenseInfo) GetTimestamps() []int64

func (*DenseInfo) GetUserIds

func (m *DenseInfo) GetUserIds() []int32

func (*DenseInfo) GetUserSids

func (m *DenseInfo) GetUserSids() []int32

func (*DenseInfo) GetVersions

func (m *DenseInfo) GetVersions() []int32

func (*DenseInfo) GetVisibles

func (m *DenseInfo) GetVisibles() []bool

func (*DenseInfo) Marshal

func (m *DenseInfo) Marshal() (dAtA []byte, err error)

func (*DenseInfo) MarshalTo

func (m *DenseInfo) MarshalTo(dAtA []byte) (int, error)

func (*DenseInfo) ProtoMessage

func (*DenseInfo) ProtoMessage()

func (*DenseInfo) Reset

func (m *DenseInfo) Reset()

func (*DenseInfo) Size

func (m *DenseInfo) Size() (n int)

func (*DenseInfo) String

func (m *DenseInfo) String() string

func (*DenseInfo) Unmarshal

func (m *DenseInfo) Unmarshal(dAtA []byte) error

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) MarshalTo

func (m *DenseMembers) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *DenseNodes) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Info) GetChangesetId

func (m *Info) GetChangesetId() int64

func (*Info) GetCommitted

func (m *Info) GetCommitted() int64

func (*Info) GetTimestamp

func (m *Info) GetTimestamp() int64

func (*Info) GetUserId

func (m *Info) GetUserId() int32

func (*Info) GetUserSid

func (m *Info) GetUserSid() uint32

func (*Info) GetVersion

func (m *Info) GetVersion() int32

func (*Info) GetVisible

func (m *Info) GetVisible() bool

func (*Info) Marshal

func (m *Info) Marshal() (dAtA []byte, err error)

func (*Info) MarshalTo

func (m *Info) MarshalTo(dAtA []byte) (int, error)

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

func (m *Info) Size() (n int)

func (*Info) String

func (m *Info) String() string

func (*Info) Unmarshal

func (m *Info) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Node) GetId

func (m *Node) GetId() int64

func (*Node) GetInfo

func (m *Node) GetInfo() *Info

func (*Node) GetKeys

func (m *Node) GetKeys() []uint32

func (*Node) GetLat

func (m *Node) GetLat() int64

func (*Node) GetLon

func (m *Node) GetLon() int64

func (*Node) GetVals

func (m *Node) GetVals() []uint32

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*OSM) GetBounds

func (m *OSM) GetBounds() *Bounds

func (*OSM) GetDenseNodes

func (m *OSM) GetDenseNodes() *DenseNodes

func (*OSM) GetNodes

func (m *OSM) GetNodes() []*Node

func (*OSM) GetRelations

func (m *OSM) GetRelations() []*Relation

func (*OSM) GetStrings

func (m *OSM) GetStrings() []string

func (*OSM) GetWays

func (m *OSM) GetWays() []*Way

func (*OSM) Marshal

func (m *OSM) Marshal() (dAtA []byte, err error)

func (*OSM) MarshalTo

func (m *OSM) MarshalTo(dAtA []byte) (int, error)

func (*OSM) ProtoMessage

func (*OSM) ProtoMessage()

func (*OSM) Reset

func (m *OSM) Reset()

func (*OSM) Size

func (m *OSM) Size() (n int)

func (*OSM) String

func (m *OSM) String() string

func (*OSM) Unmarshal

func (m *OSM) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Relation) GetDenseMembers

func (m *Relation) GetDenseMembers() *DenseMembers

func (*Relation) GetId

func (m *Relation) GetId() int64

func (*Relation) GetInfo

func (m *Relation) GetInfo() *Info

func (*Relation) GetKeys

func (m *Relation) GetKeys() []uint32

func (*Relation) GetRefs

func (m *Relation) GetRefs() []int64

func (*Relation) GetRoles

func (m *Relation) GetRoles() []uint32

func (*Relation) GetTypes

func (m *Relation) GetTypes() []Relation_MemberType

func (*Relation) GetUpdates

func (m *Relation) GetUpdates() *DenseMembers

func (*Relation) GetVals

func (m *Relation) GetVals() []uint32

func (*Relation) Marshal

func (m *Relation) Marshal() (dAtA []byte, err error)

func (*Relation) MarshalTo

func (m *Relation) MarshalTo(dAtA []byte) (int, error)

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) Reset

func (m *Relation) Reset()

func (*Relation) Size

func (m *Relation) Size() (n int)

func (*Relation) String

func (m *Relation) String() string

func (*Relation) Unmarshal

func (m *Relation) Unmarshal(dAtA []byte) error

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 (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) Descriptor() ([]byte, []int)

func (*Tags) GetKeysVals

func (m *Tags) GetKeysVals() []string

func (*Tags) Marshal

func (m *Tags) Marshal() (dAtA []byte, err error)

func (*Tags) MarshalTo

func (m *Tags) MarshalTo(dAtA []byte) (int, error)

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) Reset

func (m *Tags) Reset()

func (*Tags) Size

func (m *Tags) Size() (n int)

func (*Tags) String

func (m *Tags) String() string

func (*Tags) Unmarshal

func (m *Tags) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Way) GetDenseMembers

func (m *Way) GetDenseMembers() *DenseMembers

func (*Way) GetId

func (m *Way) GetId() int64

func (*Way) GetInfo

func (m *Way) GetInfo() *Info

func (*Way) GetKeys

func (m *Way) GetKeys() []uint32

func (*Way) GetRefs

func (m *Way) GetRefs() []int64

func (*Way) GetUpdates

func (m *Way) GetUpdates() *DenseMembers

func (*Way) GetVals

func (m *Way) GetVals() []uint32

func (*Way) Marshal

func (m *Way) Marshal() (dAtA []byte, err error)

func (*Way) MarshalTo

func (m *Way) MarshalTo(dAtA []byte) (int, error)

func (*Way) ProtoMessage

func (*Way) ProtoMessage()

func (*Way) Reset

func (m *Way) Reset()

func (*Way) Size

func (m *Way) Size() (n int)

func (*Way) String

func (m *Way) String() string

func (*Way) Unmarshal

func (m *Way) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL