billing

package
v1.0.1-0...-26ec577 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package billing is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Billing_GetBillingPlan_FullMethodName         = "/api.public.billing.Billing/GetBillingPlan"
	Billing_CreateSubscriptionLink_FullMethodName = "/api.public.billing.Billing/CreateSubscriptionLink"
)

Variables

View Source
var (
	CreateSubscriptionLinkRequest_Type_name = map[int32]string{
		0: "PAYMENT_UNKNOWN",
		4: "PAYMENT_FREE_TIER_VALIDATION",
		5: "PAYMENT_STARTER_SUBSCRIPTION",
		6: "PAYMENT_PRO_SUBSCRIPTION",
		7: "PAYMENT_TEAM_SUBSCRIPTION",
	}
	CreateSubscriptionLinkRequest_Type_value = map[string]int32{
		"PAYMENT_UNKNOWN":              0,
		"PAYMENT_FREE_TIER_VALIDATION": 4,
		"PAYMENT_STARTER_SUBSCRIPTION": 5,
		"PAYMENT_PRO_SUBSCRIPTION":     6,
		"PAYMENT_TEAM_SUBSCRIPTION":    7,
	}
)

Enum value maps for CreateSubscriptionLinkRequest_Type.

View Source
var (
	BillingPlan_PlanType_name = map[int32]string{
		0: "PLAN_TYPE_UNKNOWN",
		1: "PLAN_TYPE_FREE",
		2: "PLAN_TYPE_MONTHLY",
		3: "PLAN_TYPE_YEARLY",
	}
	BillingPlan_PlanType_value = map[string]int32{
		"PLAN_TYPE_UNKNOWN": 0,
		"PLAN_TYPE_FREE":    1,
		"PLAN_TYPE_MONTHLY": 2,
		"PLAN_TYPE_YEARLY":  3,
	}
)

Enum value maps for BillingPlan_PlanType.

View Source
var (
	BillingPlan_InstanceType_name = map[int32]string{
		0: "INSTANCE_TYPE_UNKNOWN",
		1: "INSTANCE_TYPE_XSMALL",
		2: "INSTANCE_TYPE_SMALL",
		3: "INSTANCE_TYPE_MEDIUM",
		4: "INSTANCE_TYPE_LARGE",
		5: "INSTANCE_TYPE_XLARGE",
		6: "INSTANCE_TYPE_2XLARGE",
		7: "INSTANCE_TYPE_3XLARGE",
		8: "INSTANCE_TYPE_4XLARGE",
	}
	BillingPlan_InstanceType_value = map[string]int32{
		"INSTANCE_TYPE_UNKNOWN": 0,
		"INSTANCE_TYPE_XSMALL":  1,
		"INSTANCE_TYPE_SMALL":   2,
		"INSTANCE_TYPE_MEDIUM":  3,
		"INSTANCE_TYPE_LARGE":   4,
		"INSTANCE_TYPE_XLARGE":  5,
		"INSTANCE_TYPE_2XLARGE": 6,
		"INSTANCE_TYPE_3XLARGE": 7,
		"INSTANCE_TYPE_4XLARGE": 8,
	}
)

Enum value maps for BillingPlan_InstanceType.

View Source
var (
	BillingPlan_ArchType_name = map[int32]string{
		0: "ARCH_TYPE_UNKNOWN",
		1: "ARCH_TYPE_AMD64",
		2: "ARCH_TYPE_ARM64",
	}
	BillingPlan_ArchType_value = map[string]int32{
		"ARCH_TYPE_UNKNOWN": 0,
		"ARCH_TYPE_AMD64":   1,
		"ARCH_TYPE_ARM64":   2,
	}
)

Enum value maps for BillingPlan_ArchType.

View Source
var (
	BillingPlan_Tier_name = map[int32]string{
		0: "TIER_UNKNOWN",
		1: "TIER_SATELLITES",
		2: "TIER_CI",
		3: "TIER_LIMITED_FREE_TIER",
		4: "TIER_FREE_TIER",
		5: "TIER_STARTER",
		6: "TIER_PRO",
		7: "TIER_TEAM",
	}
	BillingPlan_Tier_value = map[string]int32{
		"TIER_UNKNOWN":           0,
		"TIER_SATELLITES":        1,
		"TIER_CI":                2,
		"TIER_LIMITED_FREE_TIER": 3,
		"TIER_FREE_TIER":         4,
		"TIER_STARTER":           5,
		"TIER_PRO":               6,
		"TIER_TEAM":              7,
	}
)

Enum value maps for BillingPlan_Tier.

View Source
var Billing_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.public.billing.Billing",
	HandlerType: (*BillingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBillingPlan",
			Handler:    _Billing_GetBillingPlan_Handler,
		},
		{
			MethodName: "CreateSubscriptionLink",
			Handler:    _Billing_CreateSubscriptionLink_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "billing.proto",
}

Billing_ServiceDesc is the grpc.ServiceDesc for Billing service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_billing_proto protoreflect.FileDescriptor

Functions

func RegisterBillingHandler

func RegisterBillingHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBillingHandler registers the http handlers for service Billing to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBillingHandlerClient

func RegisterBillingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BillingClient) error

RegisterBillingHandlerClient registers the http handlers for service Billing to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BillingClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BillingClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BillingClient" to call the correct interceptors.

func RegisterBillingHandlerFromEndpoint

func RegisterBillingHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBillingHandlerFromEndpoint is same as RegisterBillingHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBillingHandlerServer

func RegisterBillingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BillingServer) error

RegisterBillingHandlerServer registers the http handlers for service Billing to "mux". UnaryRPC :call BillingServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBillingHandlerFromEndpoint instead.

func RegisterBillingServer

func RegisterBillingServer(s grpc.ServiceRegistrar, srv BillingServer)

Types

type BillingClient

type BillingClient interface {
	GetBillingPlan(ctx context.Context, in *GetBillingPlanRequest, opts ...grpc.CallOption) (*GetBillingPlanResponse, error)
	CreateSubscriptionLink(ctx context.Context, in *CreateSubscriptionLinkRequest, opts ...grpc.CallOption) (*CreateSubscriptionLinkResponse, error)
}

BillingClient is the client API for Billing 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.

func NewBillingClient

func NewBillingClient(cc grpc.ClientConnInterface) BillingClient

type BillingPlan

type BillingPlan struct {
	Type BillingPlan_PlanType `protobuf:"varint,1,opt,name=type,proto3,enum=api.public.billing.BillingPlan_PlanType" json:"type,omitempty"`
	// Date the plan was started
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	MaxSatellites int32                  `protobuf:"varint,3,opt,name=max_satellites,json=maxSatellites,proto3" json:"max_satellites,omitempty"`
	// Max projects with pipelines (CI)
	MaxProjects int32 `protobuf:"varint,4,opt,name=max_projects,json=maxProjects,proto3" json:"max_projects,omitempty"`
	// Max pipelines per project (CI)
	MaxPipelines     int32                      `protobuf:"varint,5,opt,name=max_pipelines,json=maxPipelines,proto3" json:"max_pipelines,omitempty"`
	AllowedInstances []BillingPlan_InstanceType `` /* 166-byte string literal not displayed */
	AllowedArchs     []BillingPlan_ArchType     `` /* 150-byte string literal not displayed */
	// Max total build time per month. 0 means no limit
	MaxBuildMinutes int32 `protobuf:"varint,8,opt,name=max_build_minutes,json=maxBuildMinutes,proto3" json:"max_build_minutes,omitempty"`
	// Max build duration. 0 means no limit
	MaxMinutesPerBuild int32 `protobuf:"varint,9,opt,name=max_minutes_per_build,json=maxMinutesPerBuild,proto3" json:"max_minutes_per_build,omitempty"`
	// Buildkit cache TTL. 0 means forever
	MaxHoursCacheRetention int32 `` /* 133-byte string literal not displayed */
	// Tier type. Might include tier/products no longer available.
	Tier BillingPlan_Tier `protobuf:"varint,11,opt,name=tier,proto3,enum=api.public.billing.BillingPlan_Tier" json:"tier,omitempty"`
	// Free description associated to the tier
	TierDescription string `protobuf:"bytes,12,opt,name=tier_description,json=tierDescription,proto3" json:"tier_description,omitempty"`
	// Number of seats for current and subsequent tiers
	SeatsPerTier []int32 `protobuf:"varint,13,rep,packed,name=seats_per_tier,json=seatsPerTier,proto3" json:"seats_per_tier,omitempty"`
	// Monthly seat price per seat for the current and subsequent tiers
	PricePerSeat []int32 `protobuf:"varint,14,rep,packed,name=price_per_seat,json=pricePerSeat,proto3" json:"price_per_seat,omitempty"`
	// Monthly seat price per seat for the current and subsequent tiers (annually paid)
	PricePerSeatYear []int32 `protobuf:"varint,15,rep,packed,name=price_per_seat_year,json=pricePerSeatYear,proto3" json:"price_per_seat_year,omitempty"`
	// Number of monthly minutes included per seat for the current and subsequent tiers
	IncludedMinutesPerSeat []int32 `` /* 140-byte string literal not displayed */
	// Number of base minutes included per month for the current tier (in addition to the previous ones).
	IncludedMinutes int32 `protobuf:"varint,17,opt,name=included_minutes,json=includedMinutes,proto3" json:"included_minutes,omitempty"`
	// Users allowed to select runners Earthly version
	SelectableEarthlyVersion bool `` /* 137-byte string literal not displayed */
	// Outgoing traffic coming from Satellites observed from static IP(s)
	StaticOriginatingIpAddress bool `` /* 145-byte string literal not displayed */
	// Default size to launch new instances when none is specified by the user
	DefaultInstanceType BillingPlan_InstanceType `` /* 171-byte string literal not displayed */
	// Max seconds spent executing a single RUN (exec op)
	MaxSecondsPerExec int32 `protobuf:"varint,21,opt,name=max_seconds_per_exec,json=maxSecondsPerExec,proto3" json:"max_seconds_per_exec,omitempty"`
	// Whether this org can use SH satellites
	SelfHostedDisabled bool `protobuf:"varint,22,opt,name=self_hosted_disabled,json=selfHostedDisabled,proto3" json:"self_hosted_disabled,omitempty"`
	// Whether this org can use GHA-Satellites integration
	GhaDisabled bool `protobuf:"varint,23,opt,name=gha_disabled,json=ghaDisabled,proto3" json:"gha_disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingPlan) Descriptor deprecated

func (*BillingPlan) Descriptor() ([]byte, []int)

Deprecated: Use BillingPlan.ProtoReflect.Descriptor instead.

func (*BillingPlan) GetAllowedArchs

func (x *BillingPlan) GetAllowedArchs() []BillingPlan_ArchType

func (*BillingPlan) GetAllowedInstances

func (x *BillingPlan) GetAllowedInstances() []BillingPlan_InstanceType

func (*BillingPlan) GetDefaultInstanceType

func (x *BillingPlan) GetDefaultInstanceType() BillingPlan_InstanceType

func (*BillingPlan) GetGhaDisabled

func (x *BillingPlan) GetGhaDisabled() bool

func (*BillingPlan) GetIncludedMinutes

func (x *BillingPlan) GetIncludedMinutes() int32

func (*BillingPlan) GetIncludedMinutesPerSeat

func (x *BillingPlan) GetIncludedMinutesPerSeat() []int32

func (*BillingPlan) GetMaxBuildMinutes

func (x *BillingPlan) GetMaxBuildMinutes() int32

func (*BillingPlan) GetMaxHoursCacheRetention

func (x *BillingPlan) GetMaxHoursCacheRetention() int32

func (*BillingPlan) GetMaxMinutesPerBuild

func (x *BillingPlan) GetMaxMinutesPerBuild() int32

func (*BillingPlan) GetMaxPipelines

func (x *BillingPlan) GetMaxPipelines() int32

func (*BillingPlan) GetMaxProjects

func (x *BillingPlan) GetMaxProjects() int32

func (*BillingPlan) GetMaxSatellites

func (x *BillingPlan) GetMaxSatellites() int32

func (*BillingPlan) GetMaxSecondsPerExec

func (x *BillingPlan) GetMaxSecondsPerExec() int32

func (*BillingPlan) GetPricePerSeat

func (x *BillingPlan) GetPricePerSeat() []int32

func (*BillingPlan) GetPricePerSeatYear

func (x *BillingPlan) GetPricePerSeatYear() []int32

func (*BillingPlan) GetSeatsPerTier

func (x *BillingPlan) GetSeatsPerTier() []int32

func (*BillingPlan) GetSelectableEarthlyVersion

func (x *BillingPlan) GetSelectableEarthlyVersion() bool

func (*BillingPlan) GetSelfHostedDisabled

func (x *BillingPlan) GetSelfHostedDisabled() bool

func (*BillingPlan) GetStartedAt

func (x *BillingPlan) GetStartedAt() *timestamppb.Timestamp

func (*BillingPlan) GetStaticOriginatingIpAddress

func (x *BillingPlan) GetStaticOriginatingIpAddress() bool

func (*BillingPlan) GetTier

func (x *BillingPlan) GetTier() BillingPlan_Tier

func (*BillingPlan) GetTierDescription

func (x *BillingPlan) GetTierDescription() string

func (*BillingPlan) GetType

func (x *BillingPlan) GetType() BillingPlan_PlanType

func (*BillingPlan) ProtoMessage

func (*BillingPlan) ProtoMessage()

func (*BillingPlan) ProtoReflect

func (x *BillingPlan) ProtoReflect() protoreflect.Message

func (*BillingPlan) Reset

func (x *BillingPlan) Reset()

func (*BillingPlan) String

func (x *BillingPlan) String() string

type BillingPlan_ArchType

type BillingPlan_ArchType int32
const (
	BillingPlan_ARCH_TYPE_UNKNOWN BillingPlan_ArchType = 0
	BillingPlan_ARCH_TYPE_AMD64   BillingPlan_ArchType = 1
	BillingPlan_ARCH_TYPE_ARM64   BillingPlan_ArchType = 2
)

func (BillingPlan_ArchType) Descriptor

func (BillingPlan_ArchType) Enum

func (BillingPlan_ArchType) EnumDescriptor deprecated

func (BillingPlan_ArchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingPlan_ArchType.Descriptor instead.

func (BillingPlan_ArchType) Number

func (BillingPlan_ArchType) String

func (x BillingPlan_ArchType) String() string

func (BillingPlan_ArchType) Type

type BillingPlan_InstanceType

type BillingPlan_InstanceType int32
const (
	BillingPlan_INSTANCE_TYPE_UNKNOWN BillingPlan_InstanceType = 0
	BillingPlan_INSTANCE_TYPE_XSMALL  BillingPlan_InstanceType = 1
	BillingPlan_INSTANCE_TYPE_SMALL   BillingPlan_InstanceType = 2
	BillingPlan_INSTANCE_TYPE_MEDIUM  BillingPlan_InstanceType = 3
	BillingPlan_INSTANCE_TYPE_LARGE   BillingPlan_InstanceType = 4
	BillingPlan_INSTANCE_TYPE_XLARGE  BillingPlan_InstanceType = 5
	BillingPlan_INSTANCE_TYPE_2XLARGE BillingPlan_InstanceType = 6
	BillingPlan_INSTANCE_TYPE_3XLARGE BillingPlan_InstanceType = 7
	BillingPlan_INSTANCE_TYPE_4XLARGE BillingPlan_InstanceType = 8
)

func (BillingPlan_InstanceType) Descriptor

func (BillingPlan_InstanceType) Enum

func (BillingPlan_InstanceType) EnumDescriptor deprecated

func (BillingPlan_InstanceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingPlan_InstanceType.Descriptor instead.

func (BillingPlan_InstanceType) Number

func (BillingPlan_InstanceType) String

func (x BillingPlan_InstanceType) String() string

func (BillingPlan_InstanceType) Type

type BillingPlan_PlanType

type BillingPlan_PlanType int32
const (
	BillingPlan_PLAN_TYPE_UNKNOWN BillingPlan_PlanType = 0
	BillingPlan_PLAN_TYPE_FREE    BillingPlan_PlanType = 1
	BillingPlan_PLAN_TYPE_MONTHLY BillingPlan_PlanType = 2
	BillingPlan_PLAN_TYPE_YEARLY  BillingPlan_PlanType = 3
)

func (BillingPlan_PlanType) Descriptor

func (BillingPlan_PlanType) Enum

func (BillingPlan_PlanType) EnumDescriptor deprecated

func (BillingPlan_PlanType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingPlan_PlanType.Descriptor instead.

func (BillingPlan_PlanType) Number

func (BillingPlan_PlanType) String

func (x BillingPlan_PlanType) String() string

func (BillingPlan_PlanType) Type

type BillingPlan_Tier

type BillingPlan_Tier int32

consider moving this to a common proto file

const (
	BillingPlan_TIER_UNKNOWN           BillingPlan_Tier = 0
	BillingPlan_TIER_SATELLITES        BillingPlan_Tier = 1
	BillingPlan_TIER_CI                BillingPlan_Tier = 2
	BillingPlan_TIER_LIMITED_FREE_TIER BillingPlan_Tier = 3
	BillingPlan_TIER_FREE_TIER         BillingPlan_Tier = 4
	BillingPlan_TIER_STARTER           BillingPlan_Tier = 5
	BillingPlan_TIER_PRO               BillingPlan_Tier = 6
	BillingPlan_TIER_TEAM              BillingPlan_Tier = 7
)

func (BillingPlan_Tier) Descriptor

func (BillingPlan_Tier) Enum

func (BillingPlan_Tier) EnumDescriptor deprecated

func (BillingPlan_Tier) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingPlan_Tier.Descriptor instead.

func (BillingPlan_Tier) Number

func (BillingPlan_Tier) String

func (x BillingPlan_Tier) String() string

func (BillingPlan_Tier) Type

type BillingServer

type BillingServer interface {
	GetBillingPlan(context.Context, *GetBillingPlanRequest) (*GetBillingPlanResponse, error)
	CreateSubscriptionLink(context.Context, *CreateSubscriptionLinkRequest) (*CreateSubscriptionLinkResponse, error)
	// contains filtered or unexported methods
}

BillingServer is the server API for Billing service. All implementations must embed UnimplementedBillingServer for forward compatibility

type CreateSubscriptionLinkRequest

type CreateSubscriptionLinkRequest struct {
	OrgName string                             `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
	Type    CreateSubscriptionLinkRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=api.public.billing.CreateSubscriptionLinkRequest_Type" json:"type,omitempty"`
	Monthly bool                               `protobuf:"varint,3,opt,name=monthly,proto3" json:"monthly,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubscriptionLinkRequest) Descriptor deprecated

func (*CreateSubscriptionLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSubscriptionLinkRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionLinkRequest) GetMonthly

func (x *CreateSubscriptionLinkRequest) GetMonthly() bool

func (*CreateSubscriptionLinkRequest) GetOrgName

func (x *CreateSubscriptionLinkRequest) GetOrgName() string

func (*CreateSubscriptionLinkRequest) GetType

func (*CreateSubscriptionLinkRequest) ProtoMessage

func (*CreateSubscriptionLinkRequest) ProtoMessage()

func (*CreateSubscriptionLinkRequest) ProtoReflect

func (*CreateSubscriptionLinkRequest) Reset

func (x *CreateSubscriptionLinkRequest) Reset()

func (*CreateSubscriptionLinkRequest) String

type CreateSubscriptionLinkRequest_Type

type CreateSubscriptionLinkRequest_Type int32

buf:lint:ignore ENUM_VALUE_PREFIX

const (
	CreateSubscriptionLinkRequest_PAYMENT_UNKNOWN              CreateSubscriptionLinkRequest_Type = 0
	CreateSubscriptionLinkRequest_PAYMENT_FREE_TIER_VALIDATION CreateSubscriptionLinkRequest_Type = 4
	CreateSubscriptionLinkRequest_PAYMENT_STARTER_SUBSCRIPTION CreateSubscriptionLinkRequest_Type = 5
	CreateSubscriptionLinkRequest_PAYMENT_PRO_SUBSCRIPTION     CreateSubscriptionLinkRequest_Type = 6
	CreateSubscriptionLinkRequest_PAYMENT_TEAM_SUBSCRIPTION    CreateSubscriptionLinkRequest_Type = 7
)

func (CreateSubscriptionLinkRequest_Type) Descriptor

func (CreateSubscriptionLinkRequest_Type) Enum

func (CreateSubscriptionLinkRequest_Type) EnumDescriptor deprecated

func (CreateSubscriptionLinkRequest_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use CreateSubscriptionLinkRequest_Type.Descriptor instead.

func (CreateSubscriptionLinkRequest_Type) Number

func (CreateSubscriptionLinkRequest_Type) String

func (CreateSubscriptionLinkRequest_Type) Type

type CreateSubscriptionLinkResponse

type CreateSubscriptionLinkResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSubscriptionLinkResponse) Descriptor deprecated

func (*CreateSubscriptionLinkResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSubscriptionLinkResponse.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionLinkResponse) GetUrl

func (*CreateSubscriptionLinkResponse) ProtoMessage

func (*CreateSubscriptionLinkResponse) ProtoMessage()

func (*CreateSubscriptionLinkResponse) ProtoReflect

func (*CreateSubscriptionLinkResponse) Reset

func (x *CreateSubscriptionLinkResponse) Reset()

func (*CreateSubscriptionLinkResponse) String

type GetBillingPlanRequest

type GetBillingPlanRequest struct {
	OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBillingPlanRequest) Descriptor deprecated

func (*GetBillingPlanRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBillingPlanRequest.ProtoReflect.Descriptor instead.

func (*GetBillingPlanRequest) GetOrgName

func (x *GetBillingPlanRequest) GetOrgName() string

func (*GetBillingPlanRequest) ProtoMessage

func (*GetBillingPlanRequest) ProtoMessage()

func (*GetBillingPlanRequest) ProtoReflect

func (x *GetBillingPlanRequest) ProtoReflect() protoreflect.Message

func (*GetBillingPlanRequest) Reset

func (x *GetBillingPlanRequest) Reset()

func (*GetBillingPlanRequest) String

func (x *GetBillingPlanRequest) String() string

type GetBillingPlanResponse

type GetBillingPlanResponse struct {
	Plan                         *BillingPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	BillingCycleUsedBuildSeconds int32        `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetBillingPlanResponse) Descriptor deprecated

func (*GetBillingPlanResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBillingPlanResponse.ProtoReflect.Descriptor instead.

func (*GetBillingPlanResponse) GetBillingCycleUsedBuildSeconds

func (x *GetBillingPlanResponse) GetBillingCycleUsedBuildSeconds() int32

func (*GetBillingPlanResponse) GetPlan

func (x *GetBillingPlanResponse) GetPlan() *BillingPlan

func (*GetBillingPlanResponse) ProtoMessage

func (*GetBillingPlanResponse) ProtoMessage()

func (*GetBillingPlanResponse) ProtoReflect

func (x *GetBillingPlanResponse) ProtoReflect() protoreflect.Message

func (*GetBillingPlanResponse) Reset

func (x *GetBillingPlanResponse) Reset()

func (*GetBillingPlanResponse) String

func (x *GetBillingPlanResponse) String() string

type UnimplementedBillingServer

type UnimplementedBillingServer struct {
}

UnimplementedBillingServer must be embedded to have forward compatible implementations.

func (UnimplementedBillingServer) GetBillingPlan

type UnsafeBillingServer

type UnsafeBillingServer interface {
	// contains filtered or unexported methods
}

UnsafeBillingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillingServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL