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