Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

22.5 KB
Raw Blame
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc             (unknown)
// source: v1/subscription_service.proto

package v1

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9

const (
	SubscriptionService_GetSubscription_FullMethodName        = "/bytebase.v1.SubscriptionService/GetSubscription"
	SubscriptionService_ExportVCSProviderUsers_FullMethodName = "/bytebase.v1.SubscriptionService/ExportVCSProviderUsers"
	SubscriptionService_UploadLicense_FullMethodName          = "/bytebase.v1.SubscriptionService/UploadLicense"
	SubscriptionService_StartTrial_FullMethodName             = "/bytebase.v1.SubscriptionService/StartTrial"
	SubscriptionService_CreatePurchase_FullMethodName         = "/bytebase.v1.SubscriptionService/CreatePurchase"
	SubscriptionService_UpdatePurchase_FullMethodName         = "/bytebase.v1.SubscriptionService/UpdatePurchase"
	SubscriptionService_CancelPurchase_FullMethodName         = "/bytebase.v1.SubscriptionService/CancelPurchase"
	SubscriptionService_GetPaymentInfo_FullMethodName         = "/bytebase.v1.SubscriptionService/GetPaymentInfo"
	SubscriptionService_VerifyCheckoutSession_FullMethodName  = "/bytebase.v1.SubscriptionService/VerifyCheckoutSession"
	SubscriptionService_ListPurchasePlans_FullMethodName      = "/bytebase.v1.SubscriptionService/ListPurchasePlans"
)

// SubscriptionServiceClient is the client API for SubscriptionService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// SubscriptionService manages enterprise subscriptions and licensing.
type SubscriptionServiceClient interface {
	// GetSubscription returns the current subscription.
	// If there is no license, we will return a free plan subscription without expiration time.
	// If there is expired license, we will return a free plan subscription with the expiration time of the expired license.
	GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error)
	// Exports active VCS users as CSV.
	ExportVCSProviderUsers(ctx context.Context, in *ExportVCSProviderUsersRequest, opts ...grpc.CallOption) (*ExportVCSProviderUsersResponse, error)
	// Uploads an enterprise license (self-hosted only).
	UploadLicense(ctx context.Context, in *UploadLicenseRequest, opts ...grpc.CallOption) (*Subscription, error)
	// StartTrial starts a free trial for an eligible SaaS workspace.
	StartTrial(ctx context.Context, in *StartTrialRequest, opts ...grpc.CallOption) (*Subscription, error)
	// CreatePurchase creates a new subscription purchase (SaaS only).
	// Returns a Stripe Checkout URL for the user to complete payment.
	CreatePurchase(ctx context.Context, in *CreatePurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error)
	// UpdatePurchase updates an existing subscription (SaaS only).
	// May return a Stripe Checkout URL if payment method change is needed.
	UpdatePurchase(ctx context.Context, in *UpdatePurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error)
	// CancelPurchase cancels an active subscription (SaaS only).
	CancelPurchase(ctx context.Context, in *CancelPurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error)
	// GetPaymentInfo returns payment details for the current subscription (SaaS only).
	GetPaymentInfo(ctx context.Context, in *GetPaymentInfoRequest, opts ...grpc.CallOption) (*PaymentInfo, error)
	// VerifyCheckoutSession verifies a Stripe Checkout Session status (SaaS only).
	VerifyCheckoutSession(ctx context.Context, in *VerifyCheckoutSessionRequest, opts ...grpc.CallOption) (*VerifyCheckoutSessionResponse, error)
	// ListPurchasePlans returns available plans for self-service purchase.
	ListPurchasePlans(ctx context.Context, in *ListPurchasePlansRequest, opts ...grpc.CallOption) (*ListPurchasePlansResponse, error)
}

type subscriptionServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewSubscriptionServiceClient(cc grpc.ClientConnInterface) SubscriptionServiceClient {
	return &subscriptionServiceClient{cc}
}

func (c *subscriptionServiceClient) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Subscription)
	err := c.cc.Invoke(ctx, SubscriptionService_GetSubscription_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) ExportVCSProviderUsers(ctx context.Context, in *ExportVCSProviderUsersRequest, opts ...grpc.CallOption) (*ExportVCSProviderUsersResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ExportVCSProviderUsersResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_ExportVCSProviderUsers_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) UploadLicense(ctx context.Context, in *UploadLicenseRequest, opts ...grpc.CallOption) (*Subscription, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Subscription)
	err := c.cc.Invoke(ctx, SubscriptionService_UploadLicense_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) StartTrial(ctx context.Context, in *StartTrialRequest, opts ...grpc.CallOption) (*Subscription, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Subscription)
	err := c.cc.Invoke(ctx, SubscriptionService_StartTrial_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) CreatePurchase(ctx context.Context, in *CreatePurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(PurchaseResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_CreatePurchase_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) UpdatePurchase(ctx context.Context, in *UpdatePurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(PurchaseResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_UpdatePurchase_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) CancelPurchase(ctx context.Context, in *CancelPurchaseRequest, opts ...grpc.CallOption) (*PurchaseResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(PurchaseResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_CancelPurchase_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) GetPaymentInfo(ctx context.Context, in *GetPaymentInfoRequest, opts ...grpc.CallOption) (*PaymentInfo, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(PaymentInfo)
	err := c.cc.Invoke(ctx, SubscriptionService_GetPaymentInfo_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) VerifyCheckoutSession(ctx context.Context, in *VerifyCheckoutSessionRequest, opts ...grpc.CallOption) (*VerifyCheckoutSessionResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(VerifyCheckoutSessionResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_VerifyCheckoutSession_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *subscriptionServiceClient) ListPurchasePlans(ctx context.Context, in *ListPurchasePlansRequest, opts ...grpc.CallOption) (*ListPurchasePlansResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListPurchasePlansResponse)
	err := c.cc.Invoke(ctx, SubscriptionService_ListPurchasePlans_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// SubscriptionServiceServer is the server API for SubscriptionService service.
// All implementations must embed UnimplementedSubscriptionServiceServer
// for forward compatibility.
//
// SubscriptionService manages enterprise subscriptions and licensing.
type SubscriptionServiceServer interface {
	// GetSubscription returns the current subscription.
	// If there is no license, we will return a free plan subscription without expiration time.
	// If there is expired license, we will return a free plan subscription with the expiration time of the expired license.
	GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error)
	// Exports active VCS users as CSV.
	ExportVCSProviderUsers(context.Context, *ExportVCSProviderUsersRequest) (*ExportVCSProviderUsersResponse, error)
	// Uploads an enterprise license (self-hosted only).
	UploadLicense(context.Context, *UploadLicenseRequest) (*Subscription, error)
	// StartTrial starts a free trial for an eligible SaaS workspace.
	StartTrial(context.Context, *StartTrialRequest) (*Subscription, error)
	// CreatePurchase creates a new subscription purchase (SaaS only).
	// Returns a Stripe Checkout URL for the user to complete payment.
	CreatePurchase(context.Context, *CreatePurchaseRequest) (*PurchaseResponse, error)
	// UpdatePurchase updates an existing subscription (SaaS only).
	// May return a Stripe Checkout URL if payment method change is needed.
	UpdatePurchase(context.Context, *UpdatePurchaseRequest) (*PurchaseResponse, error)
	// CancelPurchase cancels an active subscription (SaaS only).
	CancelPurchase(context.Context, *CancelPurchaseRequest) (*PurchaseResponse, error)
	// GetPaymentInfo returns payment details for the current subscription (SaaS only).
	GetPaymentInfo(context.Context, *GetPaymentInfoRequest) (*PaymentInfo, error)
	// VerifyCheckoutSession verifies a Stripe Checkout Session status (SaaS only).
	VerifyCheckoutSession(context.Context, *VerifyCheckoutSessionRequest) (*VerifyCheckoutSessionResponse, error)
	// ListPurchasePlans returns available plans for self-service purchase.
	ListPurchasePlans(context.Context, *ListPurchasePlansRequest) (*ListPurchasePlansResponse, error)
	mustEmbedUnimplementedSubscriptionServiceServer()
}

// UnimplementedSubscriptionServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedSubscriptionServiceServer struct{}

func (UnimplementedSubscriptionServiceServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) {
	return nil, status.Error(codes.Unimplemented, "method GetSubscription not implemented")
}
func (UnimplementedSubscriptionServiceServer) ExportVCSProviderUsers(context.Context, *ExportVCSProviderUsersRequest) (*ExportVCSProviderUsersResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ExportVCSProviderUsers not implemented")
}
func (UnimplementedSubscriptionServiceServer) UploadLicense(context.Context, *UploadLicenseRequest) (*Subscription, error) {
	return nil, status.Error(codes.Unimplemented, "method UploadLicense not implemented")
}
func (UnimplementedSubscriptionServiceServer) StartTrial(context.Context, *StartTrialRequest) (*Subscription, error) {
	return nil, status.Error(codes.Unimplemented, "method StartTrial not implemented")
}
func (UnimplementedSubscriptionServiceServer) CreatePurchase(context.Context, *CreatePurchaseRequest) (*PurchaseResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreatePurchase not implemented")
}
func (UnimplementedSubscriptionServiceServer) UpdatePurchase(context.Context, *UpdatePurchaseRequest) (*PurchaseResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method UpdatePurchase not implemented")
}
func (UnimplementedSubscriptionServiceServer) CancelPurchase(context.Context, *CancelPurchaseRequest) (*PurchaseResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CancelPurchase not implemented")
}
func (UnimplementedSubscriptionServiceServer) GetPaymentInfo(context.Context, *GetPaymentInfoRequest) (*PaymentInfo, error) {
	return nil, status.Error(codes.Unimplemented, "method GetPaymentInfo not implemented")
}
func (UnimplementedSubscriptionServiceServer) VerifyCheckoutSession(context.Context, *VerifyCheckoutSessionRequest) (*VerifyCheckoutSessionResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method VerifyCheckoutSession not implemented")
}
func (UnimplementedSubscriptionServiceServer) ListPurchasePlans(context.Context, *ListPurchasePlansRequest) (*ListPurchasePlansResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListPurchasePlans not implemented")
}
func (UnimplementedSubscriptionServiceServer) mustEmbedUnimplementedSubscriptionServiceServer() {}
func (UnimplementedSubscriptionServiceServer) testEmbeddedByValue()                             {}

// UnsafeSubscriptionServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to SubscriptionServiceServer will
// result in compilation errors.
type UnsafeSubscriptionServiceServer interface {
	mustEmbedUnimplementedSubscriptionServiceServer()
}

func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer) {
	// If the following call panics, it indicates UnimplementedSubscriptionServiceServer was
	// embedded by pointer and is nil.  This will cause panics if an
	// unimplemented method is ever invoked, so we test this at initialization
	// time to prevent it from happening at runtime later due to I/O.
	if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
		t.testEmbeddedByValue()
	}
	s.RegisterService(&SubscriptionService_ServiceDesc, srv)
}

func _SubscriptionService_GetSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetSubscriptionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).GetSubscription(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_GetSubscription_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).GetSubscription(ctx, req.(*GetSubscriptionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_ExportVCSProviderUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ExportVCSProviderUsersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).ExportVCSProviderUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_ExportVCSProviderUsers_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).ExportVCSProviderUsers(ctx, req.(*ExportVCSProviderUsersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_UploadLicense_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UploadLicenseRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).UploadLicense(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_UploadLicense_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).UploadLicense(ctx, req.(*UploadLicenseRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_StartTrial_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(StartTrialRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).StartTrial(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_StartTrial_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).StartTrial(ctx, req.(*StartTrialRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_CreatePurchase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreatePurchaseRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).CreatePurchase(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_CreatePurchase_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).CreatePurchase(ctx, req.(*CreatePurchaseRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_UpdatePurchase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdatePurchaseRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).UpdatePurchase(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_UpdatePurchase_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).UpdatePurchase(ctx, req.(*UpdatePurchaseRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_CancelPurchase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CancelPurchaseRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).CancelPurchase(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_CancelPurchase_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).CancelPurchase(ctx, req.(*CancelPurchaseRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_GetPaymentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPaymentInfoRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).GetPaymentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_GetPaymentInfo_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).GetPaymentInfo(ctx, req.(*GetPaymentInfoRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_VerifyCheckoutSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VerifyCheckoutSessionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).VerifyCheckoutSession(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_VerifyCheckoutSession_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).VerifyCheckoutSession(ctx, req.(*VerifyCheckoutSessionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SubscriptionService_ListPurchasePlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListPurchasePlansRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SubscriptionServiceServer).ListPurchasePlans(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: SubscriptionService_ListPurchasePlans_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SubscriptionServiceServer).ListPurchasePlans(ctx, req.(*ListPurchasePlansRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// SubscriptionService_ServiceDesc is the grpc.ServiceDesc for SubscriptionService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var SubscriptionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bytebase.v1.SubscriptionService",
	HandlerType: (*SubscriptionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubscription",
			Handler:    _SubscriptionService_GetSubscription_Handler,
		},
		{
			MethodName: "ExportVCSProviderUsers",
			Handler:    _SubscriptionService_ExportVCSProviderUsers_Handler,
		},
		{
			MethodName: "UploadLicense",
			Handler:    _SubscriptionService_UploadLicense_Handler,
		},
		{
			MethodName: "StartTrial",
			Handler:    _SubscriptionService_StartTrial_Handler,
		},
		{
			MethodName: "CreatePurchase",
			Handler:    _SubscriptionService_CreatePurchase_Handler,
		},
		{
			MethodName: "UpdatePurchase",
			Handler:    _SubscriptionService_UpdatePurchase_Handler,
		},
		{
			MethodName: "CancelPurchase",
			Handler:    _SubscriptionService_CancelPurchase_Handler,
		},
		{
			MethodName: "GetPaymentInfo",
			Handler:    _SubscriptionService_GetPaymentInfo_Handler,
		},
		{
			MethodName: "VerifyCheckoutSession",
			Handler:    _SubscriptionService_VerifyCheckoutSession_Handler,
		},
		{
			MethodName: "ListPurchasePlans",
			Handler:    _SubscriptionService_ListPurchasePlans_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/subscription_service.proto",
}