gitpod/components/usage-api/go/v1/billing.pb.go
Jean Pierre d0b5b873ec
Add invalid billing address notification (#19349)
* Add webhook events

* Properly set AutomaticTax

* Use address element

* 💄

* Update susbcription on address update

* Try scroll modal

* Fix

* try fix modal scroll

* Add toast notification

* Add invalidBillingAddress column to d_b_stripe_customer

* 💄

* 💄

* Fix

* Try fix update

* Address feedback
2024-01-29 11:12:05 +02:00

1675 lines
62 KiB
Go

// Copyright (c) 2024 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: usage/v1/billing.proto
package v1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ReconcileInvoicesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ReconcileInvoicesRequest) Reset() {
*x = ReconcileInvoicesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReconcileInvoicesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReconcileInvoicesRequest) ProtoMessage() {}
func (x *ReconcileInvoicesRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReconcileInvoicesRequest.ProtoReflect.Descriptor instead.
func (*ReconcileInvoicesRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{0}
}
type ReconcileInvoicesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ReconcileInvoicesResponse) Reset() {
*x = ReconcileInvoicesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReconcileInvoicesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReconcileInvoicesResponse) ProtoMessage() {}
func (x *ReconcileInvoicesResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReconcileInvoicesResponse.ProtoReflect.Descriptor instead.
func (*ReconcileInvoicesResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{1}
}
type FinalizeInvoiceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
}
func (x *FinalizeInvoiceRequest) Reset() {
*x = FinalizeInvoiceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FinalizeInvoiceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FinalizeInvoiceRequest) ProtoMessage() {}
func (x *FinalizeInvoiceRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FinalizeInvoiceRequest.ProtoReflect.Descriptor instead.
func (*FinalizeInvoiceRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{2}
}
func (x *FinalizeInvoiceRequest) GetInvoiceId() string {
if x != nil {
return x.InvoiceId
}
return ""
}
type FinalizeInvoiceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FinalizeInvoiceResponse) Reset() {
*x = FinalizeInvoiceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FinalizeInvoiceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FinalizeInvoiceResponse) ProtoMessage() {}
func (x *FinalizeInvoiceResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FinalizeInvoiceResponse.ProtoReflect.Descriptor instead.
func (*FinalizeInvoiceResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{3}
}
type CancelSubscriptionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
}
func (x *CancelSubscriptionRequest) Reset() {
*x = CancelSubscriptionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CancelSubscriptionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelSubscriptionRequest) ProtoMessage() {}
func (x *CancelSubscriptionRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*CancelSubscriptionRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{4}
}
func (x *CancelSubscriptionRequest) GetSubscriptionId() string {
if x != nil {
return x.SubscriptionId
}
return ""
}
type CancelSubscriptionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CancelSubscriptionResponse) Reset() {
*x = CancelSubscriptionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CancelSubscriptionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelSubscriptionResponse) ProtoMessage() {}
func (x *CancelSubscriptionResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelSubscriptionResponse.ProtoReflect.Descriptor instead.
func (*CancelSubscriptionResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{5}
}
type GetStripeCustomerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Identifier:
//
// *GetStripeCustomerRequest_AttributionId
// *GetStripeCustomerRequest_StripeCustomerId
Identifier isGetStripeCustomerRequest_Identifier `protobuf_oneof:"identifier"`
}
func (x *GetStripeCustomerRequest) Reset() {
*x = GetStripeCustomerRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetStripeCustomerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStripeCustomerRequest) ProtoMessage() {}
func (x *GetStripeCustomerRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetStripeCustomerRequest.ProtoReflect.Descriptor instead.
func (*GetStripeCustomerRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{6}
}
func (m *GetStripeCustomerRequest) GetIdentifier() isGetStripeCustomerRequest_Identifier {
if m != nil {
return m.Identifier
}
return nil
}
func (x *GetStripeCustomerRequest) GetAttributionId() string {
if x, ok := x.GetIdentifier().(*GetStripeCustomerRequest_AttributionId); ok {
return x.AttributionId
}
return ""
}
func (x *GetStripeCustomerRequest) GetStripeCustomerId() string {
if x, ok := x.GetIdentifier().(*GetStripeCustomerRequest_StripeCustomerId); ok {
return x.StripeCustomerId
}
return ""
}
type isGetStripeCustomerRequest_Identifier interface {
isGetStripeCustomerRequest_Identifier()
}
type GetStripeCustomerRequest_AttributionId struct {
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3,oneof"`
}
type GetStripeCustomerRequest_StripeCustomerId struct {
StripeCustomerId string `protobuf:"bytes,2,opt,name=stripe_customer_id,json=stripeCustomerId,proto3,oneof"`
}
func (*GetStripeCustomerRequest_AttributionId) isGetStripeCustomerRequest_Identifier() {}
func (*GetStripeCustomerRequest_StripeCustomerId) isGetStripeCustomerRequest_Identifier() {}
type GetStripeCustomerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Customer *StripeCustomer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
AttributionId string `protobuf:"bytes,2,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
}
func (x *GetStripeCustomerResponse) Reset() {
*x = GetStripeCustomerResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetStripeCustomerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStripeCustomerResponse) ProtoMessage() {}
func (x *GetStripeCustomerResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetStripeCustomerResponse.ProtoReflect.Descriptor instead.
func (*GetStripeCustomerResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{7}
}
func (x *GetStripeCustomerResponse) GetCustomer() *StripeCustomer {
if x != nil {
return x.Customer
}
return nil
}
func (x *GetStripeCustomerResponse) GetAttributionId() string {
if x != nil {
return x.AttributionId
}
return ""
}
type StripeCustomer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
InvalidBillingAddress bool `protobuf:"varint,3,opt,name=invalid_billing_address,json=invalidBillingAddress,proto3" json:"invalid_billing_address,omitempty"`
}
func (x *StripeCustomer) Reset() {
*x = StripeCustomer{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StripeCustomer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StripeCustomer) ProtoMessage() {}
func (x *StripeCustomer) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StripeCustomer.ProtoReflect.Descriptor instead.
func (*StripeCustomer) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{8}
}
func (x *StripeCustomer) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *StripeCustomer) GetCurrency() string {
if x != nil {
return x.Currency
}
return ""
}
func (x *StripeCustomer) GetInvalidBillingAddress() bool {
if x != nil {
return x.InvalidBillingAddress
}
return false
}
type CreateStripeCustomerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
// name is the customer name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
// Gitpod User ID for the user setting up billing.
BillingCreatorUserId string `protobuf:"bytes,5,opt,name=billing_creator_user_id,json=billingCreatorUserId,proto3" json:"billing_creator_user_id,omitempty"`
}
func (x *CreateStripeCustomerRequest) Reset() {
*x = CreateStripeCustomerRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateStripeCustomerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateStripeCustomerRequest) ProtoMessage() {}
func (x *CreateStripeCustomerRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateStripeCustomerRequest.ProtoReflect.Descriptor instead.
func (*CreateStripeCustomerRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{9}
}
func (x *CreateStripeCustomerRequest) GetAttributionId() string {
if x != nil {
return x.AttributionId
}
return ""
}
func (x *CreateStripeCustomerRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateStripeCustomerRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *CreateStripeCustomerRequest) GetCurrency() string {
if x != nil {
return x.Currency
}
return ""
}
func (x *CreateStripeCustomerRequest) GetBillingCreatorUserId() string {
if x != nil {
return x.BillingCreatorUserId
}
return ""
}
type CreateStripeCustomerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Customer *StripeCustomer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
}
func (x *CreateStripeCustomerResponse) Reset() {
*x = CreateStripeCustomerResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateStripeCustomerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateStripeCustomerResponse) ProtoMessage() {}
func (x *CreateStripeCustomerResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateStripeCustomerResponse.ProtoReflect.Descriptor instead.
func (*CreateStripeCustomerResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{10}
}
func (x *CreateStripeCustomerResponse) GetCustomer() *StripeCustomer {
if x != nil {
return x.Customer
}
return nil
}
type CreateHoldPaymentIntentRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
}
func (x *CreateHoldPaymentIntentRequest) Reset() {
*x = CreateHoldPaymentIntentRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHoldPaymentIntentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHoldPaymentIntentRequest) ProtoMessage() {}
func (x *CreateHoldPaymentIntentRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateHoldPaymentIntentRequest.ProtoReflect.Descriptor instead.
func (*CreateHoldPaymentIntentRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{11}
}
func (x *CreateHoldPaymentIntentRequest) GetAttributionId() string {
if x != nil {
return x.AttributionId
}
return ""
}
type CreateHoldPaymentIntentResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PaymentIntentId string `protobuf:"bytes,1,opt,name=payment_intent_id,json=paymentIntentId,proto3" json:"payment_intent_id,omitempty"`
PaymentIntentClientSecret string `protobuf:"bytes,2,opt,name=payment_intent_client_secret,json=paymentIntentClientSecret,proto3" json:"payment_intent_client_secret,omitempty"`
}
func (x *CreateHoldPaymentIntentResponse) Reset() {
*x = CreateHoldPaymentIntentResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHoldPaymentIntentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHoldPaymentIntentResponse) ProtoMessage() {}
func (x *CreateHoldPaymentIntentResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateHoldPaymentIntentResponse.ProtoReflect.Descriptor instead.
func (*CreateHoldPaymentIntentResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{12}
}
func (x *CreateHoldPaymentIntentResponse) GetPaymentIntentId() string {
if x != nil {
return x.PaymentIntentId
}
return ""
}
func (x *CreateHoldPaymentIntentResponse) GetPaymentIntentClientSecret() string {
if x != nil {
return x.PaymentIntentClientSecret
}
return ""
}
type CreateStripeSubscriptionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
UsageLimit int64 `protobuf:"varint,3,opt,name=usage_limit,json=usageLimit,proto3" json:"usage_limit,omitempty"`
PaymentIntentId string `protobuf:"bytes,4,opt,name=payment_intent_id,json=paymentIntentId,proto3" json:"payment_intent_id,omitempty"`
}
func (x *CreateStripeSubscriptionRequest) Reset() {
*x = CreateStripeSubscriptionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateStripeSubscriptionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateStripeSubscriptionRequest) ProtoMessage() {}
func (x *CreateStripeSubscriptionRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateStripeSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*CreateStripeSubscriptionRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{13}
}
func (x *CreateStripeSubscriptionRequest) GetAttributionId() string {
if x != nil {
return x.AttributionId
}
return ""
}
func (x *CreateStripeSubscriptionRequest) GetUsageLimit() int64 {
if x != nil {
return x.UsageLimit
}
return 0
}
func (x *CreateStripeSubscriptionRequest) GetPaymentIntentId() string {
if x != nil {
return x.PaymentIntentId
}
return ""
}
type CreateStripeSubscriptionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Subscription *StripeSubscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
}
func (x *CreateStripeSubscriptionResponse) Reset() {
*x = CreateStripeSubscriptionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateStripeSubscriptionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateStripeSubscriptionResponse) ProtoMessage() {}
func (x *CreateStripeSubscriptionResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateStripeSubscriptionResponse.ProtoReflect.Descriptor instead.
func (*CreateStripeSubscriptionResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{14}
}
func (x *CreateStripeSubscriptionResponse) GetSubscription() *StripeSubscription {
if x != nil {
return x.Subscription
}
return nil
}
type StripeSubscription struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *StripeSubscription) Reset() {
*x = StripeSubscription{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StripeSubscription) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StripeSubscription) ProtoMessage() {}
func (x *StripeSubscription) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StripeSubscription.ProtoReflect.Descriptor instead.
func (*StripeSubscription) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{15}
}
func (x *StripeSubscription) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type UpdateCustomerSubscriptionsTaxStateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
}
func (x *UpdateCustomerSubscriptionsTaxStateRequest) Reset() {
*x = UpdateCustomerSubscriptionsTaxStateRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateCustomerSubscriptionsTaxStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateCustomerSubscriptionsTaxStateRequest) ProtoMessage() {}
func (x *UpdateCustomerSubscriptionsTaxStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateCustomerSubscriptionsTaxStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomerSubscriptionsTaxStateRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{16}
}
func (x *UpdateCustomerSubscriptionsTaxStateRequest) GetCustomerId() string {
if x != nil {
return x.CustomerId
}
return ""
}
type UpdateCustomerSubscriptionsTaxStateResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateCustomerSubscriptionsTaxStateResponse) Reset() {
*x = UpdateCustomerSubscriptionsTaxStateResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateCustomerSubscriptionsTaxStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateCustomerSubscriptionsTaxStateResponse) ProtoMessage() {}
func (x *UpdateCustomerSubscriptionsTaxStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateCustomerSubscriptionsTaxStateResponse.ProtoReflect.Descriptor instead.
func (*UpdateCustomerSubscriptionsTaxStateResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{17}
}
type GetPriceInformationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
}
func (x *GetPriceInformationRequest) Reset() {
*x = GetPriceInformationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPriceInformationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPriceInformationRequest) ProtoMessage() {}
func (x *GetPriceInformationRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetPriceInformationRequest.ProtoReflect.Descriptor instead.
func (*GetPriceInformationRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{18}
}
func (x *GetPriceInformationRequest) GetAttributionId() string {
if x != nil {
return x.AttributionId
}
return ""
}
type GetPriceInformationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HumanReadableDescription string `protobuf:"bytes,2,opt,name=human_readable_description,json=humanReadableDescription,proto3" json:"human_readable_description,omitempty"`
}
func (x *GetPriceInformationResponse) Reset() {
*x = GetPriceInformationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPriceInformationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPriceInformationResponse) ProtoMessage() {}
func (x *GetPriceInformationResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetPriceInformationResponse.ProtoReflect.Descriptor instead.
func (*GetPriceInformationResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{19}
}
func (x *GetPriceInformationResponse) GetHumanReadableDescription() string {
if x != nil {
return x.HumanReadableDescription
}
return ""
}
type OnChargeDisputeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisputeId string `protobuf:"bytes,1,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"`
}
func (x *OnChargeDisputeRequest) Reset() {
*x = OnChargeDisputeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OnChargeDisputeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OnChargeDisputeRequest) ProtoMessage() {}
func (x *OnChargeDisputeRequest) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OnChargeDisputeRequest.ProtoReflect.Descriptor instead.
func (*OnChargeDisputeRequest) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{20}
}
func (x *OnChargeDisputeRequest) GetDisputeId() string {
if x != nil {
return x.DisputeId
}
return ""
}
type OnChargeDisputeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *OnChargeDisputeResponse) Reset() {
*x = OnChargeDisputeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_usage_v1_billing_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OnChargeDisputeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OnChargeDisputeResponse) ProtoMessage() {}
func (x *OnChargeDisputeResponse) ProtoReflect() protoreflect.Message {
mi := &file_usage_v1_billing_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OnChargeDisputeResponse.ProtoReflect.Descriptor instead.
func (*OnChargeDisputeResponse) Descriptor() ([]byte, []int) {
return file_usage_v1_billing_proto_rawDescGZIP(), []int{21}
}
var File_usage_v1_billing_proto protoreflect.FileDescriptor
var file_usage_v1_billing_proto_rawDesc = []byte{
0x0a, 0x16, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69,
0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49,
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1b,
0x0a, 0x19, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x16, 0x46,
0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x44, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f,
0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53,
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x70,
0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x27, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72,
0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x72,
0x69, 0x70, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x69, 0x64, 0x65,
0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x74,
0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74,
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49,
0x64, 0x22, 0x74, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f,
0x6d, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12,
0x36, 0x0a, 0x17, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69,
0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
0x52, 0x15, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69,
0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72,
0x65, 0x6e, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72,
0x65, 0x6e, 0x63, 0x79, 0x12, 0x35, 0x0a, 0x17, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x72,
0x65, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x1c, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f,
0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x63,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e,
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
0x72, 0x22, 0x47, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50,
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74,
0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x1f, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a,
0x0a, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65,
0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x61,
0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x19, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x1f,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f,
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x61,
0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65,
0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e,
0x74, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x64, 0x0a, 0x20, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a,
0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
0x24, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x2a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
0x65, 0x72, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75,
0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x43, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49,
0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69,
0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50,
0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x68, 0x75, 0x6d, 0x61, 0x6e,
0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x68, 0x75, 0x6d,
0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x0a, 0x16, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67,
0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x49, 0x64, 0x22, 0x19,
0x0a, 0x17, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb4, 0x08, 0x0a, 0x0e, 0x42, 0x69,
0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x11,
0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
0x73, 0x12, 0x22, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63,
0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0f,
0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12,
0x20, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c,
0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x21, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e,
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x75,
0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x75,
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x24, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e,
0x63, 0x65, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x47, 0x65, 0x74,
0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x12, 0x22,
0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72,
0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x23, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
0x74, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
0x72, 0x12, 0x25, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65,
0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x70, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64,
0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e,
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48,
0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x79,
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74,
0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x29, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x53, 0x74, 0x72, 0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x75, 0x73,
0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72,
0x69, 0x70, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x23, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74,
0x65, 0x12, 0x34, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x61,
0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72,
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63,
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0f, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72,
0x67, 0x65, 0x44, 0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x75, 0x73, 0x61, 0x67,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44, 0x69, 0x73,
0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x75, 0x73,
0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44,
0x69, 0x73, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f,
0x75, 0x73, 0x61, 0x67, 0x65, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_usage_v1_billing_proto_rawDescOnce sync.Once
file_usage_v1_billing_proto_rawDescData = file_usage_v1_billing_proto_rawDesc
)
func file_usage_v1_billing_proto_rawDescGZIP() []byte {
file_usage_v1_billing_proto_rawDescOnce.Do(func() {
file_usage_v1_billing_proto_rawDescData = protoimpl.X.CompressGZIP(file_usage_v1_billing_proto_rawDescData)
})
return file_usage_v1_billing_proto_rawDescData
}
var file_usage_v1_billing_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_usage_v1_billing_proto_goTypes = []interface{}{
(*ReconcileInvoicesRequest)(nil), // 0: usage.v1.ReconcileInvoicesRequest
(*ReconcileInvoicesResponse)(nil), // 1: usage.v1.ReconcileInvoicesResponse
(*FinalizeInvoiceRequest)(nil), // 2: usage.v1.FinalizeInvoiceRequest
(*FinalizeInvoiceResponse)(nil), // 3: usage.v1.FinalizeInvoiceResponse
(*CancelSubscriptionRequest)(nil), // 4: usage.v1.CancelSubscriptionRequest
(*CancelSubscriptionResponse)(nil), // 5: usage.v1.CancelSubscriptionResponse
(*GetStripeCustomerRequest)(nil), // 6: usage.v1.GetStripeCustomerRequest
(*GetStripeCustomerResponse)(nil), // 7: usage.v1.GetStripeCustomerResponse
(*StripeCustomer)(nil), // 8: usage.v1.StripeCustomer
(*CreateStripeCustomerRequest)(nil), // 9: usage.v1.CreateStripeCustomerRequest
(*CreateStripeCustomerResponse)(nil), // 10: usage.v1.CreateStripeCustomerResponse
(*CreateHoldPaymentIntentRequest)(nil), // 11: usage.v1.CreateHoldPaymentIntentRequest
(*CreateHoldPaymentIntentResponse)(nil), // 12: usage.v1.CreateHoldPaymentIntentResponse
(*CreateStripeSubscriptionRequest)(nil), // 13: usage.v1.CreateStripeSubscriptionRequest
(*CreateStripeSubscriptionResponse)(nil), // 14: usage.v1.CreateStripeSubscriptionResponse
(*StripeSubscription)(nil), // 15: usage.v1.StripeSubscription
(*UpdateCustomerSubscriptionsTaxStateRequest)(nil), // 16: usage.v1.UpdateCustomerSubscriptionsTaxStateRequest
(*UpdateCustomerSubscriptionsTaxStateResponse)(nil), // 17: usage.v1.UpdateCustomerSubscriptionsTaxStateResponse
(*GetPriceInformationRequest)(nil), // 18: usage.v1.GetPriceInformationRequest
(*GetPriceInformationResponse)(nil), // 19: usage.v1.GetPriceInformationResponse
(*OnChargeDisputeRequest)(nil), // 20: usage.v1.OnChargeDisputeRequest
(*OnChargeDisputeResponse)(nil), // 21: usage.v1.OnChargeDisputeResponse
}
var file_usage_v1_billing_proto_depIdxs = []int32{
8, // 0: usage.v1.GetStripeCustomerResponse.customer:type_name -> usage.v1.StripeCustomer
8, // 1: usage.v1.CreateStripeCustomerResponse.customer:type_name -> usage.v1.StripeCustomer
15, // 2: usage.v1.CreateStripeSubscriptionResponse.subscription:type_name -> usage.v1.StripeSubscription
0, // 3: usage.v1.BillingService.ReconcileInvoices:input_type -> usage.v1.ReconcileInvoicesRequest
2, // 4: usage.v1.BillingService.FinalizeInvoice:input_type -> usage.v1.FinalizeInvoiceRequest
4, // 5: usage.v1.BillingService.CancelSubscription:input_type -> usage.v1.CancelSubscriptionRequest
6, // 6: usage.v1.BillingService.GetStripeCustomer:input_type -> usage.v1.GetStripeCustomerRequest
9, // 7: usage.v1.BillingService.CreateStripeCustomer:input_type -> usage.v1.CreateStripeCustomerRequest
11, // 8: usage.v1.BillingService.CreateHoldPaymentIntent:input_type -> usage.v1.CreateHoldPaymentIntentRequest
13, // 9: usage.v1.BillingService.CreateStripeSubscription:input_type -> usage.v1.CreateStripeSubscriptionRequest
16, // 10: usage.v1.BillingService.UpdateCustomerSubscriptionsTaxState:input_type -> usage.v1.UpdateCustomerSubscriptionsTaxStateRequest
18, // 11: usage.v1.BillingService.GetPriceInformation:input_type -> usage.v1.GetPriceInformationRequest
20, // 12: usage.v1.BillingService.OnChargeDispute:input_type -> usage.v1.OnChargeDisputeRequest
1, // 13: usage.v1.BillingService.ReconcileInvoices:output_type -> usage.v1.ReconcileInvoicesResponse
3, // 14: usage.v1.BillingService.FinalizeInvoice:output_type -> usage.v1.FinalizeInvoiceResponse
5, // 15: usage.v1.BillingService.CancelSubscription:output_type -> usage.v1.CancelSubscriptionResponse
7, // 16: usage.v1.BillingService.GetStripeCustomer:output_type -> usage.v1.GetStripeCustomerResponse
10, // 17: usage.v1.BillingService.CreateStripeCustomer:output_type -> usage.v1.CreateStripeCustomerResponse
12, // 18: usage.v1.BillingService.CreateHoldPaymentIntent:output_type -> usage.v1.CreateHoldPaymentIntentResponse
14, // 19: usage.v1.BillingService.CreateStripeSubscription:output_type -> usage.v1.CreateStripeSubscriptionResponse
17, // 20: usage.v1.BillingService.UpdateCustomerSubscriptionsTaxState:output_type -> usage.v1.UpdateCustomerSubscriptionsTaxStateResponse
19, // 21: usage.v1.BillingService.GetPriceInformation:output_type -> usage.v1.GetPriceInformationResponse
21, // 22: usage.v1.BillingService.OnChargeDispute:output_type -> usage.v1.OnChargeDisputeResponse
13, // [13:23] is the sub-list for method output_type
3, // [3:13] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_usage_v1_billing_proto_init() }
func file_usage_v1_billing_proto_init() {
if File_usage_v1_billing_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_usage_v1_billing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReconcileInvoicesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReconcileInvoicesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FinalizeInvoiceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FinalizeInvoiceResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CancelSubscriptionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CancelSubscriptionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetStripeCustomerRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetStripeCustomerResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StripeCustomer); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateStripeCustomerRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateStripeCustomerResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHoldPaymentIntentRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHoldPaymentIntentResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateStripeSubscriptionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateStripeSubscriptionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StripeSubscription); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateCustomerSubscriptionsTaxStateRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateCustomerSubscriptionsTaxStateResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetPriceInformationRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetPriceInformationResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OnChargeDisputeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_usage_v1_billing_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OnChargeDisputeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_usage_v1_billing_proto_msgTypes[6].OneofWrappers = []interface{}{
(*GetStripeCustomerRequest_AttributionId)(nil),
(*GetStripeCustomerRequest_StripeCustomerId)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_usage_v1_billing_proto_rawDesc,
NumEnums: 0,
NumMessages: 22,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_usage_v1_billing_proto_goTypes,
DependencyIndexes: file_usage_v1_billing_proto_depIdxs,
MessageInfos: file_usage_v1_billing_proto_msgTypes,
}.Build()
File_usage_v1_billing_proto = out.File
file_usage_v1_billing_proto_rawDesc = nil
file_usage_v1_billing_proto_goTypes = nil
file_usage_v1_billing_proto_depIdxs = nil
}