twitterpb

package
v0.0.0-...-5b2671d Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package twitterpb is a generated protocol buffer package.

It is generated from these files:

twitter/archive.proto
twitter/dm.proto
twitter/entity.proto
twitter/list.proto
twitter/tweet.proto
twitter/user.proto

It has these top-level messages:

Archive
Target
DirectMessageData
DirectMessageCreate
DirectMessageEvent
Url
Hashtag
UserMention
MediaSize
MediaSizes
Variant
VideoInfo
EntityMedia
Entities
List
Place
Coordinates
ExtendedTweet
Tweet
User

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	Lists          []*List               `protobuf:"bytes,1,rep,name=lists" json:"lists,omitempty"`
	Friends        []*User               `protobuf:"bytes,2,rep,name=friends" json:"friends,omitempty"`
	Followers      []*User               `protobuf:"bytes,3,rep,name=followers" json:"followers,omitempty"`
	Timeline       []*Tweet              `protobuf:"bytes,4,rep,name=timeline" json:"timeline,omitempty"`
	Favorites      []*Tweet              `protobuf:"bytes,5,rep,name=favorites" json:"favorites,omitempty"`
	DirectMessages []*DirectMessageEvent `protobuf:"bytes,6,rep,name=direct_messages,json=directMessages" json:"direct_messages,omitempty"`
}

func (*Archive) Descriptor

func (*Archive) Descriptor() ([]byte, []int)

func (*Archive) GetDirectMessages

func (m *Archive) GetDirectMessages() []*DirectMessageEvent

func (*Archive) GetFavorites

func (m *Archive) GetFavorites() []*Tweet

func (*Archive) GetFollowers

func (m *Archive) GetFollowers() []*User

func (*Archive) GetFriends

func (m *Archive) GetFriends() []*User

func (*Archive) GetLists

func (m *Archive) GetLists() []*List

func (*Archive) GetTimeline

func (m *Archive) GetTimeline() []*Tweet

func (*Archive) ProtoMessage

func (*Archive) ProtoMessage()

func (*Archive) Reset

func (m *Archive) Reset()

func (*Archive) String

func (m *Archive) String() string

type Coordinates

type Coordinates struct {
}

func (*Coordinates) Descriptor

func (*Coordinates) Descriptor() ([]byte, []int)

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) Reset

func (m *Coordinates) Reset()

func (*Coordinates) String

func (m *Coordinates) String() string

type DirectMessageCreate

type DirectMessageCreate struct {
	Target      *Target            `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	SenderId    string             `protobuf:"bytes,2,opt,name=sender_id,json=senderId" json:"sender_id,omitempty"`
	SourceAppId string             `protobuf:"bytes,3,opt,name=source_app_id,json=sourceAppId" json:"source_app_id,omitempty"`
	MessageData *DirectMessageData `protobuf:"bytes,4,opt,name=message_data,json=messageData" json:"message_data,omitempty"`
}

func (*DirectMessageCreate) Descriptor

func (*DirectMessageCreate) Descriptor() ([]byte, []int)

func (*DirectMessageCreate) GetMessageData

func (m *DirectMessageCreate) GetMessageData() *DirectMessageData

func (*DirectMessageCreate) GetSenderId

func (m *DirectMessageCreate) GetSenderId() string

func (*DirectMessageCreate) GetSourceAppId

func (m *DirectMessageCreate) GetSourceAppId() string

func (*DirectMessageCreate) GetTarget

func (m *DirectMessageCreate) GetTarget() *Target

func (*DirectMessageCreate) ProtoMessage

func (*DirectMessageCreate) ProtoMessage()

func (*DirectMessageCreate) Reset

func (m *DirectMessageCreate) Reset()

func (*DirectMessageCreate) String

func (m *DirectMessageCreate) String() string

type DirectMessageData

type DirectMessageData struct {
	Text     string    `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
	Entities *Entities `protobuf:"bytes,2,opt,name=entities" json:"entities,omitempty"`
}

func (*DirectMessageData) Descriptor

func (*DirectMessageData) Descriptor() ([]byte, []int)

func (*DirectMessageData) GetEntities

func (m *DirectMessageData) GetEntities() *Entities

func (*DirectMessageData) GetText

func (m *DirectMessageData) GetText() string

func (*DirectMessageData) ProtoMessage

func (*DirectMessageData) ProtoMessage()

func (*DirectMessageData) Reset

func (m *DirectMessageData) Reset()

func (*DirectMessageData) String

func (m *DirectMessageData) String() string

type DirectMessageEvent

type DirectMessageEvent struct {
	Type             string               `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Id               string               `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	CreatedTimestamp string               `protobuf:"bytes,3,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"`
	MessageCreate    *DirectMessageCreate `protobuf:"bytes,4,opt,name=message_create,json=messageCreate" json:"message_create,omitempty"`
}

func (*DirectMessageEvent) Descriptor

func (*DirectMessageEvent) Descriptor() ([]byte, []int)

func (*DirectMessageEvent) GetCreatedTimestamp

func (m *DirectMessageEvent) GetCreatedTimestamp() string

func (*DirectMessageEvent) GetId

func (m *DirectMessageEvent) GetId() string

func (*DirectMessageEvent) GetMessageCreate

func (m *DirectMessageEvent) GetMessageCreate() *DirectMessageCreate

func (*DirectMessageEvent) GetType

func (m *DirectMessageEvent) GetType() string

func (*DirectMessageEvent) ProtoMessage

func (*DirectMessageEvent) ProtoMessage()

func (*DirectMessageEvent) Reset

func (m *DirectMessageEvent) Reset()

func (*DirectMessageEvent) String

func (m *DirectMessageEvent) String() string

type Entities

type Entities struct {
	Urls         []*Url         `protobuf:"bytes,1,rep,name=urls" json:"urls,omitempty"`
	Hashtags     []*Hashtag     `protobuf:"bytes,2,rep,name=hashtags" json:"hashtags,omitempty"`
	Url          *Url           `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	UserMentions []*UserMention `protobuf:"bytes,4,rep,name=user_mentions,json=userMentions" json:"user_mentions,omitempty"`
	Media        []*EntityMedia `protobuf:"bytes,5,rep,name=media" json:"media,omitempty"`
}

func (*Entities) Descriptor

func (*Entities) Descriptor() ([]byte, []int)

func (*Entities) GetHashtags

func (m *Entities) GetHashtags() []*Hashtag

func (*Entities) GetMedia

func (m *Entities) GetMedia() []*EntityMedia

func (*Entities) GetUrl

func (m *Entities) GetUrl() *Url

func (*Entities) GetUrls

func (m *Entities) GetUrls() []*Url

func (*Entities) GetUserMentions

func (m *Entities) GetUserMentions() []*UserMention

func (*Entities) ProtoMessage

func (*Entities) ProtoMessage()

func (*Entities) Reset

func (m *Entities) Reset()

func (*Entities) String

func (m *Entities) String() string

type EntityMedia

type EntityMedia struct {
	Id             int64       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	MediaUrl       string      `protobuf:"bytes,2,opt,name=media_url,json=mediaUrl" json:"media_url,omitempty"`
	MediaUrlHttps  string      `protobuf:"bytes,3,opt,name=media_url_https,json=mediaUrlHttps" json:"media_url_https,omitempty"`
	Url            string      `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"`
	DisplayUrl     string      `protobuf:"bytes,5,opt,name=display_url,json=displayUrl" json:"display_url,omitempty"`
	ExpandedUrl    string      `protobuf:"bytes,6,opt,name=expanded_url,json=expandedUrl" json:"expanded_url,omitempty"`
	Sizes          *MediaSizes `protobuf:"bytes,7,opt,name=sizes" json:"sizes,omitempty"`
	SourceStatusId int64       `protobuf:"varint,8,opt,name=source_status_id,json=sourceStatusId" json:"source_status_id,omitempty"`
	Type           string      `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"`
	Indices        []int64     `protobuf:"varint,10,rep,packed,name=indices" json:"indices,omitempty"`
	VideoInfo      *VideoInfo  `protobuf:"bytes,11,opt,name=video_info,json=videoInfo" json:"video_info,omitempty"`
	ExtAltText     string      `protobuf:"bytes,12,opt,name=ext_alt_text,json=extAltText" json:"ext_alt_text,omitempty"`
}

func (*EntityMedia) Descriptor

func (*EntityMedia) Descriptor() ([]byte, []int)

func (*EntityMedia) GetDisplayUrl

func (m *EntityMedia) GetDisplayUrl() string

func (*EntityMedia) GetExpandedUrl

func (m *EntityMedia) GetExpandedUrl() string

func (*EntityMedia) GetExtAltText

func (m *EntityMedia) GetExtAltText() string

func (*EntityMedia) GetId

func (m *EntityMedia) GetId() int64

func (*EntityMedia) GetIndices

func (m *EntityMedia) GetIndices() []int64

func (*EntityMedia) GetMediaUrl

func (m *EntityMedia) GetMediaUrl() string

func (*EntityMedia) GetMediaUrlHttps

func (m *EntityMedia) GetMediaUrlHttps() string

func (*EntityMedia) GetSizes

func (m *EntityMedia) GetSizes() *MediaSizes

func (*EntityMedia) GetSourceStatusId

func (m *EntityMedia) GetSourceStatusId() int64

func (*EntityMedia) GetType

func (m *EntityMedia) GetType() string

func (*EntityMedia) GetUrl

func (m *EntityMedia) GetUrl() string

func (*EntityMedia) GetVideoInfo

func (m *EntityMedia) GetVideoInfo() *VideoInfo

func (*EntityMedia) ProtoMessage

func (*EntityMedia) ProtoMessage()

func (*EntityMedia) Reset

func (m *EntityMedia) Reset()

func (*EntityMedia) String

func (m *EntityMedia) String() string

type ExtendedTweet

type ExtendedTweet struct {
}

func (*ExtendedTweet) Descriptor

func (*ExtendedTweet) Descriptor() ([]byte, []int)

func (*ExtendedTweet) ProtoMessage

func (*ExtendedTweet) ProtoMessage()

func (*ExtendedTweet) Reset

func (m *ExtendedTweet) Reset()

func (*ExtendedTweet) String

func (m *ExtendedTweet) String() string

type Hashtag

type Hashtag struct {
	Indices []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"`
	Text    string  `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
}

func (*Hashtag) Descriptor

func (*Hashtag) Descriptor() ([]byte, []int)

func (*Hashtag) GetIndices

func (m *Hashtag) GetIndices() []int64

func (*Hashtag) GetText

func (m *Hashtag) GetText() string

func (*Hashtag) ProtoMessage

func (*Hashtag) ProtoMessage()

func (*Hashtag) Reset

func (m *Hashtag) Reset()

func (*Hashtag) String

func (m *Hashtag) String() string

type List

type List struct {
	Slug            string  `protobuf:"bytes,1,opt,name=slug" json:"slug,omitempty"`
	Name            string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Uri             string  `protobuf:"bytes,3,opt,name=uri" json:"uri,omitempty"`
	CreatedAt       string  `protobuf:"bytes,4,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	Id              int64   `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
	SubscriberCount int64   `protobuf:"varint,6,opt,name=subscriber_count,json=subscriberCount" json:"subscriber_count,omitempty"`
	MemberCount     int64   `protobuf:"varint,7,opt,name=member_count,json=memberCount" json:"member_count,omitempty"`
	Mode            string  `protobuf:"bytes,8,opt,name=mode" json:"mode,omitempty"`
	FullName        string  `protobuf:"bytes,9,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
	Description     string  `protobuf:"bytes,10,opt,name=description" json:"description,omitempty"`
	User            *User   `protobuf:"bytes,11,opt,name=user" json:"user,omitempty"`
	Following       bool    `protobuf:"varint,12,opt,name=following" json:"following,omitempty"`
	Members         []*User `protobuf:"bytes,13,rep,name=members" json:"members,omitempty"`
}

func (*List) Descriptor

func (*List) Descriptor() ([]byte, []int)

func (*List) GetCreatedAt

func (m *List) GetCreatedAt() string

func (*List) GetDescription

func (m *List) GetDescription() string

func (*List) GetFollowing

func (m *List) GetFollowing() bool

func (*List) GetFullName

func (m *List) GetFullName() string

func (*List) GetId

func (m *List) GetId() int64

func (*List) GetMemberCount

func (m *List) GetMemberCount() int64

func (*List) GetMembers

func (m *List) GetMembers() []*User

func (*List) GetMode

func (m *List) GetMode() string

func (*List) GetName

func (m *List) GetName() string

func (*List) GetSlug

func (m *List) GetSlug() string

func (*List) GetSubscriberCount

func (m *List) GetSubscriberCount() int64

func (*List) GetUri

func (m *List) GetUri() string

func (*List) GetUser

func (m *List) GetUser() *User

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) String

func (m *List) String() string

type MediaSize

type MediaSize struct {
	W      int32  `protobuf:"varint,1,opt,name=w" json:"w,omitempty"`
	H      int32  `protobuf:"varint,2,opt,name=h" json:"h,omitempty"`
	Resize string `protobuf:"bytes,3,opt,name=resize" json:"resize,omitempty"`
}

func (*MediaSize) Descriptor

func (*MediaSize) Descriptor() ([]byte, []int)

func (*MediaSize) GetH

func (m *MediaSize) GetH() int32

func (*MediaSize) GetResize

func (m *MediaSize) GetResize() string

func (*MediaSize) GetW

func (m *MediaSize) GetW() int32

func (*MediaSize) ProtoMessage

func (*MediaSize) ProtoMessage()

func (*MediaSize) Reset

func (m *MediaSize) Reset()

func (*MediaSize) String

func (m *MediaSize) String() string

type MediaSizes

type MediaSizes struct {
	Medium *MediaSize `protobuf:"bytes,1,opt,name=medium" json:"medium,omitempty"`
	Thumb  *MediaSize `protobuf:"bytes,2,opt,name=thumb" json:"thumb,omitempty"`
	Small  *MediaSize `protobuf:"bytes,3,opt,name=small" json:"small,omitempty"`
	Large  *MediaSize `protobuf:"bytes,4,opt,name=large" json:"large,omitempty"`
}

func (*MediaSizes) Descriptor

func (*MediaSizes) Descriptor() ([]byte, []int)

func (*MediaSizes) GetLarge

func (m *MediaSizes) GetLarge() *MediaSize

func (*MediaSizes) GetMedium

func (m *MediaSizes) GetMedium() *MediaSize

func (*MediaSizes) GetSmall

func (m *MediaSizes) GetSmall() *MediaSize

func (*MediaSizes) GetThumb

func (m *MediaSizes) GetThumb() *MediaSize

func (*MediaSizes) ProtoMessage

func (*MediaSizes) ProtoMessage()

func (*MediaSizes) Reset

func (m *MediaSizes) Reset()

func (*MediaSizes) String

func (m *MediaSizes) String() string

type Place

type Place struct {
}

func (*Place) Descriptor

func (*Place) Descriptor() ([]byte, []int)

func (*Place) ProtoMessage

func (*Place) ProtoMessage()

func (*Place) Reset

func (m *Place) Reset()

func (*Place) String

func (m *Place) String() string

type Target

type Target struct {
	RecipientId string `protobuf:"bytes,1,opt,name=recipient_id,json=recipientId" json:"recipient_id,omitempty"`
}

func (*Target) Descriptor

func (*Target) Descriptor() ([]byte, []int)

func (*Target) GetRecipientId

func (m *Target) GetRecipientId() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) Reset

func (m *Target) Reset()

func (*Target) String

func (m *Target) String() string

type Tweet

type Tweet struct {
	Contributors                []int64        `protobuf:"varint,1,rep,packed,name=contributors" json:"contributors,omitempty"`
	Coordinates                 *Coordinates   `protobuf:"bytes,2,opt,name=coordinates" json:"coordinates,omitempty"`
	CreatedAt                   string         `protobuf:"bytes,3,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	DisplayTextRange            []int32        `protobuf:"varint,4,rep,packed,name=display_text_range,json=displayTextRange" json:"display_text_range,omitempty"`
	Entities                    *Entities      `protobuf:"bytes,5,opt,name=entities" json:"entities,omitempty"`
	ExtendedEntities            *Entities      `protobuf:"bytes,6,opt,name=extended_entities,json=extendedEntities" json:"extended_entities,omitempty"`
	ExtendedTweet               *ExtendedTweet `protobuf:"bytes,7,opt,name=extended_tweet,json=extendedTweet" json:"extended_tweet,omitempty"`
	FavoriteCount               int32          `protobuf:"varint,8,opt,name=favorite_count,json=favoriteCount" json:"favorite_count,omitempty"`
	Favorited                   bool           `protobuf:"varint,9,opt,name=favorited" json:"favorited,omitempty"`
	FilterLevel                 string         `protobuf:"bytes,10,opt,name=filter_level,json=filterLevel" json:"filter_level,omitempty"`
	FullText                    string         `protobuf:"bytes,11,opt,name=full_text,json=fullText" json:"full_text,omitempty"`
	HasExtendedProfile          bool           `protobuf:"varint,12,opt,name=has_extended_profile,json=hasExtendedProfile" json:"has_extended_profile,omitempty"`
	Id                          int64          `protobuf:"varint,13,opt,name=id" json:"id,omitempty"`
	InReplyToScreenName         string         `protobuf:"bytes,14,opt,name=in_reply_to_screen_name,json=inReplyToScreenName" json:"in_reply_to_screen_name,omitempty"`
	InReplyToStatusId           int64          `protobuf:"varint,15,opt,name=in_reply_to_status_id,json=inReplyToStatusId" json:"in_reply_to_status_id,omitempty"`
	InReplyToUserId             int64          `protobuf:"varint,16,opt,name=in_reply_to_user_id,json=inReplyToUserId" json:"in_reply_to_user_id,omitempty"`
	Lang                        string         `protobuf:"bytes,17,opt,name=lang" json:"lang,omitempty"`
	IsTranslationEnabled        bool           `protobuf:"varint,18,opt,name=is_translation_enabled,json=isTranslationEnabled" json:"is_translation_enabled,omitempty"`
	Place                       *Place         `protobuf:"bytes,19,opt,name=place" json:"place,omitempty"`
	QuotedStatusId              int64          `protobuf:"varint,20,opt,name=quoted_status_id,json=quotedStatusId" json:"quoted_status_id,omitempty"`
	QuotedStatus                *Tweet         `protobuf:"bytes,21,opt,name=quoted_status,json=quotedStatus" json:"quoted_status,omitempty"`
	PossiblySensitive           bool           `protobuf:"varint,22,opt,name=possibly_sensitive,json=possiblySensitive" json:"possibly_sensitive,omitempty"`
	PossiblySensitiveAppealable bool           `` /* 139-byte string literal not displayed */
	RetweetCount                int32          `protobuf:"varint,24,opt,name=retweet_count,json=retweetCount" json:"retweet_count,omitempty"`
	Retweeted                   bool           `protobuf:"varint,25,opt,name=retweeted" json:"retweeted,omitempty"`
	RetweetedStatus             *Tweet         `protobuf:"bytes,26,opt,name=retweeted_status,json=retweetedStatus" json:"retweeted_status,omitempty"`
	Source                      string         `protobuf:"bytes,27,opt,name=source" json:"source,omitempty"`
	// map[string]interface{} scopes = 28;
	Text                string   `protobuf:"bytes,29,opt,name=text" json:"text,omitempty"`
	User                *User    `protobuf:"bytes,30,opt,name=user" json:"user,omitempty"`
	WithheldCopyright   bool     `protobuf:"varint,31,opt,name=withheld_copyright,json=withheldCopyright" json:"withheld_copyright,omitempty"`
	WithheldInCountries []string `protobuf:"bytes,32,rep,name=withheld_in_countries,json=withheldInCountries" json:"withheld_in_countries,omitempty"`
	WithheldScope       string   `protobuf:"bytes,33,opt,name=withheld_scope,json=withheldScope" json:"withheld_scope,omitempty"`
}

func (*Tweet) Descriptor

func (*Tweet) Descriptor() ([]byte, []int)

func (*Tweet) GetContributors

func (m *Tweet) GetContributors() []int64

func (*Tweet) GetCoordinates

func (m *Tweet) GetCoordinates() *Coordinates

func (*Tweet) GetCreatedAt

func (m *Tweet) GetCreatedAt() string

func (*Tweet) GetDisplayTextRange

func (m *Tweet) GetDisplayTextRange() []int32

func (*Tweet) GetEntities

func (m *Tweet) GetEntities() *Entities

func (*Tweet) GetExtendedEntities

func (m *Tweet) GetExtendedEntities() *Entities

func (*Tweet) GetExtendedTweet

func (m *Tweet) GetExtendedTweet() *ExtendedTweet

func (*Tweet) GetFavoriteCount

func (m *Tweet) GetFavoriteCount() int32

func (*Tweet) GetFavorited

func (m *Tweet) GetFavorited() bool

func (*Tweet) GetFilterLevel

func (m *Tweet) GetFilterLevel() string

func (*Tweet) GetFullText

func (m *Tweet) GetFullText() string

func (*Tweet) GetHasExtendedProfile

func (m *Tweet) GetHasExtendedProfile() bool

func (*Tweet) GetId

func (m *Tweet) GetId() int64

func (*Tweet) GetInReplyToScreenName

func (m *Tweet) GetInReplyToScreenName() string

func (*Tweet) GetInReplyToStatusId

func (m *Tweet) GetInReplyToStatusId() int64

func (*Tweet) GetInReplyToUserId

func (m *Tweet) GetInReplyToUserId() int64

func (*Tweet) GetIsTranslationEnabled

func (m *Tweet) GetIsTranslationEnabled() bool

func (*Tweet) GetLang

func (m *Tweet) GetLang() string

func (*Tweet) GetPlace

func (m *Tweet) GetPlace() *Place

func (*Tweet) GetPossiblySensitive

func (m *Tweet) GetPossiblySensitive() bool

func (*Tweet) GetPossiblySensitiveAppealable

func (m *Tweet) GetPossiblySensitiveAppealable() bool

func (*Tweet) GetQuotedStatus

func (m *Tweet) GetQuotedStatus() *Tweet

func (*Tweet) GetQuotedStatusId

func (m *Tweet) GetQuotedStatusId() int64

func (*Tweet) GetRetweetCount

func (m *Tweet) GetRetweetCount() int32

func (*Tweet) GetRetweeted

func (m *Tweet) GetRetweeted() bool

func (*Tweet) GetRetweetedStatus

func (m *Tweet) GetRetweetedStatus() *Tweet

func (*Tweet) GetSource

func (m *Tweet) GetSource() string

func (*Tweet) GetText

func (m *Tweet) GetText() string

func (*Tweet) GetUser

func (m *Tweet) GetUser() *User

func (*Tweet) GetWithheldCopyright

func (m *Tweet) GetWithheldCopyright() bool

func (*Tweet) GetWithheldInCountries

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

func (*Tweet) GetWithheldScope

func (m *Tweet) GetWithheldScope() string

func (*Tweet) ProtoMessage

func (*Tweet) ProtoMessage()

func (*Tweet) Reset

func (m *Tweet) Reset()

func (*Tweet) String

func (m *Tweet) String() string

type Url

type Url struct {
	Indices     []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"`
	Url         string  `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	DisplayUrl  string  `protobuf:"bytes,3,opt,name=display_url,json=displayUrl" json:"display_url,omitempty"`
	ExpandedUrl string  `protobuf:"bytes,4,opt,name=expanded_url,json=expandedUrl" json:"expanded_url,omitempty"`
}

func (*Url) Descriptor

func (*Url) Descriptor() ([]byte, []int)

func (*Url) GetDisplayUrl

func (m *Url) GetDisplayUrl() string

func (*Url) GetExpandedUrl

func (m *Url) GetExpandedUrl() string

func (*Url) GetIndices

func (m *Url) GetIndices() []int64

func (*Url) GetUrl

func (m *Url) GetUrl() string

func (*Url) ProtoMessage

func (*Url) ProtoMessage()

func (*Url) Reset

func (m *Url) Reset()

func (*Url) String

func (m *Url) String() string

type User

type User struct {
	ContributorsEnabled            bool      `protobuf:"varint,1,opt,name=contributors_enabled,json=contributorsEnabled" json:"contributors_enabled,omitempty"`
	CreatedAt                      string    `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	DefaultProfile                 bool      `protobuf:"varint,3,opt,name=default_profile,json=defaultProfile" json:"default_profile,omitempty"`
	DefaultProfileImage            bool      `protobuf:"varint,4,opt,name=default_profile_image,json=defaultProfileImage" json:"default_profile_image,omitempty"`
	Description                    string    `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Email                          string    `protobuf:"bytes,6,opt,name=email" json:"email,omitempty"`
	Entities                       *Entities `protobuf:"bytes,7,opt,name=entities" json:"entities,omitempty"`
	FavouritesCount                int64     `protobuf:"varint,8,opt,name=favourites_count,json=favouritesCount" json:"favourites_count,omitempty"`
	FollowRequestSent              bool      `protobuf:"varint,9,opt,name=follow_request_sent,json=followRequestSent" json:"follow_request_sent,omitempty"`
	FollowersCount                 int64     `protobuf:"varint,10,opt,name=followers_count,json=followersCount" json:"followers_count,omitempty"`
	Following                      bool      `protobuf:"varint,11,opt,name=following" json:"following,omitempty"`
	FriendsCount                   int64     `protobuf:"varint,12,opt,name=friends_count,json=friendsCount" json:"friends_count,omitempty"`
	GeoEnabled                     bool      `protobuf:"varint,13,opt,name=geo_enabled,json=geoEnabled" json:"geo_enabled,omitempty"`
	HasExtendedProfile             bool      `protobuf:"varint,14,opt,name=has_extended_profile,json=hasExtendedProfile" json:"has_extended_profile,omitempty"`
	Id                             int64     `protobuf:"varint,15,opt,name=id" json:"id,omitempty"`
	IsTranslator                   bool      `protobuf:"varint,17,opt,name=is_translator,json=isTranslator" json:"is_translator,omitempty"`
	IsTranslationEnabled           bool      `protobuf:"varint,18,opt,name=is_translation_enabled,json=isTranslationEnabled" json:"is_translation_enabled,omitempty"`
	Lang                           string    `protobuf:"bytes,19,opt,name=lang" json:"lang,omitempty"`
	ListedCount                    int64     `protobuf:"varint,20,opt,name=listed_count,json=listedCount" json:"listed_count,omitempty"`
	Location                       string    `protobuf:"bytes,21,opt,name=location" json:"location,omitempty"`
	Name                           string    `protobuf:"bytes,22,opt,name=name" json:"name,omitempty"`
	Notifications                  bool      `protobuf:"varint,23,opt,name=notifications" json:"notifications,omitempty"`
	ProfileBackgroundColor         string    `protobuf:"bytes,24,opt,name=profile_background_color,json=profileBackgroundColor" json:"profile_background_color,omitempty"`
	ProfileBackgroundImageUrl      string    `` /* 134-byte string literal not displayed */
	ProfileBackgroundImageUrlHttps string    `` /* 151-byte string literal not displayed */
	ProfileBackgroundTile          bool      `protobuf:"varint,27,opt,name=profile_background_tile,json=profileBackgroundTile" json:"profile_background_tile,omitempty"`
	ProfileBannerUrl               string    `protobuf:"bytes,28,opt,name=profile_banner_url,json=profileBannerUrl" json:"profile_banner_url,omitempty"`
	ProfileImageUrl                string    `protobuf:"bytes,29,opt,name=profile_image_url,json=profileImageUrl" json:"profile_image_url,omitempty"`
	ProfileImageUrlHttps           string    `protobuf:"bytes,30,opt,name=profile_image_url_https,json=profileImageUrlHttps" json:"profile_image_url_https,omitempty"`
	ProfileLinkColor               string    `protobuf:"bytes,31,opt,name=profile_link_color,json=profileLinkColor" json:"profile_link_color,omitempty"`
	ProfileSidebarBorderColor      string    `` /* 134-byte string literal not displayed */
	ProfileSidebarFillColor        string    `` /* 128-byte string literal not displayed */
	ProfileTextColor               string    `protobuf:"bytes,34,opt,name=profile_text_color,json=profileTextColor" json:"profile_text_color,omitempty"`
	ProfileUseBackgroundImage      bool      `` /* 135-byte string literal not displayed */
	Protected                      bool      `protobuf:"varint,37,opt,name=protected" json:"protected,omitempty"`
	ScreenName                     string    `protobuf:"bytes,38,opt,name=screen_name,json=screenName" json:"screen_name,omitempty"`
	ShowAllInlineMedia             bool      `protobuf:"varint,39,opt,name=show_all_inline_media,json=showAllInlineMedia" json:"show_all_inline_media,omitempty"`
	// Tweet status = 40; // Only included if the user is a friend
	StatusesCount       int64    `protobuf:"varint,41,opt,name=statuses_count,json=statusesCount" json:"statuses_count,omitempty"`
	TimeZone            string   `protobuf:"bytes,42,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"`
	Url                 string   `protobuf:"bytes,43,opt,name=url" json:"url,omitempty"`
	UtcOffset           int64    `protobuf:"varint,44,opt,name=utc_offset,json=utcOffset" json:"utc_offset,omitempty"`
	Verified            bool     `protobuf:"varint,45,opt,name=verified" json:"verified,omitempty"`
	WithheldInCountries []string `protobuf:"bytes,46,rep,name=withheld_in_countries,json=withheldInCountries" json:"withheld_in_countries,omitempty"`
	WithheldScope       string   `protobuf:"bytes,47,opt,name=withheld_scope,json=withheldScope" json:"withheld_scope,omitempty"`
}

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) GetContributorsEnabled

func (m *User) GetContributorsEnabled() bool

func (*User) GetCreatedAt

func (m *User) GetCreatedAt() string

func (*User) GetDefaultProfile

func (m *User) GetDefaultProfile() bool

func (*User) GetDefaultProfileImage

func (m *User) GetDefaultProfileImage() bool

func (*User) GetDescription

func (m *User) GetDescription() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetEntities

func (m *User) GetEntities() *Entities

func (*User) GetFavouritesCount

func (m *User) GetFavouritesCount() int64

func (*User) GetFollowRequestSent

func (m *User) GetFollowRequestSent() bool

func (*User) GetFollowersCount

func (m *User) GetFollowersCount() int64

func (*User) GetFollowing

func (m *User) GetFollowing() bool

func (*User) GetFriendsCount

func (m *User) GetFriendsCount() int64

func (*User) GetGeoEnabled

func (m *User) GetGeoEnabled() bool

func (*User) GetHasExtendedProfile

func (m *User) GetHasExtendedProfile() bool

func (*User) GetId

func (m *User) GetId() int64

func (*User) GetIsTranslationEnabled

func (m *User) GetIsTranslationEnabled() bool

func (*User) GetIsTranslator

func (m *User) GetIsTranslator() bool

func (*User) GetLang

func (m *User) GetLang() string

func (*User) GetListedCount

func (m *User) GetListedCount() int64

func (*User) GetLocation

func (m *User) GetLocation() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetNotifications

func (m *User) GetNotifications() bool

func (*User) GetProfileBackgroundColor

func (m *User) GetProfileBackgroundColor() string

func (*User) GetProfileBackgroundImageUrl

func (m *User) GetProfileBackgroundImageUrl() string

func (*User) GetProfileBackgroundImageUrlHttps

func (m *User) GetProfileBackgroundImageUrlHttps() string

func (*User) GetProfileBackgroundTile

func (m *User) GetProfileBackgroundTile() bool

func (*User) GetProfileBannerUrl

func (m *User) GetProfileBannerUrl() string

func (*User) GetProfileImageUrl

func (m *User) GetProfileImageUrl() string

func (*User) GetProfileImageUrlHttps

func (m *User) GetProfileImageUrlHttps() string

func (*User) GetProfileLinkColor

func (m *User) GetProfileLinkColor() string

func (*User) GetProfileSidebarBorderColor

func (m *User) GetProfileSidebarBorderColor() string

func (*User) GetProfileSidebarFillColor

func (m *User) GetProfileSidebarFillColor() string

func (*User) GetProfileTextColor

func (m *User) GetProfileTextColor() string

func (*User) GetProfileUseBackgroundImage

func (m *User) GetProfileUseBackgroundImage() bool

func (*User) GetProtected

func (m *User) GetProtected() bool

func (*User) GetScreenName

func (m *User) GetScreenName() string

func (*User) GetShowAllInlineMedia

func (m *User) GetShowAllInlineMedia() bool

func (*User) GetStatusesCount

func (m *User) GetStatusesCount() int64

func (*User) GetTimeZone

func (m *User) GetTimeZone() string

func (*User) GetUrl

func (m *User) GetUrl() string

func (*User) GetUtcOffset

func (m *User) GetUtcOffset() int64

func (*User) GetVerified

func (m *User) GetVerified() bool

func (*User) GetWithheldInCountries

func (m *User) GetWithheldInCountries() []string

func (*User) GetWithheldScope

func (m *User) GetWithheldScope() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

type UserMention

type UserMention struct {
	Indices    []int64 `protobuf:"varint,1,rep,packed,name=indices" json:"indices,omitempty"`
	Name       string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	ScreenName string  `protobuf:"bytes,3,opt,name=screen_name,json=screenName" json:"screen_name,omitempty"`
	Id         int64   `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
}

func (*UserMention) Descriptor

func (*UserMention) Descriptor() ([]byte, []int)

func (*UserMention) GetId

func (m *UserMention) GetId() int64

func (*UserMention) GetIndices

func (m *UserMention) GetIndices() []int64

func (*UserMention) GetName

func (m *UserMention) GetName() string

func (*UserMention) GetScreenName

func (m *UserMention) GetScreenName() string

func (*UserMention) ProtoMessage

func (*UserMention) ProtoMessage()

func (*UserMention) Reset

func (m *UserMention) Reset()

func (*UserMention) String

func (m *UserMention) String() string

type Variant

type Variant struct {
	Bitrate     int32  `protobuf:"varint,1,opt,name=bitrate" json:"bitrate,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType" json:"content_type,omitempty"`
	Url         string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
}

func (*Variant) Descriptor

func (*Variant) Descriptor() ([]byte, []int)

func (*Variant) GetBitrate

func (m *Variant) GetBitrate() int32

func (*Variant) GetContentType

func (m *Variant) GetContentType() string

func (*Variant) GetUrl

func (m *Variant) GetUrl() string

func (*Variant) ProtoMessage

func (*Variant) ProtoMessage()

func (*Variant) Reset

func (m *Variant) Reset()

func (*Variant) String

func (m *Variant) String() string

type VideoInfo

type VideoInfo struct {
	AspectRatio    []int32    `protobuf:"varint,1,rep,packed,name=aspect_ratio,json=aspectRatio" json:"aspect_ratio,omitempty"`
	DurationMillis int64      `protobuf:"varint,2,opt,name=duration_millis,json=durationMillis" json:"duration_millis,omitempty"`
	Variants       []*Variant `protobuf:"bytes,3,rep,name=variants" json:"variants,omitempty"`
}

func (*VideoInfo) Descriptor

func (*VideoInfo) Descriptor() ([]byte, []int)

func (*VideoInfo) GetAspectRatio

func (m *VideoInfo) GetAspectRatio() []int32

func (*VideoInfo) GetDurationMillis

func (m *VideoInfo) GetDurationMillis() int64

func (*VideoInfo) GetVariants

func (m *VideoInfo) GetVariants() []*Variant

func (*VideoInfo) ProtoMessage

func (*VideoInfo) ProtoMessage()

func (*VideoInfo) Reset

func (m *VideoInfo) Reset()

func (*VideoInfo) String

func (m *VideoInfo) String() string

Jump to

Keyboard shortcuts

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