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

package speechsense

func (m *RawAudio) SetAudioEncoding(v RawAudio_AudioEncoding) {
	m.AudioEncoding = v
}

func (m *RawAudio) SetSampleRateHertz(v int64) {
	m.SampleRateHertz = v
}

func (m *RawAudio) SetAudioChannelCount(v int64) {
	m.AudioChannelCount = v
}

func (m *ContainerAudio) SetContainerAudioType(v ContainerAudio_ContainerAudioType) {
	m.ContainerAudioType = v
}

type AudioMetadata_AudioFormat = isAudioMetadata_AudioFormat

func (m *AudioMetadata) SetAudioFormat(v AudioMetadata_AudioFormat) {
	m.AudioFormat = v
}

func (m *AudioMetadata) SetRawAudio(v *RawAudio) {
	m.AudioFormat = &AudioMetadata_RawAudio{
		RawAudio: v,
	}
}

func (m *AudioMetadata) SetContainerAudio(v *ContainerAudio) {
	m.AudioFormat = &AudioMetadata_ContainerAudio{
		ContainerAudio: v,
	}
}

func (m *AudioChunk) SetData(v []byte) {
	m.Data = v
}

type AudioStreamingRequest_AudioEvent = isAudioStreamingRequest_AudioEvent

func (m *AudioStreamingRequest) SetAudioEvent(v AudioStreamingRequest_AudioEvent) {
	m.AudioEvent = v
}

func (m *AudioStreamingRequest) SetAudioMetadata(v *AudioMetadata) {
	m.AudioEvent = &AudioStreamingRequest_AudioMetadata{
		AudioMetadata: v,
	}
}

func (m *AudioStreamingRequest) SetChunk(v *AudioChunk) {
	m.AudioEvent = &AudioStreamingRequest_Chunk{
		Chunk: v,
	}
}

func (m *AudioRequest) SetAudioMetadata(v *AudioMetadata) {
	m.AudioMetadata = v
}

func (m *AudioRequest) SetAudioData(v *AudioChunk) {
	m.AudioData = v
}
