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.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v3/resources/billing_setup.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// This is a compile-time assertion that a sufficiently up-to-date version 43// of the legacy proto package is being used. 44const _ = proto.ProtoPackageIsVersion4 45 46// A billing setup, which associates a payments account and an advertiser. A 47// billing setup is specific to one advertiser. 48type BillingSetup struct { 49 state protoimpl.MessageState 50 sizeCache protoimpl.SizeCache 51 unknownFields protoimpl.UnknownFields 52 53 // Immutable. The resource name of the billing setup. 54 // BillingSetup resource names have the form: 55 // 56 // `customers/{customer_id}/billingSetups/{billing_setup_id}` 57 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 58 // Output only. The ID of the billing setup. 59 Id *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 60 // Output only. The status of the billing setup. 61 Status enums.BillingSetupStatusEnum_BillingSetupStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.BillingSetupStatusEnum_BillingSetupStatus" json:"status,omitempty"` 62 // Immutable. The resource name of the payments account associated with this billing 63 // setup. Payments resource names have the form: 64 // 65 // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` 66 // When setting up billing, this is used to signup with an existing payments 67 // account (and then payments_account_info should not be set). 68 // When getting a billing setup, this and payments_account_info will be 69 // populated. 70 PaymentsAccount *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=payments_account,json=paymentsAccount,proto3" json:"payments_account,omitempty"` 71 // Immutable. The payments account information associated with this billing setup. 72 // When setting up billing, this is used to signup with a new payments account 73 // (and then payments_account should not be set). 74 // When getting a billing setup, this and payments_account will be 75 // populated. 76 PaymentsAccountInfo *BillingSetup_PaymentsAccountInfo `protobuf:"bytes,12,opt,name=payments_account_info,json=paymentsAccountInfo,proto3" json:"payments_account_info,omitempty"` 77 // When creating a new billing setup, this is when the setup should take 78 // effect. NOW is the only acceptable start time if the customer doesn't have 79 // any approved setups. 80 // 81 // When fetching an existing billing setup, this is the requested start time. 82 // However, if the setup was approved (see status) after the requested start 83 // time, then this is the approval time. 84 // 85 // Types that are assignable to StartTime: 86 // *BillingSetup_StartDateTime 87 // *BillingSetup_StartTimeType 88 StartTime isBillingSetup_StartTime `protobuf_oneof:"start_time"` 89 // When the billing setup ends / ended. This is either FOREVER or the start 90 // time of the next scheduled billing setup. 91 // 92 // Types that are assignable to EndTime: 93 // *BillingSetup_EndDateTime 94 // *BillingSetup_EndTimeType 95 EndTime isBillingSetup_EndTime `protobuf_oneof:"end_time"` 96} 97 98func (x *BillingSetup) Reset() { 99 *x = BillingSetup{} 100 if protoimpl.UnsafeEnabled { 101 mi := &file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[0] 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 ms.StoreMessageInfo(mi) 104 } 105} 106 107func (x *BillingSetup) String() string { 108 return protoimpl.X.MessageStringOf(x) 109} 110 111func (*BillingSetup) ProtoMessage() {} 112 113func (x *BillingSetup) ProtoReflect() protoreflect.Message { 114 mi := &file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[0] 115 if protoimpl.UnsafeEnabled && x != nil { 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 if ms.LoadMessageInfo() == nil { 118 ms.StoreMessageInfo(mi) 119 } 120 return ms 121 } 122 return mi.MessageOf(x) 123} 124 125// Deprecated: Use BillingSetup.ProtoReflect.Descriptor instead. 126func (*BillingSetup) Descriptor() ([]byte, []int) { 127 return file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescGZIP(), []int{0} 128} 129 130func (x *BillingSetup) GetResourceName() string { 131 if x != nil { 132 return x.ResourceName 133 } 134 return "" 135} 136 137func (x *BillingSetup) GetId() *wrapperspb.Int64Value { 138 if x != nil { 139 return x.Id 140 } 141 return nil 142} 143 144func (x *BillingSetup) GetStatus() enums.BillingSetupStatusEnum_BillingSetupStatus { 145 if x != nil { 146 return x.Status 147 } 148 return enums.BillingSetupStatusEnum_UNSPECIFIED 149} 150 151func (x *BillingSetup) GetPaymentsAccount() *wrapperspb.StringValue { 152 if x != nil { 153 return x.PaymentsAccount 154 } 155 return nil 156} 157 158func (x *BillingSetup) GetPaymentsAccountInfo() *BillingSetup_PaymentsAccountInfo { 159 if x != nil { 160 return x.PaymentsAccountInfo 161 } 162 return nil 163} 164 165func (m *BillingSetup) GetStartTime() isBillingSetup_StartTime { 166 if m != nil { 167 return m.StartTime 168 } 169 return nil 170} 171 172func (x *BillingSetup) GetStartDateTime() *wrapperspb.StringValue { 173 if x, ok := x.GetStartTime().(*BillingSetup_StartDateTime); ok { 174 return x.StartDateTime 175 } 176 return nil 177} 178 179func (x *BillingSetup) GetStartTimeType() enums.TimeTypeEnum_TimeType { 180 if x, ok := x.GetStartTime().(*BillingSetup_StartTimeType); ok { 181 return x.StartTimeType 182 } 183 return enums.TimeTypeEnum_UNSPECIFIED 184} 185 186func (m *BillingSetup) GetEndTime() isBillingSetup_EndTime { 187 if m != nil { 188 return m.EndTime 189 } 190 return nil 191} 192 193func (x *BillingSetup) GetEndDateTime() *wrapperspb.StringValue { 194 if x, ok := x.GetEndTime().(*BillingSetup_EndDateTime); ok { 195 return x.EndDateTime 196 } 197 return nil 198} 199 200func (x *BillingSetup) GetEndTimeType() enums.TimeTypeEnum_TimeType { 201 if x, ok := x.GetEndTime().(*BillingSetup_EndTimeType); ok { 202 return x.EndTimeType 203 } 204 return enums.TimeTypeEnum_UNSPECIFIED 205} 206 207type isBillingSetup_StartTime interface { 208 isBillingSetup_StartTime() 209} 210 211type BillingSetup_StartDateTime struct { 212 // Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a 213 // future time is allowed. 214 StartDateTime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=start_date_time,json=startDateTime,proto3,oneof"` 215} 216 217type BillingSetup_StartTimeType struct { 218 // Immutable. The start time as a type. Only NOW is allowed. 219 StartTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,10,opt,name=start_time_type,json=startTimeType,proto3,enum=google.ads.googleads.v3.enums.TimeTypeEnum_TimeType,oneof"` 220} 221 222func (*BillingSetup_StartDateTime) isBillingSetup_StartTime() {} 223 224func (*BillingSetup_StartTimeType) isBillingSetup_StartTime() {} 225 226type isBillingSetup_EndTime interface { 227 isBillingSetup_EndTime() 228} 229 230type BillingSetup_EndDateTime struct { 231 // Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. 232 EndDateTime *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=end_date_time,json=endDateTime,proto3,oneof"` 233} 234 235type BillingSetup_EndTimeType struct { 236 // Output only. The end time as a type. The only possible value is FOREVER. 237 EndTimeType enums.TimeTypeEnum_TimeType `protobuf:"varint,14,opt,name=end_time_type,json=endTimeType,proto3,enum=google.ads.googleads.v3.enums.TimeTypeEnum_TimeType,oneof"` 238} 239 240func (*BillingSetup_EndDateTime) isBillingSetup_EndTime() {} 241 242func (*BillingSetup_EndTimeType) isBillingSetup_EndTime() {} 243 244// Container of payments account information for this billing. 245type BillingSetup_PaymentsAccountInfo struct { 246 state protoimpl.MessageState 247 sizeCache protoimpl.SizeCache 248 unknownFields protoimpl.UnknownFields 249 250 // Output only. A 16 digit id used to identify the payments account associated with the 251 // billing setup. 252 // 253 // This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". 254 PaymentsAccountId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"` 255 // Immutable. The name of the payments account associated with the billing setup. 256 // 257 // This enables the user to specify a meaningful name for a payments account 258 // to aid in reconciling monthly invoices. 259 // 260 // This name will be printed in the monthly invoices. 261 PaymentsAccountName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=payments_account_name,json=paymentsAccountName,proto3" json:"payments_account_name,omitempty"` 262 // Immutable. A 12 digit id used to identify the payments profile associated with the 263 // billing setup. 264 // 265 // This must be passed in as a string with dashes, e.g. "1234-5678-9012". 266 PaymentsProfileId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"` 267 // Output only. The name of the payments profile associated with the billing setup. 268 PaymentsProfileName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=payments_profile_name,json=paymentsProfileName,proto3" json:"payments_profile_name,omitempty"` 269 // Output only. A secondary payments profile id present in uncommon situations, e.g. 270 // when a sequential liability agreement has been arranged. 271 SecondaryPaymentsProfileId *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=secondary_payments_profile_id,json=secondaryPaymentsProfileId,proto3" json:"secondary_payments_profile_id,omitempty"` 272} 273 274func (x *BillingSetup_PaymentsAccountInfo) Reset() { 275 *x = BillingSetup_PaymentsAccountInfo{} 276 if protoimpl.UnsafeEnabled { 277 mi := &file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[1] 278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 279 ms.StoreMessageInfo(mi) 280 } 281} 282 283func (x *BillingSetup_PaymentsAccountInfo) String() string { 284 return protoimpl.X.MessageStringOf(x) 285} 286 287func (*BillingSetup_PaymentsAccountInfo) ProtoMessage() {} 288 289func (x *BillingSetup_PaymentsAccountInfo) ProtoReflect() protoreflect.Message { 290 mi := &file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[1] 291 if protoimpl.UnsafeEnabled && x != nil { 292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 293 if ms.LoadMessageInfo() == nil { 294 ms.StoreMessageInfo(mi) 295 } 296 return ms 297 } 298 return mi.MessageOf(x) 299} 300 301// Deprecated: Use BillingSetup_PaymentsAccountInfo.ProtoReflect.Descriptor instead. 302func (*BillingSetup_PaymentsAccountInfo) Descriptor() ([]byte, []int) { 303 return file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescGZIP(), []int{0, 0} 304} 305 306func (x *BillingSetup_PaymentsAccountInfo) GetPaymentsAccountId() *wrapperspb.StringValue { 307 if x != nil { 308 return x.PaymentsAccountId 309 } 310 return nil 311} 312 313func (x *BillingSetup_PaymentsAccountInfo) GetPaymentsAccountName() *wrapperspb.StringValue { 314 if x != nil { 315 return x.PaymentsAccountName 316 } 317 return nil 318} 319 320func (x *BillingSetup_PaymentsAccountInfo) GetPaymentsProfileId() *wrapperspb.StringValue { 321 if x != nil { 322 return x.PaymentsProfileId 323 } 324 return nil 325} 326 327func (x *BillingSetup_PaymentsAccountInfo) GetPaymentsProfileName() *wrapperspb.StringValue { 328 if x != nil { 329 return x.PaymentsProfileName 330 } 331 return nil 332} 333 334func (x *BillingSetup_PaymentsAccountInfo) GetSecondaryPaymentsProfileId() *wrapperspb.StringValue { 335 if x != nil { 336 return x.SecondaryPaymentsProfileId 337 } 338 return nil 339} 340 341var File_google_ads_googleads_v3_resources_billing_setup_proto protoreflect.FileDescriptor 342 343var file_google_ads_googleads_v3_resources_billing_setup_proto_rawDesc = []byte{ 344 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 345 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 346 0x63, 0x65, 0x73, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x75, 347 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 348 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 349 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 350 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 351 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 352 0x67, 0x5f, 0x73, 0x65, 0x74, 0x75, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 353 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 354 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 355 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 356 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 357 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 358 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 359 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 360 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 361 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 362 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 363 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x0b, 364 0x0a, 0x0c, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x52, 365 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 366 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x67, 367 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 368 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 369 0x65, 0x74, 0x75, 0x70, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 370 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 371 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 372 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 373 0x52, 0x02, 0x69, 0x64, 0x12, 0x65, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 374 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 375 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 376 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x75, 377 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 378 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 379 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x79, 0x0a, 0x10, 0x70, 380 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 381 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 382 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 383 0x6c, 0x75, 0x65, 0x42, 0x30, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x67, 0x6f, 0x6f, 384 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 385 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 386 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 387 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7c, 0x0a, 0x15, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 388 0x74, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 389 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 390 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 391 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 392 0x67, 0x53, 0x65, 0x74, 0x75, 0x70, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 393 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 394 0x13, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 395 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61, 396 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 397 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 398 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x05, 399 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 400 0x65, 0x12, 0x63, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 401 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 402 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 403 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 404 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 405 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 406 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x61, 407 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 408 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 409 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 410 0x48, 0x01, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 411 0x5f, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 412 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 413 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 414 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x45, 415 0x6e, 0x75, 0x6d, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 416 0x03, 0x48, 0x01, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 417 0x1a, 0xcf, 0x03, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 0x63, 418 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x13, 0x70, 0x61, 0x79, 0x6d, 419 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 420 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 421 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 422 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 423 0x74, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x55, 0x0a, 0x15, 0x70, 424 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 425 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 426 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 427 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x13, 0x70, 428 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 429 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x13, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x70, 430 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 431 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 432 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 433 0x41, 0x05, 0x52, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x66, 434 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x55, 0x0a, 0x15, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 435 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 436 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 437 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 438 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 439 0x73, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x1d, 440 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 441 0x74, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 442 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 443 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 444 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 445 0x79, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 446 0x49, 0x64, 0x3a, 0x5e, 0xea, 0x41, 0x5b, 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 447 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 448 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x32, 449 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 450 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x75, 451 0x70, 0x73, 0x2f, 0x7b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x75, 452 0x70, 0x7d, 0x42, 0x0c, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 453 0x42, 0x0a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x42, 0xfe, 0x01, 0x0a, 454 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 455 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 456 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x11, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 457 0x65, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 458 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 459 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 460 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 461 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 462 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 463 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 464 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 465 0x73, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 466 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 467 0x75, 0x72, 0x63, 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 468 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 469 0x56, 0x33, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 470 0x72, 0x6f, 0x74, 0x6f, 0x33, 471} 472 473var ( 474 file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescOnce sync.Once 475 file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescData = file_google_ads_googleads_v3_resources_billing_setup_proto_rawDesc 476) 477 478func file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescGZIP() []byte { 479 file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescOnce.Do(func() { 480 file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescData) 481 }) 482 return file_google_ads_googleads_v3_resources_billing_setup_proto_rawDescData 483} 484 485var file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 486var file_google_ads_googleads_v3_resources_billing_setup_proto_goTypes = []interface{}{ 487 (*BillingSetup)(nil), // 0: google.ads.googleads.v3.resources.BillingSetup 488 (*BillingSetup_PaymentsAccountInfo)(nil), // 1: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo 489 (*wrapperspb.Int64Value)(nil), // 2: google.protobuf.Int64Value 490 (enums.BillingSetupStatusEnum_BillingSetupStatus)(0), // 3: google.ads.googleads.v3.enums.BillingSetupStatusEnum.BillingSetupStatus 491 (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue 492 (enums.TimeTypeEnum_TimeType)(0), // 5: google.ads.googleads.v3.enums.TimeTypeEnum.TimeType 493} 494var file_google_ads_googleads_v3_resources_billing_setup_proto_depIdxs = []int32{ 495 2, // 0: google.ads.googleads.v3.resources.BillingSetup.id:type_name -> google.protobuf.Int64Value 496 3, // 1: google.ads.googleads.v3.resources.BillingSetup.status:type_name -> google.ads.googleads.v3.enums.BillingSetupStatusEnum.BillingSetupStatus 497 4, // 2: google.ads.googleads.v3.resources.BillingSetup.payments_account:type_name -> google.protobuf.StringValue 498 1, // 3: google.ads.googleads.v3.resources.BillingSetup.payments_account_info:type_name -> google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo 499 4, // 4: google.ads.googleads.v3.resources.BillingSetup.start_date_time:type_name -> google.protobuf.StringValue 500 5, // 5: google.ads.googleads.v3.resources.BillingSetup.start_time_type:type_name -> google.ads.googleads.v3.enums.TimeTypeEnum.TimeType 501 4, // 6: google.ads.googleads.v3.resources.BillingSetup.end_date_time:type_name -> google.protobuf.StringValue 502 5, // 7: google.ads.googleads.v3.resources.BillingSetup.end_time_type:type_name -> google.ads.googleads.v3.enums.TimeTypeEnum.TimeType 503 4, // 8: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo.payments_account_id:type_name -> google.protobuf.StringValue 504 4, // 9: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo.payments_account_name:type_name -> google.protobuf.StringValue 505 4, // 10: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo.payments_profile_id:type_name -> google.protobuf.StringValue 506 4, // 11: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo.payments_profile_name:type_name -> google.protobuf.StringValue 507 4, // 12: google.ads.googleads.v3.resources.BillingSetup.PaymentsAccountInfo.secondary_payments_profile_id:type_name -> google.protobuf.StringValue 508 13, // [13:13] is the sub-list for method output_type 509 13, // [13:13] is the sub-list for method input_type 510 13, // [13:13] is the sub-list for extension type_name 511 13, // [13:13] is the sub-list for extension extendee 512 0, // [0:13] is the sub-list for field type_name 513} 514 515func init() { file_google_ads_googleads_v3_resources_billing_setup_proto_init() } 516func file_google_ads_googleads_v3_resources_billing_setup_proto_init() { 517 if File_google_ads_googleads_v3_resources_billing_setup_proto != nil { 518 return 519 } 520 if !protoimpl.UnsafeEnabled { 521 file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 522 switch v := v.(*BillingSetup); i { 523 case 0: 524 return &v.state 525 case 1: 526 return &v.sizeCache 527 case 2: 528 return &v.unknownFields 529 default: 530 return nil 531 } 532 } 533 file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 534 switch v := v.(*BillingSetup_PaymentsAccountInfo); i { 535 case 0: 536 return &v.state 537 case 1: 538 return &v.sizeCache 539 case 2: 540 return &v.unknownFields 541 default: 542 return nil 543 } 544 } 545 } 546 file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes[0].OneofWrappers = []interface{}{ 547 (*BillingSetup_StartDateTime)(nil), 548 (*BillingSetup_StartTimeType)(nil), 549 (*BillingSetup_EndDateTime)(nil), 550 (*BillingSetup_EndTimeType)(nil), 551 } 552 type x struct{} 553 out := protoimpl.TypeBuilder{ 554 File: protoimpl.DescBuilder{ 555 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 556 RawDescriptor: file_google_ads_googleads_v3_resources_billing_setup_proto_rawDesc, 557 NumEnums: 0, 558 NumMessages: 2, 559 NumExtensions: 0, 560 NumServices: 0, 561 }, 562 GoTypes: file_google_ads_googleads_v3_resources_billing_setup_proto_goTypes, 563 DependencyIndexes: file_google_ads_googleads_v3_resources_billing_setup_proto_depIdxs, 564 MessageInfos: file_google_ads_googleads_v3_resources_billing_setup_proto_msgTypes, 565 }.Build() 566 File_google_ads_googleads_v3_resources_billing_setup_proto = out.File 567 file_google_ads_googleads_v3_resources_billing_setup_proto_rawDesc = nil 568 file_google_ads_googleads_v3_resources_billing_setup_proto_goTypes = nil 569 file_google_ads_googleads_v3_resources_billing_setup_proto_depIdxs = nil 570} 571