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/v3/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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_advanced_settings_proto protoreflect.FileDescriptor 156 157var file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDesc = []byte{ 158 0x0a, 0x35, 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, 0x2f, 160 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 161 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 162 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 163 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 164 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 165 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 166 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 167 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 168 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 169 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x02, 0x0a, 0x10, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 170 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x6a, 0x0a, 0x10, 0x6c, 0x6f, 171 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 172 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 173 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 174 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x65, 0x74, 175 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 176 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x53, 0x65, 177 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x8d, 0x01, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x67, 0x69, 178 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 179 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 180 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 181 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 182 0x72, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 183 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 184 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 185 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 186 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0xc9, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 187 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 188 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 0x15, 0x41, 0x64, 189 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 190 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 191 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 192 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 193 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 194 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 195 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 196 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0xea, 0x02, 197 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 198 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x43, 0x58, 0x3a, 0x3a, 199 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 200} 201 202var ( 203 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescOnce sync.Once 204 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDesc 205) 206 207func file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescGZIP() []byte { 208 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescOnce.Do(func() { 209 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescData) 210 }) 211 return file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDescData 212} 213 214var file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 215var file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_goTypes = []interface{}{ 216 (*AdvancedSettings)(nil), // 0: google.cloud.dialogflow.cx.v3.AdvancedSettings 217 (*AdvancedSettings_LoggingSettings)(nil), // 1: google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings 218} 219var file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_depIdxs = []int32{ 220 1, // 0: google.cloud.dialogflow.cx.v3.AdvancedSettings.logging_settings:type_name -> google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings 221 1, // [1:1] is the sub-list for method output_type 222 1, // [1:1] is the sub-list for method input_type 223 1, // [1:1] is the sub-list for extension type_name 224 1, // [1:1] is the sub-list for extension extendee 225 0, // [0:1] is the sub-list for field type_name 226} 227 228func init() { file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_init() } 229func file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_init() { 230 if File_google_cloud_dialogflow_cx_v3_advanced_settings_proto != nil { 231 return 232 } 233 if !protoimpl.UnsafeEnabled { 234 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 235 switch v := v.(*AdvancedSettings); i { 236 case 0: 237 return &v.state 238 case 1: 239 return &v.sizeCache 240 case 2: 241 return &v.unknownFields 242 default: 243 return nil 244 } 245 } 246 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 247 switch v := v.(*AdvancedSettings_LoggingSettings); i { 248 case 0: 249 return &v.state 250 case 1: 251 return &v.sizeCache 252 case 2: 253 return &v.unknownFields 254 default: 255 return nil 256 } 257 } 258 } 259 type x struct{} 260 out := protoimpl.TypeBuilder{ 261 File: protoimpl.DescBuilder{ 262 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 263 RawDescriptor: file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDesc, 264 NumEnums: 0, 265 NumMessages: 2, 266 NumExtensions: 0, 267 NumServices: 0, 268 }, 269 GoTypes: file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_goTypes, 270 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_depIdxs, 271 MessageInfos: file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_msgTypes, 272 }.Build() 273 File_google_cloud_dialogflow_cx_v3_advanced_settings_proto = out.File 274 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_rawDesc = nil 275 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_goTypes = nil 276 file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_depIdxs = nil 277} 278