Back to

Package internal

Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module:



var File_go_chromium_org_luci_luci_notify_internal_tq_proto protoreflect.FileDescriptor

type EmailTask

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

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

Deprecated: Use EmailTask.ProtoReflect.Descriptor instead.

func (*EmailTask) GetBody

func (x *EmailTask) GetBody() string

func (*EmailTask) GetBodyGzip

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

func (*EmailTask) GetRecipients

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

func (*EmailTask) GetSubject

func (x *EmailTask) GetSubject() string

func (*EmailTask) ProtoMessage

func (*EmailTask) ProtoMessage()

func (*EmailTask) ProtoReflect

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

func (*EmailTask) Reset

func (x *EmailTask) Reset()

func (*EmailTask) String

func (x *EmailTask) String() string

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier