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.22.0 18// protoc v3.11.2 19// source: google/ads/googleads/v1/services/conversion_action_service.proto 20 21package services 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 31 status "google.golang.org/genproto/googleapis/rpc/status" 32 field_mask "google.golang.org/genproto/protobuf/field_mask" 33 grpc "google.golang.org/grpc" 34 codes "google.golang.org/grpc/codes" 35 status1 "google.golang.org/grpc/status" 36 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 37 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// Request message for [ConversionActionService.GetConversionAction][google.ads.googleads.v1.services.ConversionActionService.GetConversionAction]. 52type GetConversionActionRequest struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 57 // Required. The resource name of the conversion action to fetch. 58 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 59} 60 61func (x *GetConversionActionRequest) Reset() { 62 *x = GetConversionActionRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *GetConversionActionRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*GetConversionActionRequest) ProtoMessage() {} 75 76func (x *GetConversionActionRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use GetConversionActionRequest.ProtoReflect.Descriptor instead. 89func (*GetConversionActionRequest) Descriptor() ([]byte, []int) { 90 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *GetConversionActionRequest) GetResourceName() string { 94 if x != nil { 95 return x.ResourceName 96 } 97 return "" 98} 99 100// Request message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions]. 101type MutateConversionActionsRequest struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 // Required. The ID of the customer whose conversion actions are being modified. 107 CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` 108 // Required. The list of operations to perform on individual conversion actions. 109 Operations []*ConversionActionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` 110 // If true, successful operations will be carried out and invalid 111 // operations will return errors. If false, all operations will be carried 112 // out in one transaction if and only if they are all valid. 113 // Default is false. 114 PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` 115 // If true, the request is validated but not executed. Only errors are 116 // returned, not results. 117 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 118} 119 120func (x *MutateConversionActionsRequest) Reset() { 121 *x = MutateConversionActionsRequest{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[1] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127} 128 129func (x *MutateConversionActionsRequest) String() string { 130 return protoimpl.X.MessageStringOf(x) 131} 132 133func (*MutateConversionActionsRequest) ProtoMessage() {} 134 135func (x *MutateConversionActionsRequest) ProtoReflect() protoreflect.Message { 136 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[1] 137 if protoimpl.UnsafeEnabled && x != nil { 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 if ms.LoadMessageInfo() == nil { 140 ms.StoreMessageInfo(mi) 141 } 142 return ms 143 } 144 return mi.MessageOf(x) 145} 146 147// Deprecated: Use MutateConversionActionsRequest.ProtoReflect.Descriptor instead. 148func (*MutateConversionActionsRequest) Descriptor() ([]byte, []int) { 149 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP(), []int{1} 150} 151 152func (x *MutateConversionActionsRequest) GetCustomerId() string { 153 if x != nil { 154 return x.CustomerId 155 } 156 return "" 157} 158 159func (x *MutateConversionActionsRequest) GetOperations() []*ConversionActionOperation { 160 if x != nil { 161 return x.Operations 162 } 163 return nil 164} 165 166func (x *MutateConversionActionsRequest) GetPartialFailure() bool { 167 if x != nil { 168 return x.PartialFailure 169 } 170 return false 171} 172 173func (x *MutateConversionActionsRequest) GetValidateOnly() bool { 174 if x != nil { 175 return x.ValidateOnly 176 } 177 return false 178} 179 180// A single operation (create, update, remove) on a conversion action. 181type ConversionActionOperation struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 // FieldMask that determines which resource fields are modified in an update. 187 UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 188 // The mutate operation. 189 // 190 // Types that are assignable to Operation: 191 // *ConversionActionOperation_Create 192 // *ConversionActionOperation_Update 193 // *ConversionActionOperation_Remove 194 Operation isConversionActionOperation_Operation `protobuf_oneof:"operation"` 195} 196 197func (x *ConversionActionOperation) Reset() { 198 *x = ConversionActionOperation{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[2] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204} 205 206func (x *ConversionActionOperation) String() string { 207 return protoimpl.X.MessageStringOf(x) 208} 209 210func (*ConversionActionOperation) ProtoMessage() {} 211 212func (x *ConversionActionOperation) ProtoReflect() protoreflect.Message { 213 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[2] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222} 223 224// Deprecated: Use ConversionActionOperation.ProtoReflect.Descriptor instead. 225func (*ConversionActionOperation) Descriptor() ([]byte, []int) { 226 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP(), []int{2} 227} 228 229func (x *ConversionActionOperation) GetUpdateMask() *field_mask.FieldMask { 230 if x != nil { 231 return x.UpdateMask 232 } 233 return nil 234} 235 236func (m *ConversionActionOperation) GetOperation() isConversionActionOperation_Operation { 237 if m != nil { 238 return m.Operation 239 } 240 return nil 241} 242 243func (x *ConversionActionOperation) GetCreate() *resources.ConversionAction { 244 if x, ok := x.GetOperation().(*ConversionActionOperation_Create); ok { 245 return x.Create 246 } 247 return nil 248} 249 250func (x *ConversionActionOperation) GetUpdate() *resources.ConversionAction { 251 if x, ok := x.GetOperation().(*ConversionActionOperation_Update); ok { 252 return x.Update 253 } 254 return nil 255} 256 257func (x *ConversionActionOperation) GetRemove() string { 258 if x, ok := x.GetOperation().(*ConversionActionOperation_Remove); ok { 259 return x.Remove 260 } 261 return "" 262} 263 264type isConversionActionOperation_Operation interface { 265 isConversionActionOperation_Operation() 266} 267 268type ConversionActionOperation_Create struct { 269 // Create operation: No resource name is expected for the new conversion 270 // action. 271 Create *resources.ConversionAction `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 272} 273 274type ConversionActionOperation_Update struct { 275 // Update operation: The conversion action is expected to have a valid 276 // resource name. 277 Update *resources.ConversionAction `protobuf:"bytes,2,opt,name=update,proto3,oneof"` 278} 279 280type ConversionActionOperation_Remove struct { 281 // Remove operation: A resource name for the removed conversion action is 282 // expected, in this format: 283 // 284 // `customers/{customer_id}/conversionActions/{conversion_action_id}` 285 Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` 286} 287 288func (*ConversionActionOperation_Create) isConversionActionOperation_Operation() {} 289 290func (*ConversionActionOperation_Update) isConversionActionOperation_Operation() {} 291 292func (*ConversionActionOperation_Remove) isConversionActionOperation_Operation() {} 293 294// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions]. 295type MutateConversionActionsResponse struct { 296 state protoimpl.MessageState 297 sizeCache protoimpl.SizeCache 298 unknownFields protoimpl.UnknownFields 299 300 // Errors that pertain to operation failures in the partial failure mode. 301 // Returned only when partial_failure = true and all errors occur inside the 302 // operations. If any errors occur outside the operations (e.g. auth errors), 303 // we return an RPC level error. 304 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 305 // All results for the mutate. 306 Results []*MutateConversionActionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 307} 308 309func (x *MutateConversionActionsResponse) Reset() { 310 *x = MutateConversionActionsResponse{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[3] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316} 317 318func (x *MutateConversionActionsResponse) String() string { 319 return protoimpl.X.MessageStringOf(x) 320} 321 322func (*MutateConversionActionsResponse) ProtoMessage() {} 323 324func (x *MutateConversionActionsResponse) ProtoReflect() protoreflect.Message { 325 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[3] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334} 335 336// Deprecated: Use MutateConversionActionsResponse.ProtoReflect.Descriptor instead. 337func (*MutateConversionActionsResponse) Descriptor() ([]byte, []int) { 338 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP(), []int{3} 339} 340 341func (x *MutateConversionActionsResponse) GetPartialFailureError() *status.Status { 342 if x != nil { 343 return x.PartialFailureError 344 } 345 return nil 346} 347 348func (x *MutateConversionActionsResponse) GetResults() []*MutateConversionActionResult { 349 if x != nil { 350 return x.Results 351 } 352 return nil 353} 354 355// The result for the conversion action mutate. 356type MutateConversionActionResult struct { 357 state protoimpl.MessageState 358 sizeCache protoimpl.SizeCache 359 unknownFields protoimpl.UnknownFields 360 361 // Returned for successful operations. 362 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 363} 364 365func (x *MutateConversionActionResult) Reset() { 366 *x = MutateConversionActionResult{} 367 if protoimpl.UnsafeEnabled { 368 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[4] 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 ms.StoreMessageInfo(mi) 371 } 372} 373 374func (x *MutateConversionActionResult) String() string { 375 return protoimpl.X.MessageStringOf(x) 376} 377 378func (*MutateConversionActionResult) ProtoMessage() {} 379 380func (x *MutateConversionActionResult) ProtoReflect() protoreflect.Message { 381 mi := &file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[4] 382 if protoimpl.UnsafeEnabled && x != nil { 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 if ms.LoadMessageInfo() == nil { 385 ms.StoreMessageInfo(mi) 386 } 387 return ms 388 } 389 return mi.MessageOf(x) 390} 391 392// Deprecated: Use MutateConversionActionResult.ProtoReflect.Descriptor instead. 393func (*MutateConversionActionResult) Descriptor() ([]byte, []int) { 394 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP(), []int{4} 395} 396 397func (x *MutateConversionActionResult) GetResourceName() string { 398 if x != nil { 399 return x.ResourceName 400 } 401 return "" 402} 403 404var File_google_ads_googleads_v1_services_conversion_action_service_proto protoreflect.FileDescriptor 405 406var file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDesc = []byte{ 407 0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 408 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 409 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 410 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 411 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 412 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 413 0x69, 0x63, 0x65, 0x73, 0x1a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 414 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 415 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 416 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 417 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 418 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 419 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 420 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 421 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 422 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 423 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 424 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 425 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 426 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 427 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 428 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 429 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x0d, 0x72, 430 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 431 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 432 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 433 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 434 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 435 0x61, 0x6d, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x1e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 436 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 437 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 438 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 439 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x0a, 440 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 441 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 442 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 443 0x63, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 444 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 445 0x41, 0x02, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 446 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 447 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 448 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 449 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 450 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x9d, 0x02, 0x0a, 451 0x19, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 452 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 453 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 454 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 455 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 456 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x4d, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 457 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 458 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 459 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 460 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 461 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 462 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 463 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x31, 464 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 465 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x75, 466 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 467 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 468 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc3, 0x01, 0x0a, 469 0x1f, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 470 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 471 0x12, 0x46, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 472 0x75, 0x72, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 473 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 474 0x74, 0x75, 0x73, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 475 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x58, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 476 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 477 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 478 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 479 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 480 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 481 0x74, 0x73, 0x22, 0x43, 0x0a, 0x1c, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x76, 482 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 483 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 484 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 485 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x8b, 0x04, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x76, 486 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 487 0x69, 0x63, 0x65, 0x12, 0xd5, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 488 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 489 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 490 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 491 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 492 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 493 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 494 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x6f, 495 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 496 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 497 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x63, 0x75, 0x73, 0x74, 0x6f, 498 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 499 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x0d, 0x72, 0x65, 500 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xfa, 0x01, 0x0a, 0x17, 501 0x4d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 502 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 503 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 504 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 505 0x65, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 506 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 507 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 508 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x75, 0x74, 509 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 510 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x82, 0xd3, 511 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 512 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 513 0x3d, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 514 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 515 0x41, 0x16, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x6f, 0x70, 516 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0xca, 0x41, 0x18, 0x67, 0x6f, 0x6f, 517 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 518 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x83, 0x02, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 519 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 520 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x1c, 521 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 522 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 523 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 524 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 525 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 526 0x61, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3b, 527 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 528 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 529 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 530 0x73, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 531 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x65, 0x72, 0x76, 532 0x69, 0x63, 0x65, 0x73, 0xea, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 533 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 534 0x31, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 535 0x74, 0x6f, 0x33, 536} 537 538var ( 539 file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescOnce sync.Once 540 file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescData = file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDesc 541) 542 543func file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescGZIP() []byte { 544 file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescOnce.Do(func() { 545 file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescData) 546 }) 547 return file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDescData 548} 549 550var file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 551var file_google_ads_googleads_v1_services_conversion_action_service_proto_goTypes = []interface{}{ 552 (*GetConversionActionRequest)(nil), // 0: google.ads.googleads.v1.services.GetConversionActionRequest 553 (*MutateConversionActionsRequest)(nil), // 1: google.ads.googleads.v1.services.MutateConversionActionsRequest 554 (*ConversionActionOperation)(nil), // 2: google.ads.googleads.v1.services.ConversionActionOperation 555 (*MutateConversionActionsResponse)(nil), // 3: google.ads.googleads.v1.services.MutateConversionActionsResponse 556 (*MutateConversionActionResult)(nil), // 4: google.ads.googleads.v1.services.MutateConversionActionResult 557 (*field_mask.FieldMask)(nil), // 5: google.protobuf.FieldMask 558 (*resources.ConversionAction)(nil), // 6: google.ads.googleads.v1.resources.ConversionAction 559 (*status.Status)(nil), // 7: google.rpc.Status 560} 561var file_google_ads_googleads_v1_services_conversion_action_service_proto_depIdxs = []int32{ 562 2, // 0: google.ads.googleads.v1.services.MutateConversionActionsRequest.operations:type_name -> google.ads.googleads.v1.services.ConversionActionOperation 563 5, // 1: google.ads.googleads.v1.services.ConversionActionOperation.update_mask:type_name -> google.protobuf.FieldMask 564 6, // 2: google.ads.googleads.v1.services.ConversionActionOperation.create:type_name -> google.ads.googleads.v1.resources.ConversionAction 565 6, // 3: google.ads.googleads.v1.services.ConversionActionOperation.update:type_name -> google.ads.googleads.v1.resources.ConversionAction 566 7, // 4: google.ads.googleads.v1.services.MutateConversionActionsResponse.partial_failure_error:type_name -> google.rpc.Status 567 4, // 5: google.ads.googleads.v1.services.MutateConversionActionsResponse.results:type_name -> google.ads.googleads.v1.services.MutateConversionActionResult 568 0, // 6: google.ads.googleads.v1.services.ConversionActionService.GetConversionAction:input_type -> google.ads.googleads.v1.services.GetConversionActionRequest 569 1, // 7: google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions:input_type -> google.ads.googleads.v1.services.MutateConversionActionsRequest 570 6, // 8: google.ads.googleads.v1.services.ConversionActionService.GetConversionAction:output_type -> google.ads.googleads.v1.resources.ConversionAction 571 3, // 9: google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions:output_type -> google.ads.googleads.v1.services.MutateConversionActionsResponse 572 8, // [8:10] is the sub-list for method output_type 573 6, // [6:8] is the sub-list for method input_type 574 6, // [6:6] is the sub-list for extension type_name 575 6, // [6:6] is the sub-list for extension extendee 576 0, // [0:6] is the sub-list for field type_name 577} 578 579func init() { file_google_ads_googleads_v1_services_conversion_action_service_proto_init() } 580func file_google_ads_googleads_v1_services_conversion_action_service_proto_init() { 581 if File_google_ads_googleads_v1_services_conversion_action_service_proto != nil { 582 return 583 } 584 if !protoimpl.UnsafeEnabled { 585 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 586 switch v := v.(*GetConversionActionRequest); i { 587 case 0: 588 return &v.state 589 case 1: 590 return &v.sizeCache 591 case 2: 592 return &v.unknownFields 593 default: 594 return nil 595 } 596 } 597 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 598 switch v := v.(*MutateConversionActionsRequest); i { 599 case 0: 600 return &v.state 601 case 1: 602 return &v.sizeCache 603 case 2: 604 return &v.unknownFields 605 default: 606 return nil 607 } 608 } 609 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 610 switch v := v.(*ConversionActionOperation); i { 611 case 0: 612 return &v.state 613 case 1: 614 return &v.sizeCache 615 case 2: 616 return &v.unknownFields 617 default: 618 return nil 619 } 620 } 621 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 622 switch v := v.(*MutateConversionActionsResponse); i { 623 case 0: 624 return &v.state 625 case 1: 626 return &v.sizeCache 627 case 2: 628 return &v.unknownFields 629 default: 630 return nil 631 } 632 } 633 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 634 switch v := v.(*MutateConversionActionResult); i { 635 case 0: 636 return &v.state 637 case 1: 638 return &v.sizeCache 639 case 2: 640 return &v.unknownFields 641 default: 642 return nil 643 } 644 } 645 } 646 file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes[2].OneofWrappers = []interface{}{ 647 (*ConversionActionOperation_Create)(nil), 648 (*ConversionActionOperation_Update)(nil), 649 (*ConversionActionOperation_Remove)(nil), 650 } 651 type x struct{} 652 out := protoimpl.TypeBuilder{ 653 File: protoimpl.DescBuilder{ 654 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 655 RawDescriptor: file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDesc, 656 NumEnums: 0, 657 NumMessages: 5, 658 NumExtensions: 0, 659 NumServices: 1, 660 }, 661 GoTypes: file_google_ads_googleads_v1_services_conversion_action_service_proto_goTypes, 662 DependencyIndexes: file_google_ads_googleads_v1_services_conversion_action_service_proto_depIdxs, 663 MessageInfos: file_google_ads_googleads_v1_services_conversion_action_service_proto_msgTypes, 664 }.Build() 665 File_google_ads_googleads_v1_services_conversion_action_service_proto = out.File 666 file_google_ads_googleads_v1_services_conversion_action_service_proto_rawDesc = nil 667 file_google_ads_googleads_v1_services_conversion_action_service_proto_goTypes = nil 668 file_google_ads_googleads_v1_services_conversion_action_service_proto_depIdxs = nil 669} 670 671// Reference imports to suppress errors if they are not otherwise used. 672var _ context.Context 673var _ grpc.ClientConnInterface 674 675// This is a compile-time assertion to ensure that this generated file 676// is compatible with the grpc package it is being compiled against. 677const _ = grpc.SupportPackageIsVersion6 678 679// ConversionActionServiceClient is the client API for ConversionActionService service. 680// 681// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 682type ConversionActionServiceClient interface { 683 // Returns the requested conversion action. 684 GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error) 685 // Creates, updates or removes conversion actions. Operation statuses are 686 // returned. 687 MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error) 688} 689 690type conversionActionServiceClient struct { 691 cc grpc.ClientConnInterface 692} 693 694func NewConversionActionServiceClient(cc grpc.ClientConnInterface) ConversionActionServiceClient { 695 return &conversionActionServiceClient{cc} 696} 697 698func (c *conversionActionServiceClient) GetConversionAction(ctx context.Context, in *GetConversionActionRequest, opts ...grpc.CallOption) (*resources.ConversionAction, error) { 699 out := new(resources.ConversionAction) 700 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionActionService/GetConversionAction", in, out, opts...) 701 if err != nil { 702 return nil, err 703 } 704 return out, nil 705} 706 707func (c *conversionActionServiceClient) MutateConversionActions(ctx context.Context, in *MutateConversionActionsRequest, opts ...grpc.CallOption) (*MutateConversionActionsResponse, error) { 708 out := new(MutateConversionActionsResponse) 709 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionActionService/MutateConversionActions", in, out, opts...) 710 if err != nil { 711 return nil, err 712 } 713 return out, nil 714} 715 716// ConversionActionServiceServer is the server API for ConversionActionService service. 717type ConversionActionServiceServer interface { 718 // Returns the requested conversion action. 719 GetConversionAction(context.Context, *GetConversionActionRequest) (*resources.ConversionAction, error) 720 // Creates, updates or removes conversion actions. Operation statuses are 721 // returned. 722 MutateConversionActions(context.Context, *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error) 723} 724 725// UnimplementedConversionActionServiceServer can be embedded to have forward compatible implementations. 726type UnimplementedConversionActionServiceServer struct { 727} 728 729func (*UnimplementedConversionActionServiceServer) GetConversionAction(context.Context, *GetConversionActionRequest) (*resources.ConversionAction, error) { 730 return nil, status1.Errorf(codes.Unimplemented, "method GetConversionAction not implemented") 731} 732func (*UnimplementedConversionActionServiceServer) MutateConversionActions(context.Context, *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error) { 733 return nil, status1.Errorf(codes.Unimplemented, "method MutateConversionActions not implemented") 734} 735 736func RegisterConversionActionServiceServer(s *grpc.Server, srv ConversionActionServiceServer) { 737 s.RegisterService(&_ConversionActionService_serviceDesc, srv) 738} 739 740func _ConversionActionService_GetConversionAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 741 in := new(GetConversionActionRequest) 742 if err := dec(in); err != nil { 743 return nil, err 744 } 745 if interceptor == nil { 746 return srv.(ConversionActionServiceServer).GetConversionAction(ctx, in) 747 } 748 info := &grpc.UnaryServerInfo{ 749 Server: srv, 750 FullMethod: "/google.ads.googleads.v1.services.ConversionActionService/GetConversionAction", 751 } 752 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 753 return srv.(ConversionActionServiceServer).GetConversionAction(ctx, req.(*GetConversionActionRequest)) 754 } 755 return interceptor(ctx, in, info, handler) 756} 757 758func _ConversionActionService_MutateConversionActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 759 in := new(MutateConversionActionsRequest) 760 if err := dec(in); err != nil { 761 return nil, err 762 } 763 if interceptor == nil { 764 return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, in) 765 } 766 info := &grpc.UnaryServerInfo{ 767 Server: srv, 768 FullMethod: "/google.ads.googleads.v1.services.ConversionActionService/MutateConversionActions", 769 } 770 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 771 return srv.(ConversionActionServiceServer).MutateConversionActions(ctx, req.(*MutateConversionActionsRequest)) 772 } 773 return interceptor(ctx, in, info, handler) 774} 775 776var _ConversionActionService_serviceDesc = grpc.ServiceDesc{ 777 ServiceName: "google.ads.googleads.v1.services.ConversionActionService", 778 HandlerType: (*ConversionActionServiceServer)(nil), 779 Methods: []grpc.MethodDesc{ 780 { 781 MethodName: "GetConversionAction", 782 Handler: _ConversionActionService_GetConversionAction_Handler, 783 }, 784 { 785 MethodName: "MutateConversionActions", 786 Handler: _ConversionActionService_MutateConversionActions_Handler, 787 }, 788 }, 789 Streams: []grpc.StreamDesc{}, 790 Metadata: "google/ads/googleads/v1/services/conversion_action_service.proto", 791} 792