message

package
v0.0.0-...-ac29c3e Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package message is a generated protocol buffer package.

It is generated from these files:

message.proto

It has these top-level messages:

Series
Event
Venue
Location
Track
Activity
Group
Person
Sponsor
Sponsorship
Vendor
Vending

Index

Constants

This section is empty.

Variables

View Source
var Activity_Type_name = map[int32]string{
	0: "TALK",
	1: "CLASS",
	2: "SOCIAL",
	3: "HACK",
}
View Source
var Activity_Type_value = map[string]int32{
	"TALK":   0,
	"CLASS":  1,
	"SOCIAL": 2,
	"HACK":   3,
}
View Source
var Sponsorship_Level_name = map[int32]string{
	0: "BRONZE",
	1: "SILVER",
	2: "GOLD",
	3: "PLATINUM",
}
View Source
var Sponsorship_Level_value = map[string]int32{
	"BRONZE":   0,
	"SILVER":   1,
	"GOLD":     2,
	"PLATINUM": 3,
}

Functions

This section is empty.

Types

type Activity

type Activity struct {
	Id         int64                      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name       string                     `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Event      *Event                     `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"`
	Track      *Track                     `protobuf:"bytes,4,opt,name=track" json:"track,omitempty"`
	Begins     *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=begins" json:"begins,omitempty"`
	Ends       *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=ends" json:"ends,omitempty"`
	Location   *Location                  `protobuf:"bytes,7,opt,name=location" json:"location,omitempty"`
	Presenters []*Person                  `protobuf:"bytes,8,rep,name=presenters" json:"presenters,omitempty"`
	Attendees  []*Person                  `protobuf:"bytes,9,rep,name=attendees" json:"attendees,omitempty"`
}

func (*Activity) GetAttendees

func (m *Activity) GetAttendees() []*Person

func (*Activity) GetBegins

func (m *Activity) GetBegins() *google_protobuf.Timestamp

func (*Activity) GetEnds

func (m *Activity) GetEnds() *google_protobuf.Timestamp

func (*Activity) GetEvent

func (m *Activity) GetEvent() *Event

func (*Activity) GetLocation

func (m *Activity) GetLocation() *Location

func (*Activity) GetPresenters

func (m *Activity) GetPresenters() []*Person

func (*Activity) GetTrack

func (m *Activity) GetTrack() *Track

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) Reset

func (m *Activity) Reset()

func (*Activity) String

func (m *Activity) String() string

type Activity_Type

type Activity_Type int32
const (
	Activity_TALK   Activity_Type = 0
	Activity_CLASS  Activity_Type = 1
	Activity_SOCIAL Activity_Type = 2
	Activity_HACK   Activity_Type = 3
)

func (Activity_Type) String

func (x Activity_Type) String() string

type Event

type Event struct {
	Id         int64                      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name       string                     `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Begins     *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=begins" json:"begins,omitempty"`
	Ends       *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=ends" json:"ends,omitempty"`
	Activities []*Activity                `protobuf:"bytes,5,rep,name=activities" json:"activities,omitempty"`
	Tracks     []*Track                   `protobuf:"bytes,6,rep,name=tracks" json:"tracks,omitempty"`
	Organizers []*Person                  `protobuf:"bytes,7,rep,name=organizers" json:"organizers,omitempty"`
	Attendees  []*Person                  `protobuf:"bytes,8,rep,name=attendees" json:"attendees,omitempty"`
	Sponsors   []*Sponsorship             `protobuf:"bytes,9,rep,name=sponsors" json:"sponsors,omitempty"`
}

func (*Event) GetActivities

func (m *Event) GetActivities() []*Activity

func (*Event) GetAttendees

func (m *Event) GetAttendees() []*Person

func (*Event) GetBegins

func (m *Event) GetBegins() *google_protobuf.Timestamp

func (*Event) GetEnds

func (m *Event) GetEnds() *google_protobuf.Timestamp

func (*Event) GetOrganizers

func (m *Event) GetOrganizers() []*Person

func (*Event) GetSponsors

func (m *Event) GetSponsors() []*Sponsorship

func (*Event) GetTracks

func (m *Event) GetTracks() []*Track

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type Group

type Group struct {
	Id             int64     `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name           string    `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Event          *Event    `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"`
	Administrators []*Person `protobuf:"bytes,4,rep,name=administrators" json:"administrators,omitempty"`
	Members        []*Person `protobuf:"bytes,5,rep,name=members" json:"members,omitempty"`
}

func (*Group) GetAdministrators

func (m *Group) GetAdministrators() []*Person

func (*Group) GetEvent

func (m *Group) GetEvent() *Event

func (*Group) GetMembers

func (m *Group) GetMembers() []*Person

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

type Location

type Location struct {
	Id       int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Capacity int32  `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
	Address  string `protobuf:"bytes,5,opt,name=address" json:"address,omitempty"`
	Venue    *Venue `protobuf:"bytes,6,opt,name=venue" json:"venue,omitempty"`
}

func (*Location) GetVenue

func (m *Location) GetVenue() *Venue

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) String

func (m *Location) String() string

type Person

type Person struct {
	Id         int64       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Fname      string      `protobuf:"bytes,2,opt,name=fname" json:"fname,omitempty"`
	Lname      string      `protobuf:"bytes,3,opt,name=lname" json:"lname,omitempty"`
	Email      string      `protobuf:"bytes,4,opt,name=email" json:"email,omitempty"`
	Attending  []*Activity `protobuf:"bytes,5,rep,name=attending" json:"attending,omitempty"`
	SpeakingAt []*Activity `protobuf:"bytes,7,rep,name=speakingAt" json:"speakingAt,omitempty"`
	Groups     []*Group    `protobuf:"bytes,8,rep,name=groups" json:"groups,omitempty"`
	Following  []*Series   `protobuf:"bytes,9,rep,name=following" json:"following,omitempty"`
}

func (*Person) GetAttending

func (m *Person) GetAttending() []*Activity

func (*Person) GetFollowing

func (m *Person) GetFollowing() []*Series

func (*Person) GetGroups

func (m *Person) GetGroups() []*Group

func (*Person) GetSpeakingAt

func (m *Person) GetSpeakingAt() []*Activity

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) Reset

func (m *Person) Reset()

func (*Person) String

func (m *Person) String() string

type Series

type Series struct {
	Id     int64    `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name   string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Events []*Event `protobuf:"bytes,3,rep,name=events" json:"events,omitempty"`
}

func (*Series) GetEvents

func (m *Series) GetEvents() []*Event

func (*Series) ProtoMessage

func (*Series) ProtoMessage()

func (*Series) Reset

func (m *Series) Reset()

func (*Series) String

func (m *Series) String() string
type Sponsor struct {
	Id                int64          `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name              string         `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	MarketingContacts []*Person      `protobuf:"bytes,3,rep,name=marketingContacts" json:"marketingContacts,omitempty"`
	TechnicalContacts []*Person      `protobuf:"bytes,4,rep,name=technicalContacts" json:"technicalContacts,omitempty"`
	Sponsorships      []*Sponsorship `protobuf:"bytes,5,rep,name=sponsorships" json:"sponsorships,omitempty"`
}

func (*Sponsor) GetMarketingContacts

func (m *Sponsor) GetMarketingContacts() []*Person

func (*Sponsor) GetSponsorships

func (m *Sponsor) GetSponsorships() []*Sponsorship

func (*Sponsor) GetTechnicalContacts

func (m *Sponsor) GetTechnicalContacts() []*Person

func (*Sponsor) ProtoMessage

func (*Sponsor) ProtoMessage()

func (*Sponsor) Reset

func (m *Sponsor) Reset()

func (*Sponsor) String

func (m *Sponsor) String() string

type Sponsorship

type Sponsorship struct {
	Id      int64             `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Event   *Event            `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"`
	Sponsor *Sponsor          `protobuf:"bytes,3,opt,name=sponsor" json:"sponsor,omitempty"`
	Level   Sponsorship_Level `protobuf:"varint,4,opt,name=level,enum=Sponsorship_Level" json:"level,omitempty"`
}

func (*Sponsorship) GetEvent

func (m *Sponsorship) GetEvent() *Event

func (*Sponsorship) GetSponsor

func (m *Sponsorship) GetSponsor() *Sponsor

func (*Sponsorship) ProtoMessage

func (*Sponsorship) ProtoMessage()

func (*Sponsorship) Reset

func (m *Sponsorship) Reset()

func (*Sponsorship) String

func (m *Sponsorship) String() string

type Sponsorship_Level

type Sponsorship_Level int32
const (
	Sponsorship_BRONZE   Sponsorship_Level = 0
	Sponsorship_SILVER   Sponsorship_Level = 1
	Sponsorship_GOLD     Sponsorship_Level = 2
	Sponsorship_PLATINUM Sponsorship_Level = 3
)

func (Sponsorship_Level) String

func (x Sponsorship_Level) String() string

type Track

type Track struct {
	Id         int64       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name       string      `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Event      *Event      `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"`
	Activities []*Activity `protobuf:"bytes,4,rep,name=activities" json:"activities,omitempty"`
}

func (*Track) GetActivities

func (m *Track) GetActivities() []*Activity

func (*Track) GetEvent

func (m *Track) GetEvent() *Event

func (*Track) ProtoMessage

func (*Track) ProtoMessage()

func (*Track) Reset

func (m *Track) Reset()

func (*Track) String

func (m *Track) String() string

type Vending

type Vending struct {
	Id       int64                      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Event    *Event                     `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"`
	Vendor   *Vendor                    `protobuf:"bytes,3,opt,name=vendor" json:"vendor,omitempty"`
	Location *Location                  `protobuf:"bytes,4,opt,name=location" json:"location,omitempty"`
	Begins   *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=begins" json:"begins,omitempty"`
	Ends     *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=ends" json:"ends,omitempty"`
}

func (*Vending) GetBegins

func (m *Vending) GetBegins() *google_protobuf.Timestamp

func (*Vending) GetEnds

func (m *Vending) GetEnds() *google_protobuf.Timestamp

func (*Vending) GetEvent

func (m *Vending) GetEvent() *Event

func (*Vending) GetLocation

func (m *Vending) GetLocation() *Location

func (*Vending) GetVendor

func (m *Vending) GetVendor() *Vendor

func (*Vending) ProtoMessage

func (*Vending) ProtoMessage()

func (*Vending) Reset

func (m *Vending) Reset()

func (*Vending) String

func (m *Vending) String() string

type Vendor

type Vendor struct {
	Id          int64      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name        string     `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Contacts    []*Person  `protobuf:"bytes,3,rep,name=contacts" json:"contacts,omitempty"`
	Appearances []*Vending `protobuf:"bytes,4,rep,name=appearances" json:"appearances,omitempty"`
}

func (*Vendor) GetAppearances

func (m *Vendor) GetAppearances() []*Vending

func (*Vendor) GetContacts

func (m *Vendor) GetContacts() []*Person

func (*Vendor) ProtoMessage

func (*Vendor) ProtoMessage()

func (*Vendor) Reset

func (m *Vendor) Reset()

func (*Vendor) String

func (m *Vendor) String() string

type Venue

type Venue struct {
	Id          int64       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name        string      `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Address     string      `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
	PhoneNumber string      `protobuf:"bytes,4,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
	Email       string      `protobuf:"bytes,5,opt,name=email" json:"email,omitempty"`
	Locations   []*Location `protobuf:"bytes,6,rep,name=locations" json:"locations,omitempty"`
	Events      []*Event    `protobuf:"bytes,7,rep,name=events" json:"events,omitempty"`
}

func (*Venue) GetEvents

func (m *Venue) GetEvents() []*Event

func (*Venue) GetLocations

func (m *Venue) GetLocations() []*Location

func (*Venue) ProtoMessage

func (*Venue) ProtoMessage()

func (*Venue) Reset

func (m *Venue) Reset()

func (*Venue) String

func (m *Venue) String() string

Jump to

Keyboard shortcuts

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