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 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/actions/sdk/v2/conversation/prompt/prompt.proto 20 21package conversation 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29) 30 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38// Represent a response to a user. 39type Prompt struct { 40 state protoimpl.MessageState 41 sizeCache protoimpl.SizeCache 42 unknownFields protoimpl.UnknownFields 43 44 // Optional. Mode for how this messages should be merged with previously 45 // defined messages. 46 // "false" will clear all previously defined messages (first and last 47 // simple, content, suggestions link and canvas) and add messages defined in 48 // this prompt. 49 // "true" will add messages defined in this prompt to messages defined in 50 // previous responses. Setting this field to "true" will also enable appending 51 // to some fields inside Simple prompts, the Suggestion prompt and the Canvas 52 // prompt (part of the Content prompt). The Content and Link messages will 53 // always be overwritten if defined in the prompt. 54 // Default value is "false". 55 // 56 // Deprecated: Do not use. 57 Append bool `protobuf:"varint,1,opt,name=append,proto3" json:"append,omitempty"` 58 // Optional. Mode for how this messages should be merged with previously 59 // defined messages. 60 // "true" clears all previously defined messages (first and last 61 // simple, content, suggestions link and canvas) and adds messages defined in 62 // this prompt. 63 // "false" adds messages defined in this prompt to messages defined in 64 // previous responses. Leaving this field to "false" also enables 65 // appending to some fields inside Simple prompts, the Suggestions prompt, 66 // and the Canvas prompt (part of the Content prompt). The Content and Link 67 // messages are always overwritten if defined in the prompt. Default 68 // value is "false". 69 Override bool `protobuf:"varint,8,opt,name=override,proto3" json:"override,omitempty"` 70 // Optional. The first voice and text-only response. 71 FirstSimple *Simple `protobuf:"bytes,2,opt,name=first_simple,json=firstSimple,proto3" json:"first_simple,omitempty"` 72 // Optional. A content like a card, list or media to display to the user. 73 Content *Content `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` 74 // Optional. The last voice and text-only response. 75 LastSimple *Simple `protobuf:"bytes,4,opt,name=last_simple,json=lastSimple,proto3" json:"last_simple,omitempty"` 76 // Optional. Suggestions to be displayed to the user which will always appear 77 // at the end of the response. 78 // If the "override" field in the containing prompt is "false", the titles 79 // defined in this field will be added to titles defined in any previously 80 // defined suggestions prompts and duplicate values will be removed. 81 Suggestions []*Suggestion `protobuf:"bytes,5,rep,name=suggestions,proto3" json:"suggestions,omitempty"` 82 // Optional. An additional suggestion chip that can link out to the associated app 83 // or site. 84 // The chip will be rendered with the title "Open <name>". Max 20 chars. 85 Link *Link `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"` 86 // Optional. Represents a Interactive Canvas response to be sent to the user. 87 Canvas *Canvas `protobuf:"bytes,9,opt,name=canvas,proto3" json:"canvas,omitempty"` 88} 89 90func (x *Prompt) Reset() { 91 *x = Prompt{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_google_actions_sdk_v2_conversation_prompt_prompt_proto_msgTypes[0] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97} 98 99func (x *Prompt) String() string { 100 return protoimpl.X.MessageStringOf(x) 101} 102 103func (*Prompt) ProtoMessage() {} 104 105func (x *Prompt) ProtoReflect() protoreflect.Message { 106 mi := &file_google_actions_sdk_v2_conversation_prompt_prompt_proto_msgTypes[0] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115} 116 117// Deprecated: Use Prompt.ProtoReflect.Descriptor instead. 118func (*Prompt) Descriptor() ([]byte, []int) { 119 return file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescGZIP(), []int{0} 120} 121 122// Deprecated: Do not use. 123func (x *Prompt) GetAppend() bool { 124 if x != nil { 125 return x.Append 126 } 127 return false 128} 129 130func (x *Prompt) GetOverride() bool { 131 if x != nil { 132 return x.Override 133 } 134 return false 135} 136 137func (x *Prompt) GetFirstSimple() *Simple { 138 if x != nil { 139 return x.FirstSimple 140 } 141 return nil 142} 143 144func (x *Prompt) GetContent() *Content { 145 if x != nil { 146 return x.Content 147 } 148 return nil 149} 150 151func (x *Prompt) GetLastSimple() *Simple { 152 if x != nil { 153 return x.LastSimple 154 } 155 return nil 156} 157 158func (x *Prompt) GetSuggestions() []*Suggestion { 159 if x != nil { 160 return x.Suggestions 161 } 162 return nil 163} 164 165func (x *Prompt) GetLink() *Link { 166 if x != nil { 167 return x.Link 168 } 169 return nil 170} 171 172func (x *Prompt) GetCanvas() *Canvas { 173 if x != nil { 174 return x.Canvas 175 } 176 return nil 177} 178 179var File_google_actions_sdk_v2_conversation_prompt_prompt_proto protoreflect.FileDescriptor 180 181var file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDesc = []byte{ 182 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 183 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 184 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 185 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 186 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 187 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3e, 0x67, 0x6f, 188 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 189 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 190 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 191 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 0x6f, 192 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 193 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 194 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 195 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3c, 0x67, 196 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 197 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 198 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 199 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 200 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 201 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 202 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 203 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 204 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 205 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 206 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 207 0xf7, 0x03, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x1a, 0x0a, 0x06, 0x61, 0x70, 208 0x70, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 209 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 210 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 211 0x64, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x69, 0x6d, 0x70, 212 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 213 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 214 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x69, 215 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 216 0x65, 0x12, 0x45, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 217 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 218 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 219 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 220 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 221 0x5f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 222 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 223 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 224 0x6f, 0x6e, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x53, 225 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 226 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 227 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 228 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 229 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x73, 0x75, 0x67, 0x67, 230 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 231 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 232 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 233 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 234 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x18, 235 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 236 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 237 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6e, 0x76, 0x61, 238 0x73, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x42, 0x87, 0x01, 0x0a, 0x26, 0x63, 0x6f, 239 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 240 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 241 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x74, 242 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 243 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 244 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 245 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 246 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 247 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 248} 249 250var ( 251 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescOnce sync.Once 252 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDesc 253) 254 255func file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescGZIP() []byte { 256 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescOnce.Do(func() { 257 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescData) 258 }) 259 return file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDescData 260} 261 262var file_google_actions_sdk_v2_conversation_prompt_prompt_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 263var file_google_actions_sdk_v2_conversation_prompt_prompt_proto_goTypes = []interface{}{ 264 (*Prompt)(nil), // 0: google.actions.sdk.v2.conversation.Prompt 265 (*Simple)(nil), // 1: google.actions.sdk.v2.conversation.Simple 266 (*Content)(nil), // 2: google.actions.sdk.v2.conversation.Content 267 (*Suggestion)(nil), // 3: google.actions.sdk.v2.conversation.Suggestion 268 (*Link)(nil), // 4: google.actions.sdk.v2.conversation.Link 269 (*Canvas)(nil), // 5: google.actions.sdk.v2.conversation.Canvas 270} 271var file_google_actions_sdk_v2_conversation_prompt_prompt_proto_depIdxs = []int32{ 272 1, // 0: google.actions.sdk.v2.conversation.Prompt.first_simple:type_name -> google.actions.sdk.v2.conversation.Simple 273 2, // 1: google.actions.sdk.v2.conversation.Prompt.content:type_name -> google.actions.sdk.v2.conversation.Content 274 1, // 2: google.actions.sdk.v2.conversation.Prompt.last_simple:type_name -> google.actions.sdk.v2.conversation.Simple 275 3, // 3: google.actions.sdk.v2.conversation.Prompt.suggestions:type_name -> google.actions.sdk.v2.conversation.Suggestion 276 4, // 4: google.actions.sdk.v2.conversation.Prompt.link:type_name -> google.actions.sdk.v2.conversation.Link 277 5, // 5: google.actions.sdk.v2.conversation.Prompt.canvas:type_name -> google.actions.sdk.v2.conversation.Canvas 278 6, // [6:6] is the sub-list for method output_type 279 6, // [6:6] is the sub-list for method input_type 280 6, // [6:6] is the sub-list for extension type_name 281 6, // [6:6] is the sub-list for extension extendee 282 0, // [0:6] is the sub-list for field type_name 283} 284 285func init() { file_google_actions_sdk_v2_conversation_prompt_prompt_proto_init() } 286func file_google_actions_sdk_v2_conversation_prompt_prompt_proto_init() { 287 if File_google_actions_sdk_v2_conversation_prompt_prompt_proto != nil { 288 return 289 } 290 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_init() 291 file_google_actions_sdk_v2_conversation_prompt_content_content_proto_init() 292 file_google_actions_sdk_v2_conversation_prompt_content_link_proto_init() 293 file_google_actions_sdk_v2_conversation_prompt_simple_proto_init() 294 file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_init() 295 if !protoimpl.UnsafeEnabled { 296 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 297 switch v := v.(*Prompt); i { 298 case 0: 299 return &v.state 300 case 1: 301 return &v.sizeCache 302 case 2: 303 return &v.unknownFields 304 default: 305 return nil 306 } 307 } 308 } 309 type x struct{} 310 out := protoimpl.TypeBuilder{ 311 File: protoimpl.DescBuilder{ 312 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 313 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDesc, 314 NumEnums: 0, 315 NumMessages: 1, 316 NumExtensions: 0, 317 NumServices: 0, 318 }, 319 GoTypes: file_google_actions_sdk_v2_conversation_prompt_prompt_proto_goTypes, 320 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_prompt_proto_depIdxs, 321 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_prompt_proto_msgTypes, 322 }.Build() 323 File_google_actions_sdk_v2_conversation_prompt_prompt_proto = out.File 324 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_rawDesc = nil 325 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_goTypes = nil 326 file_google_actions_sdk_v2_conversation_prompt_prompt_proto_depIdxs = nil 327} 328