1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/services/campaign_shared_set_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/v3/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 [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v3.services.CampaignSharedSetService.GetCampaignSharedSet]. 32type GetCampaignSharedSetRequest struct { 33 // Required. The resource name of the campaign shared set 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 *GetCampaignSharedSetRequest) Reset() { *m = GetCampaignSharedSetRequest{} } 41func (m *GetCampaignSharedSetRequest) String() string { return proto.CompactTextString(m) } 42func (*GetCampaignSharedSetRequest) ProtoMessage() {} 43func (*GetCampaignSharedSetRequest) Descriptor() ([]byte, []int) { 44 return fileDescriptor_f69153fae607b70e, []int{0} 45} 46 47func (m *GetCampaignSharedSetRequest) XXX_Unmarshal(b []byte) error { 48 return xxx_messageInfo_GetCampaignSharedSetRequest.Unmarshal(m, b) 49} 50func (m *GetCampaignSharedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 51 return xxx_messageInfo_GetCampaignSharedSetRequest.Marshal(b, m, deterministic) 52} 53func (m *GetCampaignSharedSetRequest) XXX_Merge(src proto.Message) { 54 xxx_messageInfo_GetCampaignSharedSetRequest.Merge(m, src) 55} 56func (m *GetCampaignSharedSetRequest) XXX_Size() int { 57 return xxx_messageInfo_GetCampaignSharedSetRequest.Size(m) 58} 59func (m *GetCampaignSharedSetRequest) XXX_DiscardUnknown() { 60 xxx_messageInfo_GetCampaignSharedSetRequest.DiscardUnknown(m) 61} 62 63var xxx_messageInfo_GetCampaignSharedSetRequest proto.InternalMessageInfo 64 65func (m *GetCampaignSharedSetRequest) GetResourceName() string { 66 if m != nil { 67 return m.ResourceName 68 } 69 return "" 70} 71 72// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v3.services.CampaignSharedSetService.MutateCampaignSharedSets]. 73type MutateCampaignSharedSetsRequest struct { 74 // Required. The ID of the customer whose campaign shared sets 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 individual campaign shared sets. 77 Operations []*CampaignSharedSetOperation `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 *MutateCampaignSharedSetsRequest) Reset() { *m = MutateCampaignSharedSetsRequest{} } 92func (m *MutateCampaignSharedSetsRequest) String() string { return proto.CompactTextString(m) } 93func (*MutateCampaignSharedSetsRequest) ProtoMessage() {} 94func (*MutateCampaignSharedSetsRequest) Descriptor() ([]byte, []int) { 95 return fileDescriptor_f69153fae607b70e, []int{1} 96} 97 98func (m *MutateCampaignSharedSetsRequest) XXX_Unmarshal(b []byte) error { 99 return xxx_messageInfo_MutateCampaignSharedSetsRequest.Unmarshal(m, b) 100} 101func (m *MutateCampaignSharedSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 102 return xxx_messageInfo_MutateCampaignSharedSetsRequest.Marshal(b, m, deterministic) 103} 104func (m *MutateCampaignSharedSetsRequest) XXX_Merge(src proto.Message) { 105 xxx_messageInfo_MutateCampaignSharedSetsRequest.Merge(m, src) 106} 107func (m *MutateCampaignSharedSetsRequest) XXX_Size() int { 108 return xxx_messageInfo_MutateCampaignSharedSetsRequest.Size(m) 109} 110func (m *MutateCampaignSharedSetsRequest) XXX_DiscardUnknown() { 111 xxx_messageInfo_MutateCampaignSharedSetsRequest.DiscardUnknown(m) 112} 113 114var xxx_messageInfo_MutateCampaignSharedSetsRequest proto.InternalMessageInfo 115 116func (m *MutateCampaignSharedSetsRequest) GetCustomerId() string { 117 if m != nil { 118 return m.CustomerId 119 } 120 return "" 121} 122 123func (m *MutateCampaignSharedSetsRequest) GetOperations() []*CampaignSharedSetOperation { 124 if m != nil { 125 return m.Operations 126 } 127 return nil 128} 129 130func (m *MutateCampaignSharedSetsRequest) GetPartialFailure() bool { 131 if m != nil { 132 return m.PartialFailure 133 } 134 return false 135} 136 137func (m *MutateCampaignSharedSetsRequest) GetValidateOnly() bool { 138 if m != nil { 139 return m.ValidateOnly 140 } 141 return false 142} 143 144// A single operation (create, remove) on an campaign shared set. 145type CampaignSharedSetOperation struct { 146 // The mutate operation. 147 // 148 // Types that are valid to be assigned to Operation: 149 // *CampaignSharedSetOperation_Create 150 // *CampaignSharedSetOperation_Remove 151 Operation isCampaignSharedSetOperation_Operation `protobuf_oneof:"operation"` 152 XXX_NoUnkeyedLiteral struct{} `json:"-"` 153 XXX_unrecognized []byte `json:"-"` 154 XXX_sizecache int32 `json:"-"` 155} 156 157func (m *CampaignSharedSetOperation) Reset() { *m = CampaignSharedSetOperation{} } 158func (m *CampaignSharedSetOperation) String() string { return proto.CompactTextString(m) } 159func (*CampaignSharedSetOperation) ProtoMessage() {} 160func (*CampaignSharedSetOperation) Descriptor() ([]byte, []int) { 161 return fileDescriptor_f69153fae607b70e, []int{2} 162} 163 164func (m *CampaignSharedSetOperation) XXX_Unmarshal(b []byte) error { 165 return xxx_messageInfo_CampaignSharedSetOperation.Unmarshal(m, b) 166} 167func (m *CampaignSharedSetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 168 return xxx_messageInfo_CampaignSharedSetOperation.Marshal(b, m, deterministic) 169} 170func (m *CampaignSharedSetOperation) XXX_Merge(src proto.Message) { 171 xxx_messageInfo_CampaignSharedSetOperation.Merge(m, src) 172} 173func (m *CampaignSharedSetOperation) XXX_Size() int { 174 return xxx_messageInfo_CampaignSharedSetOperation.Size(m) 175} 176func (m *CampaignSharedSetOperation) XXX_DiscardUnknown() { 177 xxx_messageInfo_CampaignSharedSetOperation.DiscardUnknown(m) 178} 179 180var xxx_messageInfo_CampaignSharedSetOperation proto.InternalMessageInfo 181 182type isCampaignSharedSetOperation_Operation interface { 183 isCampaignSharedSetOperation_Operation() 184} 185 186type CampaignSharedSetOperation_Create struct { 187 Create *resources.CampaignSharedSet `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 188} 189 190type CampaignSharedSetOperation_Remove struct { 191 Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` 192} 193 194func (*CampaignSharedSetOperation_Create) isCampaignSharedSetOperation_Operation() {} 195 196func (*CampaignSharedSetOperation_Remove) isCampaignSharedSetOperation_Operation() {} 197 198func (m *CampaignSharedSetOperation) GetOperation() isCampaignSharedSetOperation_Operation { 199 if m != nil { 200 return m.Operation 201 } 202 return nil 203} 204 205func (m *CampaignSharedSetOperation) GetCreate() *resources.CampaignSharedSet { 206 if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Create); ok { 207 return x.Create 208 } 209 return nil 210} 211 212func (m *CampaignSharedSetOperation) GetRemove() string { 213 if x, ok := m.GetOperation().(*CampaignSharedSetOperation_Remove); ok { 214 return x.Remove 215 } 216 return "" 217} 218 219// XXX_OneofWrappers is for the internal use of the proto package. 220func (*CampaignSharedSetOperation) XXX_OneofWrappers() []interface{} { 221 return []interface{}{ 222 (*CampaignSharedSetOperation_Create)(nil), 223 (*CampaignSharedSetOperation_Remove)(nil), 224 } 225} 226 227// Response message for a campaign shared set mutate. 228type MutateCampaignSharedSetsResponse 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 []*MutateCampaignSharedSetResult `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 *MutateCampaignSharedSetsResponse) Reset() { *m = MutateCampaignSharedSetsResponse{} } 242func (m *MutateCampaignSharedSetsResponse) String() string { return proto.CompactTextString(m) } 243func (*MutateCampaignSharedSetsResponse) ProtoMessage() {} 244func (*MutateCampaignSharedSetsResponse) Descriptor() ([]byte, []int) { 245 return fileDescriptor_f69153fae607b70e, []int{3} 246} 247 248func (m *MutateCampaignSharedSetsResponse) XXX_Unmarshal(b []byte) error { 249 return xxx_messageInfo_MutateCampaignSharedSetsResponse.Unmarshal(m, b) 250} 251func (m *MutateCampaignSharedSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 252 return xxx_messageInfo_MutateCampaignSharedSetsResponse.Marshal(b, m, deterministic) 253} 254func (m *MutateCampaignSharedSetsResponse) XXX_Merge(src proto.Message) { 255 xxx_messageInfo_MutateCampaignSharedSetsResponse.Merge(m, src) 256} 257func (m *MutateCampaignSharedSetsResponse) XXX_Size() int { 258 return xxx_messageInfo_MutateCampaignSharedSetsResponse.Size(m) 259} 260func (m *MutateCampaignSharedSetsResponse) XXX_DiscardUnknown() { 261 xxx_messageInfo_MutateCampaignSharedSetsResponse.DiscardUnknown(m) 262} 263 264var xxx_messageInfo_MutateCampaignSharedSetsResponse proto.InternalMessageInfo 265 266func (m *MutateCampaignSharedSetsResponse) GetPartialFailureError() *status.Status { 267 if m != nil { 268 return m.PartialFailureError 269 } 270 return nil 271} 272 273func (m *MutateCampaignSharedSetsResponse) GetResults() []*MutateCampaignSharedSetResult { 274 if m != nil { 275 return m.Results 276 } 277 return nil 278} 279 280// The result for the campaign shared set mutate. 281type MutateCampaignSharedSetResult 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 *MutateCampaignSharedSetResult) Reset() { *m = MutateCampaignSharedSetResult{} } 290func (m *MutateCampaignSharedSetResult) String() string { return proto.CompactTextString(m) } 291func (*MutateCampaignSharedSetResult) ProtoMessage() {} 292func (*MutateCampaignSharedSetResult) Descriptor() ([]byte, []int) { 293 return fileDescriptor_f69153fae607b70e, []int{4} 294} 295 296func (m *MutateCampaignSharedSetResult) XXX_Unmarshal(b []byte) error { 297 return xxx_messageInfo_MutateCampaignSharedSetResult.Unmarshal(m, b) 298} 299func (m *MutateCampaignSharedSetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 300 return xxx_messageInfo_MutateCampaignSharedSetResult.Marshal(b, m, deterministic) 301} 302func (m *MutateCampaignSharedSetResult) XXX_Merge(src proto.Message) { 303 xxx_messageInfo_MutateCampaignSharedSetResult.Merge(m, src) 304} 305func (m *MutateCampaignSharedSetResult) XXX_Size() int { 306 return xxx_messageInfo_MutateCampaignSharedSetResult.Size(m) 307} 308func (m *MutateCampaignSharedSetResult) XXX_DiscardUnknown() { 309 xxx_messageInfo_MutateCampaignSharedSetResult.DiscardUnknown(m) 310} 311 312var xxx_messageInfo_MutateCampaignSharedSetResult proto.InternalMessageInfo 313 314func (m *MutateCampaignSharedSetResult) GetResourceName() string { 315 if m != nil { 316 return m.ResourceName 317 } 318 return "" 319} 320 321func init() { 322 proto.RegisterType((*GetCampaignSharedSetRequest)(nil), "google.ads.googleads.v3.services.GetCampaignSharedSetRequest") 323 proto.RegisterType((*MutateCampaignSharedSetsRequest)(nil), "google.ads.googleads.v3.services.MutateCampaignSharedSetsRequest") 324 proto.RegisterType((*CampaignSharedSetOperation)(nil), "google.ads.googleads.v3.services.CampaignSharedSetOperation") 325 proto.RegisterType((*MutateCampaignSharedSetsResponse)(nil), "google.ads.googleads.v3.services.MutateCampaignSharedSetsResponse") 326 proto.RegisterType((*MutateCampaignSharedSetResult)(nil), "google.ads.googleads.v3.services.MutateCampaignSharedSetResult") 327} 328 329func init() { 330 proto.RegisterFile("google/ads/googleads/v3/services/campaign_shared_set_service.proto", fileDescriptor_f69153fae607b70e) 331} 332 333var fileDescriptor_f69153fae607b70e = []byte{ 334 // 741 bytes of a gzipped FileDescriptorProto 335 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x6a, 0xdb, 0x4a, 336 0x14, 0xbe, 0x92, 0x43, 0xee, 0xcd, 0x38, 0xb9, 0x17, 0xe6, 0xf6, 0x47, 0x75, 0x1a, 0x62, 0xd4, 337 0x40, 0x83, 0x09, 0x12, 0xd8, 0xa1, 0x05, 0x25, 0xa1, 0xc8, 0x6d, 0x93, 0x14, 0xda, 0x24, 0xd8, 338 0x90, 0xd2, 0xd6, 0x20, 0x26, 0xd2, 0xc4, 0x11, 0x48, 0x1a, 0x75, 0x66, 0x24, 0x08, 0x21, 0x9b, 339 0xd2, 0x37, 0x48, 0x9f, 0xa0, 0xcb, 0xbe, 0x47, 0x37, 0xd9, 0x76, 0xd5, 0xac, 0xb2, 0xe8, 0xaa, 340 0x4f, 0x50, 0xba, 0x28, 0x45, 0x3f, 0xe3, 0x9f, 0x38, 0x8a, 0x21, 0xdd, 0x1d, 0xcf, 0xf9, 0xf4, 341 0x7d, 0xe7, 0x9b, 0x73, 0xe6, 0x18, 0x34, 0xbb, 0x84, 0x74, 0x3d, 0xac, 0x23, 0x87, 0xe9, 0x59, 342 0x98, 0x44, 0x71, 0x43, 0x67, 0x98, 0xc6, 0xae, 0x8d, 0x99, 0x6e, 0x23, 0x3f, 0x44, 0x6e, 0x37, 343 0xb0, 0xd8, 0x01, 0xa2, 0xd8, 0xb1, 0x18, 0xe6, 0x56, 0x9e, 0xd4, 0x42, 0x4a, 0x38, 0x81, 0xd5, 344 0xec, 0x43, 0x0d, 0x39, 0x4c, 0xeb, 0x71, 0x68, 0x71, 0x43, 0x13, 0x1c, 0x95, 0x95, 0x22, 0x15, 345 0x8a, 0x19, 0x89, 0x68, 0x81, 0x4c, 0x46, 0x5f, 0xb9, 0x2b, 0x3e, 0x0e, 0x5d, 0x1d, 0x05, 0x01, 346 0xe1, 0x88, 0xbb, 0x24, 0x60, 0x79, 0xf6, 0xf6, 0x40, 0xd6, 0xf6, 0x5c, 0x1c, 0x88, 0xcf, 0xe6, 347 0x07, 0x12, 0xfb, 0x2e, 0xf6, 0x1c, 0x6b, 0x0f, 0x1f, 0xa0, 0xd8, 0x25, 0x34, 0x07, 0xdc, 0x19, 348 0x00, 0x88, 0x3a, 0x2e, 0x90, 0xd2, 0xd0, 0xd6, 0x19, 0x47, 0x3c, 0xca, 0xd5, 0xd4, 0x18, 0xcc, 349 0x6e, 0x60, 0xfe, 0x38, 0xaf, 0xb5, 0x9d, 0x96, 0xda, 0xc6, 0xbc, 0x85, 0xdf, 0x46, 0x98, 0x71, 350 0xf8, 0x12, 0xcc, 0x08, 0x26, 0x2b, 0x40, 0x3e, 0x56, 0xa4, 0xaa, 0xb4, 0x38, 0xd5, 0xac, 0x9f, 351 0x9b, 0xf2, 0x4f, 0x73, 0x09, 0xd4, 0xfa, 0xb7, 0x93, 0x47, 0xa1, 0xcb, 0x34, 0x9b, 0xf8, 0xfa, 352 0x28, 0xe3, 0xb4, 0x20, 0xda, 0x42, 0x3e, 0x56, 0x7f, 0x48, 0x60, 0xfe, 0x45, 0xc4, 0x11, 0xc7, 353 0x23, 0x48, 0x26, 0xc4, 0x17, 0x40, 0xd9, 0x8e, 0x18, 0x27, 0x3e, 0xa6, 0x96, 0xeb, 0xe4, 0xd2, 354 0xa5, 0x73, 0x53, 0x6e, 0x01, 0x71, 0xfe, 0xcc, 0x81, 0x08, 0x00, 0x12, 0x62, 0x9a, 0xdd, 0xa1, 355 0x22, 0x57, 0x4b, 0x8b, 0xe5, 0xfa, 0xaa, 0x36, 0xae, 0x83, 0xda, 0x88, 0xec, 0xb6, 0x20, 0xc9, 356 0x25, 0xfa, 0xa4, 0xf0, 0x3e, 0xf8, 0x2f, 0x44, 0x94, 0xbb, 0xc8, 0xb3, 0xf6, 0x91, 0xeb, 0x45, 357 0x14, 0x2b, 0xa5, 0xaa, 0xb4, 0xf8, 0x4f, 0xeb, 0xdf, 0xfc, 0x78, 0x3d, 0x3b, 0x85, 0xf7, 0xc0, 358 0x4c, 0x8c, 0x3c, 0xd7, 0x41, 0x1c, 0x5b, 0x24, 0xf0, 0x0e, 0x95, 0x89, 0x14, 0x36, 0x2d, 0x0e, 359 0xb7, 0x03, 0xef, 0x50, 0x3d, 0x91, 0x40, 0xa5, 0x58, 0x1d, 0x6e, 0x81, 0x49, 0x9b, 0x62, 0xc4, 360 0xb3, 0xbb, 0x2e, 0xd7, 0x97, 0x0b, 0xbd, 0xf4, 0x66, 0x6d, 0xd4, 0xcc, 0xe6, 0x5f, 0xad, 0x9c, 361 0x05, 0x2a, 0x60, 0x92, 0x62, 0x9f, 0xc4, 0x59, 0xcd, 0x53, 0x49, 0x26, 0xfb, 0xdd, 0x2c, 0x83, 362 0xa9, 0x9e, 0x49, 0xf5, 0xb3, 0x04, 0xaa, 0xc5, 0x0d, 0x61, 0x21, 0x09, 0x18, 0x86, 0xeb, 0xe0, 363 0xe6, 0x85, 0x8b, 0xb0, 0x30, 0xa5, 0x84, 0xa6, 0xd4, 0xe5, 0x3a, 0x14, 0xa5, 0xd2, 0xd0, 0xd6, 364 0xda, 0xe9, 0x98, 0xb5, 0xfe, 0x1f, 0xbe, 0xa2, 0xa7, 0x09, 0x1c, 0xbe, 0x02, 0x7f, 0x53, 0xcc, 365 0x22, 0x8f, 0x8b, 0x86, 0x3d, 0x1a, 0xdf, 0xb0, 0x82, 0xe2, 0x5a, 0x29, 0x4f, 0x4b, 0xf0, 0xa9, 366 0x4f, 0xc0, 0xdc, 0x95, 0xc8, 0xa4, 0x47, 0x97, 0x8c, 0xf4, 0xf0, 0x78, 0xd6, 0x3f, 0x4c, 0x00, 367 0x65, 0x84, 0xa0, 0x9d, 0x95, 0x02, 0xbf, 0x4a, 0xe0, 0xc6, 0x65, 0x8f, 0x06, 0xae, 0x8d, 0x77, 368 0x71, 0xc5, 0x63, 0xab, 0x5c, 0xab, 0xd3, 0xea, 0xf3, 0x33, 0x73, 0xd8, 0xd0, 0xbb, 0x2f, 0xdf, 369 0x4e, 0xe4, 0x07, 0x70, 0x39, 0x59, 0x47, 0x47, 0x43, 0x99, 0x35, 0xf1, 0x6c, 0x98, 0x5e, 0xeb, 370 0xed, 0xa7, 0x7e, 0x9b, 0xf5, 0xda, 0x31, 0xfc, 0x25, 0x01, 0xa5, 0x68, 0x0c, 0xa0, 0x79, 0xed, 371 0x2e, 0x89, 0x37, 0x5d, 0x69, 0xfe, 0x09, 0x45, 0x36, 0x85, 0xea, 0x9b, 0x33, 0xf3, 0xd6, 0xc0, 372 0x62, 0x58, 0xea, 0xbf, 0xd4, 0xd4, 0xfa, 0xaa, 0xfa, 0x30, 0xb1, 0xde, 0xf7, 0x7a, 0x34, 0x00, 373 0x5e, 0xab, 0x1d, 0x5f, 0xe2, 0xdc, 0xf0, 0x53, 0x4d, 0x43, 0xaa, 0x55, 0x66, 0x4f, 0x4d, 0xa5, 374 0x68, 0xab, 0x35, 0xdf, 0xcb, 0x60, 0xc1, 0x26, 0xfe, 0x58, 0x0f, 0xcd, 0xb9, 0xa2, 0xe1, 0xd9, 375 0x49, 0xb6, 0xee, 0x8e, 0xf4, 0x7a, 0x33, 0xa7, 0xe8, 0x12, 0x0f, 0x05, 0x5d, 0x8d, 0xd0, 0xae, 376 0xde, 0xc5, 0x41, 0xba, 0x93, 0xf5, 0xbe, 0x68, 0xf1, 0xbf, 0xd8, 0x8a, 0x08, 0x3e, 0xca, 0xa5, 377 0x0d, 0xd3, 0xfc, 0x24, 0x57, 0x37, 0x32, 0x42, 0xd3, 0x61, 0x5a, 0x16, 0x26, 0xd1, 0x6e, 0x43, 378 0xcb, 0x85, 0xd9, 0xa9, 0x80, 0x74, 0x4c, 0x87, 0x75, 0x7a, 0x90, 0xce, 0x6e, 0xa3, 0x23, 0x20, 379 0xdf, 0xe5, 0x85, 0xec, 0xdc, 0x30, 0x4c, 0x87, 0x19, 0x46, 0x0f, 0x64, 0x18, 0xbb, 0x0d, 0xc3, 380 0x10, 0xb0, 0xbd, 0xc9, 0xb4, 0xce, 0xc6, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x0a, 0x8c, 381 0xd8, 0x6c, 0x07, 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// CampaignSharedSetServiceClient is the client API for CampaignSharedSetService 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 CampaignSharedSetServiceClient interface { 396 // Returns the requested campaign shared set in full detail. 397 GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error) 398 // Creates or removes campaign shared sets. Operation statuses are returned. 399 MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error) 400} 401 402type campaignSharedSetServiceClient struct { 403 cc grpc.ClientConnInterface 404} 405 406func NewCampaignSharedSetServiceClient(cc grpc.ClientConnInterface) CampaignSharedSetServiceClient { 407 return &campaignSharedSetServiceClient{cc} 408} 409 410func (c *campaignSharedSetServiceClient) GetCampaignSharedSet(ctx context.Context, in *GetCampaignSharedSetRequest, opts ...grpc.CallOption) (*resources.CampaignSharedSet, error) { 411 out := new(resources.CampaignSharedSet) 412 err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.CampaignSharedSetService/GetCampaignSharedSet", in, out, opts...) 413 if err != nil { 414 return nil, err 415 } 416 return out, nil 417} 418 419func (c *campaignSharedSetServiceClient) MutateCampaignSharedSets(ctx context.Context, in *MutateCampaignSharedSetsRequest, opts ...grpc.CallOption) (*MutateCampaignSharedSetsResponse, error) { 420 out := new(MutateCampaignSharedSetsResponse) 421 err := c.cc.Invoke(ctx, "/google.ads.googleads.v3.services.CampaignSharedSetService/MutateCampaignSharedSets", in, out, opts...) 422 if err != nil { 423 return nil, err 424 } 425 return out, nil 426} 427 428// CampaignSharedSetServiceServer is the server API for CampaignSharedSetService service. 429type CampaignSharedSetServiceServer interface { 430 // Returns the requested campaign shared set in full detail. 431 GetCampaignSharedSet(context.Context, *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error) 432 // Creates or removes campaign shared sets. Operation statuses are returned. 433 MutateCampaignSharedSets(context.Context, *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error) 434} 435 436// UnimplementedCampaignSharedSetServiceServer can be embedded to have forward compatible implementations. 437type UnimplementedCampaignSharedSetServiceServer struct { 438} 439 440func (*UnimplementedCampaignSharedSetServiceServer) GetCampaignSharedSet(ctx context.Context, req *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error) { 441 return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignSharedSet not implemented") 442} 443func (*UnimplementedCampaignSharedSetServiceServer) MutateCampaignSharedSets(ctx context.Context, req *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error) { 444 return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignSharedSets not implemented") 445} 446 447func RegisterCampaignSharedSetServiceServer(s *grpc.Server, srv CampaignSharedSetServiceServer) { 448 s.RegisterService(&_CampaignSharedSetService_serviceDesc, srv) 449} 450 451func _CampaignSharedSetService_GetCampaignSharedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 452 in := new(GetCampaignSharedSetRequest) 453 if err := dec(in); err != nil { 454 return nil, err 455 } 456 if interceptor == nil { 457 return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, in) 458 } 459 info := &grpc.UnaryServerInfo{ 460 Server: srv, 461 FullMethod: "/google.ads.googleads.v3.services.CampaignSharedSetService/GetCampaignSharedSet", 462 } 463 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 464 return srv.(CampaignSharedSetServiceServer).GetCampaignSharedSet(ctx, req.(*GetCampaignSharedSetRequest)) 465 } 466 return interceptor(ctx, in, info, handler) 467} 468 469func _CampaignSharedSetService_MutateCampaignSharedSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 470 in := new(MutateCampaignSharedSetsRequest) 471 if err := dec(in); err != nil { 472 return nil, err 473 } 474 if interceptor == nil { 475 return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, in) 476 } 477 info := &grpc.UnaryServerInfo{ 478 Server: srv, 479 FullMethod: "/google.ads.googleads.v3.services.CampaignSharedSetService/MutateCampaignSharedSets", 480 } 481 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 482 return srv.(CampaignSharedSetServiceServer).MutateCampaignSharedSets(ctx, req.(*MutateCampaignSharedSetsRequest)) 483 } 484 return interceptor(ctx, in, info, handler) 485} 486 487var _CampaignSharedSetService_serviceDesc = grpc.ServiceDesc{ 488 ServiceName: "google.ads.googleads.v3.services.CampaignSharedSetService", 489 HandlerType: (*CampaignSharedSetServiceServer)(nil), 490 Methods: []grpc.MethodDesc{ 491 { 492 MethodName: "GetCampaignSharedSet", 493 Handler: _CampaignSharedSetService_GetCampaignSharedSet_Handler, 494 }, 495 { 496 MethodName: "MutateCampaignSharedSets", 497 Handler: _CampaignSharedSetService_MutateCampaignSharedSets_Handler, 498 }, 499 }, 500 Streams: []grpc.StreamDesc{}, 501 Metadata: "google/ads/googleads/v3/services/campaign_shared_set_service.proto", 502} 503