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