luci: Index | Files

package internal

import ""


Package Files

gen.go tq.pb.go


var File_go_chromium_org_luci_luci_notify_internal_tq_proto protoreflect.FileDescriptor

type EmailTask Uses

type EmailTask struct {

    // Recipients is a list of email addresses to send the email to.
    // TODO(nodir): make it non-repeated.
    Recipients []string `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"`
    // Subject is the subject line of the email to be sent.
    Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
    // DEPRECATED. See body_gzip.
    Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
    // Gzipped, HTML-formatted string containing the body of the email
    // to be sent.
    BodyGzip []byte `protobuf:"bytes,4,opt,name=body_gzip,json=bodyGzip,proto3" json:"body_gzip,omitempty"`
    // contains filtered or unexported fields

EmailTask represents a single email notification to be dispatched.

func (*EmailTask) Descriptor Uses

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

Deprecated: Use EmailTask.ProtoReflect.Descriptor instead.

func (*EmailTask) GetBody Uses

func (x *EmailTask) GetBody() string

func (*EmailTask) GetBodyGzip Uses

func (x *EmailTask) GetBodyGzip() []byte

func (*EmailTask) GetRecipients Uses

func (x *EmailTask) GetRecipients() []string

func (*EmailTask) GetSubject Uses

func (x *EmailTask) GetSubject() string

func (*EmailTask) ProtoMessage Uses

func (*EmailTask) ProtoMessage()

func (*EmailTask) ProtoReflect Uses

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

func (*EmailTask) Reset Uses

func (x *EmailTask) Reset()

func (*EmailTask) String Uses

func (x *EmailTask) String() string

Package internal imports 5 packages (graph) and is imported by 1 packages. Updated 2020-12-06. Refresh now. Tools for package owners.