api

package
v0.0.0-...-95d4a42 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package api contains the Protobuf message used to communicate with the backend server.

Index

Constants

This section is empty.

Variables

View Source
var Capability_Cap_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "PIC_CREATE",
	2:  "PIC_READ",
	3:  "PIC_INDEX",
	5:  "PIC_SOFT_DELETE",
	6:  "PIC_HARD_DELETE",
	7:  "PIC_PURGE",
	8:  "PIC_UPDATE_VIEW_COUNTER",
	9:  "PIC_TAG_CREATE",
	10: "PIC_COMMENT_CREATE",
	11: "PIC_VOTE_CREATE",
	4:  "USER_CREATE",
	12: "USER_UPDATE_CAPABILITY",
	13: "USER_READ_SELF",
	14: "USER_READ_ALL",
	15: "PIC_EXTENSION_CREATE",
	16: "PIC_EXTENSION_READ",
	17: "PIC_COMMENT_EXTENSION_CREATE",
	18: "PIC_COMMENT_EXTENSION_READ",
	19: "PIC_TAG_EXTENSION_CREATE",
	20: "PIC_TAG_EXTENSION_READ",
	21: "PIC_VOTE_EXTENSION_CREATE",
	22: "PIC_VOTE_EXTENSION_READ",
	23: "USER_READ_PUBLIC",
	24: "USER_READ_PICS",
	25: "USER_READ_PIC_TAG",
	26: "USER_READ_PIC_COMMENT",
	27: "USER_READ_PIC_VOTE",
	28: "PIC_COMMENT_VOTE_CREATE",
	29: "PIC_COMMENT_VOTE_EXTENSION_CREATE",
}
View Source
var Capability_Cap_value = map[string]int32{
	"UNKNOWN":                           0,
	"PIC_CREATE":                        1,
	"PIC_READ":                          2,
	"PIC_INDEX":                         3,
	"PIC_SOFT_DELETE":                   5,
	"PIC_HARD_DELETE":                   6,
	"PIC_PURGE":                         7,
	"PIC_UPDATE_VIEW_COUNTER":           8,
	"PIC_TAG_CREATE":                    9,
	"PIC_COMMENT_CREATE":                10,
	"PIC_VOTE_CREATE":                   11,
	"USER_CREATE":                       4,
	"USER_UPDATE_CAPABILITY":            12,
	"USER_READ_SELF":                    13,
	"USER_READ_ALL":                     14,
	"PIC_EXTENSION_CREATE":              15,
	"PIC_EXTENSION_READ":                16,
	"PIC_COMMENT_EXTENSION_CREATE":      17,
	"PIC_COMMENT_EXTENSION_READ":        18,
	"PIC_TAG_EXTENSION_CREATE":          19,
	"PIC_TAG_EXTENSION_READ":            20,
	"PIC_VOTE_EXTENSION_CREATE":         21,
	"PIC_VOTE_EXTENSION_READ":           22,
	"USER_READ_PUBLIC":                  23,
	"USER_READ_PICS":                    24,
	"USER_READ_PIC_TAG":                 25,
	"USER_READ_PIC_COMMENT":             26,
	"USER_READ_PIC_VOTE":                27,
	"PIC_COMMENT_VOTE_CREATE":           28,
	"PIC_COMMENT_VOTE_EXTENSION_CREATE": 29,
}
View Source
var DeletionReason_name = map[int32]string{
	0: "UNKNOWN",
	1: "NONE",
	2: "RULE_VIOLATION",
}
View Source
var DeletionReason_value = map[string]int32{
	"UNKNOWN":        0,
	"NONE":           1,
	"RULE_VIOLATION": 2,
}
View Source
var E_PixurServiceOpts = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ServiceOpts)(nil),
	Field:         65537,
	Name:          "pixur.api.pixur_service_opts",
	Tag:           "bytes,65537,opt,name=pixur_service_opts",
	Filename:      "api.proto",
}
View Source
var PicCommentVote_Vote_name = map[int32]string{
	0: "UNKNOWN",
	1: "UP",
	2: "DOWN",
	3: "NEUTRAL",
}
View Source
var PicCommentVote_Vote_value = map[string]int32{
	"UNKNOWN": 0,
	"UP":      1,
	"DOWN":    2,
	"NEUTRAL": 3,
}
View Source
var PicFile_Format_name = map[int32]string{
	0: "UNKNOWN",
	1: "JPEG",
	2: "GIF",
	3: "PNG",
	4: "WEBM",
	5: "MP4",
}
View Source
var PicFile_Format_value = map[string]int32{
	"UNKNOWN": 0,
	"JPEG":    1,
	"GIF":     2,
	"PNG":     3,
	"WEBM":    4,
	"MP4":     5,
}
View Source
var PicVote_Vote_name = map[int32]string{
	0: "UNKNOWN",
	1: "UP",
	2: "DOWN",
	3: "NEUTRAL",
}
View Source
var PicVote_Vote_value = map[string]int32{
	"UNKNOWN": 0,
	"UP":      1,
	"DOWN":    2,
	"NEUTRAL": 3,
}
View Source
var PwtHeader_Algorithm_name = map[int32]string{
	0: "UNKNOWN",
	1: "HS256",
	2: "RS256",
	3: "HS512_256",
}
View Source
var PwtHeader_Algorithm_value = map[string]int32{
	"UNKNOWN":   0,
	"HS256":     1,
	"RS256":     2,
	"HS512_256": 3,
}
View Source
var PwtPayload_Type_name = map[int32]string{
	0: "UNKNOWN",
	2: "AUTH",
	3: "PIX",
}
View Source
var PwtPayload_Type_value = map[string]int32{
	"UNKNOWN": 0,
	"AUTH":    2,
	"PIX":     3,
}

Functions

func RegisterPixurServiceServer

func RegisterPixurServiceServer(s *grpc.Server, srv PixurServiceServer)

Types

type AddPicCommentRequest

type AddPicCommentRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	CommentParentId      string   `protobuf:"bytes,2,opt,name=comment_parent_id,json=commentParentId,proto3" json:"comment_parent_id,omitempty"`
	Text                 string   `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddPicCommentRequest) Descriptor

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

func (*AddPicCommentRequest) GetCommentParentId

func (m *AddPicCommentRequest) GetCommentParentId() string

func (*AddPicCommentRequest) GetPicId

func (m *AddPicCommentRequest) GetPicId() string

func (*AddPicCommentRequest) GetText

func (m *AddPicCommentRequest) GetText() string

func (*AddPicCommentRequest) ProtoMessage

func (*AddPicCommentRequest) ProtoMessage()

func (*AddPicCommentRequest) Reset

func (m *AddPicCommentRequest) Reset()

func (*AddPicCommentRequest) String

func (m *AddPicCommentRequest) String() string

func (*AddPicCommentRequest) XXX_DiscardUnknown

func (m *AddPicCommentRequest) XXX_DiscardUnknown()

func (*AddPicCommentRequest) XXX_Marshal

func (m *AddPicCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPicCommentRequest) XXX_Merge

func (m *AddPicCommentRequest) XXX_Merge(src proto.Message)

func (*AddPicCommentRequest) XXX_Size

func (m *AddPicCommentRequest) XXX_Size() int

func (*AddPicCommentRequest) XXX_Unmarshal

func (m *AddPicCommentRequest) XXX_Unmarshal(b []byte) error

type AddPicCommentResponse

type AddPicCommentResponse struct {
	Comment              *PicComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*AddPicCommentResponse) Descriptor

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

func (*AddPicCommentResponse) GetComment

func (m *AddPicCommentResponse) GetComment() *PicComment

func (*AddPicCommentResponse) ProtoMessage

func (*AddPicCommentResponse) ProtoMessage()

func (*AddPicCommentResponse) Reset

func (m *AddPicCommentResponse) Reset()

func (*AddPicCommentResponse) String

func (m *AddPicCommentResponse) String() string

func (*AddPicCommentResponse) XXX_DiscardUnknown

func (m *AddPicCommentResponse) XXX_DiscardUnknown()

func (*AddPicCommentResponse) XXX_Marshal

func (m *AddPicCommentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPicCommentResponse) XXX_Merge

func (m *AddPicCommentResponse) XXX_Merge(src proto.Message)

func (*AddPicCommentResponse) XXX_Size

func (m *AddPicCommentResponse) XXX_Size() int

func (*AddPicCommentResponse) XXX_Unmarshal

func (m *AddPicCommentResponse) XXX_Unmarshal(b []byte) error

type AddPicTagsRequest

type AddPicTagsRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	Tag                  []string `protobuf:"bytes,2,rep,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddPicTagsRequest) Descriptor

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

func (*AddPicTagsRequest) GetPicId

func (m *AddPicTagsRequest) GetPicId() string

func (*AddPicTagsRequest) GetTag

func (m *AddPicTagsRequest) GetTag() []string

func (*AddPicTagsRequest) ProtoMessage

func (*AddPicTagsRequest) ProtoMessage()

func (*AddPicTagsRequest) Reset

func (m *AddPicTagsRequest) Reset()

func (*AddPicTagsRequest) String

func (m *AddPicTagsRequest) String() string

func (*AddPicTagsRequest) XXX_DiscardUnknown

func (m *AddPicTagsRequest) XXX_DiscardUnknown()

func (*AddPicTagsRequest) XXX_Marshal

func (m *AddPicTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPicTagsRequest) XXX_Merge

func (m *AddPicTagsRequest) XXX_Merge(src proto.Message)

func (*AddPicTagsRequest) XXX_Size

func (m *AddPicTagsRequest) XXX_Size() int

func (*AddPicTagsRequest) XXX_Unmarshal

func (m *AddPicTagsRequest) XXX_Unmarshal(b []byte) error

type AddPicTagsResponse

type AddPicTagsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddPicTagsResponse) Descriptor

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

func (*AddPicTagsResponse) ProtoMessage

func (*AddPicTagsResponse) ProtoMessage()

func (*AddPicTagsResponse) Reset

func (m *AddPicTagsResponse) Reset()

func (*AddPicTagsResponse) String

func (m *AddPicTagsResponse) String() string

func (*AddPicTagsResponse) XXX_DiscardUnknown

func (m *AddPicTagsResponse) XXX_DiscardUnknown()

func (*AddPicTagsResponse) XXX_Marshal

func (m *AddPicTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPicTagsResponse) XXX_Merge

func (m *AddPicTagsResponse) XXX_Merge(src proto.Message)

func (*AddPicTagsResponse) XXX_Size

func (m *AddPicTagsResponse) XXX_Size() int

func (*AddPicTagsResponse) XXX_Unmarshal

func (m *AddPicTagsResponse) XXX_Unmarshal(b []byte) error

type BackendConfiguration

type BackendConfiguration struct {
	// the minimum comment length in bytes.
	MinCommentLength *wrappers.Int64Value `protobuf:"bytes,1,opt,name=min_comment_length,json=minCommentLength,proto3" json:"min_comment_length,omitempty"`
	// the maximum comment length in bytes.
	MaxCommentLength *wrappers.Int64Value `protobuf:"bytes,2,opt,name=max_comment_length,json=maxCommentLength,proto3" json:"max_comment_length,omitempty"`
	// the minimum ident length for a user in bytes.
	MinIdentLength *wrappers.Int64Value `protobuf:"bytes,3,opt,name=min_ident_length,json=minIdentLength,proto3" json:"min_ident_length,omitempty"`
	// the maximum ident length for a user in bytes.
	MaxIdentLength *wrappers.Int64Value `protobuf:"bytes,4,opt,name=max_ident_length,json=maxIdentLength,proto3" json:"max_ident_length,omitempty"`
	// the minimum file name length in bytes.
	MinFileNameLength *wrappers.Int64Value `protobuf:"bytes,5,opt,name=min_file_name_length,json=minFileNameLength,proto3" json:"min_file_name_length,omitempty"`
	// the maximum file name length in bytes.
	MaxFileNameLength *wrappers.Int64Value `protobuf:"bytes,6,opt,name=max_file_name_length,json=maxFileNameLength,proto3" json:"max_file_name_length,omitempty"`
	// the minimum url length for pic upsert in bytes.
	MinUrlLength *wrappers.Int64Value `protobuf:"bytes,7,opt,name=min_url_length,json=minUrlLength,proto3" json:"min_url_length,omitempty"`
	// the maximum url length for pic upsert in bytes.
	MaxUrlLength *wrappers.Int64Value `protobuf:"bytes,8,opt,name=max_url_length,json=maxUrlLength,proto3" json:"max_url_length,omitempty"`
	// the minimum tag length in bytes.
	MinTagLength *wrappers.Int64Value `protobuf:"bytes,9,opt,name=min_tag_length,json=minTagLength,proto3" json:"min_tag_length,omitempty"`
	// the maximum tag length in bytes.
	MaxTagLength *wrappers.Int64Value `protobuf:"bytes,10,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// the capabilities of the anonymous user.
	AnonymousCapability *BackendConfiguration_CapabilitySet `protobuf:"bytes,11,opt,name=anonymous_capability,json=anonymousCapability,proto3" json:"anonymous_capability,omitempty"`
	// the capabilities of a newly created user.
	NewUserCapability *BackendConfiguration_CapabilitySet `protobuf:"bytes,12,opt,name=new_user_capability,json=newUserCapability,proto3" json:"new_user_capability,omitempty"`
	// the default number of index pics to return
	DefaultFindIndexPics *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// the max number of index pics to return
	MaxFindIndexPics *wrappers.Int64Value `protobuf:"bytes,14,opt,name=max_find_index_pics,json=maxFindIndexPics,proto3" json:"max_find_index_pics,omitempty"`
	// the max duration a WEBM/MP4 pic can be
	MaxVideoDuration *duration.Duration `protobuf:"bytes,15,opt,name=max_video_duration,json=maxVideoDuration,proto3" json:"max_video_duration,omitempty"`
	// allows users to reply to their own comments
	EnablePicCommentSelfReply *wrappers.BoolValue `` /* 143-byte string literal not displayed */
	// allows a single user to reply multiple times to one comment
	EnablePicCommentSiblingReply *wrappers.BoolValue `` /* 152-byte string literal not displayed */
	// the default number of user events to return
	DefaultFindUserEvents *wrappers.Int64Value `` /* 129-byte string literal not displayed */
	// the max number of user events to return
	MaxFindUserEvents    *wrappers.Int64Value `protobuf:"bytes,19,opt,name=max_find_user_events,json=maxFindUserEvents,proto3" json:"max_find_user_events,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

BackendConfiguration is the backend configuration used by Pixur. All fields are optional unless explicitly called out.

func (*BackendConfiguration) Descriptor

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

func (*BackendConfiguration) GetAnonymousCapability

func (m *BackendConfiguration) GetAnonymousCapability() *BackendConfiguration_CapabilitySet

func (*BackendConfiguration) GetDefaultFindIndexPics

func (m *BackendConfiguration) GetDefaultFindIndexPics() *wrappers.Int64Value

func (*BackendConfiguration) GetDefaultFindUserEvents

func (m *BackendConfiguration) GetDefaultFindUserEvents() *wrappers.Int64Value

func (*BackendConfiguration) GetEnablePicCommentSelfReply

func (m *BackendConfiguration) GetEnablePicCommentSelfReply() *wrappers.BoolValue

func (*BackendConfiguration) GetEnablePicCommentSiblingReply

func (m *BackendConfiguration) GetEnablePicCommentSiblingReply() *wrappers.BoolValue

func (*BackendConfiguration) GetMaxCommentLength

func (m *BackendConfiguration) GetMaxCommentLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxFileNameLength

func (m *BackendConfiguration) GetMaxFileNameLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxFindIndexPics

func (m *BackendConfiguration) GetMaxFindIndexPics() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxFindUserEvents

func (m *BackendConfiguration) GetMaxFindUserEvents() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxIdentLength

func (m *BackendConfiguration) GetMaxIdentLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxTagLength

func (m *BackendConfiguration) GetMaxTagLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxUrlLength

func (m *BackendConfiguration) GetMaxUrlLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMaxVideoDuration

func (m *BackendConfiguration) GetMaxVideoDuration() *duration.Duration

func (*BackendConfiguration) GetMinCommentLength

func (m *BackendConfiguration) GetMinCommentLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMinFileNameLength

func (m *BackendConfiguration) GetMinFileNameLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMinIdentLength

func (m *BackendConfiguration) GetMinIdentLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMinTagLength

func (m *BackendConfiguration) GetMinTagLength() *wrappers.Int64Value

func (*BackendConfiguration) GetMinUrlLength

func (m *BackendConfiguration) GetMinUrlLength() *wrappers.Int64Value

func (*BackendConfiguration) GetNewUserCapability

func (m *BackendConfiguration) GetNewUserCapability() *BackendConfiguration_CapabilitySet

func (*BackendConfiguration) ProtoMessage

func (*BackendConfiguration) ProtoMessage()

func (*BackendConfiguration) Reset

func (m *BackendConfiguration) Reset()

func (*BackendConfiguration) String

func (m *BackendConfiguration) String() string

func (*BackendConfiguration) XXX_DiscardUnknown

func (m *BackendConfiguration) XXX_DiscardUnknown()

func (*BackendConfiguration) XXX_Marshal

func (m *BackendConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackendConfiguration) XXX_Merge

func (m *BackendConfiguration) XXX_Merge(src proto.Message)

func (*BackendConfiguration) XXX_Size

func (m *BackendConfiguration) XXX_Size() int

func (*BackendConfiguration) XXX_Unmarshal

func (m *BackendConfiguration) XXX_Unmarshal(b []byte) error

type BackendConfiguration_CapabilitySet

type BackendConfiguration_CapabilitySet struct {
	Capability           []Capability_Cap `protobuf:"varint,1,rep,packed,name=capability,proto3,enum=pixur.api.Capability_Cap" json:"capability,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*BackendConfiguration_CapabilitySet) Descriptor

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

func (*BackendConfiguration_CapabilitySet) GetCapability

func (*BackendConfiguration_CapabilitySet) ProtoMessage

func (*BackendConfiguration_CapabilitySet) ProtoMessage()

func (*BackendConfiguration_CapabilitySet) Reset

func (*BackendConfiguration_CapabilitySet) String

func (*BackendConfiguration_CapabilitySet) XXX_DiscardUnknown

func (m *BackendConfiguration_CapabilitySet) XXX_DiscardUnknown()

func (*BackendConfiguration_CapabilitySet) XXX_Marshal

func (m *BackendConfiguration_CapabilitySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackendConfiguration_CapabilitySet) XXX_Merge

func (*BackendConfiguration_CapabilitySet) XXX_Size

func (*BackendConfiguration_CapabilitySet) XXX_Unmarshal

func (m *BackendConfiguration_CapabilitySet) XXX_Unmarshal(b []byte) error

type Capability

type Capability struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Capability) Descriptor

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

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) Reset

func (m *Capability) Reset()

func (*Capability) String

func (m *Capability) String() string

func (*Capability) XXX_DiscardUnknown

func (m *Capability) XXX_DiscardUnknown()

func (*Capability) XXX_Marshal

func (m *Capability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capability) XXX_Merge

func (m *Capability) XXX_Merge(src proto.Message)

func (*Capability) XXX_Size

func (m *Capability) XXX_Size() int

func (*Capability) XXX_Unmarshal

func (m *Capability) XXX_Unmarshal(b []byte) error

type Capability_Cap

type Capability_Cap int32
const (
	Capability_UNKNOWN Capability_Cap = 0
	// Can this user create and upload pictures
	Capability_PIC_CREATE Capability_Cap = 1
	// Can this user view the actual image data (grants pic token)
	Capability_PIC_READ Capability_Cap = 2
	// Can this user perform general pic index queries?
	Capability_PIC_INDEX Capability_Cap = 3
	// Can this user soft delete a pic?
	Capability_PIC_SOFT_DELETE Capability_Cap = 5
	// Can this user hard delete a pic?
	Capability_PIC_HARD_DELETE Capability_Cap = 6
	// Can this user purge a pic?
	Capability_PIC_PURGE Capability_Cap = 7
	// Can this user increment the pic view counter?
	Capability_PIC_UPDATE_VIEW_COUNTER Capability_Cap = 8
	// Can this user add tags and pic tags?
	Capability_PIC_TAG_CREATE Capability_Cap = 9
	// Can this user create comments?
	Capability_PIC_COMMENT_CREATE Capability_Cap = 10
	// Can this user vote?
	Capability_PIC_VOTE_CREATE Capability_Cap = 11
	// Can this user create other users?
	Capability_USER_CREATE Capability_Cap = 4
	// Can this user modify capabilities?
	Capability_USER_UPDATE_CAPABILITY Capability_Cap = 12
	// Can this user read information about themselves?
	Capability_USER_READ_SELF Capability_Cap = 13
	// Can this user read infortmation about others?
	Capability_USER_READ_ALL Capability_Cap = 14
	// Can this user create arbitrary extension data on a pic?
	Capability_PIC_EXTENSION_CREATE Capability_Cap = 15
	// Can this user read arbitrary extension data on a pic?
	Capability_PIC_EXTENSION_READ Capability_Cap = 16
	// Can this user create arbitrary extension data on a comment?
	Capability_PIC_COMMENT_EXTENSION_CREATE Capability_Cap = 17
	// Can this user read arbitrary extension data on a comment?
	Capability_PIC_COMMENT_EXTENSION_READ Capability_Cap = 18
	// Can this user create arbitrary extension data on a pic tag?
	Capability_PIC_TAG_EXTENSION_CREATE Capability_Cap = 19
	// Can this user read arbitrary extension data on a pic tag?
	Capability_PIC_TAG_EXTENSION_READ Capability_Cap = 20
	// Can this user create arbitrary extension data on a pic vote?
	Capability_PIC_VOTE_EXTENSION_CREATE Capability_Cap = 21
	// Can this user read arbitrary extension data on a pic vote?
	Capability_PIC_VOTE_EXTENSION_READ Capability_Cap = 22
	// Can this user read public information about other users?  Currently,
	// public means user id, user name, and created time
	Capability_USER_READ_PUBLIC Capability_Cap = 23
	// Can this user read pics that other users have created?  Currently,
	// this is Pic.FileSource.User and UserEvents.UpsertPic.
	Capability_USER_READ_PICS Capability_Cap = 24
	// Can this user read pic tags that other users have created?  Currently,
	// this is PicTag.UserId.
	Capability_USER_READ_PIC_TAG Capability_Cap = 25
	// Can this user read pic comments that other users have created?  This
	// implies that a user can see who else made comments.
	Capability_USER_READ_PIC_COMMENT Capability_Cap = 26
	// Can this user read pic votes that other users have created?  This
	// implies that a user can see who voted on a pic, and what votes they
	// have made.
	Capability_USER_READ_PIC_VOTE Capability_Cap = 27
	// Can this user vote on pic comments?
	Capability_PIC_COMMENT_VOTE_CREATE Capability_Cap = 28
	// Can this user create arbitrary extension data on a comment vote?
	Capability_PIC_COMMENT_VOTE_EXTENSION_CREATE Capability_Cap = 29
)

func (Capability_Cap) EnumDescriptor

func (Capability_Cap) EnumDescriptor() ([]byte, []int)

func (Capability_Cap) String

func (x Capability_Cap) String() string

type CreateUserRequest

type CreateUserRequest struct {
	// ident is the unique identity of the user being created, usually an email address
	Ident string `protobuf:"bytes,1,opt,name=ident,proto3" json:"ident,omitempty"`
	// secret is the secret string used to authenticate the user, usually a password
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserRequest) Descriptor

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

func (*CreateUserRequest) GetIdent

func (m *CreateUserRequest) GetIdent() string

func (*CreateUserRequest) GetSecret

func (m *CreateUserRequest) GetSecret() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (m *CreateUserRequest) String() string

func (*CreateUserRequest) XXX_DiscardUnknown

func (m *CreateUserRequest) XXX_DiscardUnknown()

func (*CreateUserRequest) XXX_Marshal

func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserRequest) XXX_Merge

func (m *CreateUserRequest) XXX_Merge(src proto.Message)

func (*CreateUserRequest) XXX_Size

func (m *CreateUserRequest) XXX_Size() int

func (*CreateUserRequest) XXX_Unmarshal

func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error

type CreateUserResponse

type CreateUserResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserResponse) Descriptor

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

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) Reset

func (m *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (m *CreateUserResponse) String() string

func (*CreateUserResponse) XXX_DiscardUnknown

func (m *CreateUserResponse) XXX_DiscardUnknown()

func (*CreateUserResponse) XXX_Marshal

func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserResponse) XXX_Merge

func (m *CreateUserResponse) XXX_Merge(src proto.Message)

func (*CreateUserResponse) XXX_Size

func (m *CreateUserResponse) XXX_Size() int

func (*CreateUserResponse) XXX_Unmarshal

func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error

type DeleteTokenRequest

type DeleteTokenRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteTokenRequest) Descriptor

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

func (*DeleteTokenRequest) ProtoMessage

func (*DeleteTokenRequest) ProtoMessage()

func (*DeleteTokenRequest) Reset

func (m *DeleteTokenRequest) Reset()

func (*DeleteTokenRequest) String

func (m *DeleteTokenRequest) String() string

func (*DeleteTokenRequest) XXX_DiscardUnknown

func (m *DeleteTokenRequest) XXX_DiscardUnknown()

func (*DeleteTokenRequest) XXX_Marshal

func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTokenRequest) XXX_Merge

func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)

func (*DeleteTokenRequest) XXX_Size

func (m *DeleteTokenRequest) XXX_Size() int

func (*DeleteTokenRequest) XXX_Unmarshal

func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error

type DeleteTokenResponse

type DeleteTokenResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteTokenResponse) Descriptor

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

func (*DeleteTokenResponse) ProtoMessage

func (*DeleteTokenResponse) ProtoMessage()

func (*DeleteTokenResponse) Reset

func (m *DeleteTokenResponse) Reset()

func (*DeleteTokenResponse) String

func (m *DeleteTokenResponse) String() string

func (*DeleteTokenResponse) XXX_DiscardUnknown

func (m *DeleteTokenResponse) XXX_DiscardUnknown()

func (*DeleteTokenResponse) XXX_Marshal

func (m *DeleteTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTokenResponse) XXX_Merge

func (m *DeleteTokenResponse) XXX_Merge(src proto.Message)

func (*DeleteTokenResponse) XXX_Size

func (m *DeleteTokenResponse) XXX_Size() int

func (*DeleteTokenResponse) XXX_Unmarshal

func (m *DeleteTokenResponse) XXX_Unmarshal(b []byte) error

type DeletionReason

type DeletionReason int32

Copy of schema.proto

const (
	// The reason is not know, due to limitations of proto
	DeletionReason_UNKNOWN DeletionReason = 0
	// No specific reason.  This is a catch-all reason.
	DeletionReason_NONE DeletionReason = 1
	// The pic is in violation of the rules.
	DeletionReason_RULE_VIOLATION DeletionReason = 2
)

func (DeletionReason) EnumDescriptor

func (DeletionReason) EnumDescriptor() ([]byte, []int)

func (DeletionReason) String

func (x DeletionReason) String() string

type FindIndexPicsRequest

type FindIndexPicsRequest struct {
	StartPicId           string   `protobuf:"bytes,1,opt,name=start_pic_id,json=startPicId,proto3" json:"start_pic_id,omitempty"`
	Ascending            bool     `protobuf:"varint,2,opt,name=ascending,proto3" json:"ascending,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindIndexPicsRequest) Descriptor

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

func (*FindIndexPicsRequest) GetAscending

func (m *FindIndexPicsRequest) GetAscending() bool

func (*FindIndexPicsRequest) GetStartPicId

func (m *FindIndexPicsRequest) GetStartPicId() string

func (*FindIndexPicsRequest) ProtoMessage

func (*FindIndexPicsRequest) ProtoMessage()

func (*FindIndexPicsRequest) Reset

func (m *FindIndexPicsRequest) Reset()

func (*FindIndexPicsRequest) String

func (m *FindIndexPicsRequest) String() string

func (*FindIndexPicsRequest) XXX_DiscardUnknown

func (m *FindIndexPicsRequest) XXX_DiscardUnknown()

func (*FindIndexPicsRequest) XXX_Marshal

func (m *FindIndexPicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindIndexPicsRequest) XXX_Merge

func (m *FindIndexPicsRequest) XXX_Merge(src proto.Message)

func (*FindIndexPicsRequest) XXX_Size

func (m *FindIndexPicsRequest) XXX_Size() int

func (*FindIndexPicsRequest) XXX_Unmarshal

func (m *FindIndexPicsRequest) XXX_Unmarshal(b []byte) error

type FindIndexPicsResponse

type FindIndexPicsResponse struct {
	Pic []*PicAndThumbnail `protobuf:"bytes,4,rep,name=pic,proto3" json:"pic,omitempty"`
	// if set, this field is the next pic id as a
	// continuation token.
	NextPicId string `protobuf:"bytes,2,opt,name=next_pic_id,json=nextPicId,proto3" json:"next_pic_id,omitempty"`
	// if set, this field is the previous pic id as a
	// continuation token.
	PrevPicId            string   `protobuf:"bytes,3,opt,name=prev_pic_id,json=prevPicId,proto3" json:"prev_pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindIndexPicsResponse) Descriptor

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

func (*FindIndexPicsResponse) GetNextPicId

func (m *FindIndexPicsResponse) GetNextPicId() string

func (*FindIndexPicsResponse) GetPic

func (m *FindIndexPicsResponse) GetPic() []*PicAndThumbnail

func (*FindIndexPicsResponse) GetPrevPicId

func (m *FindIndexPicsResponse) GetPrevPicId() string

func (*FindIndexPicsResponse) ProtoMessage

func (*FindIndexPicsResponse) ProtoMessage()

func (*FindIndexPicsResponse) Reset

func (m *FindIndexPicsResponse) Reset()

func (*FindIndexPicsResponse) String

func (m *FindIndexPicsResponse) String() string

func (*FindIndexPicsResponse) XXX_DiscardUnknown

func (m *FindIndexPicsResponse) XXX_DiscardUnknown()

func (*FindIndexPicsResponse) XXX_Marshal

func (m *FindIndexPicsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindIndexPicsResponse) XXX_Merge

func (m *FindIndexPicsResponse) XXX_Merge(src proto.Message)

func (*FindIndexPicsResponse) XXX_Size

func (m *FindIndexPicsResponse) XXX_Size() int

func (*FindIndexPicsResponse) XXX_Unmarshal

func (m *FindIndexPicsResponse) XXX_Unmarshal(b []byte) error

type FindPicCommentVotesRequest

type FindPicCommentVotesRequest struct {
	// the pic id of pic comment votes.  Must be present.
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// the comment id of pic comment votes.  If present, pic id must be present too.
	CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// the user_id of the pic votes.  If present, comment id must be present too.
	UserId               string   `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindPicCommentVotesRequest) Descriptor

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

func (*FindPicCommentVotesRequest) GetCommentId

func (m *FindPicCommentVotesRequest) GetCommentId() string

func (*FindPicCommentVotesRequest) GetPicId

func (m *FindPicCommentVotesRequest) GetPicId() string

func (*FindPicCommentVotesRequest) GetUserId

func (m *FindPicCommentVotesRequest) GetUserId() string

func (*FindPicCommentVotesRequest) ProtoMessage

func (*FindPicCommentVotesRequest) ProtoMessage()

func (*FindPicCommentVotesRequest) Reset

func (m *FindPicCommentVotesRequest) Reset()

func (*FindPicCommentVotesRequest) String

func (m *FindPicCommentVotesRequest) String() string

func (*FindPicCommentVotesRequest) XXX_DiscardUnknown

func (m *FindPicCommentVotesRequest) XXX_DiscardUnknown()

func (*FindPicCommentVotesRequest) XXX_Marshal

func (m *FindPicCommentVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindPicCommentVotesRequest) XXX_Merge

func (m *FindPicCommentVotesRequest) XXX_Merge(src proto.Message)

func (*FindPicCommentVotesRequest) XXX_Size

func (m *FindPicCommentVotesRequest) XXX_Size() int

func (*FindPicCommentVotesRequest) XXX_Unmarshal

func (m *FindPicCommentVotesRequest) XXX_Unmarshal(b []byte) error

type FindPicCommentVotesResponse

type FindPicCommentVotesResponse struct {
	// all the votes that matched the prefix, and which the subject user has access to.
	Vote                 []*PicCommentVote `protobuf:"bytes,1,rep,name=vote,proto3" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*FindPicCommentVotesResponse) Descriptor

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

func (*FindPicCommentVotesResponse) GetVote

func (*FindPicCommentVotesResponse) ProtoMessage

func (*FindPicCommentVotesResponse) ProtoMessage()

func (*FindPicCommentVotesResponse) Reset

func (m *FindPicCommentVotesResponse) Reset()

func (*FindPicCommentVotesResponse) String

func (m *FindPicCommentVotesResponse) String() string

func (*FindPicCommentVotesResponse) XXX_DiscardUnknown

func (m *FindPicCommentVotesResponse) XXX_DiscardUnknown()

func (*FindPicCommentVotesResponse) XXX_Marshal

func (m *FindPicCommentVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindPicCommentVotesResponse) XXX_Merge

func (m *FindPicCommentVotesResponse) XXX_Merge(src proto.Message)

func (*FindPicCommentVotesResponse) XXX_Size

func (m *FindPicCommentVotesResponse) XXX_Size() int

func (*FindPicCommentVotesResponse) XXX_Unmarshal

func (m *FindPicCommentVotesResponse) XXX_Unmarshal(b []byte) error

type FindSchedPicsRequest

type FindSchedPicsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindSchedPicsRequest) Descriptor

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

func (*FindSchedPicsRequest) ProtoMessage

func (*FindSchedPicsRequest) ProtoMessage()

func (*FindSchedPicsRequest) Reset

func (m *FindSchedPicsRequest) Reset()

func (*FindSchedPicsRequest) String

func (m *FindSchedPicsRequest) String() string

func (*FindSchedPicsRequest) XXX_DiscardUnknown

func (m *FindSchedPicsRequest) XXX_DiscardUnknown()

func (*FindSchedPicsRequest) XXX_Marshal

func (m *FindSchedPicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindSchedPicsRequest) XXX_Merge

func (m *FindSchedPicsRequest) XXX_Merge(src proto.Message)

func (*FindSchedPicsRequest) XXX_Size

func (m *FindSchedPicsRequest) XXX_Size() int

func (*FindSchedPicsRequest) XXX_Unmarshal

func (m *FindSchedPicsRequest) XXX_Unmarshal(b []byte) error

type FindSchedPicsResponse

type FindSchedPicsResponse struct {
	Pic                  []*PicAndThumbnail `protobuf:"bytes,2,rep,name=pic,proto3" json:"pic,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FindSchedPicsResponse) Descriptor

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

func (*FindSchedPicsResponse) GetPic

func (m *FindSchedPicsResponse) GetPic() []*PicAndThumbnail

func (*FindSchedPicsResponse) ProtoMessage

func (*FindSchedPicsResponse) ProtoMessage()

func (*FindSchedPicsResponse) Reset

func (m *FindSchedPicsResponse) Reset()

func (*FindSchedPicsResponse) String

func (m *FindSchedPicsResponse) String() string

func (*FindSchedPicsResponse) XXX_DiscardUnknown

func (m *FindSchedPicsResponse) XXX_DiscardUnknown()

func (*FindSchedPicsResponse) XXX_Marshal

func (m *FindSchedPicsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindSchedPicsResponse) XXX_Merge

func (m *FindSchedPicsResponse) XXX_Merge(src proto.Message)

func (*FindSchedPicsResponse) XXX_Size

func (m *FindSchedPicsResponse) XXX_Size() int

func (*FindSchedPicsResponse) XXX_Unmarshal

func (m *FindSchedPicsResponse) XXX_Unmarshal(b []byte) error

type FindSimilarPicsRequest

type FindSimilarPicsRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindSimilarPicsRequest) Descriptor

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

func (*FindSimilarPicsRequest) GetPicId

func (m *FindSimilarPicsRequest) GetPicId() string

func (*FindSimilarPicsRequest) ProtoMessage

func (*FindSimilarPicsRequest) ProtoMessage()

func (*FindSimilarPicsRequest) Reset

func (m *FindSimilarPicsRequest) Reset()

func (*FindSimilarPicsRequest) String

func (m *FindSimilarPicsRequest) String() string

func (*FindSimilarPicsRequest) XXX_DiscardUnknown

func (m *FindSimilarPicsRequest) XXX_DiscardUnknown()

func (*FindSimilarPicsRequest) XXX_Marshal

func (m *FindSimilarPicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindSimilarPicsRequest) XXX_Merge

func (m *FindSimilarPicsRequest) XXX_Merge(src proto.Message)

func (*FindSimilarPicsRequest) XXX_Size

func (m *FindSimilarPicsRequest) XXX_Size() int

func (*FindSimilarPicsRequest) XXX_Unmarshal

func (m *FindSimilarPicsRequest) XXX_Unmarshal(b []byte) error

type FindSimilarPicsResponse

type FindSimilarPicsResponse struct {
	PicId                []string `protobuf:"bytes,1,rep,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindSimilarPicsResponse) Descriptor

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

func (*FindSimilarPicsResponse) GetPicId

func (m *FindSimilarPicsResponse) GetPicId() []string

func (*FindSimilarPicsResponse) ProtoMessage

func (*FindSimilarPicsResponse) ProtoMessage()

func (*FindSimilarPicsResponse) Reset

func (m *FindSimilarPicsResponse) Reset()

func (*FindSimilarPicsResponse) String

func (m *FindSimilarPicsResponse) String() string

func (*FindSimilarPicsResponse) XXX_DiscardUnknown

func (m *FindSimilarPicsResponse) XXX_DiscardUnknown()

func (*FindSimilarPicsResponse) XXX_Marshal

func (m *FindSimilarPicsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindSimilarPicsResponse) XXX_Merge

func (m *FindSimilarPicsResponse) XXX_Merge(src proto.Message)

func (*FindSimilarPicsResponse) XXX_Size

func (m *FindSimilarPicsResponse) XXX_Size() int

func (*FindSimilarPicsResponse) XXX_Unmarshal

func (m *FindSimilarPicsResponse) XXX_Unmarshal(b []byte) error

type FindUserEventsRequest

type FindUserEventsRequest struct {
	// Optional.  Uses auth token if not specified.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Optional.  If present, specifies the starting user event id to scan for
	StartUserEventId     string   `protobuf:"bytes,2,opt,name=start_user_event_id,json=startUserEventId,proto3" json:"start_user_event_id,omitempty"`
	Ascending            bool     `protobuf:"varint,3,opt,name=ascending,proto3" json:"ascending,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindUserEventsRequest) Descriptor

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

func (*FindUserEventsRequest) GetAscending

func (m *FindUserEventsRequest) GetAscending() bool

func (*FindUserEventsRequest) GetStartUserEventId

func (m *FindUserEventsRequest) GetStartUserEventId() string

func (*FindUserEventsRequest) GetUserId

func (m *FindUserEventsRequest) GetUserId() string

func (*FindUserEventsRequest) ProtoMessage

func (*FindUserEventsRequest) ProtoMessage()

func (*FindUserEventsRequest) Reset

func (m *FindUserEventsRequest) Reset()

func (*FindUserEventsRequest) String

func (m *FindUserEventsRequest) String() string

func (*FindUserEventsRequest) XXX_DiscardUnknown

func (m *FindUserEventsRequest) XXX_DiscardUnknown()

func (*FindUserEventsRequest) XXX_Marshal

func (m *FindUserEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindUserEventsRequest) XXX_Merge

func (m *FindUserEventsRequest) XXX_Merge(src proto.Message)

func (*FindUserEventsRequest) XXX_Size

func (m *FindUserEventsRequest) XXX_Size() int

func (*FindUserEventsRequest) XXX_Unmarshal

func (m *FindUserEventsRequest) XXX_Unmarshal(b []byte) error

type FindUserEventsResponse

type FindUserEventsResponse struct {
	UserEvent            []*UserEvent `protobuf:"bytes,1,rep,name=user_event,json=userEvent,proto3" json:"user_event,omitempty"`
	NextUserEventId      string       `protobuf:"bytes,2,opt,name=next_user_event_id,json=nextUserEventId,proto3" json:"next_user_event_id,omitempty"`
	PrevUserEventId      string       `protobuf:"bytes,3,opt,name=prev_user_event_id,json=prevUserEventId,proto3" json:"prev_user_event_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*FindUserEventsResponse) Descriptor

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

func (*FindUserEventsResponse) GetNextUserEventId

func (m *FindUserEventsResponse) GetNextUserEventId() string

func (*FindUserEventsResponse) GetPrevUserEventId

func (m *FindUserEventsResponse) GetPrevUserEventId() string

func (*FindUserEventsResponse) GetUserEvent

func (m *FindUserEventsResponse) GetUserEvent() []*UserEvent

func (*FindUserEventsResponse) ProtoMessage

func (*FindUserEventsResponse) ProtoMessage()

func (*FindUserEventsResponse) Reset

func (m *FindUserEventsResponse) Reset()

func (*FindUserEventsResponse) String

func (m *FindUserEventsResponse) String() string

func (*FindUserEventsResponse) XXX_DiscardUnknown

func (m *FindUserEventsResponse) XXX_DiscardUnknown()

func (*FindUserEventsResponse) XXX_Marshal

func (m *FindUserEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindUserEventsResponse) XXX_Merge

func (m *FindUserEventsResponse) XXX_Merge(src proto.Message)

func (*FindUserEventsResponse) XXX_Size

func (m *FindUserEventsResponse) XXX_Size() int

func (*FindUserEventsResponse) XXX_Unmarshal

func (m *FindUserEventsResponse) XXX_Unmarshal(b []byte) error

type GetRefreshTokenRequest

type GetRefreshTokenRequest struct {
	// ident is the unique identity of the user being created, usually an email address
	Ident string `protobuf:"bytes,1,opt,name=ident,proto3" json:"ident,omitempty"`
	// secret is the secret string used to authenticate the user, usually a password
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	PreviousAuthToken    string   `protobuf:"bytes,3,opt,name=previous_auth_token,json=previousAuthToken,proto3" json:"previous_auth_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRefreshTokenRequest) Descriptor

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

func (*GetRefreshTokenRequest) GetIdent

func (m *GetRefreshTokenRequest) GetIdent() string

func (*GetRefreshTokenRequest) GetPreviousAuthToken

func (m *GetRefreshTokenRequest) GetPreviousAuthToken() string

func (*GetRefreshTokenRequest) GetSecret

func (m *GetRefreshTokenRequest) GetSecret() string

func (*GetRefreshTokenRequest) ProtoMessage

func (*GetRefreshTokenRequest) ProtoMessage()

func (*GetRefreshTokenRequest) Reset

func (m *GetRefreshTokenRequest) Reset()

func (*GetRefreshTokenRequest) String

func (m *GetRefreshTokenRequest) String() string

func (*GetRefreshTokenRequest) XXX_DiscardUnknown

func (m *GetRefreshTokenRequest) XXX_DiscardUnknown()

func (*GetRefreshTokenRequest) XXX_Marshal

func (m *GetRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRefreshTokenRequest) XXX_Merge

func (m *GetRefreshTokenRequest) XXX_Merge(src proto.Message)

func (*GetRefreshTokenRequest) XXX_Size

func (m *GetRefreshTokenRequest) XXX_Size() int

func (*GetRefreshTokenRequest) XXX_Unmarshal

func (m *GetRefreshTokenRequest) XXX_Unmarshal(b []byte) error

type GetRefreshTokenResponse

type GetRefreshTokenResponse struct {
	AuthToken            string      `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	PixToken             string      `protobuf:"bytes,5,opt,name=pix_token,json=pixToken,proto3" json:"pix_token,omitempty"`
	AuthPayload          *PwtPayload `protobuf:"bytes,4,opt,name=auth_payload,json=authPayload,proto3" json:"auth_payload,omitempty"`
	PixPayload           *PwtPayload `protobuf:"bytes,6,opt,name=pix_payload,json=pixPayload,proto3" json:"pix_payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetRefreshTokenResponse) Descriptor

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

func (*GetRefreshTokenResponse) GetAuthPayload

func (m *GetRefreshTokenResponse) GetAuthPayload() *PwtPayload

func (*GetRefreshTokenResponse) GetAuthToken

func (m *GetRefreshTokenResponse) GetAuthToken() string

func (*GetRefreshTokenResponse) GetPixPayload

func (m *GetRefreshTokenResponse) GetPixPayload() *PwtPayload

func (*GetRefreshTokenResponse) GetPixToken

func (m *GetRefreshTokenResponse) GetPixToken() string

func (*GetRefreshTokenResponse) ProtoMessage

func (*GetRefreshTokenResponse) ProtoMessage()

func (*GetRefreshTokenResponse) Reset

func (m *GetRefreshTokenResponse) Reset()

func (*GetRefreshTokenResponse) String

func (m *GetRefreshTokenResponse) String() string

func (*GetRefreshTokenResponse) XXX_DiscardUnknown

func (m *GetRefreshTokenResponse) XXX_DiscardUnknown()

func (*GetRefreshTokenResponse) XXX_Marshal

func (m *GetRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRefreshTokenResponse) XXX_Merge

func (m *GetRefreshTokenResponse) XXX_Merge(src proto.Message)

func (*GetRefreshTokenResponse) XXX_Size

func (m *GetRefreshTokenResponse) XXX_Size() int

func (*GetRefreshTokenResponse) XXX_Unmarshal

func (m *GetRefreshTokenResponse) XXX_Unmarshal(b []byte) error

type HttpHeader

type HttpHeader struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

HttpHeader is a message included as a header on some responses. It is only a suggestion. See pixur.api.ServiceOpts.http_header_key

func (*HttpHeader) Descriptor

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

func (*HttpHeader) GetKey

func (m *HttpHeader) GetKey() string

func (*HttpHeader) GetValue

func (m *HttpHeader) GetValue() string

func (*HttpHeader) ProtoMessage

func (*HttpHeader) ProtoMessage()

func (*HttpHeader) Reset

func (m *HttpHeader) Reset()

func (*HttpHeader) String

func (m *HttpHeader) String() string

func (*HttpHeader) XXX_DiscardUnknown

func (m *HttpHeader) XXX_DiscardUnknown()

func (*HttpHeader) XXX_Marshal

func (m *HttpHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpHeader) XXX_Merge

func (m *HttpHeader) XXX_Merge(src proto.Message)

func (*HttpHeader) XXX_Size

func (m *HttpHeader) XXX_Size() int

func (*HttpHeader) XXX_Unmarshal

func (m *HttpHeader) XXX_Unmarshal(b []byte) error

type IncrementViewCountRequest

type IncrementViewCountRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IncrementViewCountRequest) Descriptor

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

func (*IncrementViewCountRequest) GetPicId

func (m *IncrementViewCountRequest) GetPicId() string

func (*IncrementViewCountRequest) ProtoMessage

func (*IncrementViewCountRequest) ProtoMessage()

func (*IncrementViewCountRequest) Reset

func (m *IncrementViewCountRequest) Reset()

func (*IncrementViewCountRequest) String

func (m *IncrementViewCountRequest) String() string

func (*IncrementViewCountRequest) XXX_DiscardUnknown

func (m *IncrementViewCountRequest) XXX_DiscardUnknown()

func (*IncrementViewCountRequest) XXX_Marshal

func (m *IncrementViewCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncrementViewCountRequest) XXX_Merge

func (m *IncrementViewCountRequest) XXX_Merge(src proto.Message)

func (*IncrementViewCountRequest) XXX_Size

func (m *IncrementViewCountRequest) XXX_Size() int

func (*IncrementViewCountRequest) XXX_Unmarshal

func (m *IncrementViewCountRequest) XXX_Unmarshal(b []byte) error

type IncrementViewCountResponse

type IncrementViewCountResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IncrementViewCountResponse) Descriptor

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

func (*IncrementViewCountResponse) ProtoMessage

func (*IncrementViewCountResponse) ProtoMessage()

func (*IncrementViewCountResponse) Reset

func (m *IncrementViewCountResponse) Reset()

func (*IncrementViewCountResponse) String

func (m *IncrementViewCountResponse) String() string

func (*IncrementViewCountResponse) XXX_DiscardUnknown

func (m *IncrementViewCountResponse) XXX_DiscardUnknown()

func (*IncrementViewCountResponse) XXX_Marshal

func (m *IncrementViewCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncrementViewCountResponse) XXX_Merge

func (m *IncrementViewCountResponse) XXX_Merge(src proto.Message)

func (*IncrementViewCountResponse) XXX_Size

func (m *IncrementViewCountResponse) XXX_Size() int

func (*IncrementViewCountResponse) XXX_Unmarshal

func (m *IncrementViewCountResponse) XXX_Unmarshal(b []byte) error

type LookupPicCommentVoteRequest

type LookupPicCommentVoteRequest struct {
	PicId     string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// if absent, this comes from the auth token.
	UserId               string   `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicCommentVoteRequest) Descriptor

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

func (*LookupPicCommentVoteRequest) GetCommentId

func (m *LookupPicCommentVoteRequest) GetCommentId() string

func (*LookupPicCommentVoteRequest) GetPicId

func (m *LookupPicCommentVoteRequest) GetPicId() string

func (*LookupPicCommentVoteRequest) GetUserId

func (m *LookupPicCommentVoteRequest) GetUserId() string

func (*LookupPicCommentVoteRequest) ProtoMessage

func (*LookupPicCommentVoteRequest) ProtoMessage()

func (*LookupPicCommentVoteRequest) Reset

func (m *LookupPicCommentVoteRequest) Reset()

func (*LookupPicCommentVoteRequest) String

func (m *LookupPicCommentVoteRequest) String() string

func (*LookupPicCommentVoteRequest) XXX_DiscardUnknown

func (m *LookupPicCommentVoteRequest) XXX_DiscardUnknown()

func (*LookupPicCommentVoteRequest) XXX_Marshal

func (m *LookupPicCommentVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicCommentVoteRequest) XXX_Merge

func (m *LookupPicCommentVoteRequest) XXX_Merge(src proto.Message)

func (*LookupPicCommentVoteRequest) XXX_Size

func (m *LookupPicCommentVoteRequest) XXX_Size() int

func (*LookupPicCommentVoteRequest) XXX_Unmarshal

func (m *LookupPicCommentVoteRequest) XXX_Unmarshal(b []byte) error

type LookupPicCommentVoteResponse

type LookupPicCommentVoteResponse struct {
	Vote                 *PicCommentVote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LookupPicCommentVoteResponse) Descriptor

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

func (*LookupPicCommentVoteResponse) GetVote

func (*LookupPicCommentVoteResponse) ProtoMessage

func (*LookupPicCommentVoteResponse) ProtoMessage()

func (*LookupPicCommentVoteResponse) Reset

func (m *LookupPicCommentVoteResponse) Reset()

func (*LookupPicCommentVoteResponse) String

func (*LookupPicCommentVoteResponse) XXX_DiscardUnknown

func (m *LookupPicCommentVoteResponse) XXX_DiscardUnknown()

func (*LookupPicCommentVoteResponse) XXX_Marshal

func (m *LookupPicCommentVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicCommentVoteResponse) XXX_Merge

func (m *LookupPicCommentVoteResponse) XXX_Merge(src proto.Message)

func (*LookupPicCommentVoteResponse) XXX_Size

func (m *LookupPicCommentVoteResponse) XXX_Size() int

func (*LookupPicCommentVoteResponse) XXX_Unmarshal

func (m *LookupPicCommentVoteResponse) XXX_Unmarshal(b []byte) error

type LookupPicDetailsRequest

type LookupPicDetailsRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicDetailsRequest) Descriptor

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

func (*LookupPicDetailsRequest) GetPicId

func (m *LookupPicDetailsRequest) GetPicId() string

func (*LookupPicDetailsRequest) ProtoMessage

func (*LookupPicDetailsRequest) ProtoMessage()

func (*LookupPicDetailsRequest) Reset

func (m *LookupPicDetailsRequest) Reset()

func (*LookupPicDetailsRequest) String

func (m *LookupPicDetailsRequest) String() string

func (*LookupPicDetailsRequest) XXX_DiscardUnknown

func (m *LookupPicDetailsRequest) XXX_DiscardUnknown()

func (*LookupPicDetailsRequest) XXX_Marshal

func (m *LookupPicDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicDetailsRequest) XXX_Merge

func (m *LookupPicDetailsRequest) XXX_Merge(src proto.Message)

func (*LookupPicDetailsRequest) XXX_Size

func (m *LookupPicDetailsRequest) XXX_Size() int

func (*LookupPicDetailsRequest) XXX_Unmarshal

func (m *LookupPicDetailsRequest) XXX_Unmarshal(b []byte) error

type LookupPicDetailsResponse

type LookupPicDetailsResponse struct {
	Pic                  *Pic            `protobuf:"bytes,1,opt,name=pic,proto3" json:"pic,omitempty"`
	Derived              []*PicFile      `protobuf:"bytes,4,rep,name=derived,proto3" json:"derived,omitempty"`
	PicTag               []*PicTag       `protobuf:"bytes,2,rep,name=pic_tag,json=picTag,proto3" json:"pic_tag,omitempty"`
	PicCommentTree       *PicCommentTree `protobuf:"bytes,3,opt,name=pic_comment_tree,json=picCommentTree,proto3" json:"pic_comment_tree,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LookupPicDetailsResponse) Descriptor

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

func (*LookupPicDetailsResponse) GetDerived

func (m *LookupPicDetailsResponse) GetDerived() []*PicFile

func (*LookupPicDetailsResponse) GetPic

func (m *LookupPicDetailsResponse) GetPic() *Pic

func (*LookupPicDetailsResponse) GetPicCommentTree

func (m *LookupPicDetailsResponse) GetPicCommentTree() *PicCommentTree

func (*LookupPicDetailsResponse) GetPicTag

func (m *LookupPicDetailsResponse) GetPicTag() []*PicTag

func (*LookupPicDetailsResponse) ProtoMessage

func (*LookupPicDetailsResponse) ProtoMessage()

func (*LookupPicDetailsResponse) Reset

func (m *LookupPicDetailsResponse) Reset()

func (*LookupPicDetailsResponse) String

func (m *LookupPicDetailsResponse) String() string

func (*LookupPicDetailsResponse) XXX_DiscardUnknown

func (m *LookupPicDetailsResponse) XXX_DiscardUnknown()

func (*LookupPicDetailsResponse) XXX_Marshal

func (m *LookupPicDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicDetailsResponse) XXX_Merge

func (m *LookupPicDetailsResponse) XXX_Merge(src proto.Message)

func (*LookupPicDetailsResponse) XXX_Size

func (m *LookupPicDetailsResponse) XXX_Size() int

func (*LookupPicDetailsResponse) XXX_Unmarshal

func (m *LookupPicDetailsResponse) XXX_Unmarshal(b []byte) error

type LookupPicExtensionRequest

type LookupPicExtensionRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicExtensionRequest) Descriptor

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

func (*LookupPicExtensionRequest) GetPicId

func (m *LookupPicExtensionRequest) GetPicId() string

func (*LookupPicExtensionRequest) ProtoMessage

func (*LookupPicExtensionRequest) ProtoMessage()

func (*LookupPicExtensionRequest) Reset

func (m *LookupPicExtensionRequest) Reset()

func (*LookupPicExtensionRequest) String

func (m *LookupPicExtensionRequest) String() string

func (*LookupPicExtensionRequest) XXX_DiscardUnknown

func (m *LookupPicExtensionRequest) XXX_DiscardUnknown()

func (*LookupPicExtensionRequest) XXX_Marshal

func (m *LookupPicExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicExtensionRequest) XXX_Merge

func (m *LookupPicExtensionRequest) XXX_Merge(src proto.Message)

func (*LookupPicExtensionRequest) XXX_Size

func (m *LookupPicExtensionRequest) XXX_Size() int

func (*LookupPicExtensionRequest) XXX_Unmarshal

func (m *LookupPicExtensionRequest) XXX_Unmarshal(b []byte) error

type LookupPicExtensionResponse

type LookupPicExtensionResponse struct {
	Ext                  map[string]*any.Any `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*LookupPicExtensionResponse) Descriptor

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

func (*LookupPicExtensionResponse) GetExt

func (m *LookupPicExtensionResponse) GetExt() map[string]*any.Any

func (*LookupPicExtensionResponse) ProtoMessage

func (*LookupPicExtensionResponse) ProtoMessage()

func (*LookupPicExtensionResponse) Reset

func (m *LookupPicExtensionResponse) Reset()

func (*LookupPicExtensionResponse) String

func (m *LookupPicExtensionResponse) String() string

func (*LookupPicExtensionResponse) XXX_DiscardUnknown

func (m *LookupPicExtensionResponse) XXX_DiscardUnknown()

func (*LookupPicExtensionResponse) XXX_Marshal

func (m *LookupPicExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicExtensionResponse) XXX_Merge

func (m *LookupPicExtensionResponse) XXX_Merge(src proto.Message)

func (*LookupPicExtensionResponse) XXX_Size

func (m *LookupPicExtensionResponse) XXX_Size() int

func (*LookupPicExtensionResponse) XXX_Unmarshal

func (m *LookupPicExtensionResponse) XXX_Unmarshal(b []byte) error

type LookupPicFileRequest

type LookupPicFileRequest struct {
	PicFileId            string         `protobuf:"bytes,1,opt,name=pic_file_id,json=picFileId,proto3" json:"pic_file_id,omitempty"`
	Format               PicFile_Format `protobuf:"varint,2,opt,name=format,proto3,enum=pixur.api.PicFile_Format" json:"format,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*LookupPicFileRequest) Descriptor

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

func (*LookupPicFileRequest) GetFormat

func (m *LookupPicFileRequest) GetFormat() PicFile_Format

func (*LookupPicFileRequest) GetPicFileId

func (m *LookupPicFileRequest) GetPicFileId() string

func (*LookupPicFileRequest) ProtoMessage

func (*LookupPicFileRequest) ProtoMessage()

func (*LookupPicFileRequest) Reset

func (m *LookupPicFileRequest) Reset()

func (*LookupPicFileRequest) String

func (m *LookupPicFileRequest) String() string

func (*LookupPicFileRequest) XXX_DiscardUnknown

func (m *LookupPicFileRequest) XXX_DiscardUnknown()

func (*LookupPicFileRequest) XXX_Marshal

func (m *LookupPicFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicFileRequest) XXX_Merge

func (m *LookupPicFileRequest) XXX_Merge(src proto.Message)

func (*LookupPicFileRequest) XXX_Size

func (m *LookupPicFileRequest) XXX_Size() int

func (*LookupPicFileRequest) XXX_Unmarshal

func (m *LookupPicFileRequest) XXX_Unmarshal(b []byte) error

type LookupPicFileResponse

type LookupPicFileResponse struct {
	PicFile              *PicFile `protobuf:"bytes,1,opt,name=pic_file,json=picFile,proto3" json:"pic_file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicFileResponse) Descriptor

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

func (*LookupPicFileResponse) GetPicFile

func (m *LookupPicFileResponse) GetPicFile() *PicFile

func (*LookupPicFileResponse) ProtoMessage

func (*LookupPicFileResponse) ProtoMessage()

func (*LookupPicFileResponse) Reset

func (m *LookupPicFileResponse) Reset()

func (*LookupPicFileResponse) String

func (m *LookupPicFileResponse) String() string

func (*LookupPicFileResponse) XXX_DiscardUnknown

func (m *LookupPicFileResponse) XXX_DiscardUnknown()

func (*LookupPicFileResponse) XXX_Marshal

func (m *LookupPicFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicFileResponse) XXX_Merge

func (m *LookupPicFileResponse) XXX_Merge(src proto.Message)

func (*LookupPicFileResponse) XXX_Size

func (m *LookupPicFileResponse) XXX_Size() int

func (*LookupPicFileResponse) XXX_Unmarshal

func (m *LookupPicFileResponse) XXX_Unmarshal(b []byte) error

type LookupPicVoteRequest

type LookupPicVoteRequest struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// Optional.  Uses auth token if not specified.
	UserId               string   `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicVoteRequest) Descriptor

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

func (*LookupPicVoteRequest) GetPicId

func (m *LookupPicVoteRequest) GetPicId() string

func (*LookupPicVoteRequest) GetUserId

func (m *LookupPicVoteRequest) GetUserId() string

func (*LookupPicVoteRequest) ProtoMessage

func (*LookupPicVoteRequest) ProtoMessage()

func (*LookupPicVoteRequest) Reset

func (m *LookupPicVoteRequest) Reset()

func (*LookupPicVoteRequest) String

func (m *LookupPicVoteRequest) String() string

func (*LookupPicVoteRequest) XXX_DiscardUnknown

func (m *LookupPicVoteRequest) XXX_DiscardUnknown()

func (*LookupPicVoteRequest) XXX_Marshal

func (m *LookupPicVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicVoteRequest) XXX_Merge

func (m *LookupPicVoteRequest) XXX_Merge(src proto.Message)

func (*LookupPicVoteRequest) XXX_Size

func (m *LookupPicVoteRequest) XXX_Size() int

func (*LookupPicVoteRequest) XXX_Unmarshal

func (m *LookupPicVoteRequest) XXX_Unmarshal(b []byte) error

type LookupPicVoteResponse

type LookupPicVoteResponse struct {
	Vote                 *PicVote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPicVoteResponse) Descriptor

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

func (*LookupPicVoteResponse) GetVote

func (m *LookupPicVoteResponse) GetVote() *PicVote

func (*LookupPicVoteResponse) ProtoMessage

func (*LookupPicVoteResponse) ProtoMessage()

func (*LookupPicVoteResponse) Reset

func (m *LookupPicVoteResponse) Reset()

func (*LookupPicVoteResponse) String

func (m *LookupPicVoteResponse) String() string

func (*LookupPicVoteResponse) XXX_DiscardUnknown

func (m *LookupPicVoteResponse) XXX_DiscardUnknown()

func (*LookupPicVoteResponse) XXX_Marshal

func (m *LookupPicVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPicVoteResponse) XXX_Merge

func (m *LookupPicVoteResponse) XXX_Merge(src proto.Message)

func (*LookupPicVoteResponse) XXX_Size

func (m *LookupPicVoteResponse) XXX_Size() int

func (*LookupPicVoteResponse) XXX_Unmarshal

func (m *LookupPicVoteResponse) XXX_Unmarshal(b []byte) error

type LookupPublicUserInfoRequest

type LookupPublicUserInfoRequest struct {
	// if absent, assumed to come from auth token
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupPublicUserInfoRequest) Descriptor

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

func (*LookupPublicUserInfoRequest) GetUserId

func (m *LookupPublicUserInfoRequest) GetUserId() string

func (*LookupPublicUserInfoRequest) ProtoMessage

func (*LookupPublicUserInfoRequest) ProtoMessage()

func (*LookupPublicUserInfoRequest) Reset

func (m *LookupPublicUserInfoRequest) Reset()

func (*LookupPublicUserInfoRequest) String

func (m *LookupPublicUserInfoRequest) String() string

func (*LookupPublicUserInfoRequest) XXX_DiscardUnknown

func (m *LookupPublicUserInfoRequest) XXX_DiscardUnknown()

func (*LookupPublicUserInfoRequest) XXX_Marshal

func (m *LookupPublicUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPublicUserInfoRequest) XXX_Merge

func (m *LookupPublicUserInfoRequest) XXX_Merge(src proto.Message)

func (*LookupPublicUserInfoRequest) XXX_Size

func (m *LookupPublicUserInfoRequest) XXX_Size() int

func (*LookupPublicUserInfoRequest) XXX_Unmarshal

func (m *LookupPublicUserInfoRequest) XXX_Unmarshal(b []byte) error

type LookupPublicUserInfoResponse

type LookupPublicUserInfoResponse struct {
	UserInfo             *PublicUserInfo `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LookupPublicUserInfoResponse) Descriptor

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

func (*LookupPublicUserInfoResponse) GetUserInfo

func (m *LookupPublicUserInfoResponse) GetUserInfo() *PublicUserInfo

func (*LookupPublicUserInfoResponse) ProtoMessage

func (*LookupPublicUserInfoResponse) ProtoMessage()

func (*LookupPublicUserInfoResponse) Reset

func (m *LookupPublicUserInfoResponse) Reset()

func (*LookupPublicUserInfoResponse) String

func (*LookupPublicUserInfoResponse) XXX_DiscardUnknown

func (m *LookupPublicUserInfoResponse) XXX_DiscardUnknown()

func (*LookupPublicUserInfoResponse) XXX_Marshal

func (m *LookupPublicUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupPublicUserInfoResponse) XXX_Merge

func (m *LookupPublicUserInfoResponse) XXX_Merge(src proto.Message)

func (*LookupPublicUserInfoResponse) XXX_Size

func (m *LookupPublicUserInfoResponse) XXX_Size() int

func (*LookupPublicUserInfoResponse) XXX_Unmarshal

func (m *LookupPublicUserInfoResponse) XXX_Unmarshal(b []byte) error

type LookupUserRequest

type LookupUserRequest struct {
	// if absent, assumed to come from auth token
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupUserRequest) Descriptor

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

func (*LookupUserRequest) GetUserId

func (m *LookupUserRequest) GetUserId() string

func (*LookupUserRequest) ProtoMessage

func (*LookupUserRequest) ProtoMessage()

func (*LookupUserRequest) Reset

func (m *LookupUserRequest) Reset()

func (*LookupUserRequest) String

func (m *LookupUserRequest) String() string

func (*LookupUserRequest) XXX_DiscardUnknown

func (m *LookupUserRequest) XXX_DiscardUnknown()

func (*LookupUserRequest) XXX_Marshal

func (m *LookupUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupUserRequest) XXX_Merge

func (m *LookupUserRequest) XXX_Merge(src proto.Message)

func (*LookupUserRequest) XXX_Size

func (m *LookupUserRequest) XXX_Size() int

func (*LookupUserRequest) XXX_Unmarshal

func (m *LookupUserRequest) XXX_Unmarshal(b []byte) error

type LookupUserResponse

type LookupUserResponse struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupUserResponse) Descriptor

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

func (*LookupUserResponse) GetUser

func (m *LookupUserResponse) GetUser() *User

func (*LookupUserResponse) ProtoMessage

func (*LookupUserResponse) ProtoMessage()

func (*LookupUserResponse) Reset

func (m *LookupUserResponse) Reset()

func (*LookupUserResponse) String

func (m *LookupUserResponse) String() string

func (*LookupUserResponse) XXX_DiscardUnknown

func (m *LookupUserResponse) XXX_DiscardUnknown()

func (*LookupUserResponse) XXX_Marshal

func (m *LookupUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupUserResponse) XXX_Merge

func (m *LookupUserResponse) XXX_Merge(src proto.Message)

func (*LookupUserResponse) XXX_Size

func (m *LookupUserResponse) XXX_Size() int

func (*LookupUserResponse) XXX_Unmarshal

func (m *LookupUserResponse) XXX_Unmarshal(b []byte) error

type Pic

type Pic struct {
	// id is the unique identifier for the pic, in varint form
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// version is the version of the pic.  It is used when updating the pic.
	Version int64 `protobuf:"fixed64,4,opt,name=version,proto3" json:"version,omitempty"`
	// created_time is when the pic was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// modified_time is when the pic was last modified.
	ModifiedTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// pending_deletion indicates if the pic may be deleted soon.
	PendingDeletion bool `protobuf:"varint,9,opt,name=pending_deletion,json=pendingDeletion,proto3" json:"pending_deletion,omitempty"`
	// view_count is the number of views this picture has received.
	ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	// The estimated lower bound of the pic score
	ScoreLo float64 `protobuf:"fixed64,12,opt,name=score_lo,json=scoreLo,proto3" json:"score_lo,omitempty"`
	// The estimated upper bound of the pic score
	ScoreHi float64      `protobuf:"fixed64,13,opt,name=score_hi,json=scoreHi,proto3" json:"score_hi,omitempty"`
	File    *PicFile     `protobuf:"bytes,16,opt,name=file,proto3" json:"file,omitempty"`
	Source  []*PicSource `protobuf:"bytes,18,rep,name=source,proto3" json:"source,omitempty"`
	// The user id of the first user who uploading this pic.  May be absent.
	FirstUserId          *wrappers.StringValue `protobuf:"bytes,19,opt,name=first_user_id,json=firstUserId,proto3" json:"first_user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Pic) Descriptor

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

func (*Pic) GetCreatedTime

func (m *Pic) GetCreatedTime() *timestamp.Timestamp

func (*Pic) GetFile

func (m *Pic) GetFile() *PicFile

func (*Pic) GetFirstUserId

func (m *Pic) GetFirstUserId() *wrappers.StringValue

func (*Pic) GetId

func (m *Pic) GetId() string

func (*Pic) GetModifiedTime

func (m *Pic) GetModifiedTime() *timestamp.Timestamp

func (*Pic) GetPendingDeletion

func (m *Pic) GetPendingDeletion() bool

func (*Pic) GetScoreHi

func (m *Pic) GetScoreHi() float64

func (*Pic) GetScoreLo

func (m *Pic) GetScoreLo() float64

func (*Pic) GetSource

func (m *Pic) GetSource() []*PicSource

func (*Pic) GetVersion

func (m *Pic) GetVersion() int64

func (*Pic) GetViewCount

func (m *Pic) GetViewCount() int64

func (*Pic) ProtoMessage

func (*Pic) ProtoMessage()

func (*Pic) Reset

func (m *Pic) Reset()

func (*Pic) String

func (m *Pic) String() string

func (*Pic) XXX_DiscardUnknown

func (m *Pic) XXX_DiscardUnknown()

func (*Pic) XXX_Marshal

func (m *Pic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pic) XXX_Merge

func (m *Pic) XXX_Merge(src proto.Message)

func (*Pic) XXX_Size

func (m *Pic) XXX_Size() int

func (*Pic) XXX_Unmarshal

func (m *Pic) XXX_Unmarshal(b []byte) error

type PicAndThumbnail

type PicAndThumbnail struct {
	Pic                  *Pic       `protobuf:"bytes,1,opt,name=pic,proto3" json:"pic,omitempty"`
	Thumbnail            []*PicFile `protobuf:"bytes,2,rep,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*PicAndThumbnail) Descriptor

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

func (*PicAndThumbnail) GetPic

func (m *PicAndThumbnail) GetPic() *Pic

func (*PicAndThumbnail) GetThumbnail

func (m *PicAndThumbnail) GetThumbnail() []*PicFile

func (*PicAndThumbnail) ProtoMessage

func (*PicAndThumbnail) ProtoMessage()

func (*PicAndThumbnail) Reset

func (m *PicAndThumbnail) Reset()

func (*PicAndThumbnail) String

func (m *PicAndThumbnail) String() string

func (*PicAndThumbnail) XXX_DiscardUnknown

func (m *PicAndThumbnail) XXX_DiscardUnknown()

func (*PicAndThumbnail) XXX_Marshal

func (m *PicAndThumbnail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicAndThumbnail) XXX_Merge

func (m *PicAndThumbnail) XXX_Merge(src proto.Message)

func (*PicAndThumbnail) XXX_Size

func (m *PicAndThumbnail) XXX_Size() int

func (*PicAndThumbnail) XXX_Unmarshal

func (m *PicAndThumbnail) XXX_Unmarshal(b []byte) error

type PicComment

type PicComment struct {
	// pic_id is the unique identifier for the pic, in varint form
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// comment_id is the unique identifier for the comment, in varint form
	CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// comment_parent_id is the unique identifier for the parent comment, in varint form
	CommentParentId string `protobuf:"bytes,3,opt,name=comment_parent_id,json=commentParentId,proto3" json:"comment_parent_id,omitempty"`
	Text            string `protobuf:"bytes,7,opt,name=text,proto3" json:"text,omitempty"`
	// created_time is when the tag was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// modified_time is when the tag was last modified.
	ModifiedTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// version is the version of the tag.  It is used when updating the tag.
	Version int64 `protobuf:"fixed64,6,opt,name=version,proto3" json:"version,omitempty"`
	// The user id of comment author.  May be absent.
	UserId               *wrappers.StringValue `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*PicComment) Descriptor

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

func (*PicComment) GetCommentId

func (m *PicComment) GetCommentId() string

func (*PicComment) GetCommentParentId

func (m *PicComment) GetCommentParentId() string

func (*PicComment) GetCreatedTime

func (m *PicComment) GetCreatedTime() *timestamp.Timestamp

func (*PicComment) GetModifiedTime

func (m *PicComment) GetModifiedTime() *timestamp.Timestamp

func (*PicComment) GetPicId

func (m *PicComment) GetPicId() string

func (*PicComment) GetText

func (m *PicComment) GetText() string

func (*PicComment) GetUserId

func (m *PicComment) GetUserId() *wrappers.StringValue

func (*PicComment) GetVersion

func (m *PicComment) GetVersion() int64

func (*PicComment) ProtoMessage

func (*PicComment) ProtoMessage()

func (*PicComment) Reset

func (m *PicComment) Reset()

func (*PicComment) String

func (m *PicComment) String() string

func (*PicComment) XXX_DiscardUnknown

func (m *PicComment) XXX_DiscardUnknown()

func (*PicComment) XXX_Marshal

func (m *PicComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicComment) XXX_Merge

func (m *PicComment) XXX_Merge(src proto.Message)

func (*PicComment) XXX_Size

func (m *PicComment) XXX_Size() int

func (*PicComment) XXX_Unmarshal

func (m *PicComment) XXX_Unmarshal(b []byte) error

type PicCommentTree

type PicCommentTree struct {
	// All comments, ordered by a post order traversal.  Protobuf does not handle deeply nested
	// messages well.
	Comment              []*PicComment `protobuf:"bytes,1,rep,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*PicCommentTree) Descriptor

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

func (*PicCommentTree) GetComment

func (m *PicCommentTree) GetComment() []*PicComment

func (*PicCommentTree) ProtoMessage

func (*PicCommentTree) ProtoMessage()

func (*PicCommentTree) Reset

func (m *PicCommentTree) Reset()

func (*PicCommentTree) String

func (m *PicCommentTree) String() string

func (*PicCommentTree) XXX_DiscardUnknown

func (m *PicCommentTree) XXX_DiscardUnknown()

func (*PicCommentTree) XXX_Marshal

func (m *PicCommentTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicCommentTree) XXX_Merge

func (m *PicCommentTree) XXX_Merge(src proto.Message)

func (*PicCommentTree) XXX_Size

func (m *PicCommentTree) XXX_Size() int

func (*PicCommentTree) XXX_Unmarshal

func (m *PicCommentTree) XXX_Unmarshal(b []byte) error

type PicCommentVote

type PicCommentVote struct {
	PicId     string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// user_id is the user who created this vote.  May be absent if unknown or due to lack of access.
	UserId               *wrappers.StringValue `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Vote                 PicCommentVote_Vote   `protobuf:"varint,4,opt,name=vote,proto3,enum=pixur.api.PicCommentVote_Vote" json:"vote,omitempty"`
	Version              int64                 `protobuf:"fixed64,5,opt,name=version,proto3" json:"version,omitempty"`
	CreatedTime          *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	ModifiedTime         *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*PicCommentVote) Descriptor

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

func (*PicCommentVote) GetCommentId

func (m *PicCommentVote) GetCommentId() string

func (*PicCommentVote) GetCreatedTime

func (m *PicCommentVote) GetCreatedTime() *timestamp.Timestamp

func (*PicCommentVote) GetModifiedTime

func (m *PicCommentVote) GetModifiedTime() *timestamp.Timestamp

func (*PicCommentVote) GetPicId

func (m *PicCommentVote) GetPicId() string

func (*PicCommentVote) GetUserId

func (m *PicCommentVote) GetUserId() *wrappers.StringValue

func (*PicCommentVote) GetVersion

func (m *PicCommentVote) GetVersion() int64

func (*PicCommentVote) GetVote

func (m *PicCommentVote) GetVote() PicCommentVote_Vote

func (*PicCommentVote) ProtoMessage

func (*PicCommentVote) ProtoMessage()

func (*PicCommentVote) Reset

func (m *PicCommentVote) Reset()

func (*PicCommentVote) String

func (m *PicCommentVote) String() string

func (*PicCommentVote) XXX_DiscardUnknown

func (m *PicCommentVote) XXX_DiscardUnknown()

func (*PicCommentVote) XXX_Marshal

func (m *PicCommentVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicCommentVote) XXX_Merge

func (m *PicCommentVote) XXX_Merge(src proto.Message)

func (*PicCommentVote) XXX_Size

func (m *PicCommentVote) XXX_Size() int

func (*PicCommentVote) XXX_Unmarshal

func (m *PicCommentVote) XXX_Unmarshal(b []byte) error

type PicCommentVote_Vote

type PicCommentVote_Vote int32
const (
	PicCommentVote_UNKNOWN PicCommentVote_Vote = 0
	PicCommentVote_UP      PicCommentVote_Vote = 1
	PicCommentVote_DOWN    PicCommentVote_Vote = 2
	PicCommentVote_NEUTRAL PicCommentVote_Vote = 3
)

func (PicCommentVote_Vote) EnumDescriptor

func (PicCommentVote_Vote) EnumDescriptor() ([]byte, []int)

func (PicCommentVote_Vote) String

func (x PicCommentVote_Vote) String() string

type PicFile

type PicFile struct {
	// The fully qualified picfile id.  The first component is always the pic id.
	Id     string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format PicFile_Format `protobuf:"varint,2,opt,name=format,proto3,enum=pixur.api.PicFile_Format" json:"format,omitempty"`
	// width is the width of pic file
	Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	// height is the height of the pic file
	Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// duration is present if the image is animated (GIF or WEBM or MP4).  Note that
	// GIFs duration is not well defined and is subject to reinterpretation.
	Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// Is this pic considered a thumbnail
	Thumbnail bool `protobuf:"varint,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	// created_time is when the PicFile was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// modified_time is when the PicFile was last modified.
	ModifiedTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// the size in bytes of the file
	Size                 int64    `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PicFile) Descriptor

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

func (*PicFile) GetCreatedTime

func (m *PicFile) GetCreatedTime() *timestamp.Timestamp

func (*PicFile) GetDuration

func (m *PicFile) GetDuration() *duration.Duration

func (*PicFile) GetFormat

func (m *PicFile) GetFormat() PicFile_Format

func (*PicFile) GetHeight

func (m *PicFile) GetHeight() int32

func (*PicFile) GetId

func (m *PicFile) GetId() string

func (*PicFile) GetModifiedTime

func (m *PicFile) GetModifiedTime() *timestamp.Timestamp

func (*PicFile) GetSize

func (m *PicFile) GetSize() int64

func (*PicFile) GetThumbnail

func (m *PicFile) GetThumbnail() bool

func (*PicFile) GetWidth

func (m *PicFile) GetWidth() int32

func (*PicFile) ProtoMessage

func (*PicFile) ProtoMessage()

func (*PicFile) Reset

func (m *PicFile) Reset()

func (*PicFile) String

func (m *PicFile) String() string

func (*PicFile) XXX_DiscardUnknown

func (m *PicFile) XXX_DiscardUnknown()

func (*PicFile) XXX_Marshal

func (m *PicFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicFile) XXX_Merge

func (m *PicFile) XXX_Merge(src proto.Message)

func (*PicFile) XXX_Size

func (m *PicFile) XXX_Size() int

func (*PicFile) XXX_Unmarshal

func (m *PicFile) XXX_Unmarshal(b []byte) error

type PicFile_Format

type PicFile_Format int32
const (
	PicFile_UNKNOWN PicFile_Format = 0
	PicFile_JPEG    PicFile_Format = 1
	PicFile_GIF     PicFile_Format = 2
	PicFile_PNG     PicFile_Format = 3
	PicFile_WEBM    PicFile_Format = 4
	PicFile_MP4     PicFile_Format = 5
)

func (PicFile_Format) EnumDescriptor

func (PicFile_Format) EnumDescriptor() ([]byte, []int)

func (PicFile_Format) String

func (x PicFile_Format) String() string

type PicSource

type PicSource struct {
	// url is optional and is the location the pic came from.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// referrer is optional and is the location the pic was referred from.
	Referrer string `protobuf:"bytes,3,opt,name=referrer,proto3" json:"referrer,omitempty"`
	// name is optional and the file name for this source.  It may be derived
	// from the url, from the content-disposition, or from the user who
	// upload the file.
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PicSource) Descriptor

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

func (*PicSource) GetName

func (m *PicSource) GetName() string

func (*PicSource) GetReferrer

func (m *PicSource) GetReferrer() string

func (*PicSource) GetUrl

func (m *PicSource) GetUrl() string

func (*PicSource) ProtoMessage

func (*PicSource) ProtoMessage()

func (*PicSource) Reset

func (m *PicSource) Reset()

func (*PicSource) String

func (m *PicSource) String() string

func (*PicSource) XXX_DiscardUnknown

func (m *PicSource) XXX_DiscardUnknown()

func (*PicSource) XXX_Marshal

func (m *PicSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicSource) XXX_Merge

func (m *PicSource) XXX_Merge(src proto.Message)

func (*PicSource) XXX_Size

func (m *PicSource) XXX_Size() int

func (*PicSource) XXX_Unmarshal

func (m *PicSource) XXX_Unmarshal(b []byte) error

type PicTag

type PicTag struct {
	// pic_id is the unique identifier for the pic, in varint form
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// tag_id is the unique identifier for the tag, in varint form
	TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
	// name is the tag name in utf8 form
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// created_time is when the tag was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// modified_time is when the tag was last modified.
	ModifiedTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// version is the version of the tag.  It is used when updating the tag.
	Version              int64    `protobuf:"fixed64,6,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PicTag) Descriptor

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

func (*PicTag) GetCreatedTime

func (m *PicTag) GetCreatedTime() *timestamp.Timestamp

func (*PicTag) GetModifiedTime

func (m *PicTag) GetModifiedTime() *timestamp.Timestamp

func (*PicTag) GetName

func (m *PicTag) GetName() string

func (*PicTag) GetPicId

func (m *PicTag) GetPicId() string

func (*PicTag) GetTagId

func (m *PicTag) GetTagId() string

func (*PicTag) GetVersion

func (m *PicTag) GetVersion() int64

func (*PicTag) ProtoMessage

func (*PicTag) ProtoMessage()

func (*PicTag) Reset

func (m *PicTag) Reset()

func (*PicTag) String

func (m *PicTag) String() string

func (*PicTag) XXX_DiscardUnknown

func (m *PicTag) XXX_DiscardUnknown()

func (*PicTag) XXX_Marshal

func (m *PicTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicTag) XXX_Merge

func (m *PicTag) XXX_Merge(src proto.Message)

func (*PicTag) XXX_Size

func (m *PicTag) XXX_Size() int

func (*PicTag) XXX_Unmarshal

func (m *PicTag) XXX_Unmarshal(b []byte) error

type PicVote

type PicVote struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// user_id is the user who created this vote.  May be absent if unknown or due to lack of access.
	UserId               *wrappers.StringValue `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Vote                 PicVote_Vote          `protobuf:"varint,3,opt,name=vote,proto3,enum=pixur.api.PicVote_Vote" json:"vote,omitempty"`
	Version              int64                 `protobuf:"fixed64,4,opt,name=version,proto3" json:"version,omitempty"`
	CreatedTime          *timestamp.Timestamp  `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	ModifiedTime         *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*PicVote) Descriptor

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

func (*PicVote) GetCreatedTime

func (m *PicVote) GetCreatedTime() *timestamp.Timestamp

func (*PicVote) GetModifiedTime

func (m *PicVote) GetModifiedTime() *timestamp.Timestamp

func (*PicVote) GetPicId

func (m *PicVote) GetPicId() string

func (*PicVote) GetUserId

func (m *PicVote) GetUserId() *wrappers.StringValue

func (*PicVote) GetVersion

func (m *PicVote) GetVersion() int64

func (*PicVote) GetVote

func (m *PicVote) GetVote() PicVote_Vote

func (*PicVote) ProtoMessage

func (*PicVote) ProtoMessage()

func (*PicVote) Reset

func (m *PicVote) Reset()

func (*PicVote) String

func (m *PicVote) String() string

func (*PicVote) XXX_DiscardUnknown

func (m *PicVote) XXX_DiscardUnknown()

func (*PicVote) XXX_Marshal

func (m *PicVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PicVote) XXX_Merge

func (m *PicVote) XXX_Merge(src proto.Message)

func (*PicVote) XXX_Size

func (m *PicVote) XXX_Size() int

func (*PicVote) XXX_Unmarshal

func (m *PicVote) XXX_Unmarshal(b []byte) error

type PicVote_Vote

type PicVote_Vote int32
const (
	PicVote_UNKNOWN PicVote_Vote = 0
	PicVote_UP      PicVote_Vote = 1
	PicVote_DOWN    PicVote_Vote = 2
	PicVote_NEUTRAL PicVote_Vote = 3
)

func (PicVote_Vote) EnumDescriptor

func (PicVote_Vote) EnumDescriptor() ([]byte, []int)

func (PicVote_Vote) String

func (x PicVote_Vote) String() string

type PixurServiceClient

type PixurServiceClient interface {
	AddPicComment(ctx context.Context, in *AddPicCommentRequest, opts ...grpc.CallOption) (*AddPicCommentResponse, error)
	AddPicTags(ctx context.Context, in *AddPicTagsRequest, opts ...grpc.CallOption) (*AddPicTagsResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	DeleteToken(ctx context.Context, in *DeleteTokenRequest, opts ...grpc.CallOption) (*DeleteTokenResponse, error)
	FindIndexPics(ctx context.Context, in *FindIndexPicsRequest, opts ...grpc.CallOption) (*FindIndexPicsResponse, error)
	FindPicCommentVotes(ctx context.Context, in *FindPicCommentVotesRequest, opts ...grpc.CallOption) (*FindPicCommentVotesResponse, error)
	FindSchedPics(ctx context.Context, in *FindSchedPicsRequest, opts ...grpc.CallOption) (*FindSchedPicsResponse, error)
	FindSimilarPics(ctx context.Context, in *FindSimilarPicsRequest, opts ...grpc.CallOption) (*FindSimilarPicsResponse, error)
	FindUserEvents(ctx context.Context, in *FindUserEventsRequest, opts ...grpc.CallOption) (*FindUserEventsResponse, error)
	GetRefreshToken(ctx context.Context, in *GetRefreshTokenRequest, opts ...grpc.CallOption) (*GetRefreshTokenResponse, error)
	IncrementViewCount(ctx context.Context, in *IncrementViewCountRequest, opts ...grpc.CallOption) (*IncrementViewCountResponse, error)
	LookupPicCommentVote(ctx context.Context, in *LookupPicCommentVoteRequest, opts ...grpc.CallOption) (*LookupPicCommentVoteResponse, error)
	LookupPicDetails(ctx context.Context, in *LookupPicDetailsRequest, opts ...grpc.CallOption) (*LookupPicDetailsResponse, error)
	LookupPicExtension(ctx context.Context, in *LookupPicExtensionRequest, opts ...grpc.CallOption) (*LookupPicExtensionResponse, error)
	LookupPicFile(ctx context.Context, in *LookupPicFileRequest, opts ...grpc.CallOption) (*LookupPicFileResponse, error)
	LookupPicVote(ctx context.Context, in *LookupPicVoteRequest, opts ...grpc.CallOption) (*LookupPicVoteResponse, error)
	LookupPublicUserInfo(ctx context.Context, in *LookupPublicUserInfoRequest, opts ...grpc.CallOption) (*LookupPublicUserInfoResponse, error)
	LookupUser(ctx context.Context, in *LookupUserRequest, opts ...grpc.CallOption) (*LookupUserResponse, error)
	PurgePic(ctx context.Context, in *PurgePicRequest, opts ...grpc.CallOption) (*PurgePicResponse, error)
	ReadPicFile(ctx context.Context, opts ...grpc.CallOption) (PixurService_ReadPicFileClient, error)
	SoftDeletePic(ctx context.Context, in *SoftDeletePicRequest, opts ...grpc.CallOption) (*SoftDeletePicResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	UpsertPic(ctx context.Context, in *UpsertPicRequest, opts ...grpc.CallOption) (*UpsertPicResponse, error)
	UpsertPicCommentVote(ctx context.Context, in *UpsertPicCommentVoteRequest, opts ...grpc.CallOption) (*UpsertPicCommentVoteResponse, error)
	UpsertPicVote(ctx context.Context, in *UpsertPicVoteRequest, opts ...grpc.CallOption) (*UpsertPicVoteResponse, error)
	WatchBackendConfiguration(ctx context.Context, in *WatchBackendConfigurationRequest, opts ...grpc.CallOption) (PixurService_WatchBackendConfigurationClient, error)
}

PixurServiceClient is the client API for PixurService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPixurServiceClient

func NewPixurServiceClient(cc *grpc.ClientConn) PixurServiceClient

type PixurServiceServer

type PixurServiceServer interface {
	AddPicComment(context.Context, *AddPicCommentRequest) (*AddPicCommentResponse, error)
	AddPicTags(context.Context, *AddPicTagsRequest) (*AddPicTagsResponse, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	DeleteToken(context.Context, *DeleteTokenRequest) (*DeleteTokenResponse, error)
	FindIndexPics(context.Context, *FindIndexPicsRequest) (*FindIndexPicsResponse, error)
	FindPicCommentVotes(context.Context, *FindPicCommentVotesRequest) (*FindPicCommentVotesResponse, error)
	FindSchedPics(context.Context, *FindSchedPicsRequest) (*FindSchedPicsResponse, error)
	FindSimilarPics(context.Context, *FindSimilarPicsRequest) (*FindSimilarPicsResponse, error)
	FindUserEvents(context.Context, *FindUserEventsRequest) (*FindUserEventsResponse, error)
	GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error)
	IncrementViewCount(context.Context, *IncrementViewCountRequest) (*IncrementViewCountResponse, error)
	LookupPicCommentVote(context.Context, *LookupPicCommentVoteRequest) (*LookupPicCommentVoteResponse, error)
	LookupPicDetails(context.Context, *LookupPicDetailsRequest) (*LookupPicDetailsResponse, error)
	LookupPicExtension(context.Context, *LookupPicExtensionRequest) (*LookupPicExtensionResponse, error)
	LookupPicFile(context.Context, *LookupPicFileRequest) (*LookupPicFileResponse, error)
	LookupPicVote(context.Context, *LookupPicVoteRequest) (*LookupPicVoteResponse, error)
	LookupPublicUserInfo(context.Context, *LookupPublicUserInfoRequest) (*LookupPublicUserInfoResponse, error)
	LookupUser(context.Context, *LookupUserRequest) (*LookupUserResponse, error)
	PurgePic(context.Context, *PurgePicRequest) (*PurgePicResponse, error)
	ReadPicFile(PixurService_ReadPicFileServer) error
	SoftDeletePic(context.Context, *SoftDeletePicRequest) (*SoftDeletePicResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	UpsertPic(context.Context, *UpsertPicRequest) (*UpsertPicResponse, error)
	UpsertPicCommentVote(context.Context, *UpsertPicCommentVoteRequest) (*UpsertPicCommentVoteResponse, error)
	UpsertPicVote(context.Context, *UpsertPicVoteRequest) (*UpsertPicVoteResponse, error)
	WatchBackendConfiguration(*WatchBackendConfigurationRequest, PixurService_WatchBackendConfigurationServer) error
}

PixurServiceServer is the server API for PixurService service.

type PixurService_ReadPicFileClient

type PixurService_ReadPicFileClient interface {
	Send(*ReadPicFileRequest) error
	Recv() (*ReadPicFileResponse, error)
	grpc.ClientStream
}

type PixurService_ReadPicFileServer

type PixurService_ReadPicFileServer interface {
	Send(*ReadPicFileResponse) error
	Recv() (*ReadPicFileRequest, error)
	grpc.ServerStream
}

type PixurService_WatchBackendConfigurationClient

type PixurService_WatchBackendConfigurationClient interface {
	Recv() (*WatchBackendConfigurationResponse, error)
	grpc.ClientStream
}

type PixurService_WatchBackendConfigurationServer

type PixurService_WatchBackendConfigurationServer interface {
	Send(*WatchBackendConfigurationResponse) error
	grpc.ServerStream
}

type PublicUserInfo

type PublicUserInfo struct {
	// user_id is the id of the user.  It is always present.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// ident is the public name of the user.  It may be absent if the user does not have a name.
	Ident string `protobuf:"bytes,2,opt,name=ident,proto3" json:"ident,omitempty"`
	// created_time is when the user was created.
	CreatedTime          *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

PublicUserInfo is information about a user

func (*PublicUserInfo) Descriptor

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

func (*PublicUserInfo) GetCreatedTime

func (m *PublicUserInfo) GetCreatedTime() *timestamp.Timestamp

func (*PublicUserInfo) GetIdent

func (m *PublicUserInfo) GetIdent() string

func (*PublicUserInfo) GetUserId

func (m *PublicUserInfo) GetUserId() string

func (*PublicUserInfo) ProtoMessage

func (*PublicUserInfo) ProtoMessage()

func (*PublicUserInfo) Reset

func (m *PublicUserInfo) Reset()

func (*PublicUserInfo) String

func (m *PublicUserInfo) String() string

func (*PublicUserInfo) XXX_DiscardUnknown

func (m *PublicUserInfo) XXX_DiscardUnknown()

func (*PublicUserInfo) XXX_Marshal

func (m *PublicUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicUserInfo) XXX_Merge

func (m *PublicUserInfo) XXX_Merge(src proto.Message)

func (*PublicUserInfo) XXX_Size

func (m *PublicUserInfo) XXX_Size() int

func (*PublicUserInfo) XXX_Unmarshal

func (m *PublicUserInfo) XXX_Unmarshal(b []byte) error

type PurgePicRequest

type PurgePicRequest struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PurgePicRequest) Descriptor

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

func (*PurgePicRequest) GetPicId

func (m *PurgePicRequest) GetPicId() string

func (*PurgePicRequest) ProtoMessage

func (*PurgePicRequest) ProtoMessage()

func (*PurgePicRequest) Reset

func (m *PurgePicRequest) Reset()

func (*PurgePicRequest) String

func (m *PurgePicRequest) String() string

func (*PurgePicRequest) XXX_DiscardUnknown

func (m *PurgePicRequest) XXX_DiscardUnknown()

func (*PurgePicRequest) XXX_Marshal

func (m *PurgePicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgePicRequest) XXX_Merge

func (m *PurgePicRequest) XXX_Merge(src proto.Message)

func (*PurgePicRequest) XXX_Size

func (m *PurgePicRequest) XXX_Size() int

func (*PurgePicRequest) XXX_Unmarshal

func (m *PurgePicRequest) XXX_Unmarshal(b []byte) error

type PurgePicResponse

type PurgePicResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PurgePicResponse) Descriptor

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

func (*PurgePicResponse) ProtoMessage

func (*PurgePicResponse) ProtoMessage()

func (*PurgePicResponse) Reset

func (m *PurgePicResponse) Reset()

func (*PurgePicResponse) String

func (m *PurgePicResponse) String() string

func (*PurgePicResponse) XXX_DiscardUnknown

func (m *PurgePicResponse) XXX_DiscardUnknown()

func (*PurgePicResponse) XXX_Marshal

func (m *PurgePicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgePicResponse) XXX_Merge

func (m *PurgePicResponse) XXX_Merge(src proto.Message)

func (*PurgePicResponse) XXX_Size

func (m *PurgePicResponse) XXX_Size() int

func (*PurgePicResponse) XXX_Unmarshal

func (m *PurgePicResponse) XXX_Unmarshal(b []byte) error

type PwtHeader

type PwtHeader struct {
	Algorithm            PwtHeader_Algorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=pixur.api.PwtHeader_Algorithm" json:"algorithm,omitempty"`
	Version              int64               `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PwtHeader) Descriptor

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

func (*PwtHeader) GetAlgorithm

func (m *PwtHeader) GetAlgorithm() PwtHeader_Algorithm

func (*PwtHeader) GetVersion

func (m *PwtHeader) GetVersion() int64

func (*PwtHeader) ProtoMessage

func (*PwtHeader) ProtoMessage()

func (*PwtHeader) Reset

func (m *PwtHeader) Reset()

func (*PwtHeader) String

func (m *PwtHeader) String() string

func (*PwtHeader) XXX_DiscardUnknown

func (m *PwtHeader) XXX_DiscardUnknown()

func (*PwtHeader) XXX_Marshal

func (m *PwtHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PwtHeader) XXX_Merge

func (m *PwtHeader) XXX_Merge(src proto.Message)

func (*PwtHeader) XXX_Size

func (m *PwtHeader) XXX_Size() int

func (*PwtHeader) XXX_Unmarshal

func (m *PwtHeader) XXX_Unmarshal(b []byte) error

type PwtHeader_Algorithm

type PwtHeader_Algorithm int32
const (
	PwtHeader_UNKNOWN   PwtHeader_Algorithm = 0
	PwtHeader_HS256     PwtHeader_Algorithm = 1
	PwtHeader_RS256     PwtHeader_Algorithm = 2
	PwtHeader_HS512_256 PwtHeader_Algorithm = 3
)

func (PwtHeader_Algorithm) EnumDescriptor

func (PwtHeader_Algorithm) EnumDescriptor() ([]byte, []int)

func (PwtHeader_Algorithm) String

func (x PwtHeader_Algorithm) String() string

type PwtPayload

type PwtPayload struct {
	Subject   string               `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	NotBefore *timestamp.Timestamp `protobuf:"bytes,2,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"`
	NotAfter  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	// represents when this token should be reverified.  Optional.
	SoftNotAfter         *timestamp.Timestamp `protobuf:"bytes,6,opt,name=soft_not_after,json=softNotAfter,proto3" json:"soft_not_after,omitempty"`
	Issuer               string               `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"`
	TokenId              int64                `protobuf:"varint,5,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Type                 PwtPayload_Type      `protobuf:"varint,7,opt,name=type,proto3,enum=pixur.api.PwtPayload_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PwtPayload) Descriptor

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

func (*PwtPayload) GetIssuer

func (m *PwtPayload) GetIssuer() string

func (*PwtPayload) GetNotAfter

func (m *PwtPayload) GetNotAfter() *timestamp.Timestamp

func (*PwtPayload) GetNotBefore

func (m *PwtPayload) GetNotBefore() *timestamp.Timestamp

func (*PwtPayload) GetSoftNotAfter

func (m *PwtPayload) GetSoftNotAfter() *timestamp.Timestamp

func (*PwtPayload) GetSubject

func (m *PwtPayload) GetSubject() string

func (*PwtPayload) GetTokenId

func (m *PwtPayload) GetTokenId() int64

func (*PwtPayload) GetType

func (m *PwtPayload) GetType() PwtPayload_Type

func (*PwtPayload) ProtoMessage

func (*PwtPayload) ProtoMessage()

func (*PwtPayload) Reset

func (m *PwtPayload) Reset()

func (*PwtPayload) String

func (m *PwtPayload) String() string

func (*PwtPayload) XXX_DiscardUnknown

func (m *PwtPayload) XXX_DiscardUnknown()

func (*PwtPayload) XXX_Marshal

func (m *PwtPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PwtPayload) XXX_Merge

func (m *PwtPayload) XXX_Merge(src proto.Message)

func (*PwtPayload) XXX_Size

func (m *PwtPayload) XXX_Size() int

func (*PwtPayload) XXX_Unmarshal

func (m *PwtPayload) XXX_Unmarshal(b []byte) error

type PwtPayload_Type

type PwtPayload_Type int32
const (
	PwtPayload_UNKNOWN PwtPayload_Type = 0
	PwtPayload_AUTH    PwtPayload_Type = 2
	PwtPayload_PIX     PwtPayload_Type = 3
)

func (PwtPayload_Type) EnumDescriptor

func (PwtPayload_Type) EnumDescriptor() ([]byte, []int)

func (PwtPayload_Type) String

func (x PwtPayload_Type) String() string

type ReadPicFileRequest

type ReadPicFileRequest struct {
	PicFileId string         `protobuf:"bytes,1,opt,name=pic_file_id,json=picFileId,proto3" json:"pic_file_id,omitempty"`
	Format    PicFile_Format `protobuf:"varint,2,opt,name=format,proto3,enum=pixur.api.PicFile_Format" json:"format,omitempty"`
	// The offset into the file to start reading at.  Required
	Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// The maximum number of bytes to read.   Maybe be 0.
	Limit                int64    `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReadPicFileRequest) Descriptor

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

func (*ReadPicFileRequest) GetFormat

func (m *ReadPicFileRequest) GetFormat() PicFile_Format

func (*ReadPicFileRequest) GetLimit

func (m *ReadPicFileRequest) GetLimit() int64

func (*ReadPicFileRequest) GetOffset

func (m *ReadPicFileRequest) GetOffset() int64

func (*ReadPicFileRequest) GetPicFileId

func (m *ReadPicFileRequest) GetPicFileId() string

func (*ReadPicFileRequest) ProtoMessage

func (*ReadPicFileRequest) ProtoMessage()

func (*ReadPicFileRequest) Reset

func (m *ReadPicFileRequest) Reset()

func (*ReadPicFileRequest) String

func (m *ReadPicFileRequest) String() string

func (*ReadPicFileRequest) XXX_DiscardUnknown

func (m *ReadPicFileRequest) XXX_DiscardUnknown()

func (*ReadPicFileRequest) XXX_Marshal

func (m *ReadPicFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadPicFileRequest) XXX_Merge

func (m *ReadPicFileRequest) XXX_Merge(src proto.Message)

func (*ReadPicFileRequest) XXX_Size

func (m *ReadPicFileRequest) XXX_Size() int

func (*ReadPicFileRequest) XXX_Unmarshal

func (m *ReadPicFileRequest) XXX_Unmarshal(b []byte) error

type ReadPicFileResponse

type ReadPicFileResponse struct {
	// may be empty
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// indicates that the end of the pic has been reached.
	Eof                  bool     `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReadPicFileResponse) Descriptor

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

func (*ReadPicFileResponse) GetData

func (m *ReadPicFileResponse) GetData() []byte

func (*ReadPicFileResponse) GetEof

func (m *ReadPicFileResponse) GetEof() bool

func (*ReadPicFileResponse) ProtoMessage

func (*ReadPicFileResponse) ProtoMessage()

func (*ReadPicFileResponse) Reset

func (m *ReadPicFileResponse) Reset()

func (*ReadPicFileResponse) String

func (m *ReadPicFileResponse) String() string

func (*ReadPicFileResponse) XXX_DiscardUnknown

func (m *ReadPicFileResponse) XXX_DiscardUnknown()

func (*ReadPicFileResponse) XXX_Marshal

func (m *ReadPicFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadPicFileResponse) XXX_Merge

func (m *ReadPicFileResponse) XXX_Merge(src proto.Message)

func (*ReadPicFileResponse) XXX_Size

func (m *ReadPicFileResponse) XXX_Size() int

func (*ReadPicFileResponse) XXX_Unmarshal

func (m *ReadPicFileResponse) XXX_Unmarshal(b []byte) error

type ServiceOpts

type ServiceOpts struct {
	// a vaguely defined, but monotonically increasing "version".
	ApiVersion int64 `protobuf:"varint,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The header key used to when using an auth token.
	AuthTokenHeaderKey string `protobuf:"bytes,2,opt,name=auth_token_header_key,json=authTokenHeaderKey,proto3" json:"auth_token_header_key,omitempty"`
	// The header key used to when using a pix token.
	PixTokenHeaderKey string `protobuf:"bytes,3,opt,name=pix_token_header_key,json=pixTokenHeaderKey,proto3" json:"pix_token_header_key,omitempty"`
	// Used in responses (e.g. ReadPicFile) to indicate suggested http headers.
	// See pixur.api.HttpHeader
	HttpHeaderKey        string   `protobuf:"bytes,4,opt,name=http_header_key,json=httpHeaderKey,proto3" json:"http_header_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceOpts) Descriptor

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

func (*ServiceOpts) GetApiVersion

func (m *ServiceOpts) GetApiVersion() int64

func (*ServiceOpts) GetAuthTokenHeaderKey

func (m *ServiceOpts) GetAuthTokenHeaderKey() string

func (*ServiceOpts) GetHttpHeaderKey

func (m *ServiceOpts) GetHttpHeaderKey() string

func (*ServiceOpts) GetPixTokenHeaderKey

func (m *ServiceOpts) GetPixTokenHeaderKey() string

func (*ServiceOpts) ProtoMessage

func (*ServiceOpts) ProtoMessage()

func (*ServiceOpts) Reset

func (m *ServiceOpts) Reset()

func (*ServiceOpts) String

func (m *ServiceOpts) String() string

func (*ServiceOpts) XXX_DiscardUnknown

func (m *ServiceOpts) XXX_DiscardUnknown()

func (*ServiceOpts) XXX_Marshal

func (m *ServiceOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceOpts) XXX_Merge

func (m *ServiceOpts) XXX_Merge(src proto.Message)

func (*ServiceOpts) XXX_Size

func (m *ServiceOpts) XXX_Size() int

func (*ServiceOpts) XXX_Unmarshal

func (m *ServiceOpts) XXX_Unmarshal(b []byte) error

type SoftDeletePicRequest

type SoftDeletePicRequest struct {
	PicId                string               `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	Details              string               `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	Reason               DeletionReason       `protobuf:"varint,3,opt,name=reason,proto3,enum=pixur.api.DeletionReason" json:"reason,omitempty"`
	DeletionTime         *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*SoftDeletePicRequest) Descriptor

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

func (*SoftDeletePicRequest) GetDeletionTime

func (m *SoftDeletePicRequest) GetDeletionTime() *timestamp.Timestamp

func (*SoftDeletePicRequest) GetDetails

func (m *SoftDeletePicRequest) GetDetails() string

func (*SoftDeletePicRequest) GetPicId

func (m *SoftDeletePicRequest) GetPicId() string

func (*SoftDeletePicRequest) GetReason

func (m *SoftDeletePicRequest) GetReason() DeletionReason

func (*SoftDeletePicRequest) ProtoMessage

func (*SoftDeletePicRequest) ProtoMessage()

func (*SoftDeletePicRequest) Reset

func (m *SoftDeletePicRequest) Reset()

func (*SoftDeletePicRequest) String

func (m *SoftDeletePicRequest) String() string

func (*SoftDeletePicRequest) XXX_DiscardUnknown

func (m *SoftDeletePicRequest) XXX_DiscardUnknown()

func (*SoftDeletePicRequest) XXX_Marshal

func (m *SoftDeletePicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoftDeletePicRequest) XXX_Merge

func (m *SoftDeletePicRequest) XXX_Merge(src proto.Message)

func (*SoftDeletePicRequest) XXX_Size

func (m *SoftDeletePicRequest) XXX_Size() int

func (*SoftDeletePicRequest) XXX_Unmarshal

func (m *SoftDeletePicRequest) XXX_Unmarshal(b []byte) error

type SoftDeletePicResponse

type SoftDeletePicResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SoftDeletePicResponse) Descriptor

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

func (*SoftDeletePicResponse) ProtoMessage

func (*SoftDeletePicResponse) ProtoMessage()

func (*SoftDeletePicResponse) Reset

func (m *SoftDeletePicResponse) Reset()

func (*SoftDeletePicResponse) String

func (m *SoftDeletePicResponse) String() string

func (*SoftDeletePicResponse) XXX_DiscardUnknown

func (m *SoftDeletePicResponse) XXX_DiscardUnknown()

func (*SoftDeletePicResponse) XXX_Marshal

func (m *SoftDeletePicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoftDeletePicResponse) XXX_Merge

func (m *SoftDeletePicResponse) XXX_Merge(src proto.Message)

func (*SoftDeletePicResponse) XXX_Size

func (m *SoftDeletePicResponse) XXX_Size() int

func (*SoftDeletePicResponse) XXX_Unmarshal

func (m *SoftDeletePicResponse) XXX_Unmarshal(b []byte) error

type UnimplementedPixurServiceServer

type UnimplementedPixurServiceServer struct {
}

UnimplementedPixurServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPixurServiceServer) AddPicComment

func (*UnimplementedPixurServiceServer) AddPicTags

func (*UnimplementedPixurServiceServer) CreateUser

func (*UnimplementedPixurServiceServer) DeleteToken

func (*UnimplementedPixurServiceServer) FindIndexPics

func (*UnimplementedPixurServiceServer) FindPicCommentVotes

func (*UnimplementedPixurServiceServer) FindSchedPics

func (*UnimplementedPixurServiceServer) FindSimilarPics

func (*UnimplementedPixurServiceServer) FindUserEvents

func (*UnimplementedPixurServiceServer) GetRefreshToken

func (*UnimplementedPixurServiceServer) IncrementViewCount

func (*UnimplementedPixurServiceServer) LookupPicCommentVote

func (*UnimplementedPixurServiceServer) LookupPicDetails

func (*UnimplementedPixurServiceServer) LookupPicExtension

func (*UnimplementedPixurServiceServer) LookupPicFile

func (*UnimplementedPixurServiceServer) LookupPicVote

func (*UnimplementedPixurServiceServer) LookupPublicUserInfo

func (*UnimplementedPixurServiceServer) LookupUser

func (*UnimplementedPixurServiceServer) PurgePic

func (*UnimplementedPixurServiceServer) ReadPicFile

func (*UnimplementedPixurServiceServer) SoftDeletePic

func (*UnimplementedPixurServiceServer) UpdateUser

func (*UnimplementedPixurServiceServer) UpsertPic

func (*UnimplementedPixurServiceServer) UpsertPicCommentVote

func (*UnimplementedPixurServiceServer) UpsertPicVote

type UpdateUserRequest

type UpdateUserRequest struct {
	UserId               string                              `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Version              int64                               `protobuf:"fixed64,2,opt,name=version,proto3" json:"version,omitempty"`
	Ident                *UpdateUserRequest_ChangeIdent      `protobuf:"bytes,3,opt,name=ident,proto3" json:"ident,omitempty"`
	Secret               *UpdateUserRequest_ChangeSecret     `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Capability           *UpdateUserRequest_ChangeCapability `protobuf:"bytes,5,opt,name=capability,proto3" json:"capability,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*UpdateUserRequest) Descriptor

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

func (*UpdateUserRequest) GetCapability

func (*UpdateUserRequest) GetIdent

func (*UpdateUserRequest) GetSecret

func (*UpdateUserRequest) GetUserId

func (m *UpdateUserRequest) GetUserId() string

func (*UpdateUserRequest) GetVersion

func (m *UpdateUserRequest) GetVersion() int64

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) Reset

func (m *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (m *UpdateUserRequest) String() string

func (*UpdateUserRequest) XXX_DiscardUnknown

func (m *UpdateUserRequest) XXX_DiscardUnknown()

func (*UpdateUserRequest) XXX_Marshal

func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest) XXX_Merge

func (m *UpdateUserRequest) XXX_Merge(src proto.Message)

func (*UpdateUserRequest) XXX_Size

func (m *UpdateUserRequest) XXX_Size() int

func (*UpdateUserRequest) XXX_Unmarshal

func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error

type UpdateUserRequest_ChangeCapability

type UpdateUserRequest_ChangeCapability struct {
	SetCapability        []Capability_Cap `` /* 138-byte string literal not displayed */
	ClearCapability      []Capability_Cap `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*UpdateUserRequest_ChangeCapability) Descriptor

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

func (*UpdateUserRequest_ChangeCapability) GetClearCapability

func (m *UpdateUserRequest_ChangeCapability) GetClearCapability() []Capability_Cap

func (*UpdateUserRequest_ChangeCapability) GetSetCapability

func (m *UpdateUserRequest_ChangeCapability) GetSetCapability() []Capability_Cap

func (*UpdateUserRequest_ChangeCapability) ProtoMessage

func (*UpdateUserRequest_ChangeCapability) ProtoMessage()

func (*UpdateUserRequest_ChangeCapability) Reset

func (*UpdateUserRequest_ChangeCapability) String

func (*UpdateUserRequest_ChangeCapability) XXX_DiscardUnknown

func (m *UpdateUserRequest_ChangeCapability) XXX_DiscardUnknown()

func (*UpdateUserRequest_ChangeCapability) XXX_Marshal

func (m *UpdateUserRequest_ChangeCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest_ChangeCapability) XXX_Merge

func (*UpdateUserRequest_ChangeCapability) XXX_Size

func (*UpdateUserRequest_ChangeCapability) XXX_Unmarshal

func (m *UpdateUserRequest_ChangeCapability) XXX_Unmarshal(b []byte) error

type UpdateUserRequest_ChangeIdent

type UpdateUserRequest_ChangeIdent struct {
	Ident                string   `protobuf:"bytes,1,opt,name=ident,proto3" json:"ident,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserRequest_ChangeIdent) Descriptor

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

func (*UpdateUserRequest_ChangeIdent) GetIdent

func (m *UpdateUserRequest_ChangeIdent) GetIdent() string

func (*UpdateUserRequest_ChangeIdent) ProtoMessage

func (*UpdateUserRequest_ChangeIdent) ProtoMessage()

func (*UpdateUserRequest_ChangeIdent) Reset

func (m *UpdateUserRequest_ChangeIdent) Reset()

func (*UpdateUserRequest_ChangeIdent) String

func (*UpdateUserRequest_ChangeIdent) XXX_DiscardUnknown

func (m *UpdateUserRequest_ChangeIdent) XXX_DiscardUnknown()

func (*UpdateUserRequest_ChangeIdent) XXX_Marshal

func (m *UpdateUserRequest_ChangeIdent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest_ChangeIdent) XXX_Merge

func (m *UpdateUserRequest_ChangeIdent) XXX_Merge(src proto.Message)

func (*UpdateUserRequest_ChangeIdent) XXX_Size

func (m *UpdateUserRequest_ChangeIdent) XXX_Size() int

func (*UpdateUserRequest_ChangeIdent) XXX_Unmarshal

func (m *UpdateUserRequest_ChangeIdent) XXX_Unmarshal(b []byte) error

type UpdateUserRequest_ChangeSecret

type UpdateUserRequest_ChangeSecret struct {
	Secret               string   `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserRequest_ChangeSecret) Descriptor

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

func (*UpdateUserRequest_ChangeSecret) GetSecret

func (m *UpdateUserRequest_ChangeSecret) GetSecret() string

func (*UpdateUserRequest_ChangeSecret) ProtoMessage

func (*UpdateUserRequest_ChangeSecret) ProtoMessage()

func (*UpdateUserRequest_ChangeSecret) Reset

func (m *UpdateUserRequest_ChangeSecret) Reset()

func (*UpdateUserRequest_ChangeSecret) String

func (*UpdateUserRequest_ChangeSecret) XXX_DiscardUnknown

func (m *UpdateUserRequest_ChangeSecret) XXX_DiscardUnknown()

func (*UpdateUserRequest_ChangeSecret) XXX_Marshal

func (m *UpdateUserRequest_ChangeSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest_ChangeSecret) XXX_Merge

func (m *UpdateUserRequest_ChangeSecret) XXX_Merge(src proto.Message)

func (*UpdateUserRequest_ChangeSecret) XXX_Size

func (m *UpdateUserRequest_ChangeSecret) XXX_Size() int

func (*UpdateUserRequest_ChangeSecret) XXX_Unmarshal

func (m *UpdateUserRequest_ChangeSecret) XXX_Unmarshal(b []byte) error

type UpdateUserResponse

type UpdateUserResponse struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserResponse) Descriptor

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

func (*UpdateUserResponse) GetUser

func (m *UpdateUserResponse) GetUser() *User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) Reset

func (m *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (m *UpdateUserResponse) String() string

func (*UpdateUserResponse) XXX_DiscardUnknown

func (m *UpdateUserResponse) XXX_DiscardUnknown()

func (*UpdateUserResponse) XXX_Marshal

func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserResponse) XXX_Merge

func (m *UpdateUserResponse) XXX_Merge(src proto.Message)

func (*UpdateUserResponse) XXX_Size

func (m *UpdateUserResponse) XXX_Size() int

func (*UpdateUserResponse) XXX_Unmarshal

func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error

type UpsertPicCommentVoteRequest

type UpsertPicCommentVoteRequest struct {
	PicId     string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	// Optional.   Not necessary when creating for the first time.
	Version              int64               `protobuf:"fixed64,3,opt,name=version,proto3" json:"version,omitempty"`
	Vote                 PicCommentVote_Vote `protobuf:"varint,4,opt,name=vote,proto3,enum=pixur.api.PicCommentVote_Vote" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*UpsertPicCommentVoteRequest) Descriptor

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

func (*UpsertPicCommentVoteRequest) GetCommentId

func (m *UpsertPicCommentVoteRequest) GetCommentId() string

func (*UpsertPicCommentVoteRequest) GetPicId

func (m *UpsertPicCommentVoteRequest) GetPicId() string

func (*UpsertPicCommentVoteRequest) GetVersion

func (m *UpsertPicCommentVoteRequest) GetVersion() int64

func (*UpsertPicCommentVoteRequest) GetVote

func (*UpsertPicCommentVoteRequest) ProtoMessage

func (*UpsertPicCommentVoteRequest) ProtoMessage()

func (*UpsertPicCommentVoteRequest) Reset

func (m *UpsertPicCommentVoteRequest) Reset()

func (*UpsertPicCommentVoteRequest) String

func (m *UpsertPicCommentVoteRequest) String() string

func (*UpsertPicCommentVoteRequest) XXX_DiscardUnknown

func (m *UpsertPicCommentVoteRequest) XXX_DiscardUnknown()

func (*UpsertPicCommentVoteRequest) XXX_Marshal

func (m *UpsertPicCommentVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicCommentVoteRequest) XXX_Merge

func (m *UpsertPicCommentVoteRequest) XXX_Merge(src proto.Message)

func (*UpsertPicCommentVoteRequest) XXX_Size

func (m *UpsertPicCommentVoteRequest) XXX_Size() int

func (*UpsertPicCommentVoteRequest) XXX_Unmarshal

func (m *UpsertPicCommentVoteRequest) XXX_Unmarshal(b []byte) error

type UpsertPicCommentVoteResponse

type UpsertPicCommentVoteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertPicCommentVoteResponse) Descriptor

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

func (*UpsertPicCommentVoteResponse) ProtoMessage

func (*UpsertPicCommentVoteResponse) ProtoMessage()

func (*UpsertPicCommentVoteResponse) Reset

func (m *UpsertPicCommentVoteResponse) Reset()

func (*UpsertPicCommentVoteResponse) String

func (*UpsertPicCommentVoteResponse) XXX_DiscardUnknown

func (m *UpsertPicCommentVoteResponse) XXX_DiscardUnknown()

func (*UpsertPicCommentVoteResponse) XXX_Marshal

func (m *UpsertPicCommentVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicCommentVoteResponse) XXX_Merge

func (m *UpsertPicCommentVoteResponse) XXX_Merge(src proto.Message)

func (*UpsertPicCommentVoteResponse) XXX_Size

func (m *UpsertPicCommentVoteResponse) XXX_Size() int

func (*UpsertPicCommentVoteResponse) XXX_Unmarshal

func (m *UpsertPicCommentVoteResponse) XXX_Unmarshal(b []byte) error

type UpsertPicRequest

type UpsertPicRequest struct {
	// url is an optional field for the Pixur backend to download the pic from.
	// Either url and/or data must be set.   If the data field is set along
	// with the URL, the url is treated as regular metadata and not fetched.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// referrer is the referrer url used to fetch the resource.  If no data is
	// set, the url will be used to retrieve the data, along with the referrer
	// being set in the request.  If data is set, referrer is treated as
	// additional metadata.  May not be used if url is not set.
	Referrer string `protobuf:"bytes,5,opt,name=referrer,proto3" json:"referrer,omitempty"`
	// name is an optional field indicating a reasonable file name for the pic.
	// If name and url are set, the name field will override the name
	// automatically derived from the URL.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// data is the file contents of the upload.  It must contain a valid pic
	// if present.  It may be left absent if there is a valid url instead.  This
	// field takes precedence over the url field if both are specified.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// md5_hash is the hash of the pic contents.  It is used to verify the pic
	// is valid when downloading from url, or when set in data.  If the Pixur
	// backend already has a pic with a matching md5_hash, it may not use
	// either data or url (at least one must still be specified, though).
	Md5Hash []byte `protobuf:"bytes,4,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"`
	// Optional extension data.  You must have the correct permissions to set this.
	Ext                  map[string]*any.Any `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

UpsertPicRequest is a request to upload and possibly merge with another picture.

func (*UpsertPicRequest) Descriptor

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

func (*UpsertPicRequest) GetData

func (m *UpsertPicRequest) GetData() []byte

func (*UpsertPicRequest) GetExt

func (m *UpsertPicRequest) GetExt() map[string]*any.Any

func (*UpsertPicRequest) GetMd5Hash

func (m *UpsertPicRequest) GetMd5Hash() []byte

func (*UpsertPicRequest) GetName

func (m *UpsertPicRequest) GetName() string

func (*UpsertPicRequest) GetReferrer

func (m *UpsertPicRequest) GetReferrer() string

func (*UpsertPicRequest) GetUrl

func (m *UpsertPicRequest) GetUrl() string

func (*UpsertPicRequest) ProtoMessage

func (*UpsertPicRequest) ProtoMessage()

func (*UpsertPicRequest) Reset

func (m *UpsertPicRequest) Reset()

func (*UpsertPicRequest) String

func (m *UpsertPicRequest) String() string

func (*UpsertPicRequest) XXX_DiscardUnknown

func (m *UpsertPicRequest) XXX_DiscardUnknown()

func (*UpsertPicRequest) XXX_Marshal

func (m *UpsertPicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicRequest) XXX_Merge

func (m *UpsertPicRequest) XXX_Merge(src proto.Message)

func (*UpsertPicRequest) XXX_Size

func (m *UpsertPicRequest) XXX_Size() int

func (*UpsertPicRequest) XXX_Unmarshal

func (m *UpsertPicRequest) XXX_Unmarshal(b []byte) error

type UpsertPicResponse

type UpsertPicResponse struct {
	// pic is the newly created or updated picture.
	Pic                  *Pic     `protobuf:"bytes,1,opt,name=pic,proto3" json:"pic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertPicResponse) Descriptor

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

func (*UpsertPicResponse) GetPic

func (m *UpsertPicResponse) GetPic() *Pic

func (*UpsertPicResponse) ProtoMessage

func (*UpsertPicResponse) ProtoMessage()

func (*UpsertPicResponse) Reset

func (m *UpsertPicResponse) Reset()

func (*UpsertPicResponse) String

func (m *UpsertPicResponse) String() string

func (*UpsertPicResponse) XXX_DiscardUnknown

func (m *UpsertPicResponse) XXX_DiscardUnknown()

func (*UpsertPicResponse) XXX_Marshal

func (m *UpsertPicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicResponse) XXX_Merge

func (m *UpsertPicResponse) XXX_Merge(src proto.Message)

func (*UpsertPicResponse) XXX_Size

func (m *UpsertPicResponse) XXX_Size() int

func (*UpsertPicResponse) XXX_Unmarshal

func (m *UpsertPicResponse) XXX_Unmarshal(b []byte) error

type UpsertPicVoteRequest

type UpsertPicVoteRequest struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// Optional.   Not necessary when creating for the first time.
	Version              int64        `protobuf:"fixed64,3,opt,name=version,proto3" json:"version,omitempty"`
	Vote                 PicVote_Vote `protobuf:"varint,2,opt,name=vote,proto3,enum=pixur.api.PicVote_Vote" json:"vote,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UpsertPicVoteRequest) Descriptor

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

func (*UpsertPicVoteRequest) GetPicId

func (m *UpsertPicVoteRequest) GetPicId() string

func (*UpsertPicVoteRequest) GetVersion

func (m *UpsertPicVoteRequest) GetVersion() int64

func (*UpsertPicVoteRequest) GetVote

func (m *UpsertPicVoteRequest) GetVote() PicVote_Vote

func (*UpsertPicVoteRequest) ProtoMessage

func (*UpsertPicVoteRequest) ProtoMessage()

func (*UpsertPicVoteRequest) Reset

func (m *UpsertPicVoteRequest) Reset()

func (*UpsertPicVoteRequest) String

func (m *UpsertPicVoteRequest) String() string

func (*UpsertPicVoteRequest) XXX_DiscardUnknown

func (m *UpsertPicVoteRequest) XXX_DiscardUnknown()

func (*UpsertPicVoteRequest) XXX_Marshal

func (m *UpsertPicVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicVoteRequest) XXX_Merge

func (m *UpsertPicVoteRequest) XXX_Merge(src proto.Message)

func (*UpsertPicVoteRequest) XXX_Size

func (m *UpsertPicVoteRequest) XXX_Size() int

func (*UpsertPicVoteRequest) XXX_Unmarshal

func (m *UpsertPicVoteRequest) XXX_Unmarshal(b []byte) error

type UpsertPicVoteResponse

type UpsertPicVoteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertPicVoteResponse) Descriptor

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

func (*UpsertPicVoteResponse) ProtoMessage

func (*UpsertPicVoteResponse) ProtoMessage()

func (*UpsertPicVoteResponse) Reset

func (m *UpsertPicVoteResponse) Reset()

func (*UpsertPicVoteResponse) String

func (m *UpsertPicVoteResponse) String() string

func (*UpsertPicVoteResponse) XXX_DiscardUnknown

func (m *UpsertPicVoteResponse) XXX_DiscardUnknown()

func (*UpsertPicVoteResponse) XXX_Marshal

func (m *UpsertPicVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertPicVoteResponse) XXX_Merge

func (m *UpsertPicVoteResponse) XXX_Merge(src proto.Message)

func (*UpsertPicVoteResponse) XXX_Size

func (m *UpsertPicVoteResponse) XXX_Size() int

func (*UpsertPicVoteResponse) XXX_Unmarshal

func (m *UpsertPicVoteResponse) XXX_Unmarshal(b []byte) error

type User

type User struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Ident  string `protobuf:"bytes,2,opt,name=ident,proto3" json:"ident,omitempty"`
	// created_time is when the user was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// modified_time is when the user was last modified.
	ModifiedTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// modified_time is when the user was last modified.
	LastSeenTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
	// version is the version of the user.  It is used when updating the user.
	Version              int64            `protobuf:"fixed64,6,opt,name=version,proto3" json:"version,omitempty"`
	Capability           []Capability_Cap `protobuf:"varint,7,rep,packed,name=capability,proto3,enum=pixur.api.Capability_Cap" json:"capability,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetCapability

func (m *User) GetCapability() []Capability_Cap

func (*User) GetCreatedTime

func (m *User) GetCreatedTime() *timestamp.Timestamp

func (*User) GetIdent

func (m *User) GetIdent() string

func (*User) GetLastSeenTime

func (m *User) GetLastSeenTime() *timestamp.Timestamp

func (*User) GetModifiedTime

func (m *User) GetModifiedTime() *timestamp.Timestamp

func (*User) GetUserId

func (m *User) GetUserId() string

func (*User) GetVersion

func (m *User) GetVersion() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserEvent

type UserEvent struct {
	// user_id is the id of the user this event applies to.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// user_event_id is the unique identifier for this event.  It should be considered as an opaque
	// token.  It generally consistes of the user_id, created_time and an optional identifier.
	UserEventId string `protobuf:"bytes,2,opt,name=user_event_id,json=userEventId,proto3" json:"user_event_id,omitempty"`
	// created_time is when the user event was created.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Types that are valid to be assigned to Evt:
	//	*UserEvent_OutgoingUpsertPicVote_
	//	*UserEvent_IncomingUpsertPicVote_
	//	*UserEvent_OutgoingPicComment_
	//	*UserEvent_IncomingPicComment_
	//	*UserEvent_UpsertPic_
	Evt                  isUserEvent_Evt `protobuf_oneof:"evt"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UserEvent) Descriptor

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

func (*UserEvent) GetCreatedTime

func (m *UserEvent) GetCreatedTime() *timestamp.Timestamp

func (*UserEvent) GetEvt

func (m *UserEvent) GetEvt() isUserEvent_Evt

func (*UserEvent) GetIncomingPicComment

func (m *UserEvent) GetIncomingPicComment() *UserEvent_IncomingPicComment

func (*UserEvent) GetIncomingUpsertPicVote

func (m *UserEvent) GetIncomingUpsertPicVote() *UserEvent_IncomingUpsertPicVote

func (*UserEvent) GetOutgoingPicComment

func (m *UserEvent) GetOutgoingPicComment() *UserEvent_OutgoingPicComment

func (*UserEvent) GetOutgoingUpsertPicVote

func (m *UserEvent) GetOutgoingUpsertPicVote() *UserEvent_OutgoingUpsertPicVote

func (*UserEvent) GetUpsertPic

func (m *UserEvent) GetUpsertPic() *UserEvent_UpsertPic

func (*UserEvent) GetUserEventId

func (m *UserEvent) GetUserEventId() string

func (*UserEvent) GetUserId

func (m *UserEvent) GetUserId() string

func (*UserEvent) ProtoMessage

func (*UserEvent) ProtoMessage()

func (*UserEvent) Reset

func (m *UserEvent) Reset()

func (*UserEvent) String

func (m *UserEvent) String() string

func (*UserEvent) XXX_DiscardUnknown

func (m *UserEvent) XXX_DiscardUnknown()

func (*UserEvent) XXX_Marshal

func (m *UserEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent) XXX_Merge

func (m *UserEvent) XXX_Merge(src proto.Message)

func (*UserEvent) XXX_OneofWrappers

func (*UserEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UserEvent) XXX_Size

func (m *UserEvent) XXX_Size() int

func (*UserEvent) XXX_Unmarshal

func (m *UserEvent) XXX_Unmarshal(b []byte) error

type UserEvent_IncomingPicComment

type UserEvent_IncomingPicComment struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// comment_id is the newly created child comment, **not** the one owned by user_id.  The
	// comment_parent_id of the given comment is owned by user_id.
	CommentId            string   `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	CommentParentId      string   `protobuf:"bytes,3,opt,name=comment_parent_id,json=commentParentId,proto3" json:"comment_parent_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IncomingPicComment represents commenting on someone else's pic. If a user comments on their own pic, OutgoingPicComment will be used instead of IncomingPicComment.

func (*UserEvent_IncomingPicComment) Descriptor

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

func (*UserEvent_IncomingPicComment) GetCommentId

func (m *UserEvent_IncomingPicComment) GetCommentId() string

func (*UserEvent_IncomingPicComment) GetCommentParentId

func (m *UserEvent_IncomingPicComment) GetCommentParentId() string

func (*UserEvent_IncomingPicComment) GetPicId

func (m *UserEvent_IncomingPicComment) GetPicId() string

func (*UserEvent_IncomingPicComment) ProtoMessage

func (*UserEvent_IncomingPicComment) ProtoMessage()

func (*UserEvent_IncomingPicComment) Reset

func (m *UserEvent_IncomingPicComment) Reset()

func (*UserEvent_IncomingPicComment) String

func (*UserEvent_IncomingPicComment) XXX_DiscardUnknown

func (m *UserEvent_IncomingPicComment) XXX_DiscardUnknown()

func (*UserEvent_IncomingPicComment) XXX_Marshal

func (m *UserEvent_IncomingPicComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent_IncomingPicComment) XXX_Merge

func (m *UserEvent_IncomingPicComment) XXX_Merge(src proto.Message)

func (*UserEvent_IncomingPicComment) XXX_Size

func (m *UserEvent_IncomingPicComment) XXX_Size() int

func (*UserEvent_IncomingPicComment) XXX_Unmarshal

func (m *UserEvent_IncomingPicComment) XXX_Unmarshal(b []byte) error

type UserEvent_IncomingPicComment_

type UserEvent_IncomingPicComment_ struct {
	IncomingPicComment *UserEvent_IncomingPicComment `protobuf:"bytes,7,opt,name=incoming_pic_comment,json=incomingPicComment,proto3,oneof"`
}

type UserEvent_IncomingUpsertPicVote

type UserEvent_IncomingUpsertPicVote struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// The user who made the vote.  May be absent
	SubjectUserId        string   `protobuf:"bytes,2,opt,name=subject_user_id,json=subjectUserId,proto3" json:"subject_user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IncomingUpsertPicVote represents receiving a vote on a pic they made. If a user self-votes, OutgoingUpsertPicVote will be created instead of IncomingUpsertPicVote.

func (*UserEvent_IncomingUpsertPicVote) Descriptor

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

func (*UserEvent_IncomingUpsertPicVote) GetPicId

func (*UserEvent_IncomingUpsertPicVote) GetSubjectUserId

func (m *UserEvent_IncomingUpsertPicVote) GetSubjectUserId() string

func (*UserEvent_IncomingUpsertPicVote) ProtoMessage

func (*UserEvent_IncomingUpsertPicVote) ProtoMessage()

func (*UserEvent_IncomingUpsertPicVote) Reset

func (*UserEvent_IncomingUpsertPicVote) String

func (*UserEvent_IncomingUpsertPicVote) XXX_DiscardUnknown

func (m *UserEvent_IncomingUpsertPicVote) XXX_DiscardUnknown()

func (*UserEvent_IncomingUpsertPicVote) XXX_Marshal

func (m *UserEvent_IncomingUpsertPicVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent_IncomingUpsertPicVote) XXX_Merge

func (m *UserEvent_IncomingUpsertPicVote) XXX_Merge(src proto.Message)

func (*UserEvent_IncomingUpsertPicVote) XXX_Size

func (m *UserEvent_IncomingUpsertPicVote) XXX_Size() int

func (*UserEvent_IncomingUpsertPicVote) XXX_Unmarshal

func (m *UserEvent_IncomingUpsertPicVote) XXX_Unmarshal(b []byte) error

type UserEvent_IncomingUpsertPicVote_

type UserEvent_IncomingUpsertPicVote_ struct {
	IncomingUpsertPicVote *UserEvent_IncomingUpsertPicVote `protobuf:"bytes,5,opt,name=incoming_upsert_pic_vote,json=incomingUpsertPicVote,proto3,oneof"`
}

type UserEvent_OutgoingPicComment

type UserEvent_OutgoingPicComment struct {
	PicId string `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	// comment_id is the comment that this user created.
	CommentId            string   `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OutgoingPicComment represents commenting on someone else's pic. If a user comments on their own pic, OutgoingPicComment will be used instead of IncomingPicComment.

func (*UserEvent_OutgoingPicComment) Descriptor

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

func (*UserEvent_OutgoingPicComment) GetCommentId

func (m *UserEvent_OutgoingPicComment) GetCommentId() string

func (*UserEvent_OutgoingPicComment) GetPicId

func (m *UserEvent_OutgoingPicComment) GetPicId() string

func (*UserEvent_OutgoingPicComment) ProtoMessage

func (*UserEvent_OutgoingPicComment) ProtoMessage()

func (*UserEvent_OutgoingPicComment) Reset

func (m *UserEvent_OutgoingPicComment) Reset()

func (*UserEvent_OutgoingPicComment) String

func (*UserEvent_OutgoingPicComment) XXX_DiscardUnknown

func (m *UserEvent_OutgoingPicComment) XXX_DiscardUnknown()

func (*UserEvent_OutgoingPicComment) XXX_Marshal

func (m *UserEvent_OutgoingPicComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent_OutgoingPicComment) XXX_Merge

func (m *UserEvent_OutgoingPicComment) XXX_Merge(src proto.Message)

func (*UserEvent_OutgoingPicComment) XXX_Size

func (m *UserEvent_OutgoingPicComment) XXX_Size() int

func (*UserEvent_OutgoingPicComment) XXX_Unmarshal

func (m *UserEvent_OutgoingPicComment) XXX_Unmarshal(b []byte) error

type UserEvent_OutgoingPicComment_

type UserEvent_OutgoingPicComment_ struct {
	OutgoingPicComment *UserEvent_OutgoingPicComment `protobuf:"bytes,6,opt,name=outgoing_pic_comment,json=outgoingPicComment,proto3,oneof"`
}

type UserEvent_OutgoingUpsertPicVote

type UserEvent_OutgoingUpsertPicVote struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IncomingUpsertPicVote represents sending a vote on a pic another user made. If a user self-votes, OutgoingUpsertPicVote will be created instead of IncomingUpsertPicVote.

func (*UserEvent_OutgoingUpsertPicVote) Descriptor

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

func (*UserEvent_OutgoingUpsertPicVote) GetPicId

func (*UserEvent_OutgoingUpsertPicVote) ProtoMessage

func (*UserEvent_OutgoingUpsertPicVote) ProtoMessage()

func (*UserEvent_OutgoingUpsertPicVote) Reset

func (*UserEvent_OutgoingUpsertPicVote) String

func (*UserEvent_OutgoingUpsertPicVote) XXX_DiscardUnknown

func (m *UserEvent_OutgoingUpsertPicVote) XXX_DiscardUnknown()

func (*UserEvent_OutgoingUpsertPicVote) XXX_Marshal

func (m *UserEvent_OutgoingUpsertPicVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent_OutgoingUpsertPicVote) XXX_Merge

func (m *UserEvent_OutgoingUpsertPicVote) XXX_Merge(src proto.Message)

func (*UserEvent_OutgoingUpsertPicVote) XXX_Size

func (m *UserEvent_OutgoingUpsertPicVote) XXX_Size() int

func (*UserEvent_OutgoingUpsertPicVote) XXX_Unmarshal

func (m *UserEvent_OutgoingUpsertPicVote) XXX_Unmarshal(b []byte) error

type UserEvent_OutgoingUpsertPicVote_

type UserEvent_OutgoingUpsertPicVote_ struct {
	OutgoingUpsertPicVote *UserEvent_OutgoingUpsertPicVote `protobuf:"bytes,4,opt,name=outgoing_upsert_pic_vote,json=outgoingUpsertPicVote,proto3,oneof"`
}

type UserEvent_UpsertPic

type UserEvent_UpsertPic struct {
	PicId                string   `protobuf:"bytes,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserEvent_UpsertPic) Descriptor

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

func (*UserEvent_UpsertPic) GetPicId

func (m *UserEvent_UpsertPic) GetPicId() string

func (*UserEvent_UpsertPic) ProtoMessage

func (*UserEvent_UpsertPic) ProtoMessage()

func (*UserEvent_UpsertPic) Reset

func (m *UserEvent_UpsertPic) Reset()

func (*UserEvent_UpsertPic) String

func (m *UserEvent_UpsertPic) String() string

func (*UserEvent_UpsertPic) XXX_DiscardUnknown

func (m *UserEvent_UpsertPic) XXX_DiscardUnknown()

func (*UserEvent_UpsertPic) XXX_Marshal

func (m *UserEvent_UpsertPic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEvent_UpsertPic) XXX_Merge

func (m *UserEvent_UpsertPic) XXX_Merge(src proto.Message)

func (*UserEvent_UpsertPic) XXX_Size

func (m *UserEvent_UpsertPic) XXX_Size() int

func (*UserEvent_UpsertPic) XXX_Unmarshal

func (m *UserEvent_UpsertPic) XXX_Unmarshal(b []byte) error

type UserEvent_UpsertPic_

type UserEvent_UpsertPic_ struct {
	UpsertPic *UserEvent_UpsertPic `protobuf:"bytes,8,opt,name=upsert_pic,json=upsertPic,proto3,oneof"`
}

type WatchBackendConfigurationRequest

type WatchBackendConfigurationRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WatchBackendConfigurationRequest) Descriptor

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

func (*WatchBackendConfigurationRequest) ProtoMessage

func (*WatchBackendConfigurationRequest) ProtoMessage()

func (*WatchBackendConfigurationRequest) Reset

func (*WatchBackendConfigurationRequest) String

func (*WatchBackendConfigurationRequest) XXX_DiscardUnknown

func (m *WatchBackendConfigurationRequest) XXX_DiscardUnknown()

func (*WatchBackendConfigurationRequest) XXX_Marshal

func (m *WatchBackendConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchBackendConfigurationRequest) XXX_Merge

func (*WatchBackendConfigurationRequest) XXX_Size

func (m *WatchBackendConfigurationRequest) XXX_Size() int

func (*WatchBackendConfigurationRequest) XXX_Unmarshal

func (m *WatchBackendConfigurationRequest) XXX_Unmarshal(b []byte) error

type WatchBackendConfigurationResponse

type WatchBackendConfigurationResponse struct {
	Version              int64                 `protobuf:"fixed64,1,opt,name=version,proto3" json:"version,omitempty"`
	BackendConfiguration *BackendConfiguration `protobuf:"bytes,2,opt,name=backend_configuration,json=backendConfiguration,proto3" json:"backend_configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*WatchBackendConfigurationResponse) Descriptor

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

func (*WatchBackendConfigurationResponse) GetBackendConfiguration

func (m *WatchBackendConfigurationResponse) GetBackendConfiguration() *BackendConfiguration

func (*WatchBackendConfigurationResponse) GetVersion

func (m *WatchBackendConfigurationResponse) GetVersion() int64

func (*WatchBackendConfigurationResponse) ProtoMessage

func (*WatchBackendConfigurationResponse) ProtoMessage()

func (*WatchBackendConfigurationResponse) Reset

func (*WatchBackendConfigurationResponse) String

func (*WatchBackendConfigurationResponse) XXX_DiscardUnknown

func (m *WatchBackendConfigurationResponse) XXX_DiscardUnknown()

func (*WatchBackendConfigurationResponse) XXX_Marshal

func (m *WatchBackendConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchBackendConfigurationResponse) XXX_Merge

func (*WatchBackendConfigurationResponse) XXX_Size

func (m *WatchBackendConfigurationResponse) XXX_Size() int

func (*WatchBackendConfigurationResponse) XXX_Unmarshal

func (m *WatchBackendConfigurationResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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