1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/services/ad_group_ad_label_service.proto 3 4package services 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 status "google.golang.org/genproto/googleapis/rpc/status" 15 grpc "google.golang.org/grpc" 16 codes "google.golang.org/grpc/codes" 17 status1 "google.golang.org/grpc/status" 18) 19 20// Reference imports to suppress errors if they are not otherwise used. 21var _ = proto.Marshal 22var _ = fmt.Errorf 23var _ = math.Inf 24 25// This is a compile-time assertion to ensure that this generated file 26// is compatible with the proto package it is being compiled against. 27// A compilation error at this line likely means your copy of the 28// proto package needs to be updated. 29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 30 31// Request message for [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v1.services.AdGroupAdLabelService.GetAdGroupAdLabel]. 32type GetAdGroupAdLabelRequest struct { 33 // Required. The resource name of the ad group ad label to fetch. 34 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 35 XXX_NoUnkeyedLiteral struct{} `json:"-"` 36 XXX_unrecognized []byte `json:"-"` 37 XXX_sizecache int32 `json:"-"` 38} 39 40func (m *GetAdGroupAdLabelRequest) Reset() { *m = GetAdGroupAdLabelRequest{} } 41func (m *GetAdGroupAdLabelRequest) String() string { return proto.CompactTextString(m) } 42func (*GetAdGroupAdLabelRequest) ProtoMessage() {} 43func (*GetAdGroupAdLabelRequest) Descriptor() ([]byte, []int) { 44 return fileDescriptor_54f0c11a748eada4, []int{0} 45} 46 47func (m *GetAdGroupAdLabelRequest) XXX_Unmarshal(b []byte) error { 48 return xxx_messageInfo_GetAdGroupAdLabelRequest.Unmarshal(m, b) 49} 50func (m *GetAdGroupAdLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 51 return xxx_messageInfo_GetAdGroupAdLabelRequest.Marshal(b, m, deterministic) 52} 53func (m *GetAdGroupAdLabelRequest) XXX_Merge(src proto.Message) { 54 xxx_messageInfo_GetAdGroupAdLabelRequest.Merge(m, src) 55} 56func (m *GetAdGroupAdLabelRequest) XXX_Size() int { 57 return xxx_messageInfo_GetAdGroupAdLabelRequest.Size(m) 58} 59func (m *GetAdGroupAdLabelRequest) XXX_DiscardUnknown() { 60 xxx_messageInfo_GetAdGroupAdLabelRequest.DiscardUnknown(m) 61} 62 63var xxx_messageInfo_GetAdGroupAdLabelRequest proto.InternalMessageInfo 64 65func (m *GetAdGroupAdLabelRequest) GetResourceName() string { 66 if m != nil { 67 return m.ResourceName 68 } 69 return "" 70} 71 72// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v1.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. 73type MutateAdGroupAdLabelsRequest struct { 74 // Required. ID of the customer whose ad group ad labels are being modified. 75 CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` 76 // Required. The list of operations to perform on ad group ad labels. 77 Operations []*AdGroupAdLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` 78 // If true, successful operations will be carried out and invalid 79 // operations will return errors. If false, all operations will be carried 80 // out in one transaction if and only if they are all valid. 81 // Default is false. 82 PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` 83 // If true, the request is validated but not executed. Only errors are 84 // returned, not results. 85 ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 86 XXX_NoUnkeyedLiteral struct{} `json:"-"` 87 XXX_unrecognized []byte `json:"-"` 88 XXX_sizecache int32 `json:"-"` 89} 90 91func (m *MutateAdGroupAdLabelsRequest) Reset() { *m = MutateAdGroupAdLabelsRequest{} } 92func (m *MutateAdGroupAdLabelsRequest) String() string { return proto.CompactTextString(m) } 93func (*MutateAdGroupAdLabelsRequest) ProtoMessage() {} 94func (*MutateAdGroupAdLabelsRequest) Descriptor() ([]byte, []int) { 95 return fileDescriptor_54f0c11a748eada4, []int{1} 96} 97 98func (m *MutateAdGroupAdLabelsRequest) XXX_Unmarshal(b []byte) error { 99 return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Unmarshal(m, b) 100} 101func (m *MutateAdGroupAdLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 102 return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Marshal(b, m, deterministic) 103} 104func (m *MutateAdGroupAdLabelsRequest) XXX_Merge(src proto.Message) { 105 xxx_messageInfo_MutateAdGroupAdLabelsRequest.Merge(m, src) 106} 107func (m *MutateAdGroupAdLabelsRequest) XXX_Size() int { 108 return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Size(m) 109} 110func (m *MutateAdGroupAdLabelsRequest) XXX_DiscardUnknown() { 111 xxx_messageInfo_MutateAdGroupAdLabelsRequest.DiscardUnknown(m) 112} 113 114var xxx_messageInfo_MutateAdGroupAdLabelsRequest proto.InternalMessageInfo 115 116func (m *MutateAdGroupAdLabelsRequest) GetCustomerId() string { 117 if m != nil { 118 return m.CustomerId 119 } 120 return "" 121} 122 123func (m *MutateAdGroupAdLabelsRequest) GetOperations() []*AdGroupAdLabelOperation { 124 if m != nil { 125 return m.Operations 126 } 127 return nil 128} 129 130func (m *MutateAdGroupAdLabelsRequest) GetPartialFailure() bool { 131 if m != nil { 132 return m.PartialFailure 133 } 134 return false 135} 136 137func (m *MutateAdGroupAdLabelsRequest) GetValidateOnly() bool { 138 if m != nil { 139 return m.ValidateOnly 140 } 141 return false 142} 143 144// A single operation (create, remove) on an ad group ad label. 145type AdGroupAdLabelOperation struct { 146 // The mutate operation. 147 // 148 // Types that are valid to be assigned to Operation: 149 // *AdGroupAdLabelOperation_Create 150 // *AdGroupAdLabelOperation_Remove 151 Operation isAdGroupAdLabelOperation_Operation `protobuf_oneof:"operation"` 152 XXX_NoUnkeyedLiteral struct{} `json:"-"` 153 XXX_unrecognized []byte `json:"-"` 154 XXX_sizecache int32 `json:"-"` 155} 156 157func (m *AdGroupAdLabelOperation) Reset() { *m = AdGroupAdLabelOperation{} } 158func (m *AdGroupAdLabelOperation) String() string { return proto.CompactTextString(m) } 159func (*AdGroupAdLabelOperation) ProtoMessage() {} 160func (*AdGroupAdLabelOperation) Descriptor() ([]byte, []int) { 161 return fileDescriptor_54f0c11a748eada4, []int{2} 162} 163 164func (m *AdGroupAdLabelOperation) XXX_Unmarshal(b []byte) error { 165 return xxx_messageInfo_AdGroupAdLabelOperation.Unmarshal(m, b) 166} 167func (m *AdGroupAdLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 168 return xxx_messageInfo_AdGroupAdLabelOperation.Marshal(b, m, deterministic) 169} 170func (m *AdGroupAdLabelOperation) XXX_Merge(src proto.Message) { 171 xxx_messageInfo_AdGroupAdLabelOperation.Merge(m, src) 172} 173func (m *AdGroupAdLabelOperation) XXX_Size() int { 174 return xxx_messageInfo_AdGroupAdLabelOperation.Size(m) 175} 176func (m *AdGroupAdLabelOperation) XXX_DiscardUnknown() { 177 xxx_messageInfo_AdGroupAdLabelOperation.DiscardUnknown(m) 178} 179 180var xxx_messageInfo_AdGroupAdLabelOperation proto.InternalMessageInfo 181 182type isAdGroupAdLabelOperation_Operation interface { 183 isAdGroupAdLabelOperation_Operation() 184} 185 186type AdGroupAdLabelOperation_Create struct { 187 Create *resources.AdGroupAdLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 188} 189 190type AdGroupAdLabelOperation_Remove struct { 191 Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` 192} 193 194func (*AdGroupAdLabelOperation_Create) isAdGroupAdLabelOperation_Operation() {} 195 196func (*AdGroupAdLabelOperation_Remove) isAdGroupAdLabelOperation_Operation() {} 197 198func (m *AdGroupAdLabelOperation) GetOperation() isAdGroupAdLabelOperation_Operation { 199 if m != nil { 200 return m.Operation 201 } 202 return nil 203} 204 205func (m *AdGroupAdLabelOperation) GetCreate() *resources.AdGroupAdLabel { 206 if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Create); ok { 207 return x.Create 208 } 209 return nil 210} 211 212func (m *AdGroupAdLabelOperation) GetRemove() string { 213 if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Remove); ok { 214 return x.Remove 215 } 216 return "" 217} 218 219// XXX_OneofWrappers is for the internal use of the proto package. 220func (*AdGroupAdLabelOperation) XXX_OneofWrappers() []interface{} { 221 return []interface{}{ 222 (*AdGroupAdLabelOperation_Create)(nil), 223 (*AdGroupAdLabelOperation_Remove)(nil), 224 } 225} 226 227// Response message for an ad group ad labels mutate. 228type MutateAdGroupAdLabelsResponse struct { 229 // Errors that pertain to operation failures in the partial failure mode. 230 // Returned only when partial_failure = true and all errors occur inside the 231 // operations. If any errors occur outside the operations (e.g. auth errors), 232 // we return an RPC level error. 233 PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` 234 // All results for the mutate. 235 Results []*MutateAdGroupAdLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` 236 XXX_NoUnkeyedLiteral struct{} `json:"-"` 237 XXX_unrecognized []byte `json:"-"` 238 XXX_sizecache int32 `json:"-"` 239} 240 241func (m *MutateAdGroupAdLabelsResponse) Reset() { *m = MutateAdGroupAdLabelsResponse{} } 242func (m *MutateAdGroupAdLabelsResponse) String() string { return proto.CompactTextString(m) } 243func (*MutateAdGroupAdLabelsResponse) ProtoMessage() {} 244func (*MutateAdGroupAdLabelsResponse) Descriptor() ([]byte, []int) { 245 return fileDescriptor_54f0c11a748eada4, []int{3} 246} 247 248func (m *MutateAdGroupAdLabelsResponse) XXX_Unmarshal(b []byte) error { 249 return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Unmarshal(m, b) 250} 251func (m *MutateAdGroupAdLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 252 return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Marshal(b, m, deterministic) 253} 254func (m *MutateAdGroupAdLabelsResponse) XXX_Merge(src proto.Message) { 255 xxx_messageInfo_MutateAdGroupAdLabelsResponse.Merge(m, src) 256} 257func (m *MutateAdGroupAdLabelsResponse) XXX_Size() int { 258 return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Size(m) 259} 260func (m *MutateAdGroupAdLabelsResponse) XXX_DiscardUnknown() { 261 xxx_messageInfo_MutateAdGroupAdLabelsResponse.DiscardUnknown(m) 262} 263 264var xxx_messageInfo_MutateAdGroupAdLabelsResponse proto.InternalMessageInfo 265 266func (m *MutateAdGroupAdLabelsResponse) GetPartialFailureError() *status.Status { 267 if m != nil { 268 return m.PartialFailureError 269 } 270 return nil 271} 272 273func (m *MutateAdGroupAdLabelsResponse) GetResults() []*MutateAdGroupAdLabelResult { 274 if m != nil { 275 return m.Results 276 } 277 return nil 278} 279 280// The result for an ad group ad label mutate. 281type MutateAdGroupAdLabelResult struct { 282 // Returned for successful operations. 283 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 284 XXX_NoUnkeyedLiteral struct{} `json:"-"` 285 XXX_unrecognized []byte `json:"-"` 286 XXX_sizecache int32 `json:"-"` 287} 288 289func (m *MutateAdGroupAdLabelResult) Reset() { *m = MutateAdGroupAdLabelResult{} } 290func (m *MutateAdGroupAdLabelResult) String() string { return proto.CompactTextString(m) } 291func (*MutateAdGroupAdLabelResult) ProtoMessage() {} 292func (*MutateAdGroupAdLabelResult) Descriptor() ([]byte, []int) { 293 return fileDescriptor_54f0c11a748eada4, []int{4} 294} 295 296func (m *MutateAdGroupAdLabelResult) XXX_Unmarshal(b []byte) error { 297 return xxx_messageInfo_MutateAdGroupAdLabelResult.Unmarshal(m, b) 298} 299func (m *MutateAdGroupAdLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 300 return xxx_messageInfo_MutateAdGroupAdLabelResult.Marshal(b, m, deterministic) 301} 302func (m *MutateAdGroupAdLabelResult) XXX_Merge(src proto.Message) { 303 xxx_messageInfo_MutateAdGroupAdLabelResult.Merge(m, src) 304} 305func (m *MutateAdGroupAdLabelResult) XXX_Size() int { 306 return xxx_messageInfo_MutateAdGroupAdLabelResult.Size(m) 307} 308func (m *MutateAdGroupAdLabelResult) XXX_DiscardUnknown() { 309 xxx_messageInfo_MutateAdGroupAdLabelResult.DiscardUnknown(m) 310} 311 312var xxx_messageInfo_MutateAdGroupAdLabelResult proto.InternalMessageInfo 313 314func (m *MutateAdGroupAdLabelResult) GetResourceName() string { 315 if m != nil { 316 return m.ResourceName 317 } 318 return "" 319} 320 321func init() { 322 proto.RegisterType((*GetAdGroupAdLabelRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupAdLabelRequest") 323 proto.RegisterType((*MutateAdGroupAdLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest") 324 proto.RegisterType((*AdGroupAdLabelOperation)(nil), "google.ads.googleads.v1.services.AdGroupAdLabelOperation") 325 proto.RegisterType((*MutateAdGroupAdLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse") 326 proto.RegisterType((*MutateAdGroupAdLabelResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelResult") 327} 328 329func init() { 330 proto.RegisterFile("google/ads/googleads/v1/services/ad_group_ad_label_service.proto", fileDescriptor_54f0c11a748eada4) 331} 332 333var fileDescriptor_54f0c11a748eada4 = []byte{ 334 // 738 bytes of a gzipped FileDescriptorProto 335 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4d, 0x6f, 0xd3, 0x48, 336 0x18, 0x5e, 0x3b, 0xab, 0xee, 0x76, 0xd2, 0xee, 0x8a, 0x41, 0xa5, 0x26, 0x14, 0x11, 0x99, 0x4a, 337 0x2d, 0x11, 0xb2, 0x95, 0x94, 0x4b, 0x0d, 0x05, 0x1c, 0x89, 0xa6, 0x15, 0x1f, 0xad, 0x52, 0x14, 338 0x21, 0x14, 0x61, 0x4d, 0xed, 0x69, 0xb0, 0x64, 0x7b, 0xcc, 0xcc, 0x38, 0x52, 0x55, 0xf5, 0x00, 339 0x77, 0x4e, 0xfc, 0x03, 0x8e, 0xfc, 0x09, 0xee, 0x95, 0x38, 0x71, 0xeb, 0xa9, 0x07, 0x4e, 0x1c, 340 0x7b, 0x83, 0x13, 0xf2, 0xc7, 0x24, 0x71, 0x88, 0x15, 0xd1, 0xdb, 0xeb, 0x79, 0x9f, 0x79, 0x9e, 341 0xf7, 0x73, 0x0c, 0x1e, 0xf6, 0x08, 0xe9, 0x79, 0x58, 0x47, 0x0e, 0xd3, 0x53, 0x33, 0xb6, 0xfa, 342 0x75, 0x9d, 0x61, 0xda, 0x77, 0x6d, 0xcc, 0x74, 0xe4, 0x58, 0x3d, 0x4a, 0xa2, 0xd0, 0x42, 0x8e, 343 0xe5, 0xa1, 0x7d, 0xec, 0x59, 0x99, 0x4b, 0x0b, 0x29, 0xe1, 0x04, 0x56, 0xd3, 0x6b, 0x1a, 0x72, 344 0x98, 0x36, 0x60, 0xd0, 0xfa, 0x75, 0x4d, 0x30, 0x54, 0xd6, 0x8b, 0x34, 0x28, 0x66, 0x24, 0xa2, 345 0x13, 0x45, 0x52, 0xf2, 0xca, 0x92, 0xb8, 0x1a, 0xba, 0x3a, 0x0a, 0x02, 0xc2, 0x11, 0x77, 0x49, 346 0xc0, 0x32, 0xef, 0xe2, 0x88, 0xd7, 0xf6, 0x5c, 0x1c, 0xf0, 0xcc, 0x71, 0x63, 0xc4, 0x71, 0xe0, 347 0x62, 0xcf, 0xb1, 0xf6, 0xf1, 0x6b, 0xd4, 0x77, 0x09, 0xcd, 0x00, 0x57, 0x47, 0x00, 0x22, 0x8a, 348 0x31, 0x52, 0x1a, 0xda, 0x3a, 0xe3, 0x88, 0x47, 0x99, 0x9a, 0x1a, 0x02, 0xa5, 0x85, 0xb9, 0xe9, 349 0xb4, 0xe2, 0x40, 0x4d, 0xe7, 0x49, 0x1c, 0x66, 0x1b, 0xbf, 0x89, 0x30, 0xe3, 0xf0, 0x39, 0x98, 350 0x17, 0x34, 0x56, 0x80, 0x7c, 0xac, 0x48, 0x55, 0x69, 0x75, 0xb6, 0xa9, 0x9f, 0x99, 0xf2, 0x4f, 351 0xf3, 0x16, 0x58, 0x19, 0x16, 0x26, 0xb3, 0x42, 0x97, 0x69, 0x36, 0xf1, 0xf5, 0x31, 0xba, 0x39, 352 0xc1, 0xf2, 0x0c, 0xf9, 0x58, 0x3d, 0x97, 0xc0, 0xd2, 0xd3, 0x88, 0x23, 0x8e, 0xf3, 0x30, 0x26, 353 0x64, 0x97, 0x41, 0xd9, 0x8e, 0x18, 0x27, 0x3e, 0xa6, 0x96, 0xeb, 0x64, 0xa2, 0xa5, 0x33, 0x53, 354 0x6e, 0x03, 0x71, 0xbe, 0xed, 0xc0, 0x57, 0x00, 0x90, 0x10, 0xd3, 0xb4, 0x74, 0x8a, 0x5c, 0x2d, 355 0xad, 0x96, 0x1b, 0xeb, 0xda, 0xb4, 0xb6, 0x69, 0x79, 0xcd, 0x1d, 0xc1, 0x90, 0xf1, 0x0f, 0x19, 356 0xe1, 0x0a, 0xf8, 0x3f, 0x44, 0x94, 0xbb, 0xc8, 0xb3, 0x0e, 0x90, 0xeb, 0x45, 0x14, 0x2b, 0xa5, 357 0xaa, 0xb4, 0xfa, 0x6f, 0xfb, 0xbf, 0xec, 0x78, 0x33, 0x3d, 0x85, 0x37, 0xc1, 0x7c, 0x1f, 0x79, 358 0xae, 0x83, 0x38, 0xb6, 0x48, 0xe0, 0x1d, 0x2a, 0x7f, 0x27, 0xb0, 0x39, 0x71, 0xb8, 0x13, 0x78, 359 0x87, 0xea, 0x7b, 0x09, 0x2c, 0x16, 0x48, 0xc3, 0xc7, 0x60, 0xc6, 0xa6, 0x18, 0xf1, 0xb4, 0xbe, 360 0xe5, 0x46, 0xbd, 0x30, 0x8b, 0xc1, 0x68, 0x8d, 0xa5, 0xb1, 0xf5, 0x57, 0x3b, 0xa3, 0x80, 0x0a, 361 0x98, 0xa1, 0xd8, 0x27, 0x7d, 0xac, 0xc8, 0x71, 0xdd, 0x62, 0x4f, 0xfa, 0xdd, 0x2c, 0x83, 0xd9, 362 0x41, 0x7a, 0xea, 0x67, 0x09, 0x5c, 0x2f, 0x68, 0x02, 0x0b, 0x49, 0xc0, 0x30, 0xdc, 0x04, 0x0b, 363 0x63, 0xf9, 0x5b, 0x98, 0x52, 0x42, 0x93, 0x2a, 0x94, 0x1b, 0x50, 0x04, 0x49, 0x43, 0x5b, 0xdb, 364 0x4b, 0x26, 0xaa, 0x7d, 0x39, 0x5f, 0x99, 0x47, 0x31, 0x1c, 0x76, 0xc0, 0x3f, 0x14, 0xb3, 0xc8, 365 0xe3, 0xa2, 0x49, 0xf7, 0xa6, 0x37, 0x69, 0x52, 0x64, 0xed, 0x84, 0xa4, 0x2d, 0xc8, 0x54, 0x13, 366 0x54, 0x8a, 0x61, 0x71, 0x53, 0x26, 0x8c, 0x6e, 0x7e, 0x12, 0x1b, 0x3f, 0x4a, 0x60, 0x21, 0x7f, 367 0x7b, 0x2f, 0x8d, 0x00, 0x7e, 0x91, 0xc0, 0xa5, 0xdf, 0xd6, 0x02, 0x1a, 0xd3, 0x23, 0x2f, 0xda, 368 0xa5, 0xca, 0x9f, 0x37, 0x55, 0xdd, 0x3e, 0x35, 0xf3, 0x49, 0xbc, 0xfb, 0xfa, 0xed, 0x83, 0xbc, 369 0x06, 0xeb, 0xf1, 0x2b, 0x73, 0x94, 0xf3, 0x6c, 0x88, 0xc5, 0x60, 0x7a, 0x4d, 0x47, 0xf9, 0x8e, 370 0xea, 0xb5, 0x63, 0x78, 0x2e, 0x81, 0x85, 0x89, 0xed, 0x86, 0xf7, 0x2f, 0xd6, 0x0d, 0xb1, 0xac, 371 0x95, 0x07, 0x17, 0xbe, 0x9f, 0xce, 0x99, 0xfa, 0xe2, 0xd4, 0xbc, 0x32, 0xb2, 0xee, 0xb7, 0x87, 372 0x2b, 0x98, 0xa4, 0xbb, 0xae, 0xde, 0x89, 0xd3, 0x1d, 0xe6, 0x77, 0x34, 0x02, 0xde, 0xa8, 0x1d, 373 0x8f, 0x67, 0x6b, 0xf8, 0x89, 0x9a, 0x21, 0xd5, 0x2a, 0xd7, 0x4e, 0x4c, 0xa5, 0xe8, 0x89, 0x6a, 374 0xbe, 0x95, 0xc1, 0xb2, 0x4d, 0xfc, 0xa9, 0xd1, 0x37, 0x2b, 0x13, 0x27, 0x64, 0x37, 0x7e, 0x3c, 375 0x77, 0xa5, 0x97, 0x5b, 0xd9, 0xfd, 0x1e, 0xf1, 0x50, 0xd0, 0xd3, 0x08, 0xed, 0xe9, 0x3d, 0x1c, 376 0x24, 0x4f, 0xab, 0x3e, 0x54, 0x2c, 0xfe, 0x11, 0xdd, 0x15, 0xc6, 0x47, 0xb9, 0xd4, 0x32, 0xcd, 377 0x4f, 0x72, 0xb5, 0x95, 0x12, 0x9a, 0x0e, 0xd3, 0x52, 0x33, 0xb6, 0x3a, 0x75, 0x2d, 0x13, 0x66, 378 0x27, 0x02, 0xd2, 0x35, 0x1d, 0xd6, 0x1d, 0x40, 0xba, 0x9d, 0x7a, 0x57, 0x40, 0xbe, 0xcb, 0xcb, 379 0xe9, 0xb9, 0x61, 0x98, 0x0e, 0x33, 0x8c, 0x01, 0xc8, 0x30, 0x3a, 0x75, 0xc3, 0x10, 0xb0, 0xfd, 380 0x99, 0x24, 0xce, 0xb5, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x22, 0x51, 0x6b, 0x8a, 0x2f, 0x07, 381 0x00, 0x00, 382} 383 384// Reference imports to suppress errors if they are not otherwise used. 385var _ context.Context 386var _ grpc.ClientConnInterface 387 388// This is a compile-time assertion to ensure that this generated file 389// is compatible with the grpc package it is being compiled against. 390const _ = grpc.SupportPackageIsVersion6 391 392// AdGroupAdLabelServiceClient is the client API for AdGroupAdLabelService service. 393// 394// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 395type AdGroupAdLabelServiceClient interface { 396 // Returns the requested ad group ad label in full detail. 397 GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) 398 // Creates and removes ad group ad labels. 399 // Operation statuses are returned. 400 MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) 401} 402 403type adGroupAdLabelServiceClient struct { 404 cc grpc.ClientConnInterface 405} 406 407func NewAdGroupAdLabelServiceClient(cc grpc.ClientConnInterface) AdGroupAdLabelServiceClient { 408 return &adGroupAdLabelServiceClient{cc} 409} 410 411func (c *adGroupAdLabelServiceClient) GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) { 412 out := new(resources.AdGroupAdLabel) 413 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupAdLabelService/GetAdGroupAdLabel", in, out, opts...) 414 if err != nil { 415 return nil, err 416 } 417 return out, nil 418} 419 420func (c *adGroupAdLabelServiceClient) MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) { 421 out := new(MutateAdGroupAdLabelsResponse) 422 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupAdLabelService/MutateAdGroupAdLabels", in, out, opts...) 423 if err != nil { 424 return nil, err 425 } 426 return out, nil 427} 428 429// AdGroupAdLabelServiceServer is the server API for AdGroupAdLabelService service. 430type AdGroupAdLabelServiceServer interface { 431 // Returns the requested ad group ad label in full detail. 432 GetAdGroupAdLabel(context.Context, *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) 433 // Creates and removes ad group ad labels. 434 // Operation statuses are returned. 435 MutateAdGroupAdLabels(context.Context, *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) 436} 437 438// UnimplementedAdGroupAdLabelServiceServer can be embedded to have forward compatible implementations. 439type UnimplementedAdGroupAdLabelServiceServer struct { 440} 441 442func (*UnimplementedAdGroupAdLabelServiceServer) GetAdGroupAdLabel(ctx context.Context, req *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) { 443 return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupAdLabel not implemented") 444} 445func (*UnimplementedAdGroupAdLabelServiceServer) MutateAdGroupAdLabels(ctx context.Context, req *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) { 446 return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupAdLabels not implemented") 447} 448 449func RegisterAdGroupAdLabelServiceServer(s *grpc.Server, srv AdGroupAdLabelServiceServer) { 450 s.RegisterService(&_AdGroupAdLabelService_serviceDesc, srv) 451} 452 453func _AdGroupAdLabelService_GetAdGroupAdLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 454 in := new(GetAdGroupAdLabelRequest) 455 if err := dec(in); err != nil { 456 return nil, err 457 } 458 if interceptor == nil { 459 return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, in) 460 } 461 info := &grpc.UnaryServerInfo{ 462 Server: srv, 463 FullMethod: "/google.ads.googleads.v1.services.AdGroupAdLabelService/GetAdGroupAdLabel", 464 } 465 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 466 return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, req.(*GetAdGroupAdLabelRequest)) 467 } 468 return interceptor(ctx, in, info, handler) 469} 470 471func _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 472 in := new(MutateAdGroupAdLabelsRequest) 473 if err := dec(in); err != nil { 474 return nil, err 475 } 476 if interceptor == nil { 477 return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, in) 478 } 479 info := &grpc.UnaryServerInfo{ 480 Server: srv, 481 FullMethod: "/google.ads.googleads.v1.services.AdGroupAdLabelService/MutateAdGroupAdLabels", 482 } 483 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 484 return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, req.(*MutateAdGroupAdLabelsRequest)) 485 } 486 return interceptor(ctx, in, info, handler) 487} 488 489var _AdGroupAdLabelService_serviceDesc = grpc.ServiceDesc{ 490 ServiceName: "google.ads.googleads.v1.services.AdGroupAdLabelService", 491 HandlerType: (*AdGroupAdLabelServiceServer)(nil), 492 Methods: []grpc.MethodDesc{ 493 { 494 MethodName: "GetAdGroupAdLabel", 495 Handler: _AdGroupAdLabelService_GetAdGroupAdLabel_Handler, 496 }, 497 { 498 MethodName: "MutateAdGroupAdLabels", 499 Handler: _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler, 500 }, 501 }, 502 Streams: []grpc.StreamDesc{}, 503 Metadata: "google/ads/googleads/v1/services/ad_group_ad_label_service.proto", 504} 505