1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.actions.sdk.v2.conversation; 18 19option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/conversation;conversation"; 20option java_multiple_files = true; 21option java_outer_classname = "SimpleProto"; 22option java_package = "com.google.actions.sdk.v2.conversation"; 23 24// Represents a simple prompt to be send to a user. 25message Simple { 26 // Optional. Represents the speech to be spoken to the user. Can be SSML or 27 // text to speech. 28 // If the "override" field in the containing prompt is "true", the speech 29 // defined in this field replaces the previous Simple prompt's speech. 30 string speech = 1; 31 32 // Optional text to display in the chat bubble. If not given, a display 33 // rendering of the speech field above will be used. Limited to 640 34 // chars. 35 // If the "override" field in the containing prompt is "true", the text 36 // defined in this field replaces to the previous Simple prompt's text. 37 string text = 2; 38} 39