Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/usage-api/go/v1/billing.pb.go
2499 views
1
// Copyright (c) 2024 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc (unknown)
9
// source: usage/v1/billing.proto
10
11
package v1
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
reflect "reflect"
17
sync "sync"
18
)
19
20
const (
21
// Verify that this generated code is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
// Verify that runtime/protoimpl is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
)
26
27
type ReconcileInvoicesRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
}
32
33
func (x *ReconcileInvoicesRequest) Reset() {
34
*x = ReconcileInvoicesRequest{}
35
if protoimpl.UnsafeEnabled {
36
mi := &file_usage_v1_billing_proto_msgTypes[0]
37
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38
ms.StoreMessageInfo(mi)
39
}
40
}
41
42
func (x *ReconcileInvoicesRequest) String() string {
43
return protoimpl.X.MessageStringOf(x)
44
}
45
46
func (*ReconcileInvoicesRequest) ProtoMessage() {}
47
48
func (x *ReconcileInvoicesRequest) ProtoReflect() protoreflect.Message {
49
mi := &file_usage_v1_billing_proto_msgTypes[0]
50
if protoimpl.UnsafeEnabled && x != nil {
51
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52
if ms.LoadMessageInfo() == nil {
53
ms.StoreMessageInfo(mi)
54
}
55
return ms
56
}
57
return mi.MessageOf(x)
58
}
59
60
// Deprecated: Use ReconcileInvoicesRequest.ProtoReflect.Descriptor instead.
61
func (*ReconcileInvoicesRequest) Descriptor() ([]byte, []int) {
62
return file_usage_v1_billing_proto_rawDescGZIP(), []int{0}
63
}
64
65
type ReconcileInvoicesResponse struct {
66
state protoimpl.MessageState
67
sizeCache protoimpl.SizeCache
68
unknownFields protoimpl.UnknownFields
69
}
70
71
func (x *ReconcileInvoicesResponse) Reset() {
72
*x = ReconcileInvoicesResponse{}
73
if protoimpl.UnsafeEnabled {
74
mi := &file_usage_v1_billing_proto_msgTypes[1]
75
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76
ms.StoreMessageInfo(mi)
77
}
78
}
79
80
func (x *ReconcileInvoicesResponse) String() string {
81
return protoimpl.X.MessageStringOf(x)
82
}
83
84
func (*ReconcileInvoicesResponse) ProtoMessage() {}
85
86
func (x *ReconcileInvoicesResponse) ProtoReflect() protoreflect.Message {
87
mi := &file_usage_v1_billing_proto_msgTypes[1]
88
if protoimpl.UnsafeEnabled && x != nil {
89
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
90
if ms.LoadMessageInfo() == nil {
91
ms.StoreMessageInfo(mi)
92
}
93
return ms
94
}
95
return mi.MessageOf(x)
96
}
97
98
// Deprecated: Use ReconcileInvoicesResponse.ProtoReflect.Descriptor instead.
99
func (*ReconcileInvoicesResponse) Descriptor() ([]byte, []int) {
100
return file_usage_v1_billing_proto_rawDescGZIP(), []int{1}
101
}
102
103
type FinalizeInvoiceRequest struct {
104
state protoimpl.MessageState
105
sizeCache protoimpl.SizeCache
106
unknownFields protoimpl.UnknownFields
107
108
InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
109
}
110
111
func (x *FinalizeInvoiceRequest) Reset() {
112
*x = FinalizeInvoiceRequest{}
113
if protoimpl.UnsafeEnabled {
114
mi := &file_usage_v1_billing_proto_msgTypes[2]
115
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116
ms.StoreMessageInfo(mi)
117
}
118
}
119
120
func (x *FinalizeInvoiceRequest) String() string {
121
return protoimpl.X.MessageStringOf(x)
122
}
123
124
func (*FinalizeInvoiceRequest) ProtoMessage() {}
125
126
func (x *FinalizeInvoiceRequest) ProtoReflect() protoreflect.Message {
127
mi := &file_usage_v1_billing_proto_msgTypes[2]
128
if protoimpl.UnsafeEnabled && x != nil {
129
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130
if ms.LoadMessageInfo() == nil {
131
ms.StoreMessageInfo(mi)
132
}
133
return ms
134
}
135
return mi.MessageOf(x)
136
}
137
138
// Deprecated: Use FinalizeInvoiceRequest.ProtoReflect.Descriptor instead.
139
func (*FinalizeInvoiceRequest) Descriptor() ([]byte, []int) {
140
return file_usage_v1_billing_proto_rawDescGZIP(), []int{2}
141
}
142
143
func (x *FinalizeInvoiceRequest) GetInvoiceId() string {
144
if x != nil {
145
return x.InvoiceId
146
}
147
return ""
148
}
149
150
type FinalizeInvoiceResponse struct {
151
state protoimpl.MessageState
152
sizeCache protoimpl.SizeCache
153
unknownFields protoimpl.UnknownFields
154
}
155
156
func (x *FinalizeInvoiceResponse) Reset() {
157
*x = FinalizeInvoiceResponse{}
158
if protoimpl.UnsafeEnabled {
159
mi := &file_usage_v1_billing_proto_msgTypes[3]
160
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161
ms.StoreMessageInfo(mi)
162
}
163
}
164
165
func (x *FinalizeInvoiceResponse) String() string {
166
return protoimpl.X.MessageStringOf(x)
167
}
168
169
func (*FinalizeInvoiceResponse) ProtoMessage() {}
170
171
func (x *FinalizeInvoiceResponse) ProtoReflect() protoreflect.Message {
172
mi := &file_usage_v1_billing_proto_msgTypes[3]
173
if protoimpl.UnsafeEnabled && x != nil {
174
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175
if ms.LoadMessageInfo() == nil {
176
ms.StoreMessageInfo(mi)
177
}
178
return ms
179
}
180
return mi.MessageOf(x)
181
}
182
183
// Deprecated: Use FinalizeInvoiceResponse.ProtoReflect.Descriptor instead.
184
func (*FinalizeInvoiceResponse) Descriptor() ([]byte, []int) {
185
return file_usage_v1_billing_proto_rawDescGZIP(), []int{3}
186
}
187
188
type CancelSubscriptionRequest struct {
189
state protoimpl.MessageState
190
sizeCache protoimpl.SizeCache
191
unknownFields protoimpl.UnknownFields
192
193
SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
194
}
195
196
func (x *CancelSubscriptionRequest) Reset() {
197
*x = CancelSubscriptionRequest{}
198
if protoimpl.UnsafeEnabled {
199
mi := &file_usage_v1_billing_proto_msgTypes[4]
200
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201
ms.StoreMessageInfo(mi)
202
}
203
}
204
205
func (x *CancelSubscriptionRequest) String() string {
206
return protoimpl.X.MessageStringOf(x)
207
}
208
209
func (*CancelSubscriptionRequest) ProtoMessage() {}
210
211
func (x *CancelSubscriptionRequest) ProtoReflect() protoreflect.Message {
212
mi := &file_usage_v1_billing_proto_msgTypes[4]
213
if protoimpl.UnsafeEnabled && x != nil {
214
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215
if ms.LoadMessageInfo() == nil {
216
ms.StoreMessageInfo(mi)
217
}
218
return ms
219
}
220
return mi.MessageOf(x)
221
}
222
223
// Deprecated: Use CancelSubscriptionRequest.ProtoReflect.Descriptor instead.
224
func (*CancelSubscriptionRequest) Descriptor() ([]byte, []int) {
225
return file_usage_v1_billing_proto_rawDescGZIP(), []int{4}
226
}
227
228
func (x *CancelSubscriptionRequest) GetSubscriptionId() string {
229
if x != nil {
230
return x.SubscriptionId
231
}
232
return ""
233
}
234
235
type CancelSubscriptionResponse struct {
236
state protoimpl.MessageState
237
sizeCache protoimpl.SizeCache
238
unknownFields protoimpl.UnknownFields
239
}
240
241
func (x *CancelSubscriptionResponse) Reset() {
242
*x = CancelSubscriptionResponse{}
243
if protoimpl.UnsafeEnabled {
244
mi := &file_usage_v1_billing_proto_msgTypes[5]
245
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246
ms.StoreMessageInfo(mi)
247
}
248
}
249
250
func (x *CancelSubscriptionResponse) String() string {
251
return protoimpl.X.MessageStringOf(x)
252
}
253
254
func (*CancelSubscriptionResponse) ProtoMessage() {}
255
256
func (x *CancelSubscriptionResponse) ProtoReflect() protoreflect.Message {
257
mi := &file_usage_v1_billing_proto_msgTypes[5]
258
if protoimpl.UnsafeEnabled && x != nil {
259
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260
if ms.LoadMessageInfo() == nil {
261
ms.StoreMessageInfo(mi)
262
}
263
return ms
264
}
265
return mi.MessageOf(x)
266
}
267
268
// Deprecated: Use CancelSubscriptionResponse.ProtoReflect.Descriptor instead.
269
func (*CancelSubscriptionResponse) Descriptor() ([]byte, []int) {
270
return file_usage_v1_billing_proto_rawDescGZIP(), []int{5}
271
}
272
273
type GetStripeCustomerRequest struct {
274
state protoimpl.MessageState
275
sizeCache protoimpl.SizeCache
276
unknownFields protoimpl.UnknownFields
277
278
// Types that are assignable to Identifier:
279
//
280
// *GetStripeCustomerRequest_AttributionId
281
// *GetStripeCustomerRequest_StripeCustomerId
282
Identifier isGetStripeCustomerRequest_Identifier `protobuf_oneof:"identifier"`
283
}
284
285
func (x *GetStripeCustomerRequest) Reset() {
286
*x = GetStripeCustomerRequest{}
287
if protoimpl.UnsafeEnabled {
288
mi := &file_usage_v1_billing_proto_msgTypes[6]
289
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290
ms.StoreMessageInfo(mi)
291
}
292
}
293
294
func (x *GetStripeCustomerRequest) String() string {
295
return protoimpl.X.MessageStringOf(x)
296
}
297
298
func (*GetStripeCustomerRequest) ProtoMessage() {}
299
300
func (x *GetStripeCustomerRequest) ProtoReflect() protoreflect.Message {
301
mi := &file_usage_v1_billing_proto_msgTypes[6]
302
if protoimpl.UnsafeEnabled && x != nil {
303
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304
if ms.LoadMessageInfo() == nil {
305
ms.StoreMessageInfo(mi)
306
}
307
return ms
308
}
309
return mi.MessageOf(x)
310
}
311
312
// Deprecated: Use GetStripeCustomerRequest.ProtoReflect.Descriptor instead.
313
func (*GetStripeCustomerRequest) Descriptor() ([]byte, []int) {
314
return file_usage_v1_billing_proto_rawDescGZIP(), []int{6}
315
}
316
317
func (m *GetStripeCustomerRequest) GetIdentifier() isGetStripeCustomerRequest_Identifier {
318
if m != nil {
319
return m.Identifier
320
}
321
return nil
322
}
323
324
func (x *GetStripeCustomerRequest) GetAttributionId() string {
325
if x, ok := x.GetIdentifier().(*GetStripeCustomerRequest_AttributionId); ok {
326
return x.AttributionId
327
}
328
return ""
329
}
330
331
func (x *GetStripeCustomerRequest) GetStripeCustomerId() string {
332
if x, ok := x.GetIdentifier().(*GetStripeCustomerRequest_StripeCustomerId); ok {
333
return x.StripeCustomerId
334
}
335
return ""
336
}
337
338
type isGetStripeCustomerRequest_Identifier interface {
339
isGetStripeCustomerRequest_Identifier()
340
}
341
342
type GetStripeCustomerRequest_AttributionId struct {
343
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3,oneof"`
344
}
345
346
type GetStripeCustomerRequest_StripeCustomerId struct {
347
StripeCustomerId string `protobuf:"bytes,2,opt,name=stripe_customer_id,json=stripeCustomerId,proto3,oneof"`
348
}
349
350
func (*GetStripeCustomerRequest_AttributionId) isGetStripeCustomerRequest_Identifier() {}
351
352
func (*GetStripeCustomerRequest_StripeCustomerId) isGetStripeCustomerRequest_Identifier() {}
353
354
type GetStripeCustomerResponse struct {
355
state protoimpl.MessageState
356
sizeCache protoimpl.SizeCache
357
unknownFields protoimpl.UnknownFields
358
359
Customer *StripeCustomer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
360
AttributionId string `protobuf:"bytes,2,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
361
}
362
363
func (x *GetStripeCustomerResponse) Reset() {
364
*x = GetStripeCustomerResponse{}
365
if protoimpl.UnsafeEnabled {
366
mi := &file_usage_v1_billing_proto_msgTypes[7]
367
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368
ms.StoreMessageInfo(mi)
369
}
370
}
371
372
func (x *GetStripeCustomerResponse) String() string {
373
return protoimpl.X.MessageStringOf(x)
374
}
375
376
func (*GetStripeCustomerResponse) ProtoMessage() {}
377
378
func (x *GetStripeCustomerResponse) ProtoReflect() protoreflect.Message {
379
mi := &file_usage_v1_billing_proto_msgTypes[7]
380
if protoimpl.UnsafeEnabled && x != nil {
381
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
382
if ms.LoadMessageInfo() == nil {
383
ms.StoreMessageInfo(mi)
384
}
385
return ms
386
}
387
return mi.MessageOf(x)
388
}
389
390
// Deprecated: Use GetStripeCustomerResponse.ProtoReflect.Descriptor instead.
391
func (*GetStripeCustomerResponse) Descriptor() ([]byte, []int) {
392
return file_usage_v1_billing_proto_rawDescGZIP(), []int{7}
393
}
394
395
func (x *GetStripeCustomerResponse) GetCustomer() *StripeCustomer {
396
if x != nil {
397
return x.Customer
398
}
399
return nil
400
}
401
402
func (x *GetStripeCustomerResponse) GetAttributionId() string {
403
if x != nil {
404
return x.AttributionId
405
}
406
return ""
407
}
408
409
type StripeCustomer struct {
410
state protoimpl.MessageState
411
sizeCache protoimpl.SizeCache
412
unknownFields protoimpl.UnknownFields
413
414
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
415
Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
416
InvalidBillingAddress bool `protobuf:"varint,3,opt,name=invalid_billing_address,json=invalidBillingAddress,proto3" json:"invalid_billing_address,omitempty"`
417
}
418
419
func (x *StripeCustomer) Reset() {
420
*x = StripeCustomer{}
421
if protoimpl.UnsafeEnabled {
422
mi := &file_usage_v1_billing_proto_msgTypes[8]
423
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
424
ms.StoreMessageInfo(mi)
425
}
426
}
427
428
func (x *StripeCustomer) String() string {
429
return protoimpl.X.MessageStringOf(x)
430
}
431
432
func (*StripeCustomer) ProtoMessage() {}
433
434
func (x *StripeCustomer) ProtoReflect() protoreflect.Message {
435
mi := &file_usage_v1_billing_proto_msgTypes[8]
436
if protoimpl.UnsafeEnabled && x != nil {
437
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
438
if ms.LoadMessageInfo() == nil {
439
ms.StoreMessageInfo(mi)
440
}
441
return ms
442
}
443
return mi.MessageOf(x)
444
}
445
446
// Deprecated: Use StripeCustomer.ProtoReflect.Descriptor instead.
447
func (*StripeCustomer) Descriptor() ([]byte, []int) {
448
return file_usage_v1_billing_proto_rawDescGZIP(), []int{8}
449
}
450
451
func (x *StripeCustomer) GetId() string {
452
if x != nil {
453
return x.Id
454
}
455
return ""
456
}
457
458
func (x *StripeCustomer) GetCurrency() string {
459
if x != nil {
460
return x.Currency
461
}
462
return ""
463
}
464
465
func (x *StripeCustomer) GetInvalidBillingAddress() bool {
466
if x != nil {
467
return x.InvalidBillingAddress
468
}
469
return false
470
}
471
472
type CreateStripeCustomerRequest struct {
473
state protoimpl.MessageState
474
sizeCache protoimpl.SizeCache
475
unknownFields protoimpl.UnknownFields
476
477
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
478
// name is the customer name
479
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
480
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
481
Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
482
// Gitpod User ID for the user setting up billing.
483
BillingCreatorUserId string `protobuf:"bytes,5,opt,name=billing_creator_user_id,json=billingCreatorUserId,proto3" json:"billing_creator_user_id,omitempty"`
484
}
485
486
func (x *CreateStripeCustomerRequest) Reset() {
487
*x = CreateStripeCustomerRequest{}
488
if protoimpl.UnsafeEnabled {
489
mi := &file_usage_v1_billing_proto_msgTypes[9]
490
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
491
ms.StoreMessageInfo(mi)
492
}
493
}
494
495
func (x *CreateStripeCustomerRequest) String() string {
496
return protoimpl.X.MessageStringOf(x)
497
}
498
499
func (*CreateStripeCustomerRequest) ProtoMessage() {}
500
501
func (x *CreateStripeCustomerRequest) ProtoReflect() protoreflect.Message {
502
mi := &file_usage_v1_billing_proto_msgTypes[9]
503
if protoimpl.UnsafeEnabled && x != nil {
504
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
505
if ms.LoadMessageInfo() == nil {
506
ms.StoreMessageInfo(mi)
507
}
508
return ms
509
}
510
return mi.MessageOf(x)
511
}
512
513
// Deprecated: Use CreateStripeCustomerRequest.ProtoReflect.Descriptor instead.
514
func (*CreateStripeCustomerRequest) Descriptor() ([]byte, []int) {
515
return file_usage_v1_billing_proto_rawDescGZIP(), []int{9}
516
}
517
518
func (x *CreateStripeCustomerRequest) GetAttributionId() string {
519
if x != nil {
520
return x.AttributionId
521
}
522
return ""
523
}
524
525
func (x *CreateStripeCustomerRequest) GetName() string {
526
if x != nil {
527
return x.Name
528
}
529
return ""
530
}
531
532
func (x *CreateStripeCustomerRequest) GetEmail() string {
533
if x != nil {
534
return x.Email
535
}
536
return ""
537
}
538
539
func (x *CreateStripeCustomerRequest) GetCurrency() string {
540
if x != nil {
541
return x.Currency
542
}
543
return ""
544
}
545
546
func (x *CreateStripeCustomerRequest) GetBillingCreatorUserId() string {
547
if x != nil {
548
return x.BillingCreatorUserId
549
}
550
return ""
551
}
552
553
type CreateStripeCustomerResponse struct {
554
state protoimpl.MessageState
555
sizeCache protoimpl.SizeCache
556
unknownFields protoimpl.UnknownFields
557
558
Customer *StripeCustomer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
559
}
560
561
func (x *CreateStripeCustomerResponse) Reset() {
562
*x = CreateStripeCustomerResponse{}
563
if protoimpl.UnsafeEnabled {
564
mi := &file_usage_v1_billing_proto_msgTypes[10]
565
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566
ms.StoreMessageInfo(mi)
567
}
568
}
569
570
func (x *CreateStripeCustomerResponse) String() string {
571
return protoimpl.X.MessageStringOf(x)
572
}
573
574
func (*CreateStripeCustomerResponse) ProtoMessage() {}
575
576
func (x *CreateStripeCustomerResponse) ProtoReflect() protoreflect.Message {
577
mi := &file_usage_v1_billing_proto_msgTypes[10]
578
if protoimpl.UnsafeEnabled && x != nil {
579
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
580
if ms.LoadMessageInfo() == nil {
581
ms.StoreMessageInfo(mi)
582
}
583
return ms
584
}
585
return mi.MessageOf(x)
586
}
587
588
// Deprecated: Use CreateStripeCustomerResponse.ProtoReflect.Descriptor instead.
589
func (*CreateStripeCustomerResponse) Descriptor() ([]byte, []int) {
590
return file_usage_v1_billing_proto_rawDescGZIP(), []int{10}
591
}
592
593
func (x *CreateStripeCustomerResponse) GetCustomer() *StripeCustomer {
594
if x != nil {
595
return x.Customer
596
}
597
return nil
598
}
599
600
type CreateHoldPaymentIntentRequest struct {
601
state protoimpl.MessageState
602
sizeCache protoimpl.SizeCache
603
unknownFields protoimpl.UnknownFields
604
605
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
606
}
607
608
func (x *CreateHoldPaymentIntentRequest) Reset() {
609
*x = CreateHoldPaymentIntentRequest{}
610
if protoimpl.UnsafeEnabled {
611
mi := &file_usage_v1_billing_proto_msgTypes[11]
612
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613
ms.StoreMessageInfo(mi)
614
}
615
}
616
617
func (x *CreateHoldPaymentIntentRequest) String() string {
618
return protoimpl.X.MessageStringOf(x)
619
}
620
621
func (*CreateHoldPaymentIntentRequest) ProtoMessage() {}
622
623
func (x *CreateHoldPaymentIntentRequest) ProtoReflect() protoreflect.Message {
624
mi := &file_usage_v1_billing_proto_msgTypes[11]
625
if protoimpl.UnsafeEnabled && x != nil {
626
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
627
if ms.LoadMessageInfo() == nil {
628
ms.StoreMessageInfo(mi)
629
}
630
return ms
631
}
632
return mi.MessageOf(x)
633
}
634
635
// Deprecated: Use CreateHoldPaymentIntentRequest.ProtoReflect.Descriptor instead.
636
func (*CreateHoldPaymentIntentRequest) Descriptor() ([]byte, []int) {
637
return file_usage_v1_billing_proto_rawDescGZIP(), []int{11}
638
}
639
640
func (x *CreateHoldPaymentIntentRequest) GetAttributionId() string {
641
if x != nil {
642
return x.AttributionId
643
}
644
return ""
645
}
646
647
type CreateHoldPaymentIntentResponse struct {
648
state protoimpl.MessageState
649
sizeCache protoimpl.SizeCache
650
unknownFields protoimpl.UnknownFields
651
652
PaymentIntentId string `protobuf:"bytes,1,opt,name=payment_intent_id,json=paymentIntentId,proto3" json:"payment_intent_id,omitempty"`
653
PaymentIntentClientSecret string `protobuf:"bytes,2,opt,name=payment_intent_client_secret,json=paymentIntentClientSecret,proto3" json:"payment_intent_client_secret,omitempty"`
654
}
655
656
func (x *CreateHoldPaymentIntentResponse) Reset() {
657
*x = CreateHoldPaymentIntentResponse{}
658
if protoimpl.UnsafeEnabled {
659
mi := &file_usage_v1_billing_proto_msgTypes[12]
660
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
661
ms.StoreMessageInfo(mi)
662
}
663
}
664
665
func (x *CreateHoldPaymentIntentResponse) String() string {
666
return protoimpl.X.MessageStringOf(x)
667
}
668
669
func (*CreateHoldPaymentIntentResponse) ProtoMessage() {}
670
671
func (x *CreateHoldPaymentIntentResponse) ProtoReflect() protoreflect.Message {
672
mi := &file_usage_v1_billing_proto_msgTypes[12]
673
if protoimpl.UnsafeEnabled && x != nil {
674
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
675
if ms.LoadMessageInfo() == nil {
676
ms.StoreMessageInfo(mi)
677
}
678
return ms
679
}
680
return mi.MessageOf(x)
681
}
682
683
// Deprecated: Use CreateHoldPaymentIntentResponse.ProtoReflect.Descriptor instead.
684
func (*CreateHoldPaymentIntentResponse) Descriptor() ([]byte, []int) {
685
return file_usage_v1_billing_proto_rawDescGZIP(), []int{12}
686
}
687
688
func (x *CreateHoldPaymentIntentResponse) GetPaymentIntentId() string {
689
if x != nil {
690
return x.PaymentIntentId
691
}
692
return ""
693
}
694
695
func (x *CreateHoldPaymentIntentResponse) GetPaymentIntentClientSecret() string {
696
if x != nil {
697
return x.PaymentIntentClientSecret
698
}
699
return ""
700
}
701
702
type CreateStripeSubscriptionRequest struct {
703
state protoimpl.MessageState
704
sizeCache protoimpl.SizeCache
705
unknownFields protoimpl.UnknownFields
706
707
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
708
UsageLimit int64 `protobuf:"varint,3,opt,name=usage_limit,json=usageLimit,proto3" json:"usage_limit,omitempty"`
709
PaymentIntentId string `protobuf:"bytes,4,opt,name=payment_intent_id,json=paymentIntentId,proto3" json:"payment_intent_id,omitempty"`
710
}
711
712
func (x *CreateStripeSubscriptionRequest) Reset() {
713
*x = CreateStripeSubscriptionRequest{}
714
if protoimpl.UnsafeEnabled {
715
mi := &file_usage_v1_billing_proto_msgTypes[13]
716
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
717
ms.StoreMessageInfo(mi)
718
}
719
}
720
721
func (x *CreateStripeSubscriptionRequest) String() string {
722
return protoimpl.X.MessageStringOf(x)
723
}
724
725
func (*CreateStripeSubscriptionRequest) ProtoMessage() {}
726
727
func (x *CreateStripeSubscriptionRequest) ProtoReflect() protoreflect.Message {
728
mi := &file_usage_v1_billing_proto_msgTypes[13]
729
if protoimpl.UnsafeEnabled && x != nil {
730
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
731
if ms.LoadMessageInfo() == nil {
732
ms.StoreMessageInfo(mi)
733
}
734
return ms
735
}
736
return mi.MessageOf(x)
737
}
738
739
// Deprecated: Use CreateStripeSubscriptionRequest.ProtoReflect.Descriptor instead.
740
func (*CreateStripeSubscriptionRequest) Descriptor() ([]byte, []int) {
741
return file_usage_v1_billing_proto_rawDescGZIP(), []int{13}
742
}
743
744
func (x *CreateStripeSubscriptionRequest) GetAttributionId() string {
745
if x != nil {
746
return x.AttributionId
747
}
748
return ""
749
}
750
751
func (x *CreateStripeSubscriptionRequest) GetUsageLimit() int64 {
752
if x != nil {
753
return x.UsageLimit
754
}
755
return 0
756
}
757
758
func (x *CreateStripeSubscriptionRequest) GetPaymentIntentId() string {
759
if x != nil {
760
return x.PaymentIntentId
761
}
762
return ""
763
}
764
765
type CreateStripeSubscriptionResponse struct {
766
state protoimpl.MessageState
767
sizeCache protoimpl.SizeCache
768
unknownFields protoimpl.UnknownFields
769
770
Subscription *StripeSubscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
771
}
772
773
func (x *CreateStripeSubscriptionResponse) Reset() {
774
*x = CreateStripeSubscriptionResponse{}
775
if protoimpl.UnsafeEnabled {
776
mi := &file_usage_v1_billing_proto_msgTypes[14]
777
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
778
ms.StoreMessageInfo(mi)
779
}
780
}
781
782
func (x *CreateStripeSubscriptionResponse) String() string {
783
return protoimpl.X.MessageStringOf(x)
784
}
785
786
func (*CreateStripeSubscriptionResponse) ProtoMessage() {}
787
788
func (x *CreateStripeSubscriptionResponse) ProtoReflect() protoreflect.Message {
789
mi := &file_usage_v1_billing_proto_msgTypes[14]
790
if protoimpl.UnsafeEnabled && x != nil {
791
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
792
if ms.LoadMessageInfo() == nil {
793
ms.StoreMessageInfo(mi)
794
}
795
return ms
796
}
797
return mi.MessageOf(x)
798
}
799
800
// Deprecated: Use CreateStripeSubscriptionResponse.ProtoReflect.Descriptor instead.
801
func (*CreateStripeSubscriptionResponse) Descriptor() ([]byte, []int) {
802
return file_usage_v1_billing_proto_rawDescGZIP(), []int{14}
803
}
804
805
func (x *CreateStripeSubscriptionResponse) GetSubscription() *StripeSubscription {
806
if x != nil {
807
return x.Subscription
808
}
809
return nil
810
}
811
812
type StripeSubscription struct {
813
state protoimpl.MessageState
814
sizeCache protoimpl.SizeCache
815
unknownFields protoimpl.UnknownFields
816
817
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
818
}
819
820
func (x *StripeSubscription) Reset() {
821
*x = StripeSubscription{}
822
if protoimpl.UnsafeEnabled {
823
mi := &file_usage_v1_billing_proto_msgTypes[15]
824
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
825
ms.StoreMessageInfo(mi)
826
}
827
}
828
829
func (x *StripeSubscription) String() string {
830
return protoimpl.X.MessageStringOf(x)
831
}
832
833
func (*StripeSubscription) ProtoMessage() {}
834
835
func (x *StripeSubscription) ProtoReflect() protoreflect.Message {
836
mi := &file_usage_v1_billing_proto_msgTypes[15]
837
if protoimpl.UnsafeEnabled && x != nil {
838
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
839
if ms.LoadMessageInfo() == nil {
840
ms.StoreMessageInfo(mi)
841
}
842
return ms
843
}
844
return mi.MessageOf(x)
845
}
846
847
// Deprecated: Use StripeSubscription.ProtoReflect.Descriptor instead.
848
func (*StripeSubscription) Descriptor() ([]byte, []int) {
849
return file_usage_v1_billing_proto_rawDescGZIP(), []int{15}
850
}
851
852
func (x *StripeSubscription) GetId() string {
853
if x != nil {
854
return x.Id
855
}
856
return ""
857
}
858
859
type UpdateCustomerSubscriptionsTaxStateRequest struct {
860
state protoimpl.MessageState
861
sizeCache protoimpl.SizeCache
862
unknownFields protoimpl.UnknownFields
863
864
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
865
}
866
867
func (x *UpdateCustomerSubscriptionsTaxStateRequest) Reset() {
868
*x = UpdateCustomerSubscriptionsTaxStateRequest{}
869
if protoimpl.UnsafeEnabled {
870
mi := &file_usage_v1_billing_proto_msgTypes[16]
871
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
872
ms.StoreMessageInfo(mi)
873
}
874
}
875
876
func (x *UpdateCustomerSubscriptionsTaxStateRequest) String() string {
877
return protoimpl.X.MessageStringOf(x)
878
}
879
880
func (*UpdateCustomerSubscriptionsTaxStateRequest) ProtoMessage() {}
881
882
func (x *UpdateCustomerSubscriptionsTaxStateRequest) ProtoReflect() protoreflect.Message {
883
mi := &file_usage_v1_billing_proto_msgTypes[16]
884
if protoimpl.UnsafeEnabled && x != nil {
885
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
886
if ms.LoadMessageInfo() == nil {
887
ms.StoreMessageInfo(mi)
888
}
889
return ms
890
}
891
return mi.MessageOf(x)
892
}
893
894
// Deprecated: Use UpdateCustomerSubscriptionsTaxStateRequest.ProtoReflect.Descriptor instead.
895
func (*UpdateCustomerSubscriptionsTaxStateRequest) Descriptor() ([]byte, []int) {
896
return file_usage_v1_billing_proto_rawDescGZIP(), []int{16}
897
}
898
899
func (x *UpdateCustomerSubscriptionsTaxStateRequest) GetCustomerId() string {
900
if x != nil {
901
return x.CustomerId
902
}
903
return ""
904
}
905
906
type UpdateCustomerSubscriptionsTaxStateResponse struct {
907
state protoimpl.MessageState
908
sizeCache protoimpl.SizeCache
909
unknownFields protoimpl.UnknownFields
910
}
911
912
func (x *UpdateCustomerSubscriptionsTaxStateResponse) Reset() {
913
*x = UpdateCustomerSubscriptionsTaxStateResponse{}
914
if protoimpl.UnsafeEnabled {
915
mi := &file_usage_v1_billing_proto_msgTypes[17]
916
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
917
ms.StoreMessageInfo(mi)
918
}
919
}
920
921
func (x *UpdateCustomerSubscriptionsTaxStateResponse) String() string {
922
return protoimpl.X.MessageStringOf(x)
923
}
924
925
func (*UpdateCustomerSubscriptionsTaxStateResponse) ProtoMessage() {}
926
927
func (x *UpdateCustomerSubscriptionsTaxStateResponse) ProtoReflect() protoreflect.Message {
928
mi := &file_usage_v1_billing_proto_msgTypes[17]
929
if protoimpl.UnsafeEnabled && x != nil {
930
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
931
if ms.LoadMessageInfo() == nil {
932
ms.StoreMessageInfo(mi)
933
}
934
return ms
935
}
936
return mi.MessageOf(x)
937
}
938
939
// Deprecated: Use UpdateCustomerSubscriptionsTaxStateResponse.ProtoReflect.Descriptor instead.
940
func (*UpdateCustomerSubscriptionsTaxStateResponse) Descriptor() ([]byte, []int) {
941
return file_usage_v1_billing_proto_rawDescGZIP(), []int{17}
942
}
943
944
type GetPriceInformationRequest struct {
945
state protoimpl.MessageState
946
sizeCache protoimpl.SizeCache
947
unknownFields protoimpl.UnknownFields
948
949
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
950
}
951
952
func (x *GetPriceInformationRequest) Reset() {
953
*x = GetPriceInformationRequest{}
954
if protoimpl.UnsafeEnabled {
955
mi := &file_usage_v1_billing_proto_msgTypes[18]
956
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
957
ms.StoreMessageInfo(mi)
958
}
959
}
960
961
func (x *GetPriceInformationRequest) String() string {
962
return protoimpl.X.MessageStringOf(x)
963
}
964
965
func (*GetPriceInformationRequest) ProtoMessage() {}
966
967
func (x *GetPriceInformationRequest) ProtoReflect() protoreflect.Message {
968
mi := &file_usage_v1_billing_proto_msgTypes[18]
969
if protoimpl.UnsafeEnabled && x != nil {
970
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
971
if ms.LoadMessageInfo() == nil {
972
ms.StoreMessageInfo(mi)
973
}
974
return ms
975
}
976
return mi.MessageOf(x)
977
}
978
979
// Deprecated: Use GetPriceInformationRequest.ProtoReflect.Descriptor instead.
980
func (*GetPriceInformationRequest) Descriptor() ([]byte, []int) {
981
return file_usage_v1_billing_proto_rawDescGZIP(), []int{18}
982
}
983
984
func (x *GetPriceInformationRequest) GetAttributionId() string {
985
if x != nil {
986
return x.AttributionId
987
}
988
return ""
989
}
990
991
type GetPriceInformationResponse struct {
992
state protoimpl.MessageState
993
sizeCache protoimpl.SizeCache
994
unknownFields protoimpl.UnknownFields
995
996
HumanReadableDescription string `protobuf:"bytes,2,opt,name=human_readable_description,json=humanReadableDescription,proto3" json:"human_readable_description,omitempty"`
997
}
998
999
func (x *GetPriceInformationResponse) Reset() {
1000
*x = GetPriceInformationResponse{}
1001
if protoimpl.UnsafeEnabled {
1002
mi := &file_usage_v1_billing_proto_msgTypes[19]
1003
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1004
ms.StoreMessageInfo(mi)
1005
}
1006
}
1007
1008
func (x *GetPriceInformationResponse) String() string {
1009
return protoimpl.X.MessageStringOf(x)
1010
}
1011
1012
func (*GetPriceInformationResponse) ProtoMessage() {}
1013
1014
func (x *GetPriceInformationResponse) ProtoReflect() protoreflect.Message {
1015
mi := &file_usage_v1_billing_proto_msgTypes[19]
1016
if protoimpl.UnsafeEnabled && x != nil {
1017
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1018
if ms.LoadMessageInfo() == nil {
1019
ms.StoreMessageInfo(mi)
1020
}
1021
return ms
1022
}
1023
return mi.MessageOf(x)
1024
}
1025
1026
// Deprecated: Use GetPriceInformationResponse.ProtoReflect.Descriptor instead.
1027
func (*GetPriceInformationResponse) Descriptor() ([]byte, []int) {
1028
return file_usage_v1_billing_proto_rawDescGZIP(), []int{19}
1029
}
1030
1031
func (x *GetPriceInformationResponse) GetHumanReadableDescription() string {
1032
if x != nil {
1033
return x.HumanReadableDescription
1034
}
1035
return ""
1036
}
1037
1038
type OnChargeDisputeRequest struct {
1039
state protoimpl.MessageState
1040
sizeCache protoimpl.SizeCache
1041
unknownFields protoimpl.UnknownFields
1042
1043
DisputeId string `protobuf:"bytes,1,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"`
1044
}
1045
1046
func (x *OnChargeDisputeRequest) Reset() {
1047
*x = OnChargeDisputeRequest{}
1048
if protoimpl.UnsafeEnabled {
1049
mi := &file_usage_v1_billing_proto_msgTypes[20]
1050
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1051
ms.StoreMessageInfo(mi)
1052
}
1053
}
1054
1055
func (x *OnChargeDisputeRequest) String() string {
1056
return protoimpl.X.MessageStringOf(x)
1057
}
1058
1059
func (*OnChargeDisputeRequest) ProtoMessage() {}
1060
1061
func (x *OnChargeDisputeRequest) ProtoReflect() protoreflect.Message {
1062
mi := &file_usage_v1_billing_proto_msgTypes[20]
1063
if protoimpl.UnsafeEnabled && x != nil {
1064
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1065
if ms.LoadMessageInfo() == nil {
1066
ms.StoreMessageInfo(mi)
1067
}
1068
return ms
1069
}
1070
return mi.MessageOf(x)
1071
}
1072
1073
// Deprecated: Use OnChargeDisputeRequest.ProtoReflect.Descriptor instead.
1074
func (*OnChargeDisputeRequest) Descriptor() ([]byte, []int) {
1075
return file_usage_v1_billing_proto_rawDescGZIP(), []int{20}
1076
}
1077
1078
func (x *OnChargeDisputeRequest) GetDisputeId() string {
1079
if x != nil {
1080
return x.DisputeId
1081
}
1082
return ""
1083
}
1084
1085
type OnChargeDisputeResponse struct {
1086
state protoimpl.MessageState
1087
sizeCache protoimpl.SizeCache
1088
unknownFields protoimpl.UnknownFields
1089
}
1090
1091
func (x *OnChargeDisputeResponse) Reset() {
1092
*x = OnChargeDisputeResponse{}
1093
if protoimpl.UnsafeEnabled {
1094
mi := &file_usage_v1_billing_proto_msgTypes[21]
1095
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1096
ms.StoreMessageInfo(mi)
1097
}
1098
}
1099
1100
func (x *OnChargeDisputeResponse) String() string {
1101
return protoimpl.X.MessageStringOf(x)
1102
}
1103
1104
func (*OnChargeDisputeResponse) ProtoMessage() {}
1105
1106
func (x *OnChargeDisputeResponse) ProtoReflect() protoreflect.Message {
1107
mi := &file_usage_v1_billing_proto_msgTypes[21]
1108
if protoimpl.UnsafeEnabled && x != nil {
1109
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1110
if ms.LoadMessageInfo() == nil {
1111
ms.StoreMessageInfo(mi)
1112
}
1113
return ms
1114
}
1115
return mi.MessageOf(x)
1116
}
1117
1118
// Deprecated: Use OnChargeDisputeResponse.ProtoReflect.Descriptor instead.
1119
func (*OnChargeDisputeResponse) Descriptor() ([]byte, []int) {
1120
return file_usage_v1_billing_proto_rawDescGZIP(), []int{21}
1121
}
1122
1123
var File_usage_v1_billing_proto protoreflect.FileDescriptor
1124
1125
var file_usage_v1_billing_proto_rawDesc = []byte{
1126
0x0a, 0x16, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69,
1127
0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
1128
0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49,
1129
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1b,
1130
0x0a, 0x19, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69,
1131
0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x16, 0x46,
1132
0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65,
1133
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
1134
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x69,
1135
0x63, 0x65, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
1136
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1137
0x44, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
1138
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f,
1139
0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
1140
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
1141
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53,
1142
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
1143
0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x70,
1144
0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1145
0x12, 0x27, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
1146
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72,
1147
0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x72,
1148
0x69, 0x70, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
1149
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43,
1150
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x69, 0x64, 0x65,
1151
0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x74,
1152
0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
1153
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
1154
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76,
1155
0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
1156
0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74,
1157
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
1158
0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49,
1159
0x64, 0x22, 0x74, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f,
1160
0x6d, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1161
0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18,
1162
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12,
1163
0x36, 0x0a, 0x17, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69,
1164
0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
1165
0x52, 0x15, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
1166
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61,
1167
0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
1168
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69,
1169
0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1170
0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12,
1171
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1172
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
1173
0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72,
1174
0x65, 0x6e, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72,
1175
0x65, 0x6e, 0x63, 0x79, 0x12, 0x35, 0x0a, 0x17, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
1176
0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
1177
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x72,
1178
0x65, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x1c, 0x43,
1179
0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f,
1180
0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x63,
1181
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e,
1182
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43,
1183
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
1184
0x72, 0x22, 0x47, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50,
1185
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
1186
0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
1187
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74,
1188
0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x1f, 0x43,
1189
0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
1190
0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a,
1191
0x0a, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74,
1192
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65,
1193
0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x61,
1194
0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x69,
1195
0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1196
0x52, 0x19, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43,
1197
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x1f,
1198
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73,
1199
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
1200
0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
1201
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
1202
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f,
1203
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x61,
1204
0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65,
1205
0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
1206
0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e,
1207
0x74, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x64, 0x0a, 0x20, 0x43, 0x72, 0x65,
1208
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
1209
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a,
1210
0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
1211
0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
1212
0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
1213
0x6e, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
1214
0x24, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
1215
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
1216
0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x2a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43,
1217
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
1218
0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
1219
0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f,
1220
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1221
0x65, 0x72, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75,
1222
0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
1223
0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
1224
0x6e, 0x73, 0x65, 0x22, 0x43, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49,
1225
0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1226
0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
1227
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69,
1228
0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50,
1229
0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1230
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x68, 0x75, 0x6d, 0x61, 0x6e,
1231
0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
1232
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x68, 0x75, 0x6d,
1233
0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
1234
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x0a, 0x16, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67,
1235
0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
1236
0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
1237
0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x49, 0x64, 0x22, 0x19,
1238
0x0a, 0x17, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74,
1239
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb4, 0x08, 0x0a, 0x0e, 0x42, 0x69,
1240
0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x11,
1241
0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
1242
0x73, 0x12, 0x22, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63,
1243
0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65,
1244
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
1245
0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
1246
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0f,
1247
0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12,
1248
0x20, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c,
1249
0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1250
0x74, 0x1a, 0x21, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e,
1251
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
1252
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,
1253
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x75,
1254
0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x75,
1255
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1256
0x74, 0x1a, 0x24, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e,
1257
0x63, 0x65, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1258
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x47, 0x65, 0x74,
1259
0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x22,
1260
0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72,
1261
0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
1262
0x73, 0x74, 0x1a, 0x23, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
1263
0x74, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52,
1264
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x43, 0x72, 0x65,
1265
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
1266
0x72, 0x12, 0x25, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
1267
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
1268
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65,
1269
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65,
1270
0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1271
0x22, 0x00, 0x12, 0x70, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64,
1272
0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e,
1273
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48,
1274
0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74,
1275
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
1276
0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79,
1277
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1278
0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74,
1279
0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1280
0x12, 0x29, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
1281
0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
1282
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x75, 0x73,
1283
0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72,
1284
0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1285
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x23, 0x55, 0x70,
1286
0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73,
1287
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74,
1288
0x65, 0x12, 0x34, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
1289
0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63,
1290
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65,
1291
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
1292
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
1293
0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61,
1294
0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
1295
0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1296
0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
1297
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72,
1298
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
1299
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63,
1300
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
1301
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0f, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72,
1302
0x67, 0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x75, 0x73, 0x61, 0x67,
1303
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44, 0x69, 0x73,
1304
0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x75, 0x73,
1305
0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44,
1306
0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
1307
0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
1308
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f,
1309
0x75, 0x73, 0x61, 0x67, 0x65, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
1310
0x6f, 0x74, 0x6f, 0x33,
1311
}
1312
1313
var (
1314
file_usage_v1_billing_proto_rawDescOnce sync.Once
1315
file_usage_v1_billing_proto_rawDescData = file_usage_v1_billing_proto_rawDesc
1316
)
1317
1318
func file_usage_v1_billing_proto_rawDescGZIP() []byte {
1319
file_usage_v1_billing_proto_rawDescOnce.Do(func() {
1320
file_usage_v1_billing_proto_rawDescData = protoimpl.X.CompressGZIP(file_usage_v1_billing_proto_rawDescData)
1321
})
1322
return file_usage_v1_billing_proto_rawDescData
1323
}
1324
1325
var file_usage_v1_billing_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
1326
var file_usage_v1_billing_proto_goTypes = []interface{}{
1327
(*ReconcileInvoicesRequest)(nil), // 0: usage.v1.ReconcileInvoicesRequest
1328
(*ReconcileInvoicesResponse)(nil), // 1: usage.v1.ReconcileInvoicesResponse
1329
(*FinalizeInvoiceRequest)(nil), // 2: usage.v1.FinalizeInvoiceRequest
1330
(*FinalizeInvoiceResponse)(nil), // 3: usage.v1.FinalizeInvoiceResponse
1331
(*CancelSubscriptionRequest)(nil), // 4: usage.v1.CancelSubscriptionRequest
1332
(*CancelSubscriptionResponse)(nil), // 5: usage.v1.CancelSubscriptionResponse
1333
(*GetStripeCustomerRequest)(nil), // 6: usage.v1.GetStripeCustomerRequest
1334
(*GetStripeCustomerResponse)(nil), // 7: usage.v1.GetStripeCustomerResponse
1335
(*StripeCustomer)(nil), // 8: usage.v1.StripeCustomer
1336
(*CreateStripeCustomerRequest)(nil), // 9: usage.v1.CreateStripeCustomerRequest
1337
(*CreateStripeCustomerResponse)(nil), // 10: usage.v1.CreateStripeCustomerResponse
1338
(*CreateHoldPaymentIntentRequest)(nil), // 11: usage.v1.CreateHoldPaymentIntentRequest
1339
(*CreateHoldPaymentIntentResponse)(nil), // 12: usage.v1.CreateHoldPaymentIntentResponse
1340
(*CreateStripeSubscriptionRequest)(nil), // 13: usage.v1.CreateStripeSubscriptionRequest
1341
(*CreateStripeSubscriptionResponse)(nil), // 14: usage.v1.CreateStripeSubscriptionResponse
1342
(*StripeSubscription)(nil), // 15: usage.v1.StripeSubscription
1343
(*UpdateCustomerSubscriptionsTaxStateRequest)(nil), // 16: usage.v1.UpdateCustomerSubscriptionsTaxStateRequest
1344
(*UpdateCustomerSubscriptionsTaxStateResponse)(nil), // 17: usage.v1.UpdateCustomerSubscriptionsTaxStateResponse
1345
(*GetPriceInformationRequest)(nil), // 18: usage.v1.GetPriceInformationRequest
1346
(*GetPriceInformationResponse)(nil), // 19: usage.v1.GetPriceInformationResponse
1347
(*OnChargeDisputeRequest)(nil), // 20: usage.v1.OnChargeDisputeRequest
1348
(*OnChargeDisputeResponse)(nil), // 21: usage.v1.OnChargeDisputeResponse
1349
}
1350
var file_usage_v1_billing_proto_depIdxs = []int32{
1351
8, // 0: usage.v1.GetStripeCustomerResponse.customer:type_name -> usage.v1.StripeCustomer
1352
8, // 1: usage.v1.CreateStripeCustomerResponse.customer:type_name -> usage.v1.StripeCustomer
1353
15, // 2: usage.v1.CreateStripeSubscriptionResponse.subscription:type_name -> usage.v1.StripeSubscription
1354
0, // 3: usage.v1.BillingService.ReconcileInvoices:input_type -> usage.v1.ReconcileInvoicesRequest
1355
2, // 4: usage.v1.BillingService.FinalizeInvoice:input_type -> usage.v1.FinalizeInvoiceRequest
1356
4, // 5: usage.v1.BillingService.CancelSubscription:input_type -> usage.v1.CancelSubscriptionRequest
1357
6, // 6: usage.v1.BillingService.GetStripeCustomer:input_type -> usage.v1.GetStripeCustomerRequest
1358
9, // 7: usage.v1.BillingService.CreateStripeCustomer:input_type -> usage.v1.CreateStripeCustomerRequest
1359
11, // 8: usage.v1.BillingService.CreateHoldPaymentIntent:input_type -> usage.v1.CreateHoldPaymentIntentRequest
1360
13, // 9: usage.v1.BillingService.CreateStripeSubscription:input_type -> usage.v1.CreateStripeSubscriptionRequest
1361
16, // 10: usage.v1.BillingService.UpdateCustomerSubscriptionsTaxState:input_type -> usage.v1.UpdateCustomerSubscriptionsTaxStateRequest
1362
18, // 11: usage.v1.BillingService.GetPriceInformation:input_type -> usage.v1.GetPriceInformationRequest
1363
20, // 12: usage.v1.BillingService.OnChargeDispute:input_type -> usage.v1.OnChargeDisputeRequest
1364
1, // 13: usage.v1.BillingService.ReconcileInvoices:output_type -> usage.v1.ReconcileInvoicesResponse
1365
3, // 14: usage.v1.BillingService.FinalizeInvoice:output_type -> usage.v1.FinalizeInvoiceResponse
1366
5, // 15: usage.v1.BillingService.CancelSubscription:output_type -> usage.v1.CancelSubscriptionResponse
1367
7, // 16: usage.v1.BillingService.GetStripeCustomer:output_type -> usage.v1.GetStripeCustomerResponse
1368
10, // 17: usage.v1.BillingService.CreateStripeCustomer:output_type -> usage.v1.CreateStripeCustomerResponse
1369
12, // 18: usage.v1.BillingService.CreateHoldPaymentIntent:output_type -> usage.v1.CreateHoldPaymentIntentResponse
1370
14, // 19: usage.v1.BillingService.CreateStripeSubscription:output_type -> usage.v1.CreateStripeSubscriptionResponse
1371
17, // 20: usage.v1.BillingService.UpdateCustomerSubscriptionsTaxState:output_type -> usage.v1.UpdateCustomerSubscriptionsTaxStateResponse
1372
19, // 21: usage.v1.BillingService.GetPriceInformation:output_type -> usage.v1.GetPriceInformationResponse
1373
21, // 22: usage.v1.BillingService.OnChargeDispute:output_type -> usage.v1.OnChargeDisputeResponse
1374
13, // [13:23] is the sub-list for method output_type
1375
3, // [3:13] is the sub-list for method input_type
1376
3, // [3:3] is the sub-list for extension type_name
1377
3, // [3:3] is the sub-list for extension extendee
1378
0, // [0:3] is the sub-list for field type_name
1379
}
1380
1381
func init() { file_usage_v1_billing_proto_init() }
1382
func file_usage_v1_billing_proto_init() {
1383
if File_usage_v1_billing_proto != nil {
1384
return
1385
}
1386
if !protoimpl.UnsafeEnabled {
1387
file_usage_v1_billing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1388
switch v := v.(*ReconcileInvoicesRequest); i {
1389
case 0:
1390
return &v.state
1391
case 1:
1392
return &v.sizeCache
1393
case 2:
1394
return &v.unknownFields
1395
default:
1396
return nil
1397
}
1398
}
1399
file_usage_v1_billing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1400
switch v := v.(*ReconcileInvoicesResponse); i {
1401
case 0:
1402
return &v.state
1403
case 1:
1404
return &v.sizeCache
1405
case 2:
1406
return &v.unknownFields
1407
default:
1408
return nil
1409
}
1410
}
1411
file_usage_v1_billing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1412
switch v := v.(*FinalizeInvoiceRequest); i {
1413
case 0:
1414
return &v.state
1415
case 1:
1416
return &v.sizeCache
1417
case 2:
1418
return &v.unknownFields
1419
default:
1420
return nil
1421
}
1422
}
1423
file_usage_v1_billing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1424
switch v := v.(*FinalizeInvoiceResponse); i {
1425
case 0:
1426
return &v.state
1427
case 1:
1428
return &v.sizeCache
1429
case 2:
1430
return &v.unknownFields
1431
default:
1432
return nil
1433
}
1434
}
1435
file_usage_v1_billing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1436
switch v := v.(*CancelSubscriptionRequest); i {
1437
case 0:
1438
return &v.state
1439
case 1:
1440
return &v.sizeCache
1441
case 2:
1442
return &v.unknownFields
1443
default:
1444
return nil
1445
}
1446
}
1447
file_usage_v1_billing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1448
switch v := v.(*CancelSubscriptionResponse); i {
1449
case 0:
1450
return &v.state
1451
case 1:
1452
return &v.sizeCache
1453
case 2:
1454
return &v.unknownFields
1455
default:
1456
return nil
1457
}
1458
}
1459
file_usage_v1_billing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1460
switch v := v.(*GetStripeCustomerRequest); i {
1461
case 0:
1462
return &v.state
1463
case 1:
1464
return &v.sizeCache
1465
case 2:
1466
return &v.unknownFields
1467
default:
1468
return nil
1469
}
1470
}
1471
file_usage_v1_billing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1472
switch v := v.(*GetStripeCustomerResponse); i {
1473
case 0:
1474
return &v.state
1475
case 1:
1476
return &v.sizeCache
1477
case 2:
1478
return &v.unknownFields
1479
default:
1480
return nil
1481
}
1482
}
1483
file_usage_v1_billing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1484
switch v := v.(*StripeCustomer); i {
1485
case 0:
1486
return &v.state
1487
case 1:
1488
return &v.sizeCache
1489
case 2:
1490
return &v.unknownFields
1491
default:
1492
return nil
1493
}
1494
}
1495
file_usage_v1_billing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1496
switch v := v.(*CreateStripeCustomerRequest); i {
1497
case 0:
1498
return &v.state
1499
case 1:
1500
return &v.sizeCache
1501
case 2:
1502
return &v.unknownFields
1503
default:
1504
return nil
1505
}
1506
}
1507
file_usage_v1_billing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1508
switch v := v.(*CreateStripeCustomerResponse); i {
1509
case 0:
1510
return &v.state
1511
case 1:
1512
return &v.sizeCache
1513
case 2:
1514
return &v.unknownFields
1515
default:
1516
return nil
1517
}
1518
}
1519
file_usage_v1_billing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1520
switch v := v.(*CreateHoldPaymentIntentRequest); i {
1521
case 0:
1522
return &v.state
1523
case 1:
1524
return &v.sizeCache
1525
case 2:
1526
return &v.unknownFields
1527
default:
1528
return nil
1529
}
1530
}
1531
file_usage_v1_billing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1532
switch v := v.(*CreateHoldPaymentIntentResponse); i {
1533
case 0:
1534
return &v.state
1535
case 1:
1536
return &v.sizeCache
1537
case 2:
1538
return &v.unknownFields
1539
default:
1540
return nil
1541
}
1542
}
1543
file_usage_v1_billing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1544
switch v := v.(*CreateStripeSubscriptionRequest); i {
1545
case 0:
1546
return &v.state
1547
case 1:
1548
return &v.sizeCache
1549
case 2:
1550
return &v.unknownFields
1551
default:
1552
return nil
1553
}
1554
}
1555
file_usage_v1_billing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1556
switch v := v.(*CreateStripeSubscriptionResponse); i {
1557
case 0:
1558
return &v.state
1559
case 1:
1560
return &v.sizeCache
1561
case 2:
1562
return &v.unknownFields
1563
default:
1564
return nil
1565
}
1566
}
1567
file_usage_v1_billing_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1568
switch v := v.(*StripeSubscription); i {
1569
case 0:
1570
return &v.state
1571
case 1:
1572
return &v.sizeCache
1573
case 2:
1574
return &v.unknownFields
1575
default:
1576
return nil
1577
}
1578
}
1579
file_usage_v1_billing_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1580
switch v := v.(*UpdateCustomerSubscriptionsTaxStateRequest); i {
1581
case 0:
1582
return &v.state
1583
case 1:
1584
return &v.sizeCache
1585
case 2:
1586
return &v.unknownFields
1587
default:
1588
return nil
1589
}
1590
}
1591
file_usage_v1_billing_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
1592
switch v := v.(*UpdateCustomerSubscriptionsTaxStateResponse); i {
1593
case 0:
1594
return &v.state
1595
case 1:
1596
return &v.sizeCache
1597
case 2:
1598
return &v.unknownFields
1599
default:
1600
return nil
1601
}
1602
}
1603
file_usage_v1_billing_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
1604
switch v := v.(*GetPriceInformationRequest); i {
1605
case 0:
1606
return &v.state
1607
case 1:
1608
return &v.sizeCache
1609
case 2:
1610
return &v.unknownFields
1611
default:
1612
return nil
1613
}
1614
}
1615
file_usage_v1_billing_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
1616
switch v := v.(*GetPriceInformationResponse); i {
1617
case 0:
1618
return &v.state
1619
case 1:
1620
return &v.sizeCache
1621
case 2:
1622
return &v.unknownFields
1623
default:
1624
return nil
1625
}
1626
}
1627
file_usage_v1_billing_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
1628
switch v := v.(*OnChargeDisputeRequest); i {
1629
case 0:
1630
return &v.state
1631
case 1:
1632
return &v.sizeCache
1633
case 2:
1634
return &v.unknownFields
1635
default:
1636
return nil
1637
}
1638
}
1639
file_usage_v1_billing_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
1640
switch v := v.(*OnChargeDisputeResponse); i {
1641
case 0:
1642
return &v.state
1643
case 1:
1644
return &v.sizeCache
1645
case 2:
1646
return &v.unknownFields
1647
default:
1648
return nil
1649
}
1650
}
1651
}
1652
file_usage_v1_billing_proto_msgTypes[6].OneofWrappers = []interface{}{
1653
(*GetStripeCustomerRequest_AttributionId)(nil),
1654
(*GetStripeCustomerRequest_StripeCustomerId)(nil),
1655
}
1656
type x struct{}
1657
out := protoimpl.TypeBuilder{
1658
File: protoimpl.DescBuilder{
1659
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1660
RawDescriptor: file_usage_v1_billing_proto_rawDesc,
1661
NumEnums: 0,
1662
NumMessages: 22,
1663
NumExtensions: 0,
1664
NumServices: 1,
1665
},
1666
GoTypes: file_usage_v1_billing_proto_goTypes,
1667
DependencyIndexes: file_usage_v1_billing_proto_depIdxs,
1668
MessageInfos: file_usage_v1_billing_proto_msgTypes,
1669
}.Build()
1670
File_usage_v1_billing_proto = out.File
1671
file_usage_v1_billing_proto_rawDesc = nil
1672
file_usage_v1_billing_proto_goTypes = nil
1673
file_usage_v1_billing_proto_depIdxs = nil
1674
}
1675
1676