Documentation ¶
Index ¶
- Variables
- type BotAction
- type ContentType
- func (ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x ContentType) Enum() *ContentType
- func (ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentType) Number() protoreflect.EnumNumber
- func (x ContentType) String() string
- func (ContentType) Type() protoreflect.EnumType
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetATempo() string
- func (x *Request) GetCreated() uint64
- func (x *Request) GetDownloadURI() string
- func (x *Request) GetESpeakVoice() string
- func (x *Request) GetLength() uint64
- func (x *Request) GetNumberOfConversions() uint32
- func (x *Request) GetRequestHash() string
- func (x *Request) GetSize() uint64
- func (x *Request) GetStoragePath() string
- func (x *Request) GetSubmittedAt() uint64
- func (x *Request) GetSubmittedBy() string
- func (x *Request) GetSubmittedWith() string
- func (x *Request) GetTags() []string
- func (x *Request) GetText() string
- func (x *Request) GetTitle() string
- func (x *Request) GetType() ContentType
- func (x *Request) GetUri() string
- func (x *Request) GetWordsPerMinute() uint32
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- type ResponseCode
- func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseCode) Enum() *ResponseCode
- func (ResponseCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseCode) Number() protoreflect.EnumNumber
- func (x ResponseCode) String() string
- func (ResponseCode) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ContentType_name = map[int32]string{ 0: "URI", 1: "YOUTUBE", 2: "TEXT", 3: "AUDIO", 4: "VIDEO", 5: "PDF", 6: "YOUTUBE_LIST", } ContentType_value = map[string]int32{ "URI": 0, "YOUTUBE": 1, "TEXT": 2, "AUDIO": 3, "VIDEO": 4, "PDF": 5, "YOUTUBE_LIST": 6, } )
Enum value maps for ContentType.
View Source
var ( ResponseCode_name = map[int32]string{ 0: "ERROR", 1: "ACCEPTED", } ResponseCode_value = map[string]int32{ "ERROR": 0, "ACCEPTED": 1, } )
Enum value maps for ResponseCode.
View Source
var ( BotAction_name = map[int32]string{ 0: "SET_CONFIG", 1: "GET_CONFIG", 2: "SHOW_SETTINGS", 4: "HELP", } BotAction_value = map[string]int32{ "SET_CONFIG": 0, "GET_CONFIG": 1, "SHOW_SETTINGS": 2, "HELP": 4, } )
Enum value maps for BotAction.
View Source
var File_rhema_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BotAction ¶
type BotAction int32
func (BotAction) Descriptor ¶
func (BotAction) Descriptor() protoreflect.EnumDescriptor
func (BotAction) EnumDescriptor
deprecated
func (BotAction) Number ¶
func (x BotAction) Number() protoreflect.EnumNumber
func (BotAction) Type ¶
func (BotAction) Type() protoreflect.EnumType
type ContentType ¶
type ContentType int32
const ( ContentType_URI ContentType = 0 ContentType_YOUTUBE ContentType = 1 ContentType_TEXT ContentType = 2 ContentType_AUDIO ContentType = 3 ContentType_VIDEO ContentType = 4 ContentType_PDF ContentType = 5 ContentType_YOUTUBE_LIST ContentType = 6 )
func (ContentType) Descriptor ¶
func (ContentType) Descriptor() protoreflect.EnumDescriptor
func (ContentType) Enum ¶
func (x ContentType) Enum() *ContentType
func (ContentType) EnumDescriptor
deprecated
func (ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentType.Descriptor instead.
func (ContentType) Number ¶
func (x ContentType) Number() protoreflect.EnumNumber
func (ContentType) String ¶
func (x ContentType) String() string
func (ContentType) Type ¶
func (ContentType) Type() protoreflect.EnumType
type Request ¶
type Request struct { Type ContentType `protobuf:"varint,1,opt,name=Type,proto3,enum=ContentType" json:"Type,omitempty"` RequestHash string `protobuf:"bytes,2,opt,name=RequestHash,proto3" json:"RequestHash,omitempty"` Text string `protobuf:"bytes,3,opt,name=Text,proto3" json:"Text,omitempty"` Title string `protobuf:"bytes,4,opt,name=Title,proto3" json:"Title,omitempty"` Created uint64 `protobuf:"varint,5,opt,name=Created,proto3" json:"Created,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=Size,proto3" json:"Size,omitempty"` Length uint64 `protobuf:"varint,7,opt,name=Length,proto3" json:"Length,omitempty"` Uri string `protobuf:"bytes,8,opt,name=Uri,proto3" json:"Uri,omitempty"` SubmittedBy string `protobuf:"bytes,9,opt,name=SubmittedBy,proto3" json:"SubmittedBy,omitempty"` SubmittedAt uint64 `protobuf:"varint,10,opt,name=SubmittedAt,proto3" json:"SubmittedAt,omitempty"` NumberOfConversions uint32 `protobuf:"varint,11,opt,name=NumberOfConversions,proto3" json:"NumberOfConversions,omitempty"` DownloadURI string `protobuf:"bytes,12,opt,name=DownloadURI,proto3" json:"DownloadURI,omitempty"` WordsPerMinute uint32 `protobuf:"varint,13,opt,name=WordsPerMinute,proto3" json:"WordsPerMinute,omitempty"` ESpeakVoice string `protobuf:"bytes,14,opt,name=ESpeakVoice,proto3" json:"ESpeakVoice,omitempty"` ATempo string `protobuf:"bytes,15,opt,name=ATempo,proto3" json:"ATempo,omitempty"` SubmittedWith string `protobuf:"bytes,16,opt,name=SubmittedWith,proto3" json:"SubmittedWith,omitempty"` StoragePath string `protobuf:"bytes,17,opt,name=StoragePath,proto3" json:"StoragePath,omitempty"` Tags []string `protobuf:"bytes,18,rep,name=Tags,proto3" json:"Tags,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetCreated ¶
func (*Request) GetDownloadURI ¶
func (*Request) GetESpeakVoice ¶
func (*Request) GetNumberOfConversions ¶
func (*Request) GetRequestHash ¶
func (*Request) GetStoragePath ¶
func (*Request) GetSubmittedAt ¶
func (*Request) GetSubmittedBy ¶
func (*Request) GetSubmittedWith ¶
func (*Request) GetType ¶
func (x *Request) GetType() ContentType
func (*Request) GetWordsPerMinute ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { RequestHash string `protobuf:"bytes,1,opt,name=RequestHash,proto3" json:"RequestHash,omitempty"` Code ResponseCode `protobuf:"varint,2,opt,name=Code,proto3,enum=ResponseCode" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetCode ¶
func (x *Response) GetCode() ResponseCode
func (*Response) GetRequestHash ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseCode ¶
type ResponseCode int32
const ( ResponseCode_ERROR ResponseCode = 0 ResponseCode_ACCEPTED ResponseCode = 1 )
func (ResponseCode) Descriptor ¶
func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
func (ResponseCode) Enum ¶
func (x ResponseCode) Enum() *ResponseCode
func (ResponseCode) EnumDescriptor
deprecated
func (ResponseCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseCode.Descriptor instead.
func (ResponseCode) Number ¶
func (x ResponseCode) Number() protoreflect.EnumNumber
func (ResponseCode) String ¶
func (x ResponseCode) String() string
func (ResponseCode) Type ¶
func (ResponseCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.