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.26.0 18// protoc v3.12.2 19// source: google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto 20 21package cx 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 _ "google.golang.org/protobuf/types/known/durationpb" 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// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. 41// Settings exposed at lower level overrides the settings exposed at higher 42// level. 43// 44// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. 45type AdvancedSettings struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // Settings for logging. 51 // Settings for Dialogflow History, Contact Center messages, StackDriver logs, 52 // and speech logging. 53 // Exposed at the following levels: 54 // - Agent level. 55 LoggingSettings *AdvancedSettings_LoggingSettings `protobuf:"bytes,6,opt,name=logging_settings,json=loggingSettings,proto3" json:"logging_settings,omitempty"` 56} 57 58func (x *AdvancedSettings) Reset() { 59 *x = AdvancedSettings{} 60 if protoimpl.UnsafeEnabled { 61 mi := &file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[0] 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 ms.StoreMessageInfo(mi) 64 } 65} 66 67func (x *AdvancedSettings) String() string { 68 return protoimpl.X.MessageStringOf(x) 69} 70 71func (*AdvancedSettings) ProtoMessage() {} 72 73func (x *AdvancedSettings) ProtoReflect() protoreflect.Message { 74 mi := &file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[0] 75 if protoimpl.UnsafeEnabled && x != nil { 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 77 if ms.LoadMessageInfo() == nil { 78 ms.StoreMessageInfo(mi) 79 } 80 return ms 81 } 82 return mi.MessageOf(x) 83} 84 85// Deprecated: Use AdvancedSettings.ProtoReflect.Descriptor instead. 86func (*AdvancedSettings) Descriptor() ([]byte, []int) { 87 return file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescGZIP(), []int{0} 88} 89 90func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettings { 91 if x != nil { 92 return x.LoggingSettings 93 } 94 return nil 95} 96 97// Define behaviors on logging. 98type AdvancedSettings_LoggingSettings struct { 99 state protoimpl.MessageState 100 sizeCache protoimpl.SizeCache 101 unknownFields protoimpl.UnknownFields 102 103 // If true, StackDriver logging is currently enabled. 104 EnableStackdriverLogging bool `protobuf:"varint,2,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"` 105 // If true, DF Interaction logging is currently enabled. 106 EnableInteractionLogging bool `protobuf:"varint,3,opt,name=enable_interaction_logging,json=enableInteractionLogging,proto3" json:"enable_interaction_logging,omitempty"` 107} 108 109func (x *AdvancedSettings_LoggingSettings) Reset() { 110 *x = AdvancedSettings_LoggingSettings{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[1] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *AdvancedSettings_LoggingSettings) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*AdvancedSettings_LoggingSettings) ProtoMessage() {} 123 124func (x *AdvancedSettings_LoggingSettings) ProtoReflect() protoreflect.Message { 125 mi := &file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[1] 126 if protoimpl.UnsafeEnabled && x != nil { 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 if ms.LoadMessageInfo() == nil { 129 ms.StoreMessageInfo(mi) 130 } 131 return ms 132 } 133 return mi.MessageOf(x) 134} 135 136// Deprecated: Use AdvancedSettings_LoggingSettings.ProtoReflect.Descriptor instead. 137func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int) { 138 return file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescGZIP(), []int{0, 0} 139} 140 141func (x *AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging() bool { 142 if x != nil { 143 return x.EnableStackdriverLogging 144 } 145 return false 146} 147 148func (x *AdvancedSettings_LoggingSettings) GetEnableInteractionLogging() bool { 149 if x != nil { 150 return x.EnableInteractionLogging 151 } 152 return false 153} 154 155var File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto protoreflect.FileDescriptor 156 157var file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDesc = []byte{ 158 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 159 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 160 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x73, 0x65, 161 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 162 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 163 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 164 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 165 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 166 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 167 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 168 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 169 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 170 0x93, 0x02, 0x0a, 0x10, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 171 0x69, 0x6e, 0x67, 0x73, 0x12, 0x6f, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 172 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 173 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 174 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 175 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 176 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 177 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 178 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x8d, 0x01, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 179 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 180 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 181 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 182 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 183 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 184 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 185 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 186 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 187 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0xdd, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 188 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 189 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 190 0x42, 0x15, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 191 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 192 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 193 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 194 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 195 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x78, 0xf8, 196 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 197 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 198 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x26, 0x47, 199 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x69, 200 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x43, 0x58, 0x3a, 0x3a, 0x56, 0x33, 201 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 202} 203 204var ( 205 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescOnce sync.Once 206 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDesc 207) 208 209func file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescGZIP() []byte { 210 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescOnce.Do(func() { 211 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescData) 212 }) 213 return file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDescData 214} 215 216var file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 217var file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_goTypes = []interface{}{ 218 (*AdvancedSettings)(nil), // 0: google.cloud.dialogflow.cx.v3beta1.AdvancedSettings 219 (*AdvancedSettings_LoggingSettings)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings 220} 221var file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_depIdxs = []int32{ 222 1, // 0: google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.logging_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings 223 1, // [1:1] is the sub-list for method output_type 224 1, // [1:1] is the sub-list for method input_type 225 1, // [1:1] is the sub-list for extension type_name 226 1, // [1:1] is the sub-list for extension extendee 227 0, // [0:1] is the sub-list for field type_name 228} 229 230func init() { file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_init() } 231func file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_init() { 232 if File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto != nil { 233 return 234 } 235 if !protoimpl.UnsafeEnabled { 236 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 237 switch v := v.(*AdvancedSettings); i { 238 case 0: 239 return &v.state 240 case 1: 241 return &v.sizeCache 242 case 2: 243 return &v.unknownFields 244 default: 245 return nil 246 } 247 } 248 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 249 switch v := v.(*AdvancedSettings_LoggingSettings); i { 250 case 0: 251 return &v.state 252 case 1: 253 return &v.sizeCache 254 case 2: 255 return &v.unknownFields 256 default: 257 return nil 258 } 259 } 260 } 261 type x struct{} 262 out := protoimpl.TypeBuilder{ 263 File: protoimpl.DescBuilder{ 264 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 265 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDesc, 266 NumEnums: 0, 267 NumMessages: 2, 268 NumExtensions: 0, 269 NumServices: 0, 270 }, 271 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_goTypes, 272 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_depIdxs, 273 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_msgTypes, 274 }.Build() 275 File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto = out.File 276 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_rawDesc = nil 277 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_goTypes = nil 278 file_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto_depIdxs = nil 279} 280