prototweet

package
v0.0.0-...-4e229c5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2015 License: MIT Imports: 2 Imported by: 2

Documentation

Overview

Package prototweet is a generated protocol buffer package.

It is generated from these files:

prototweet.proto

It has these top-level messages:

Tweet

Index

Constants

View Source
const Default_Tweet_Image_Source string = "TWITTER"

Variables

This section is empty.

Functions

This section is empty.

Types

type Tweet

type Tweet struct {
	Id               *int64            `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	User             *Tweet_User       `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	Text             *string           `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
	Coordinates      *Tweet_Coordinate `protobuf:"bytes,4,opt,name=coordinates" json:"coordinates,omitempty"`
	Hashtags         []string          `protobuf:"bytes,5,rep,name=hashtags" json:"hashtags,omitempty"`
	Pictures         []*Tweet_Image    `protobuf:"bytes,6,rep,name=pictures" json:"pictures,omitempty"`
	Urls             []*Tweet_Url      `protobuf:"bytes,7,rep,name=urls" json:"urls,omitempty"`
	Mentions         []*Tweet_User     `protobuf:"bytes,8,rep,name=mentions" json:"mentions,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*Tweet) GetCoordinates

func (m *Tweet) GetCoordinates() *Tweet_Coordinate

func (*Tweet) GetHashtags

func (m *Tweet) GetHashtags() []string

func (*Tweet) GetId

func (m *Tweet) GetId() int64

func (*Tweet) GetMentions

func (m *Tweet) GetMentions() []*Tweet_User

func (*Tweet) GetPictures

func (m *Tweet) GetPictures() []*Tweet_Image

func (*Tweet) GetText

func (m *Tweet) GetText() string

func (*Tweet) GetUrls

func (m *Tweet) GetUrls() []*Tweet_Url

func (*Tweet) GetUser

func (m *Tweet) GetUser() *Tweet_User

func (*Tweet) ProtoMessage

func (*Tweet) ProtoMessage()

func (*Tweet) Reset

func (m *Tweet) Reset()

func (*Tweet) String

func (m *Tweet) String() string

type Tweet_Coordinate

type Tweet_Coordinate struct {
	Latitude         *float64 `protobuf:"fixed64,1,opt,name=latitude" json:"latitude,omitempty"`
	Longitude        *float64 `protobuf:"fixed64,2,opt,name=longitude" json:"longitude,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Tweet_Coordinate) GetLatitude

func (m *Tweet_Coordinate) GetLatitude() float64

func (*Tweet_Coordinate) GetLongitude

func (m *Tweet_Coordinate) GetLongitude() float64

func (*Tweet_Coordinate) ProtoMessage

func (*Tweet_Coordinate) ProtoMessage()

func (*Tweet_Coordinate) Reset

func (m *Tweet_Coordinate) Reset()

func (*Tweet_Coordinate) String

func (m *Tweet_Coordinate) String() string

type Tweet_Image

type Tweet_Image struct {
	Source           *string `protobuf:"bytes,1,opt,name=source,def=TWITTER" json:"source,omitempty"`
	Url              *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Tweet_Image) GetSource

func (m *Tweet_Image) GetSource() string

func (*Tweet_Image) GetUrl

func (m *Tweet_Image) GetUrl() string

func (*Tweet_Image) ProtoMessage

func (*Tweet_Image) ProtoMessage()

func (*Tweet_Image) Reset

func (m *Tweet_Image) Reset()

func (*Tweet_Image) String

func (m *Tweet_Image) String() string

type Tweet_Url

type Tweet_Url struct {
	Display          *string `protobuf:"bytes,1,opt,name=display" json:"display,omitempty"`
	Actual           *string `protobuf:"bytes,2,opt,name=actual" json:"actual,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Tweet_Url) GetActual

func (m *Tweet_Url) GetActual() string

func (*Tweet_Url) GetDisplay

func (m *Tweet_Url) GetDisplay() string

func (*Tweet_Url) ProtoMessage

func (*Tweet_Url) ProtoMessage()

func (*Tweet_Url) Reset

func (m *Tweet_Url) Reset()

func (*Tweet_Url) String

func (m *Tweet_Url) String() string

type Tweet_User

type Tweet_User struct {
	Id               *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name             *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Tweet_User) GetId

func (m *Tweet_User) GetId() int64

func (*Tweet_User) GetName

func (m *Tweet_User) GetName() string

func (*Tweet_User) ProtoMessage

func (*Tweet_User) ProtoMessage()

func (*Tweet_User) Reset

func (m *Tweet_User) Reset()

func (*Tweet_User) String

func (m *Tweet_User) String() string

Jump to

Keyboard shortcuts

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