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.interactionmodel.prompt; 18 19import "google/actions/sdk/v2/interactionmodel/prompt/content/static_card_prompt.proto"; 20import "google/actions/sdk/v2/interactionmodel/prompt/content/static_collection_browse_prompt.proto"; 21import "google/actions/sdk/v2/interactionmodel/prompt/content/static_collection_prompt.proto"; 22import "google/actions/sdk/v2/interactionmodel/prompt/content/static_image_prompt.proto"; 23import "google/actions/sdk/v2/interactionmodel/prompt/content/static_list_prompt.proto"; 24import "google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto"; 25import "google/actions/sdk/v2/interactionmodel/prompt/content/static_table_prompt.proto"; 26 27option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/prompt;prompt"; 28option java_multiple_files = true; 29option java_outer_classname = "StaticContentPromptProto"; 30option java_package = "com.google.actions.sdk.v2.interactionmodel.prompt"; 31 32// A placeholder for the Content part of a StaticPrompt. 33message StaticContentPrompt { 34 // Only one type of content can be present in a Prompt. 35 oneof content { 36 // A basic card. 37 StaticCardPrompt card = 1; 38 39 // An image. 40 StaticImagePrompt image = 2; 41 42 // Table card. 43 StaticTablePrompt table = 3; 44 45 // Response indicating a set of media to be played. 46 StaticMediaPrompt media = 4; 47 48 // A card for presenting a list of options to select from. 49 StaticListPrompt list = 5; 50 51 // A card presenting a list of options to select from. 52 StaticCollectionPrompt collection = 6; 53 54 // A card presenting a collection of web pages to open. 55 StaticCollectionBrowsePrompt collection_browse = 7; 56 } 57} 58