// Code generated by protoc-gen-goext. DO NOT EDIT.

package speechsense

import (
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *TextContent) SetMessages(v []*Message) {
	m.Messages = v
}

type Message_Payload = isMessage_Payload

func (m *Message) SetPayload(v Message_Payload) {
	m.Payload = v
}

func (m *Message) SetText(v *TextPayload) {
	m.Payload = &Message_Text{
		Text: v,
	}
}

func (m *Message) SetUserId(v string) {
	m.UserId = v
}

func (m *Message) SetTimestamp(v *timestamppb.Timestamp) {
	m.Timestamp = v
}

func (m *TextPayload) SetText(v string) {
	m.Text = v
}
