2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.voice.googletts.internal.dto;
16 * The message returned to the client by the text.synthesize method.
18 * @author Wouter Born - Initial contribution
20 public class SynthesizeSpeechResponse {
23 * The audio data bytes encoded as specified in the request, including the header (For LINEAR16 audio, we include
24 * the WAV header). Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON
25 * representations use base64.
27 * A base64-encoded string.
29 private String audioContent;
31 public String getAudioContent() {
35 public void setAudioContent(String audioContent) {
36 this.audioContent = audioContent;