1// Copyright 2021 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.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/dialogflow/cx/v3/validation_message.proto 20 21package cx 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 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 _ "google.golang.org/protobuf/types/known/structpb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// Resource types. 46type ValidationMessage_ResourceType int32 47 48const ( 49 // Unspecified. 50 ValidationMessage_RESOURCE_TYPE_UNSPECIFIED ValidationMessage_ResourceType = 0 51 // Agent. 52 ValidationMessage_AGENT ValidationMessage_ResourceType = 1 53 // Intent. 54 ValidationMessage_INTENT ValidationMessage_ResourceType = 2 55 // Intent training phrase. 56 ValidationMessage_INTENT_TRAINING_PHRASE ValidationMessage_ResourceType = 8 57 // Intent parameter. 58 ValidationMessage_INTENT_PARAMETER ValidationMessage_ResourceType = 9 59 // Multiple intents. 60 ValidationMessage_INTENTS ValidationMessage_ResourceType = 10 61 // Multiple training phrases. 62 ValidationMessage_INTENT_TRAINING_PHRASES ValidationMessage_ResourceType = 11 63 // Entity type. 64 ValidationMessage_ENTITY_TYPE ValidationMessage_ResourceType = 3 65 // Multiple entity types. 66 ValidationMessage_ENTITY_TYPES ValidationMessage_ResourceType = 12 67 // Webhook. 68 ValidationMessage_WEBHOOK ValidationMessage_ResourceType = 4 69 // Flow. 70 ValidationMessage_FLOW ValidationMessage_ResourceType = 5 71 // Page. 72 ValidationMessage_PAGE ValidationMessage_ResourceType = 6 73 // Multiple pages. 74 ValidationMessage_PAGES ValidationMessage_ResourceType = 13 75 // Transition route group. 76 ValidationMessage_TRANSITION_ROUTE_GROUP ValidationMessage_ResourceType = 7 77) 78 79// Enum value maps for ValidationMessage_ResourceType. 80var ( 81 ValidationMessage_ResourceType_name = map[int32]string{ 82 0: "RESOURCE_TYPE_UNSPECIFIED", 83 1: "AGENT", 84 2: "INTENT", 85 8: "INTENT_TRAINING_PHRASE", 86 9: "INTENT_PARAMETER", 87 10: "INTENTS", 88 11: "INTENT_TRAINING_PHRASES", 89 3: "ENTITY_TYPE", 90 12: "ENTITY_TYPES", 91 4: "WEBHOOK", 92 5: "FLOW", 93 6: "PAGE", 94 13: "PAGES", 95 7: "TRANSITION_ROUTE_GROUP", 96 } 97 ValidationMessage_ResourceType_value = map[string]int32{ 98 "RESOURCE_TYPE_UNSPECIFIED": 0, 99 "AGENT": 1, 100 "INTENT": 2, 101 "INTENT_TRAINING_PHRASE": 8, 102 "INTENT_PARAMETER": 9, 103 "INTENTS": 10, 104 "INTENT_TRAINING_PHRASES": 11, 105 "ENTITY_TYPE": 3, 106 "ENTITY_TYPES": 12, 107 "WEBHOOK": 4, 108 "FLOW": 5, 109 "PAGE": 6, 110 "PAGES": 13, 111 "TRANSITION_ROUTE_GROUP": 7, 112 } 113) 114 115func (x ValidationMessage_ResourceType) Enum() *ValidationMessage_ResourceType { 116 p := new(ValidationMessage_ResourceType) 117 *p = x 118 return p 119} 120 121func (x ValidationMessage_ResourceType) String() string { 122 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 123} 124 125func (ValidationMessage_ResourceType) Descriptor() protoreflect.EnumDescriptor { 126 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes[0].Descriptor() 127} 128 129func (ValidationMessage_ResourceType) Type() protoreflect.EnumType { 130 return &file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes[0] 131} 132 133func (x ValidationMessage_ResourceType) Number() protoreflect.EnumNumber { 134 return protoreflect.EnumNumber(x) 135} 136 137// Deprecated: Use ValidationMessage_ResourceType.Descriptor instead. 138func (ValidationMessage_ResourceType) EnumDescriptor() ([]byte, []int) { 139 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescGZIP(), []int{0, 0} 140} 141 142// Severity level. 143type ValidationMessage_Severity int32 144 145const ( 146 // Unspecified. 147 ValidationMessage_SEVERITY_UNSPECIFIED ValidationMessage_Severity = 0 148 // The agent doesn't follow Dialogflow best practices. 149 ValidationMessage_INFO ValidationMessage_Severity = 1 150 // The agent may not behave as expected. 151 ValidationMessage_WARNING ValidationMessage_Severity = 2 152 // The agent may experience failures. 153 ValidationMessage_ERROR ValidationMessage_Severity = 3 154) 155 156// Enum value maps for ValidationMessage_Severity. 157var ( 158 ValidationMessage_Severity_name = map[int32]string{ 159 0: "SEVERITY_UNSPECIFIED", 160 1: "INFO", 161 2: "WARNING", 162 3: "ERROR", 163 } 164 ValidationMessage_Severity_value = map[string]int32{ 165 "SEVERITY_UNSPECIFIED": 0, 166 "INFO": 1, 167 "WARNING": 2, 168 "ERROR": 3, 169 } 170) 171 172func (x ValidationMessage_Severity) Enum() *ValidationMessage_Severity { 173 p := new(ValidationMessage_Severity) 174 *p = x 175 return p 176} 177 178func (x ValidationMessage_Severity) String() string { 179 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 180} 181 182func (ValidationMessage_Severity) Descriptor() protoreflect.EnumDescriptor { 183 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes[1].Descriptor() 184} 185 186func (ValidationMessage_Severity) Type() protoreflect.EnumType { 187 return &file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes[1] 188} 189 190func (x ValidationMessage_Severity) Number() protoreflect.EnumNumber { 191 return protoreflect.EnumNumber(x) 192} 193 194// Deprecated: Use ValidationMessage_Severity.Descriptor instead. 195func (ValidationMessage_Severity) EnumDescriptor() ([]byte, []int) { 196 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescGZIP(), []int{0, 1} 197} 198 199// Agent/flow validation message. 200type ValidationMessage struct { 201 state protoimpl.MessageState 202 sizeCache protoimpl.SizeCache 203 unknownFields protoimpl.UnknownFields 204 205 // The type of the resources where the message is found. 206 ResourceType ValidationMessage_ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=google.cloud.dialogflow.cx.v3.ValidationMessage_ResourceType" json:"resource_type,omitempty"` 207 // The names of the resources where the message is found. 208 // 209 // Deprecated: Do not use. 210 Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` 211 // The resource names of the resources where the message is found. 212 ResourceNames []*ResourceName `protobuf:"bytes,6,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` 213 // Indicates the severity of the message. 214 Severity ValidationMessage_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.cloud.dialogflow.cx.v3.ValidationMessage_Severity" json:"severity,omitempty"` 215 // The message detail. 216 Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` 217} 218 219func (x *ValidationMessage) Reset() { 220 *x = ValidationMessage{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[0] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226} 227 228func (x *ValidationMessage) String() string { 229 return protoimpl.X.MessageStringOf(x) 230} 231 232func (*ValidationMessage) ProtoMessage() {} 233 234func (x *ValidationMessage) ProtoReflect() protoreflect.Message { 235 mi := &file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[0] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244} 245 246// Deprecated: Use ValidationMessage.ProtoReflect.Descriptor instead. 247func (*ValidationMessage) Descriptor() ([]byte, []int) { 248 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescGZIP(), []int{0} 249} 250 251func (x *ValidationMessage) GetResourceType() ValidationMessage_ResourceType { 252 if x != nil { 253 return x.ResourceType 254 } 255 return ValidationMessage_RESOURCE_TYPE_UNSPECIFIED 256} 257 258// Deprecated: Do not use. 259func (x *ValidationMessage) GetResources() []string { 260 if x != nil { 261 return x.Resources 262 } 263 return nil 264} 265 266func (x *ValidationMessage) GetResourceNames() []*ResourceName { 267 if x != nil { 268 return x.ResourceNames 269 } 270 return nil 271} 272 273func (x *ValidationMessage) GetSeverity() ValidationMessage_Severity { 274 if x != nil { 275 return x.Severity 276 } 277 return ValidationMessage_SEVERITY_UNSPECIFIED 278} 279 280func (x *ValidationMessage) GetDetail() string { 281 if x != nil { 282 return x.Detail 283 } 284 return "" 285} 286 287// Resource name and display name. 288type ResourceName struct { 289 state protoimpl.MessageState 290 sizeCache protoimpl.SizeCache 291 unknownFields protoimpl.UnknownFields 292 293 // Name. 294 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 295 // Display name. 296 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 297} 298 299func (x *ResourceName) Reset() { 300 *x = ResourceName{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[1] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306} 307 308func (x *ResourceName) String() string { 309 return protoimpl.X.MessageStringOf(x) 310} 311 312func (*ResourceName) ProtoMessage() {} 313 314func (x *ResourceName) ProtoReflect() protoreflect.Message { 315 mi := &file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[1] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324} 325 326// Deprecated: Use ResourceName.ProtoReflect.Descriptor instead. 327func (*ResourceName) Descriptor() ([]byte, []int) { 328 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescGZIP(), []int{1} 329} 330 331func (x *ResourceName) GetName() string { 332 if x != nil { 333 return x.Name 334 } 335 return "" 336} 337 338func (x *ResourceName) GetDisplayName() string { 339 if x != nil { 340 return x.DisplayName 341 } 342 return "" 343} 344 345var File_google_cloud_dialogflow_cx_v3_validation_message_proto protoreflect.FileDescriptor 346 347var file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDesc = []byte{ 348 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 349 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, 350 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 351 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 352 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 353 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 354 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 355 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 356 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 357 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x05, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 358 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x72, 0x65, 0x73, 359 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 360 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 361 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 362 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 363 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 364 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 365 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 366 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 367 0x52, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 368 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 369 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 370 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 371 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 372 0x6d, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 373 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 374 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 375 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 376 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 377 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 378 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 379 0x69, 0x6c, 0x22, 0x8b, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 380 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 381 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 382 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 383 0x06, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x54, 384 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x48, 0x52, 385 0x41, 0x53, 0x45, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 386 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x49, 387 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 388 0x4e, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x48, 0x52, 0x41, 389 0x53, 0x45, 0x53, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 390 0x54, 0x59, 0x50, 0x45, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 391 0x5f, 0x54, 0x59, 0x50, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x45, 0x42, 0x48, 392 0x4f, 0x4f, 0x4b, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x05, 0x12, 393 0x08, 0x0a, 0x04, 0x50, 0x41, 0x47, 0x45, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x41, 0x47, 394 0x45, 0x53, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x54, 0x49, 395 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x07, 396 0x22, 0x46, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 397 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 398 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 399 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, 0x0a, 400 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0x45, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 401 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 402 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 403 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 404 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 405 0xa6, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 406 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 407 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 408 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 409 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 410 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 411 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 412 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 413 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 414 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 415 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 416} 417 418var ( 419 file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescOnce sync.Once 420 file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDesc 421) 422 423func file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescGZIP() []byte { 424 file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescOnce.Do(func() { 425 file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescData) 426 }) 427 return file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDescData 428} 429 430var file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 431var file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 432var file_google_cloud_dialogflow_cx_v3_validation_message_proto_goTypes = []interface{}{ 433 (ValidationMessage_ResourceType)(0), // 0: google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType 434 (ValidationMessage_Severity)(0), // 1: google.cloud.dialogflow.cx.v3.ValidationMessage.Severity 435 (*ValidationMessage)(nil), // 2: google.cloud.dialogflow.cx.v3.ValidationMessage 436 (*ResourceName)(nil), // 3: google.cloud.dialogflow.cx.v3.ResourceName 437} 438var file_google_cloud_dialogflow_cx_v3_validation_message_proto_depIdxs = []int32{ 439 0, // 0: google.cloud.dialogflow.cx.v3.ValidationMessage.resource_type:type_name -> google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType 440 3, // 1: google.cloud.dialogflow.cx.v3.ValidationMessage.resource_names:type_name -> google.cloud.dialogflow.cx.v3.ResourceName 441 1, // 2: google.cloud.dialogflow.cx.v3.ValidationMessage.severity:type_name -> google.cloud.dialogflow.cx.v3.ValidationMessage.Severity 442 3, // [3:3] is the sub-list for method output_type 443 3, // [3:3] is the sub-list for method input_type 444 3, // [3:3] is the sub-list for extension type_name 445 3, // [3:3] is the sub-list for extension extendee 446 0, // [0:3] is the sub-list for field type_name 447} 448 449func init() { file_google_cloud_dialogflow_cx_v3_validation_message_proto_init() } 450func file_google_cloud_dialogflow_cx_v3_validation_message_proto_init() { 451 if File_google_cloud_dialogflow_cx_v3_validation_message_proto != nil { 452 return 453 } 454 if !protoimpl.UnsafeEnabled { 455 file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 456 switch v := v.(*ValidationMessage); i { 457 case 0: 458 return &v.state 459 case 1: 460 return &v.sizeCache 461 case 2: 462 return &v.unknownFields 463 default: 464 return nil 465 } 466 } 467 file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 468 switch v := v.(*ResourceName); i { 469 case 0: 470 return &v.state 471 case 1: 472 return &v.sizeCache 473 case 2: 474 return &v.unknownFields 475 default: 476 return nil 477 } 478 } 479 } 480 type x struct{} 481 out := protoimpl.TypeBuilder{ 482 File: protoimpl.DescBuilder{ 483 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 484 RawDescriptor: file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDesc, 485 NumEnums: 2, 486 NumMessages: 2, 487 NumExtensions: 0, 488 NumServices: 0, 489 }, 490 GoTypes: file_google_cloud_dialogflow_cx_v3_validation_message_proto_goTypes, 491 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_validation_message_proto_depIdxs, 492 EnumInfos: file_google_cloud_dialogflow_cx_v3_validation_message_proto_enumTypes, 493 MessageInfos: file_google_cloud_dialogflow_cx_v3_validation_message_proto_msgTypes, 494 }.Build() 495 File_google_cloud_dialogflow_cx_v3_validation_message_proto = out.File 496 file_google_cloud_dialogflow_cx_v3_validation_message_proto_rawDesc = nil 497 file_google_cloud_dialogflow_cx_v3_validation_message_proto_goTypes = nil 498 file_google_cloud_dialogflow_cx_v3_validation_message_proto_depIdxs = nil 499} 500