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/interactionmodel/intent.proto 20 21package interactionmodel 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _type "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// Intents map open-ended user input to structured objects. Spoken 41// phrases are matched to intents with Google's Natural Language Understanding 42// (NLU). Intent matches can trigger events in your conversation design to 43// progress the user's conversation. 44// The intent name is specified in the name of the file. 45type Intent struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // The list of parameters within the training phrases. All parameters must be 51 // defined here to be used in the training phrase. 52 Parameters []*Intent_IntentParameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"` 53 // Training phrases allow Google’s NLU to automatically match intents with 54 // user input. The more unique phrases that are provided, the better chance 55 // this intent will be matched. 56 // The following is the format of training phrase part which are annotated. 57 // Note that `auto` field is optional and the default behavior when `auto` is 58 // not specified is equivalent to `auto=false`. 59 // `($<paramName> '<sample text>' auto=<true or false>)` 60 // `auto = true` means the part was auto annotated by NLU. 61 // `auto = false` means the part was annotated by the user. This is the 62 // default when auto is not specified. 63 // Example: 64 // "Book a flight from ($source 'San Francisco' auto=false) to ($dest 65 // 'Vancouver')" 66 TrainingPhrases []string `protobuf:"bytes,2,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` 67} 68 69func (x *Intent) Reset() { 70 *x = Intent{} 71 if protoimpl.UnsafeEnabled { 72 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[0] 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 74 ms.StoreMessageInfo(mi) 75 } 76} 77 78func (x *Intent) String() string { 79 return protoimpl.X.MessageStringOf(x) 80} 81 82func (*Intent) ProtoMessage() {} 83 84func (x *Intent) ProtoReflect() protoreflect.Message { 85 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[0] 86 if protoimpl.UnsafeEnabled && x != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(x) 94} 95 96// Deprecated: Use Intent.ProtoReflect.Descriptor instead. 97func (*Intent) Descriptor() ([]byte, []int) { 98 return file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescGZIP(), []int{0} 99} 100 101func (x *Intent) GetParameters() []*Intent_IntentParameter { 102 if x != nil { 103 return x.Parameters 104 } 105 return nil 106} 107 108func (x *Intent) GetTrainingPhrases() []string { 109 if x != nil { 110 return x.TrainingPhrases 111 } 112 return nil 113} 114 115// Definition of a parameter which can be used inside training phrases. 116type Intent_IntentParameter struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 // Required. Unique name of the intent parameter. Can be used in conditions and 122 // responses to reference intent parameters extracted by NLU with 123 // $intent.params.[name].resolved 124 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 125 // The type of the intent parameter. 126 // 127 // Types that are assignable to ParameterType: 128 // *Intent_IntentParameter_Type 129 // *Intent_IntentParameter_EntitySetReferences_ 130 ParameterType isIntent_IntentParameter_ParameterType `protobuf_oneof:"parameter_type"` 131} 132 133func (x *Intent_IntentParameter) Reset() { 134 *x = Intent_IntentParameter{} 135 if protoimpl.UnsafeEnabled { 136 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[1] 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 ms.StoreMessageInfo(mi) 139 } 140} 141 142func (x *Intent_IntentParameter) String() string { 143 return protoimpl.X.MessageStringOf(x) 144} 145 146func (*Intent_IntentParameter) ProtoMessage() {} 147 148func (x *Intent_IntentParameter) ProtoReflect() protoreflect.Message { 149 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[1] 150 if protoimpl.UnsafeEnabled && x != nil { 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 if ms.LoadMessageInfo() == nil { 153 ms.StoreMessageInfo(mi) 154 } 155 return ms 156 } 157 return mi.MessageOf(x) 158} 159 160// Deprecated: Use Intent_IntentParameter.ProtoReflect.Descriptor instead. 161func (*Intent_IntentParameter) Descriptor() ([]byte, []int) { 162 return file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescGZIP(), []int{0, 0} 163} 164 165func (x *Intent_IntentParameter) GetName() string { 166 if x != nil { 167 return x.Name 168 } 169 return "" 170} 171 172func (m *Intent_IntentParameter) GetParameterType() isIntent_IntentParameter_ParameterType { 173 if m != nil { 174 return m.ParameterType 175 } 176 return nil 177} 178 179func (x *Intent_IntentParameter) GetType() *_type.ClassReference { 180 if x, ok := x.GetParameterType().(*Intent_IntentParameter_Type); ok { 181 return x.Type 182 } 183 return nil 184} 185 186func (x *Intent_IntentParameter) GetEntitySetReferences() *Intent_IntentParameter_EntitySetReferences { 187 if x, ok := x.GetParameterType().(*Intent_IntentParameter_EntitySetReferences_); ok { 188 return x.EntitySetReferences 189 } 190 return nil 191} 192 193type isIntent_IntentParameter_ParameterType interface { 194 isIntent_IntentParameter_ParameterType() 195} 196 197type Intent_IntentParameter_Type struct { 198 // Optional. Declares the data type of this parameter. 199 // This should not be set for built-in intents. 200 Type *_type.ClassReference `protobuf:"bytes,2,opt,name=type,proto3,oneof"` 201} 202 203type Intent_IntentParameter_EntitySetReferences_ struct { 204 // Optional. References to the sets of allowed entities for this intent parameter. 205 // Only valid for parameters of a built-in intent. These 206 // references point to entity sets in the 'custom/entitySets' directory. 207 EntitySetReferences *Intent_IntentParameter_EntitySetReferences `protobuf:"bytes,3,opt,name=entity_set_references,json=entitySetReferences,proto3,oneof"` 208} 209 210func (*Intent_IntentParameter_Type) isIntent_IntentParameter_ParameterType() {} 211 212func (*Intent_IntentParameter_EntitySetReferences_) isIntent_IntentParameter_ParameterType() {} 213 214// Entity set references for an intent parameter. 215type Intent_IntentParameter_EntitySetReferences struct { 216 state protoimpl.MessageState 217 sizeCache protoimpl.SizeCache 218 unknownFields protoimpl.UnknownFields 219 220 // Required. Entity set references for an intent parameter. 221 EntitySetReferences []*Intent_IntentParameter_EntitySetReferences_EntitySetReference `protobuf:"bytes,1,rep,name=entity_set_references,json=entitySetReferences,proto3" json:"entity_set_references,omitempty"` 222} 223 224func (x *Intent_IntentParameter_EntitySetReferences) Reset() { 225 *x = Intent_IntentParameter_EntitySetReferences{} 226 if protoimpl.UnsafeEnabled { 227 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[2] 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 ms.StoreMessageInfo(mi) 230 } 231} 232 233func (x *Intent_IntentParameter_EntitySetReferences) String() string { 234 return protoimpl.X.MessageStringOf(x) 235} 236 237func (*Intent_IntentParameter_EntitySetReferences) ProtoMessage() {} 238 239func (x *Intent_IntentParameter_EntitySetReferences) ProtoReflect() protoreflect.Message { 240 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[2] 241 if protoimpl.UnsafeEnabled && x != nil { 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 if ms.LoadMessageInfo() == nil { 244 ms.StoreMessageInfo(mi) 245 } 246 return ms 247 } 248 return mi.MessageOf(x) 249} 250 251// Deprecated: Use Intent_IntentParameter_EntitySetReferences.ProtoReflect.Descriptor instead. 252func (*Intent_IntentParameter_EntitySetReferences) Descriptor() ([]byte, []int) { 253 return file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescGZIP(), []int{0, 0, 0} 254} 255 256func (x *Intent_IntentParameter_EntitySetReferences) GetEntitySetReferences() []*Intent_IntentParameter_EntitySetReferences_EntitySetReference { 257 if x != nil { 258 return x.EntitySetReferences 259 } 260 return nil 261} 262 263// A reference to the set of allowed entities for this intent parameter. 264type Intent_IntentParameter_EntitySetReferences_EntitySetReference struct { 265 state protoimpl.MessageState 266 sizeCache protoimpl.SizeCache 267 unknownFields protoimpl.UnknownFields 268 269 // Required. Identifies the specific collection of entities to be considered for a 270 // given parameter. The corresponding entity set definition should be 271 // present in the custom/entitySets/ directory. 272 EntitySet string `protobuf:"bytes,1,opt,name=entity_set,json=entitySet,proto3" json:"entity_set,omitempty"` 273} 274 275func (x *Intent_IntentParameter_EntitySetReferences_EntitySetReference) Reset() { 276 *x = Intent_IntentParameter_EntitySetReferences_EntitySetReference{} 277 if protoimpl.UnsafeEnabled { 278 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[3] 279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 280 ms.StoreMessageInfo(mi) 281 } 282} 283 284func (x *Intent_IntentParameter_EntitySetReferences_EntitySetReference) String() string { 285 return protoimpl.X.MessageStringOf(x) 286} 287 288func (*Intent_IntentParameter_EntitySetReferences_EntitySetReference) ProtoMessage() {} 289 290func (x *Intent_IntentParameter_EntitySetReferences_EntitySetReference) ProtoReflect() protoreflect.Message { 291 mi := &file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[3] 292 if protoimpl.UnsafeEnabled && x != nil { 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 if ms.LoadMessageInfo() == nil { 295 ms.StoreMessageInfo(mi) 296 } 297 return ms 298 } 299 return mi.MessageOf(x) 300} 301 302// Deprecated: Use Intent_IntentParameter_EntitySetReferences_EntitySetReference.ProtoReflect.Descriptor instead. 303func (*Intent_IntentParameter_EntitySetReferences_EntitySetReference) Descriptor() ([]byte, []int) { 304 return file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescGZIP(), []int{0, 0, 0, 0} 305} 306 307func (x *Intent_IntentParameter_EntitySetReferences_EntitySetReference) GetEntitySet() string { 308 if x != nil { 309 return x.EntitySet 310 } 311 return "" 312} 313 314var File_google_actions_sdk_v2_interactionmodel_intent_proto protoreflect.FileDescriptor 315 316var file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDesc = []byte{ 317 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 318 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 319 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 320 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 321 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 322 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x41, 0x67, 323 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 324 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 325 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 326 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 327 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 328 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 329 0x6f, 0x22, 0xad, 0x05, 0x0a, 0x06, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x5e, 0x0a, 0x0a, 330 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 331 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 332 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 333 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 334 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 335 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x10, 336 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 337 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 338 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x97, 0x04, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x65, 339 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 340 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 341 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 342 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 343 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 344 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 345 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 346 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x8d, 0x01, 0x0a, 347 0x15, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 348 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 349 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 350 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 351 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x74, 352 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x45, 0x6e, 0x74, 353 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 354 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 355 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0xf0, 0x01, 0x0a, 356 0x13, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 357 0x6e, 0x63, 0x65, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 358 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 359 0x20, 0x03, 0x28, 0x0b, 0x32, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 360 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 361 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x49, 0x6e, 362 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 363 0x65, 0x74, 0x65, 0x72, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 364 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 365 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 366 0x52, 0x13, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 367 0x65, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x38, 0x0a, 0x12, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 368 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x65, 369 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 370 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x42, 371 0x10, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 372 0x65, 0x42, 0x93, 0x01, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 373 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 374 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 375 0x42, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 376 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 377 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 378 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 379 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 380 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 381 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 382} 383 384var ( 385 file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescOnce sync.Once 386 file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDesc 387) 388 389func file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescGZIP() []byte { 390 file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescOnce.Do(func() { 391 file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescData) 392 }) 393 return file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDescData 394} 395 396var file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 397var file_google_actions_sdk_v2_interactionmodel_intent_proto_goTypes = []interface{}{ 398 (*Intent)(nil), // 0: google.actions.sdk.v2.interactionmodel.Intent 399 (*Intent_IntentParameter)(nil), // 1: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter 400 (*Intent_IntentParameter_EntitySetReferences)(nil), // 2: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.EntitySetReferences 401 (*Intent_IntentParameter_EntitySetReferences_EntitySetReference)(nil), // 3: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.EntitySetReferences.EntitySetReference 402 (*_type.ClassReference)(nil), // 4: google.actions.sdk.v2.interactionmodel.type.ClassReference 403} 404var file_google_actions_sdk_v2_interactionmodel_intent_proto_depIdxs = []int32{ 405 1, // 0: google.actions.sdk.v2.interactionmodel.Intent.parameters:type_name -> google.actions.sdk.v2.interactionmodel.Intent.IntentParameter 406 4, // 1: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.type:type_name -> google.actions.sdk.v2.interactionmodel.type.ClassReference 407 2, // 2: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.entity_set_references:type_name -> google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.EntitySetReferences 408 3, // 3: google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.EntitySetReferences.entity_set_references:type_name -> google.actions.sdk.v2.interactionmodel.Intent.IntentParameter.EntitySetReferences.EntitySetReference 409 4, // [4:4] is the sub-list for method output_type 410 4, // [4:4] is the sub-list for method input_type 411 4, // [4:4] is the sub-list for extension type_name 412 4, // [4:4] is the sub-list for extension extendee 413 0, // [0:4] is the sub-list for field type_name 414} 415 416func init() { file_google_actions_sdk_v2_interactionmodel_intent_proto_init() } 417func file_google_actions_sdk_v2_interactionmodel_intent_proto_init() { 418 if File_google_actions_sdk_v2_interactionmodel_intent_proto != nil { 419 return 420 } 421 if !protoimpl.UnsafeEnabled { 422 file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 423 switch v := v.(*Intent); i { 424 case 0: 425 return &v.state 426 case 1: 427 return &v.sizeCache 428 case 2: 429 return &v.unknownFields 430 default: 431 return nil 432 } 433 } 434 file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 435 switch v := v.(*Intent_IntentParameter); i { 436 case 0: 437 return &v.state 438 case 1: 439 return &v.sizeCache 440 case 2: 441 return &v.unknownFields 442 default: 443 return nil 444 } 445 } 446 file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 447 switch v := v.(*Intent_IntentParameter_EntitySetReferences); i { 448 case 0: 449 return &v.state 450 case 1: 451 return &v.sizeCache 452 case 2: 453 return &v.unknownFields 454 default: 455 return nil 456 } 457 } 458 file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 459 switch v := v.(*Intent_IntentParameter_EntitySetReferences_EntitySetReference); i { 460 case 0: 461 return &v.state 462 case 1: 463 return &v.sizeCache 464 case 2: 465 return &v.unknownFields 466 default: 467 return nil 468 } 469 } 470 } 471 file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes[1].OneofWrappers = []interface{}{ 472 (*Intent_IntentParameter_Type)(nil), 473 (*Intent_IntentParameter_EntitySetReferences_)(nil), 474 } 475 type x struct{} 476 out := protoimpl.TypeBuilder{ 477 File: protoimpl.DescBuilder{ 478 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 479 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDesc, 480 NumEnums: 0, 481 NumMessages: 4, 482 NumExtensions: 0, 483 NumServices: 0, 484 }, 485 GoTypes: file_google_actions_sdk_v2_interactionmodel_intent_proto_goTypes, 486 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_intent_proto_depIdxs, 487 MessageInfos: file_google_actions_sdk_v2_interactionmodel_intent_proto_msgTypes, 488 }.Build() 489 File_google_actions_sdk_v2_interactionmodel_intent_proto = out.File 490 file_google_actions_sdk_v2_interactionmodel_intent_proto_rawDesc = nil 491 file_google_actions_sdk_v2_interactionmodel_intent_proto_goTypes = nil 492 file_google_actions_sdk_v2_interactionmodel_intent_proto_depIdxs = nil 493} 494