Skip to content

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

chore: pricing v4 (#14336)

ecmadao76fcc874b725
diff --git a/backend/api/v1/auth_service.go b/backend/api/v1/auth_service.go
index 0810acd250..9a22a1cae9 100644
--- a/backend/api/v1/auth_service.go
+++ b/backend/api/v1/auth_service.go
@@ -1122,7 +1122,7 @@ func (s *AuthService) userCountGuard(ctx context.Context) error {
if err != nil {
return status.Error(codes.Internal, err.Error())
}
- if int64(count) >= userLimit {
+ if count >= userLimit {
return status.Errorf(codes.ResourceExhausted, "reached the maximum user count %d", userLimit)
}
return nil
diff --git a/backend/api/v1/environment_service.go b/backend/api/v1/environment_service.go
index 2e55548eaf..b38f5b7693 100644
--- a/backend/api/v1/environment_service.go
+++ b/backend/api/v1/environment_service.go
@@ -74,7 +74,7 @@ func (s *EnvironmentService) CreateEnvironment(ctx context.Context, request *v1p
return nil, status.Error(codes.Internal, err.Error())
}
maximumEnvironmentLimit := s.licenseService.GetPlanLimitValue(ctx, enterprise.PlanLimitMaximumEnvironment)
- if int64(len(environments)) >= maximumEnvironmentLimit {
+ if len(environments) >= maximumEnvironmentLimit {
return nil, status.Errorf(codes.ResourceExhausted, "current plan can create up to %d environments.", maximumEnvironmentLimit)
}
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.go
index e2fe02b34f..9626088c38 100644
--- a/backend/api/v1/instance_service.go
+++ b/backend/api/v1/instance_service.go
@@ -1387,7 +1387,7 @@ func (s *InstanceService) instanceCountGuard(ctx context.Context) error {
if err != nil {
return status.Error(codes.Internal, err.Error())
}
- if int64(count) >= instanceLimit {
+ if count >= instanceLimit {
return status.Errorf(codes.ResourceExhausted, "reached the maximum instance count %d", instanceLimit)
}
diff --git a/backend/api/v1/subscription_service.go b/backend/api/v1/subscription_service.go
index 10e8e385a4..b895f60bd0 100644
--- a/backend/api/v1/subscription_service.go
+++ b/backend/api/v1/subscription_service.go
@@ -86,6 +86,7 @@ func (s *SubscriptionService) loadSubscription(ctx context.Context) (*v1pb.Subsc
sub := s.licenseService.LoadSubscription(ctx)
subscription := &v1pb.Subscription{
+ SeatCount: int32(sub.Seat),
InstanceCount: int32(sub.InstanceCount),
Plan: covertToV1PlanType(sub.Plan),
Trialing: sub.Trialing,
diff --git a/backend/enterprise/api/license.go b/backend/enterprise/api/license.go
index 484c73c353..bf81d0694a 100644
--- a/backend/enterprise/api/license.go
+++ b/backend/enterprise/api/license.go
@@ -71,7 +71,7 @@ type LicenseService interface {
// GetEffectivePlan gets the effective plan.
GetEffectivePlan() api.PlanType
// GetPlanLimitValue gets the limit value for the plan.
- GetPlanLimitValue(ctx context.Context, name PlanLimit) int64
+ GetPlanLimitValue(ctx context.Context, name PlanLimit) int
// GetInstanceLicenseCount returns the instance count limit for current subscription.
GetInstanceLicenseCount(ctx context.Context) int
// RefreshCache will invalidate and refresh the subscription cache.
diff --git a/backend/enterprise/api/limit.go b/backend/enterprise/api/limit.go
index ed30b83fb6..5f1178bbc3 100644
--- a/backend/enterprise/api/limit.go
+++ b/backend/enterprise/api/limit.go
@@ -11,13 +11,6 @@ import (
//go:embed plan.yaml
var planConfigStr string
-const (
- // InstanceLimitForTrial is the instance count limit for trialing.
- InstanceLimitForTrial = 10
- // TrialDaysLimit is the expiration limit for trialing.
- TrialDaysLimit = 14
-)
-
// PlanLimit is the type for plan limits.
type PlanLimit int
@@ -33,7 +26,7 @@ const (
)
// PlanLimitValues is the plan limit value mapping.
-var PlanLimitValues = map[PlanLimit]map[api.PlanType]int64{
+var PlanLimitValues = map[PlanLimit]map[api.PlanType]int{
PlanLimitMaximumTask: {},
PlanLimitMaximumEnvironment: {},
PlanLimitMaximumInstance: {},
@@ -42,10 +35,10 @@ var PlanLimitValues = map[PlanLimit]map[api.PlanType]int64{
type planLimitConfig struct {
Type api.PlanType `yaml:"type"`
- MaximumInstanceCount int64 `yaml:"maximumInstanceCount"`
- MaximumSeatCount int64 `yaml:"maximumSeatCount"`
- MaximumTaskCount int64 `yaml:"maximumTaskCount"`
- MaximumEnvironmentCount int64 `yaml:"maximumEnvironmentCount"`
+ MaximumInstanceCount int `yaml:"maximumInstanceCount"`
+ MaximumSeatCount int `yaml:"maximumSeatCount"`
+ MaximumTaskCount int `yaml:"maximumTaskCount"`
+ MaximumEnvironmentCount int `yaml:"maximumEnvironmentCount"`
}
type planConfg struct {
diff --git a/backend/enterprise/api/plan.yaml b/backend/enterprise/api/plan.yaml
index 9a5d9cd0b7..acaf1d21e5 100644
--- a/backend/enterprise/api/plan.yaml
+++ b/backend/enterprise/api/plan.yaml
@@ -128,24 +128,24 @@ planList:
- webhook-integration
- type: 1
title: team
- trialDays: 14
+ trialDays: 0
unitPrice: 0
trialPrice: 0
- freeSeatCount: -1
- freeInstanceCount: 0
- maximumInstanceCount: 20
- maximumSeatCount: -1
+ freeSeatCount: 0
+ freeInstanceCount: 10
+ maximumInstanceCount: 10
+ maximumSeatCount: 20
maximumTaskCount: -1
maximumEnvironmentCount: -1
- pricePerSeatPerMonth: 0
- pricePerInstancePerMonth: 100
+ pricePerSeatPerMonth: 20
+ pricePerInstancePerMonth: 0
featureList:
# Change Management
- type: user-count
- content: user-unlimited
+ content: user-maximum-20
- type: instance-count
- content: instance-maximum-20
- tooltip: instance-maximum-20-tooltip
+ content: instance-maximum-10
+ tooltip: instance-maximum-10-tooltip
- type: state-based-change
- type: migration-based-change
- type: sql-check
diff --git a/backend/enterprise/plugin/aws/aws.go b/backend/enterprise/plugin/aws/aws.go
index 42590478bc..dd57687351 100644
--- a/backend/enterprise/plugin/aws/aws.go
+++ b/backend/enterprise/plugin/aws/aws.go
@@ -111,9 +111,15 @@ func (p *Provider) LoadSubscription(ctx context.Context) *enterprise.Subscriptio
}
for _, entitlement := range license.Entitlements {
- if v := entitlement.Name; v != nil && *v == "instance" {
+ name := entitlement.Name
+ if name == nil {
+ continue
+ }
+ switch *name {
+ case "instance":
subscription.InstanceCount = int(aws.ToInt64(entitlement.MaxCount))
- break
+ case "seat":
+ subscription.Seat = int(aws.ToInt64(entitlement.MaxCount))
}
}
diff --git a/backend/enterprise/service/license.go b/backend/enterprise/service/license.go
index dc6382cd77..86da3f43ca 100644
--- a/backend/enterprise/service/license.go
+++ b/backend/enterprise/service/license.go
@@ -6,7 +6,6 @@ import (
"math"
"time"
- "github.com/golang-jwt/jwt/v5"
"github.com/pkg/errors"
"github.com/bytebase/bytebase/backend/common"
@@ -26,16 +25,6 @@ type LicenseService struct {
provider plugin.LicenseProvider
}
-// Claims creates a struct that will be encoded to a JWT.
-// We add jwt.RegisteredClaims as an embedded type, to provide fields such as name.
-type Claims struct {
- InstanceCount int `json:"instanceCount"`
- Trialing bool `json:"trialing"`
- Plan string `json:"plan"`
- OrgName string `json:"orgName"`
- jwt.RegisteredClaims
-}
-
// NewLicenseService will create a new enterprise license service.
func NewLicenseService(mode common.ReleaseMode, store *store.Store) (*LicenseService, error) {
provider, err := getLicenseProvider(&plugin.ProviderConfig{
@@ -127,17 +116,33 @@ func (s *LicenseService) GetEffectivePlan() api.PlanType {
}
// GetPlanLimitValue gets the limit value for the plan.
-func (s *LicenseService) GetPlanLimitValue(ctx context.Context, name enterprise.PlanLimit) int64 {
+func (s *LicenseService) GetPlanLimitValue(ctx context.Context, name enterprise.PlanLimit) int {
v, ok := enterprise.PlanLimitValues[name]
if !ok {
return 0
}
-
subscription := s.LoadSubscription(ctx)
limit := v[subscription.Plan]
if limit == -1 {
- return math.MaxInt64
+ limit = math.MaxInt
}
+
+ switch subscription.Plan {
+ case api.FREE:
+ return limit
+ case api.TEAM, api.ENTERPRISE:
+ switch name {
+ case enterprise.PlanLimitMaximumInstance:
+ return limit
+ case enterprise.PlanLimitMaximumUser:
+ if subscription.Seat == 0 {
+ // to compatible with old license.
+ return limit
+ }
+ return subscription.Seat
+ }
+ }
+
return limit
}
diff --git a/frontend/src/components/PricingTable/PricingTable.vue b/frontend/src/components/PricingTable/PricingTable.vue
index d4c5d5ab3d..249f251797 100644
--- a/frontend/src/components/PricingTable/PricingTable.vue
+++ b/frontend/src/components/PricingTable/PricingTable.vue
@@ -335,10 +335,10 @@ const plans = computed((): LocalPlan[] => {
pricing:
plan.type === PlanType.ENTERPRISE
? t("subscription.contact-us")
- : `${plan.pricePerInstancePerMonth}`,
+ : `${plan.pricePerSeatPerMonth}`,
priceSuffix:
plan.type === PlanType.TEAM
- ? t("subscription.price-unit-for-team")
+ ? t("subscription.price-unit-for-user")
: plan.type === PlanType.ENTERPRISE
? ""
: t("subscription.per-month"),
diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.json
index a288559f2e..40eeee4a10 100644
--- a/frontend/src/locales/subscription/en-US.json
+++ b/frontend/src/locales/subscription/en-US.json
@@ -12,12 +12,13 @@
"disabled-feature": "This is a premium feature in subscription plan",
"upgrade": "Upgrade subscription",
"per-month": "/ month",
- "price-unit-for-team": "/ instance / month",
+ "price-unit-for-instance": "/ instance / month",
+ "price-unit-for-user": "/ user / month",
"billed-annually": "Billed annually",
"billed-monthly": "Billed monthly",
"per-instance": "Per instance",
"free-price-intro": "Up to {users} users and {instances} instances",
- "team-price-intro": "Purchase up to {instances} instances",
+ "team-price-intro": "{instances} free instances, purchase up to {users} users",
"enterprise-price-intro": "Customized, billed annually",
"deploy": "Deploy",
"contact-us": "Contact us",
diff --git a/frontend/src/locales/subscription/es-ES.json b/frontend/src/locales/subscription/es-ES.json
index e15ea3c484..d77a260065 100644
--- a/frontend/src/locales/subscription/es-ES.json
+++ b/frontend/src/locales/subscription/es-ES.json
@@ -12,12 +12,13 @@
"disabled-feature": "Esta es una función premium en el plan de suscripción",
"upgrade": "Actualizar suscripción",
"per-month": "/ mes",
- "price-unit-for-team": "/ instancia / mes",
+ "price-unit-for-instance": "/instancia/mes",
+ "price-unit-for-user": "/ usuario / mes",
"billed-annually": "Facturado anualmente",
"billed-monthly": "Facturado mensualmente",
"per-instance": "Por instancia",
"free-price-intro": "Hasta {users} usuarios y {instances} instancias",
- "team-price-intro": "Compra hasta {instances} instancias",
+ "team-price-intro": "{instances} instancias gratuitas, compre hasta {users} usuarios",
"enterprise-price-intro": "Personalizado, facturado anualmente",
"deploy": "Desplegar",
"contact-us": "Contáctenos",
@@ -190,4 +191,4 @@
"2fa": "Autenticación de dos factores (2FA)",
"custom-approval": "Aprobación personalizada"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/subscription/ja-JP.json b/frontend/src/locales/subscription/ja-JP.json
index ca25ad0598..bb31d4652f 100644
--- a/frontend/src/locales/subscription/ja-JP.json
+++ b/frontend/src/locales/subscription/ja-JP.json
@@ -12,12 +12,13 @@
"disabled-feature": "これはサブスクリプションプランのプレミアム機能です",
"upgrade": "サブスクリプションをアップグレードする",
"per-month": "/ 月",
- "price-unit-for-team": "/ インスタンス / 月",
+ "price-unit-for-instance": "/ インスタンス / 月",
+ "price-unit-for-user": "/ ユーザー / 月",
"billed-annually": "年間請求",
"billed-monthly": "月額請求",
"per-instance": "インスタンスごと",
"free-price-intro": "最大{users}ユーザーと{instances}インスタンスまで",
- "team-price-intro": "最大{instances}インスタンスまで購入できます",
+ "team-price-intro": "{instances} インスタンスは無料、最大 {users} ユーザーまで購入可能",
"enterprise-price-intro": "カスタマイズされ、年間請求",
"deploy": "デプロイ",
"contact-us": "お問い合わせ",
@@ -190,4 +191,4 @@
"2fa": "二要素認証(2FA)",
"custom-approval": "カスタム承認"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.json
index d5b1b69e90..28b8cd122f 100644
--- a/frontend/src/locales/subscription/zh-CN.json
+++ b/frontend/src/locales/subscription/zh-CN.json
@@ -12,12 +12,13 @@
"disabled-feature": "这是一个订阅版高级功能",
"upgrade": "升级订阅",
"per-month": "/ 月",
- "price-unit-for-team": "/ 实例 / 月",
+ "price-unit-for-instance": "/ 实例 / 月",
+ "price-unit-for-user": "/ 用户 / 月",
"billed-annually": "按年付费",
"billed-monthly": "按月付费",
"per-instance": "每个实例",
"free-price-intro": "最多 {users} 个用户,{instances} 个实例",
- "team-price-intro": "最多购买 {instances} 个实例",
+ "team-price-intro": "{instances} 个免费实例,最多购买 {users} 个用户",
"enterprise-price-intro": "自定义,按年付费",
"deploy": "部署",
"contact-us": "联系我们",
@@ -190,4 +191,4 @@
"2fa": "双重认证 (2FA)",
"custom-approval": "自定义审批"
}
-}
\ No newline at end of file
+}
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index f0c4f721b5..3d87733995 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -3847,4 +3847,4 @@
"setup": {
"self": "设置"
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/store/modules/v1/subscription.ts b/frontend/src/store/modules/v1/subscription.ts
index 5c3a8ea370..aab157ac32 100644
--- a/frontend/src/store/modules/v1/subscription.ts
+++ b/frontend/src/store/modules/v1/subscription.ts
@@ -39,14 +39,25 @@ export const useSubscriptionV1Store = defineStore("subscription_v1", {
}
return limit;
},
- userCountLimit(): number {
- const limit =
+ userCountLimit(state): number {
+ let limit =
PLANS.find((plan) => plan.type === this.currentPlan)
?.maximumSeatCount ?? 0;
if (limit < 0) {
- return Number.MAX_VALUE;
+ limit = Number.MAX_VALUE;
+ }
+
+ switch (this.currentPlan) {
+ case PlanType.FREE:
+ return limit;
+ default: {
+ const seatCount = state.subscription?.seatCount ?? 0;
+ if (seatCount === 0) {
+ return limit;
+ }
+ return seatCount;
+ }
}
- return limit;
},
instanceLicenseCount(state): number {
const count = state.subscription?.instanceCount ?? 0;
diff --git a/frontend/src/types/proto/v1/subscription_service.ts b/frontend/src/types/proto/v1/subscription_service.ts
index faa1e9be65..cc7fe1f82c 100644
--- a/frontend/src/types/proto/v1/subscription_service.ts
+++ b/frontend/src/types/proto/v1/subscription_service.ts
@@ -87,6 +87,7 @@ export interface PatchSubscription {
}
export interface Subscription {
+ seatCount: number;
instanceCount: number;
expiresTime: Timestamp | undefined;
startedTime: Timestamp | undefined;
@@ -316,6 +317,7 @@ export const PatchSubscription: MessageFns<PatchSubscription> = {
function createBaseSubscription(): Subscription {
return {
+ seatCount: 0,
instanceCount: 0,
expiresTime: undefined,
startedTime: undefined,
@@ -328,6 +330,9 @@ function createBaseSubscription(): Subscription {
export const Subscription: MessageFns<Subscription> = {
encode(message: Subscription, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.seatCount !== 0) {
+ writer.uint32(8).int32(message.seatCount);
+ }
if (message.instanceCount !== 0) {
writer.uint32(16).int32(message.instanceCount);
}
@@ -359,6 +364,13 @@ export const Subscription: MessageFns<Subscription> = {
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
+ case 1:
+ if (tag !== 8) {
+ break;
+ }
+
+ message.seatCount = reader.int32();
+ continue;
case 2:
if (tag !== 16) {
break;
@@ -419,6 +431,7 @@ export const Subscription: MessageFns<Subscription> = {
fromJSON(object: any): Subscription {
return {
+ seatCount: isSet(object.seatCount) ? globalThis.Number(object.seatCount) : 0,
instanceCount: isSet(object.instanceCount) ? globalThis.Number(object.instanceCount) : 0,
expiresTime: isSet(object.expiresTime) ? fromJsonTimestamp(object.expiresTime) : undefined,
startedTime: isSet(object.startedTime) ? fromJsonTimestamp(object.startedTime) : undefined,
@@ -431,6 +444,9 @@ export const Subscription: MessageFns<Subscription> = {
toJSON(message: Subscription): unknown {
const obj: any = {};
+ if (message.seatCount !== 0) {
+ obj.seatCount = Math.round(message.seatCount);
+ }
if (message.instanceCount !== 0) {
obj.instanceCount = Math.round(message.instanceCount);
}
@@ -460,6 +476,7 @@ export const Subscription: MessageFns<Subscription> = {
},
fromPartial(object: DeepPartial<Subscription>): Subscription {
const message = createBaseSubscription();
+ message.seatCount = object.seatCount ?? 0;
message.instanceCount = object.instanceCount ?? 0;
message.expiresTime = (object.expiresTime !== undefined && object.expiresTime !== null)
? Timestamp.fromPartial(object.expiresTime)
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index bf6796c3a4..e6448b7d54 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -14146,6 +14146,10 @@ components:
Subscription:
type: object
properties:
+ seatCount:
+ readOnly: true
+ type: integer
+ format: int32
instanceCount:
readOnly: true
type: integer
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 7103c1aad4..392f28d7a1 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -4085,6 +4085,7 @@ ANY means approving any node will proceed.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+| seat_count | [int32](#int32) | | |
| instance_count | [int32](#int32) | | |
| expires_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
| started_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 4c6d36eb7c..c46ad6ac1c 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -12226,6 +12226,13 @@ The access is based on approval flow.</p></td>
</thead>
<tbody>
+ <tr>
+ <td>seat_count</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
<tr>
<td>instance_count</td>
<td><a href="#int32">int32</a></td>
diff --git a/proto/generated-go/v1/subscription_service.pb.go b/proto/generated-go/v1/subscription_service.pb.go
index 6dde3917f9..688603f510 100644
--- a/proto/generated-go/v1/subscription_service.pb.go
+++ b/proto/generated-go/v1/subscription_service.pb.go
@@ -241,6 +241,7 @@ type Subscription struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ SeatCount int32 `protobuf:"varint,1,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"`
InstanceCount int32 `protobuf:"varint,2,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"`
ExpiresTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"`
StartedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"`
@@ -280,6 +281,13 @@ func (*Subscription) Descriptor() ([]byte, []int) {
return file_v1_subscription_service_proto_rawDescGZIP(), []int{4}
}
+func (x *Subscription) GetSeatCount() int32 {
+ if x != nil {
+ return x.SeatCount
+ }
+ return 0
+}
+
func (x *Subscription) GetInstanceCount() int32 {
if x != nil {
return x.InstanceCount
@@ -455,73 +463,76 @@ var file_v1_subscription_service_proto_rawDesc = []byte{
0x63, 0x68, 0x22, 0x2d, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x62, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e,
0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73,
- 0x65, 0x22, 0xd6, 0x02, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,
- 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
- 0x43, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x65, 0x22, 0xfb, 0x02, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x09, 0x73, 0x65,
+ 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61,
+ 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42,
+ 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43,
+ 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x73, 0x74,
- 0x61, 0x72, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x70, 0x6c, 0x61,
- 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04,
- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x20, 0x0a, 0x08, 0x74, 0x72,
- 0x69, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x04, 0xe2, 0x41,
- 0x01, 0x03, 0x52, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x06,
- 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
- 0x01, 0x03, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x08, 0x6f, 0x72, 0x67,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
- 0x03, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x41, 0x0a, 0x0d, 0x46, 0x65,
- 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x30, 0x0a, 0x08, 0x66,
- 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74,
- 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x92, 0x01,
- 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a,
- 0x06, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74,
- 0x75, 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
- 0x06, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x1a, 0x39, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x72, 0x69,
- 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x2a, 0x49, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19,
- 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x52, 0x45,
- 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x41, 0x4d, 0x10, 0x02, 0x12, 0x0e, 0x0a,
- 0x0a, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, 0x49, 0x53, 0x45, 0x10, 0x03, 0x32, 0x95, 0x03,
- 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1f, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30,
- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70, 0x0a, 0x10, 0x47, 0x65, 0x74,
- 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x24, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46,
- 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x22,
- 0x1a, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12, 0x0b,
- 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x97, 0x01, 0x0a, 0x12,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0xda, 0x41, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x8a,
- 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x73,
- 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x3a, 0x05, 0x70, 0x61,
- 0x74, 0x63, 0x68, 0x32, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
- 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x65, 0x78,
+ 0x70, 0x69, 0x72, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x73, 0x74, 0x61,
+ 0x72, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01,
+ 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f,
+ 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x54,
+ 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12,
+ 0x20, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x08, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x6e,
+ 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x1f,
+ 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22,
+ 0x41, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78,
+ 0x12, 0x30, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12,
+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x1a, 0x39, 0x0a, 0x0b,
+ 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x49, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x6e, 0x54,
+ 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08,
+ 0x0a, 0x04, 0x46, 0x52, 0x45, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x41, 0x4d,
+ 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, 0x49, 0x53, 0x45,
+ 0x10, 0x03, 0x32, 0x95, 0x03, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65,
+ 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53,
+ 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1f, 0xda,
+ 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76,
+ 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70,
+ 0x0a, 0x10, 0x47, 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72,
+ 0x69, 0x78, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69,
+ 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61,
+ 0x74, 0x72, 0x69, 0x78, 0x22, 0x1a, 0xda, 0x41, 0x00, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x0d, 0x12, 0x0b, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
+ 0x12, 0x97, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63,
+ 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73,
+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75,
+ 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0xda, 0x41, 0x05, 0x70,
+ 0x61, 0x74, 0x63, 0x68, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69,
+ 0x6e, 0x67, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x19, 0x3a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x32, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75,
+ 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65,
+ 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/proto/v1/subscription_service.proto b/proto/v1/subscription_service.proto
index 4a5bd9d84d..031605fd97 100644
--- a/proto/v1/subscription_service.proto
+++ b/proto/v1/subscription_service.proto
@@ -55,6 +55,8 @@ message PatchSubscription {
}
message Subscription {
+ int32 seat_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
int32 instance_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
google.protobuf.Timestamp expires_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];