generated

package
v0.0.0-...-f1909f8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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
const (
	BotAction_SET_CONFIG    BotAction = 0
	BotAction_GET_CONFIG    BotAction = 1
	BotAction_SHOW_SETTINGS BotAction = 2
	BotAction_HELP          BotAction = 4
)

func (BotAction) Descriptor

func (BotAction) Descriptor() protoreflect.EnumDescriptor

func (BotAction) Enum

func (x BotAction) Enum() *BotAction

func (BotAction) EnumDescriptor deprecated

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

Deprecated: Use BotAction.Descriptor instead.

func (BotAction) Number

func (x BotAction) Number() protoreflect.EnumNumber

func (BotAction) String

func (x BotAction) String() string

func (BotAction) Type

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetATempo

func (x *Request) GetATempo() string

func (*Request) GetCreated

func (x *Request) GetCreated() uint64

func (*Request) GetDownloadURI

func (x *Request) GetDownloadURI() string

func (*Request) GetESpeakVoice

func (x *Request) GetESpeakVoice() string

func (*Request) GetLength

func (x *Request) GetLength() uint64

func (*Request) GetNumberOfConversions

func (x *Request) GetNumberOfConversions() uint32

func (*Request) GetRequestHash

func (x *Request) GetRequestHash() string

func (*Request) GetSize

func (x *Request) GetSize() uint64

func (*Request) GetStoragePath

func (x *Request) GetStoragePath() string

func (*Request) GetSubmittedAt

func (x *Request) GetSubmittedAt() uint64

func (*Request) GetSubmittedBy

func (x *Request) GetSubmittedBy() string

func (*Request) GetSubmittedWith

func (x *Request) GetSubmittedWith() string

func (*Request) GetTags

func (x *Request) GetTags() []string

func (*Request) GetText

func (x *Request) GetText() string

func (*Request) GetTitle

func (x *Request) GetTitle() string

func (*Request) GetType

func (x *Request) GetType() ContentType

func (*Request) GetUri

func (x *Request) GetUri() string

func (*Request) GetWordsPerMinute

func (x *Request) GetWordsPerMinute() uint32

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() ResponseCode

func (*Response) GetRequestHash

func (x *Response) GetRequestHash() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type ResponseCode

type ResponseCode int32
const (
	ResponseCode_ERROR    ResponseCode = 0
	ResponseCode_ACCEPTED ResponseCode = 1
)

func (ResponseCode) Descriptor

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 (ResponseCode) String

func (x ResponseCode) String() string

func (ResponseCode) Type

Jump to

Keyboard shortcuts

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