Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(proto): affected rows and risk level in check release response (#15186)
boojackad1659eb9642
diff --git a/frontend/src/types/proto/google/protobuf/descriptor.ts b/frontend/src/types/proto/google/protobuf/descriptor.tsindex ae3f877dc7..2fdf22f5e2 100644--- a/frontend/src/types/proto/google/protobuf/descriptor.ts+++ b/frontend/src/types/proto/google/protobuf/descriptor.ts@@ -36,7 +36,7 @@ export enum Edition {EDITION_2024 = "EDITION_2024",/*** EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be- * used or relyed on outside of tests.+ * used or relied on outside of tests.*/EDITION_1_TEST_ONLY = "EDITION_1_TEST_ONLY",EDITION_2_TEST_ONLY = "EDITION_2_TEST_ONLY",@@ -1093,12 +1093,13 @@ export interface MessageOptions {export interface FieldOptions {/**+ * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.* The ctype option instructs the C++ code generator to use a different* representation of the field than it normally would. See the specific* options below. This option is only implemented to support use of* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of- * type "bytes" in the open source release -- sorry, we'll try to include- * other types in a future version!+ * type "bytes" in the open source release.+ * TODO: make ctype actually deprecated.*/ctype?:| FieldOptions_CType@@ -1314,11 +1315,7 @@ export function fieldOptions_JSTypeToNumber(object: FieldOptions_JSType): number}}-/**- * If set to RETENTION_SOURCE, the option will be omitted from the binary.- * Note: as of January 2023, support for this is in progress and does not yet- * have an effect (b/264593489).- */+/** If set to RETENTION_SOURCE, the option will be omitted from the binary. */export enum FieldOptions_OptionRetention {RETENTION_UNKNOWN = "RETENTION_UNKNOWN",RETENTION_RUNTIME = "RETENTION_RUNTIME",@@ -1375,8 +1372,7 @@ export function fieldOptions_OptionRetentionToNumber(object: FieldOptions_Option/*** This indicates the types of entities that the field may apply to when used* as an option. If it is unset, then the field may be freely used as an- * option on any kind of entity. Note: as of January 2023, support for this is- * in progress and does not yet have an effect (b/264593489).+ * option on any kind of entity.*/export enum FieldOptions_OptionTargetType {TARGET_TYPE_UNKNOWN = "TARGET_TYPE_UNKNOWN",diff --git a/frontend/src/types/proto/v1/release_service.ts b/frontend/src/types/proto/v1/release_service.tsindex a9e41bab56..56865d9199 100644--- a/frontend/src/types/proto/v1/release_service.ts+++ b/frontend/src/types/proto/v1/release_service.ts@@ -156,6 +156,71 @@ export interface CheckReleaseRequest {export interface CheckReleaseResponse {results: CheckReleaseResponse_CheckResult[];+ /** The affected rows of the check. */+ affectedRows: number;+ /** The aggregated risk level of the check. */+ riskLevel: CheckReleaseResponse_RiskLevel;+}++export enum CheckReleaseResponse_RiskLevel {+ RISK_LEVEL_UNSPECIFIED = "RISK_LEVEL_UNSPECIFIED",+ LOW = "LOW",+ MODERATE = "MODERATE",+ HIGH = "HIGH",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function checkReleaseResponse_RiskLevelFromJSON(object: any): CheckReleaseResponse_RiskLevel {+ switch (object) {+ case 0:+ case "RISK_LEVEL_UNSPECIFIED":+ return CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED;+ case 1:+ case "LOW":+ return CheckReleaseResponse_RiskLevel.LOW;+ case 2:+ case "MODERATE":+ return CheckReleaseResponse_RiskLevel.MODERATE;+ case 3:+ case "HIGH":+ return CheckReleaseResponse_RiskLevel.HIGH;+ case -1:+ case "UNRECOGNIZED":+ default:+ return CheckReleaseResponse_RiskLevel.UNRECOGNIZED;+ }+}++export function checkReleaseResponse_RiskLevelToJSON(object: CheckReleaseResponse_RiskLevel): string {+ switch (object) {+ case CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED:+ return "RISK_LEVEL_UNSPECIFIED";+ case CheckReleaseResponse_RiskLevel.LOW:+ return "LOW";+ case CheckReleaseResponse_RiskLevel.MODERATE:+ return "MODERATE";+ case CheckReleaseResponse_RiskLevel.HIGH:+ return "HIGH";+ case CheckReleaseResponse_RiskLevel.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function checkReleaseResponse_RiskLevelToNumber(object: CheckReleaseResponse_RiskLevel): number {+ switch (object) {+ case CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED:+ return 0;+ case CheckReleaseResponse_RiskLevel.LOW:+ return 1;+ case CheckReleaseResponse_RiskLevel.MODERATE:+ return 2;+ case CheckReleaseResponse_RiskLevel.HIGH:+ return 3;+ case CheckReleaseResponse_RiskLevel.UNRECOGNIZED:+ default:+ return -1;+ }}export interface CheckReleaseResponse_CheckResult {@@ -168,6 +233,8 @@ export interface CheckReleaseResponse_CheckResult {target: string;/** The list of advice for the file and the target. */advices: Advice[];+ /** The count of affected rows of the statement on the target. */+ affectedRows: number;}export interface Release {@@ -880,7 +947,7 @@ export const CheckReleaseRequest: MessageFns<CheckReleaseRequest> = {};function createBaseCheckReleaseResponse(): CheckReleaseResponse {- return { results: [] };+ return { results: [], affectedRows: 0, riskLevel: CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED };}export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {@@ -888,6 +955,12 @@ export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {for (const v of message.results) {CheckReleaseResponse_CheckResult.encode(v!, writer.uint32(10).fork()).join();}+ if (message.affectedRows !== 0) {+ writer.uint32(16).int32(message.affectedRows);+ }+ if (message.riskLevel !== CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED) {+ writer.uint32(24).int32(checkReleaseResponse_RiskLevelToNumber(message.riskLevel));+ }return writer;},@@ -906,6 +979,22 @@ export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {message.results.push(CheckReleaseResponse_CheckResult.decode(reader, reader.uint32()));continue;}+ case 2: {+ if (tag !== 16) {+ break;+ }++ message.affectedRows = reader.int32();+ continue;+ }+ case 3: {+ if (tag !== 24) {+ break;+ }++ message.riskLevel = checkReleaseResponse_RiskLevelFromJSON(reader.int32());+ continue;+ }}if ((tag & 7) === 4 || tag === 0) {break;@@ -920,6 +1009,10 @@ export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {results: globalThis.Array.isArray(object?.results)? object.results.map((e: any) => CheckReleaseResponse_CheckResult.fromJSON(e)): [],+ affectedRows: isSet(object.affectedRows) ? globalThis.Number(object.affectedRows) : 0,+ riskLevel: isSet(object.riskLevel)+ ? checkReleaseResponse_RiskLevelFromJSON(object.riskLevel)+ : CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED,};},@@ -928,6 +1021,12 @@ export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {if (message.results?.length) {obj.results = message.results.map((e) => CheckReleaseResponse_CheckResult.toJSON(e));}+ if (message.affectedRows !== 0) {+ obj.affectedRows = Math.round(message.affectedRows);+ }+ if (message.riskLevel !== CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED) {+ obj.riskLevel = checkReleaseResponse_RiskLevelToJSON(message.riskLevel);+ }return obj;},@@ -937,12 +1036,14 @@ export const CheckReleaseResponse: MessageFns<CheckReleaseResponse> = {fromPartial(object: DeepPartial<CheckReleaseResponse>): CheckReleaseResponse {const message = createBaseCheckReleaseResponse();message.results = object.results?.map((e) => CheckReleaseResponse_CheckResult.fromPartial(e)) || [];+ message.affectedRows = object.affectedRows ?? 0;+ message.riskLevel = object.riskLevel ?? CheckReleaseResponse_RiskLevel.RISK_LEVEL_UNSPECIFIED;return message;},};function createBaseCheckReleaseResponse_CheckResult(): CheckReleaseResponse_CheckResult {- return { file: "", target: "", advices: [] };+ return { file: "", target: "", advices: [], affectedRows: 0 };}export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_CheckResult> = {@@ -956,6 +1057,9 @@ export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_Cfor (const v of message.advices) {Advice.encode(v!, writer.uint32(26).fork()).join();}+ if (message.affectedRows !== 0) {+ writer.uint32(32).int32(message.affectedRows);+ }return writer;},@@ -990,6 +1094,14 @@ export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_Cmessage.advices.push(Advice.decode(reader, reader.uint32()));continue;}+ case 4: {+ if (tag !== 32) {+ break;+ }++ message.affectedRows = reader.int32();+ continue;+ }}if ((tag & 7) === 4 || tag === 0) {break;@@ -1004,6 +1116,7 @@ export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_Cfile: isSet(object.file) ? globalThis.String(object.file) : "",target: isSet(object.target) ? globalThis.String(object.target) : "",advices: globalThis.Array.isArray(object?.advices) ? object.advices.map((e: any) => Advice.fromJSON(e)) : [],+ affectedRows: isSet(object.affectedRows) ? globalThis.Number(object.affectedRows) : 0,};},@@ -1018,6 +1131,9 @@ export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_Cif (message.advices?.length) {obj.advices = message.advices.map((e) => Advice.toJSON(e));}+ if (message.affectedRows !== 0) {+ obj.affectedRows = Math.round(message.affectedRows);+ }return obj;},@@ -1029,6 +1145,7 @@ export const CheckReleaseResponse_CheckResult: MessageFns<CheckReleaseResponse_Cmessage.file = object.file ?? "";message.target = object.target ?? "";message.advices = object.advices?.map((e) => Advice.fromPartial(e)) || [];+ message.affectedRows = object.affectedRows ?? 0;return message;},};diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 92fd053bbf..8cbfda6ce1 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -9042,6 +9042,19 @@ components:type: arrayitems:$ref: '#/components/schemas/CheckReleaseResponse_CheckResult'+ affectedRows:+ type: integer+ description: The affected rows of the check.+ format: int32+ riskLevel:+ enum:+ - RISK_LEVEL_UNSPECIFIED+ - LOW+ - MODERATE+ - HIGH+ type: string+ description: The aggregated risk level of the check.+ format: enumCheckReleaseResponse_CheckResult:type: objectproperties:@@ -9058,6 +9071,10 @@ components:items:$ref: '#/components/schemas/Advice'description: The list of advice for the file and the target.+ affectedRows:+ type: integer+ description: The count of affected rows of the statement on the target.+ format: int32CheckRequest:required:- namediff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex b23200ac44..28caa28a75 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -587,6 +587,7 @@- [UndeleteReleaseRequest](#bytebase-v1-UndeleteReleaseRequest)- [UpdateReleaseRequest](#bytebase-v1-UpdateReleaseRequest)+ - [CheckReleaseResponse.RiskLevel](#bytebase-v1-CheckReleaseResponse-RiskLevel)- [Release.File.ChangeType](#bytebase-v1-Release-File-ChangeType)- [ReleaseFileType](#bytebase-v1-ReleaseFileType)@@ -9364,6 +9365,8 @@ for field description.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || results | [CheckReleaseResponse.CheckResult](#bytebase-v1-CheckReleaseResponse-CheckResult) | repeated | |+| affected_rows | [int32](#int32) | | The affected rows of the check. |+| risk_level | [CheckReleaseResponse.RiskLevel](#bytebase-v1-CheckReleaseResponse-RiskLevel) | | The aggregated risk level of the check. |@@ -9381,6 +9384,7 @@ for field description.| file | [string](#string) | | The file path that is being checked. || target | [string](#string) | | The target that the check is performed on. Should be a database. Format: instances/{instance}/databases/{database} || advices | [Advice](#bytebase-v1-Advice) | repeated | The list of advice for the file and the target. |+| affected_rows | [int32](#int32) | | The count of affected rows of the statement on the target. |@@ -9562,6 +9566,20 @@ When paginating, all other parameters provided to `ListReleases` must match the+<a name="bytebase-v1-CheckReleaseResponse-RiskLevel"></a>++### CheckReleaseResponse.RiskLevel+++| Name | Number | Description |+| ---- | ------ | ----------- |+| RISK_LEVEL_UNSPECIFIED | 0 | |+| LOW | 1 | |+| MODERATE | 2 | |+| HIGH | 3 | |+++<a name="bytebase-v1-Release-File-ChangeType"></a>### Release.File.ChangeTypediff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 3f8bfc3cf4..e4d2ac48ee 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -2415,6 +2415,10 @@</li>+ <li>+ <a href="#bytebase.v1.CheckReleaseResponse.RiskLevel"><span class="badge">E</span>CheckReleaseResponse.RiskLevel</a>+ </li>+<li><a href="#bytebase.v1.Release.File.ChangeType"><span class="badge">E</span>Release.File.ChangeType</a></li>@@ -25964,6 +25968,20 @@ instances/{instance}/databases/{database} </p></td><td><p> </p></td></tr>+ <tr>+ <td>affected_rows</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The affected rows of the check. </p></td>+ </tr>++ <tr>+ <td>risk_level</td>+ <td><a href="#bytebase.v1.CheckReleaseResponse.RiskLevel">CheckReleaseResponse.RiskLevel</a></td>+ <td></td>+ <td><p>The aggregated risk level of the check. </p></td>+ </tr>+</tbody></table>@@ -26003,6 +26021,13 @@ Should be a database. Format: instances/{instance}/databases/{database} </p></td<td><p>The list of advice for the file and the target. </p></td></tr>+ <tr>+ <td>affected_rows</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The count of affected rows of the statement on the target. </p></td>+ </tr>+</tbody></table>@@ -26410,6 +26435,41 @@ Format: projects/{project}/releases/{release} </p></td>+ <h3 id="bytebase.v1.CheckReleaseResponse.RiskLevel">CheckReleaseResponse.RiskLevel</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>RISK_LEVEL_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>LOW</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>MODERATE</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>HIGH</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>+<h3 id="bytebase.v1.Release.File.ChangeType">Release.File.ChangeType</h3><p></p><table class="enum-table">diff --git a/proto/generated-go/v1/release_service.pb.go b/proto/generated-go/v1/release_service.pb.goindex 7254de936d..e55ce71547 100644--- a/proto/generated-go/v1/release_service.pb.go+++ b/proto/generated-go/v1/release_service.pb.go@@ -71,6 +71,58 @@ func (ReleaseFileType) EnumDescriptor() ([]byte, []int) {return file_v1_release_service_proto_rawDescGZIP(), []int{0}}+type CheckReleaseResponse_RiskLevel int32++const (+ CheckReleaseResponse_RISK_LEVEL_UNSPECIFIED CheckReleaseResponse_RiskLevel = 0+ CheckReleaseResponse_LOW CheckReleaseResponse_RiskLevel = 1+ CheckReleaseResponse_MODERATE CheckReleaseResponse_RiskLevel = 2+ CheckReleaseResponse_HIGH CheckReleaseResponse_RiskLevel = 3+)++// Enum value maps for CheckReleaseResponse_RiskLevel.+var (+ CheckReleaseResponse_RiskLevel_name = map[int32]string{+ 0: "RISK_LEVEL_UNSPECIFIED",+ 1: "LOW",+ 2: "MODERATE",+ 3: "HIGH",+ }+ CheckReleaseResponse_RiskLevel_value = map[string]int32{+ "RISK_LEVEL_UNSPECIFIED": 0,+ "LOW": 1,+ "MODERATE": 2,+ "HIGH": 3,+ }+)++func (x CheckReleaseResponse_RiskLevel) Enum() *CheckReleaseResponse_RiskLevel {+ p := new(CheckReleaseResponse_RiskLevel)+ *p = x+ return p+}++func (x CheckReleaseResponse_RiskLevel) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (CheckReleaseResponse_RiskLevel) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_release_service_proto_enumTypes[1].Descriptor()+}++func (CheckReleaseResponse_RiskLevel) Type() protoreflect.EnumType {+ return &file_v1_release_service_proto_enumTypes[1]+}++func (x CheckReleaseResponse_RiskLevel) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use CheckReleaseResponse_RiskLevel.Descriptor instead.+func (CheckReleaseResponse_RiskLevel) EnumDescriptor() ([]byte, []int) {+ return file_v1_release_service_proto_rawDescGZIP(), []int{8, 0}+}+type Release_File_ChangeType int32const (@@ -107,11 +159,11 @@ func (x Release_File_ChangeType) String() string {}func (Release_File_ChangeType) Descriptor() protoreflect.EnumDescriptor {- return file_v1_release_service_proto_enumTypes[1].Descriptor()+ return file_v1_release_service_proto_enumTypes[2].Descriptor()}func (Release_File_ChangeType) Type() protoreflect.EnumType {- return &file_v1_release_service_proto_enumTypes[1]+ return &file_v1_release_service_proto_enumTypes[2]}func (x Release_File_ChangeType) Number() protoreflect.EnumNumber {@@ -569,8 +621,12 @@ func (x *CheckReleaseRequest) GetTargets() []string {}type CheckReleaseResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- Results []*CheckReleaseResponse_CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`+ state protoimpl.MessageState `protogen:"open.v1"`+ Results []*CheckReleaseResponse_CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`+ // The affected rows of the check.+ AffectedRows int32 `protobuf:"varint,2,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`+ // The aggregated risk level of the check.+ RiskLevel CheckReleaseResponse_RiskLevel `protobuf:"varint,3,opt,name=risk_level,json=riskLevel,proto3,enum=bytebase.v1.CheckReleaseResponse_RiskLevel" json:"risk_level,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}@@ -612,6 +668,20 @@ func (x *CheckReleaseResponse) GetResults() []*CheckReleaseResponse_CheckResultreturn nil}+func (x *CheckReleaseResponse) GetAffectedRows() int32 {+ if x != nil {+ return x.AffectedRows+ }+ return 0+}++func (x *CheckReleaseResponse) GetRiskLevel() CheckReleaseResponse_RiskLevel {+ if x != nil {+ return x.RiskLevel+ }+ return CheckReleaseResponse_RISK_LEVEL_UNSPECIFIED+}+type Release struct {state protoimpl.MessageState `protogen:"open.v1"`// Format: projects/{project}/releases/{release}@@ -714,7 +784,9 @@ type CheckReleaseResponse_CheckResult struct {// Should be a database. Format: instances/{instance}/databases/{database}Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`// The list of advice for the file and the target.- Advices []*Advice `protobuf:"bytes,3,rep,name=advices,proto3" json:"advices,omitempty"`+ Advices []*Advice `protobuf:"bytes,3,rep,name=advices,proto3" json:"advices,omitempty"`+ // The count of affected rows of the statement on the target.+ AffectedRows int32 `protobuf:"varint,4,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}@@ -770,6 +842,13 @@ func (x *CheckReleaseResponse_CheckResult) GetAdvices() []*Advice {return nil}+func (x *CheckReleaseResponse_CheckResult) GetAffectedRows() int32 {+ if x != nil {+ return x.AffectedRows+ }+ return 0+}+type Release_File struct {state protoimpl.MessageState `protogen:"open.v1"`// The unique identifier for the file.@@ -1018,152 +1097,166 @@ var file_v1_release_service_proto_rawDesc = string([]byte{0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x42, 0x04,0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a,0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63,+ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0xaa, 0x03, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63,0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,0x12, 0x47, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70,0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,- 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x68, 0x0a, 0x0b, 0x43, 0x68, 0x65,- 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06,- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,- 0x72, 0x67, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x64, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18,- 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x61, 0x64, 0x76, 0x69,- 0x63, 0x65, 0x73, 0x22, 0xfd, 0x06, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12,- 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,- 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,- 0x2f, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,+ 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66,+ 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,+ 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x4a,+ 0x0a, 0x0a, 0x72, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52,+ 0x09, 0x72, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x1a, 0x8d, 0x01, 0x0a, 0x0b, 0x43,+ 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69,+ 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16,+ 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,+ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x64, 0x76, 0x69, 0x63, 0x65,+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x61, 0x64,+ 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,+ 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66,+ 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x48, 0x0a, 0x09, 0x52, 0x69,+ 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x49, 0x53, 0x4b, 0x5f,+ 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,+ 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,+ 0x4d, 0x4f, 0x44, 0x45, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49,+ 0x47, 0x48, 0x10, 0x03, 0x22, 0xfd, 0x06, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,+ 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,+ 0x12, 0x2f, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,+ 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65,+ 0x73, 0x12, 0x3d, 0x0a, 0x0a, 0x76, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, 0x56, 0x43, 0x53, 0x53,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x76, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,+ 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,+ 0x06, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,+ 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x05, 0x73, 0x74,+ 0x61, 0x74, 0x65, 0x1a, 0xac, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02,+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,+ 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,+ 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,+ 0x17, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,+ 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12,+ 0x27, 0x0a, 0x0c, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x65,+ 0x65, 0x74, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65,+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74,+ 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e,+ 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,+ 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x73, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,+ 0x03, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,+ 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4a, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54,+ 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,+ 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x44, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x44,+ 0x4c, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4d, 0x4c,+ 0x10, 0x03, 0x1a, 0x4e, 0x0a, 0x09, 0x56, 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,+ 0x2f, 0x0a, 0x08, 0x76, 0x63, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x56, 0x43, 0x53, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65,+ 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,+ 0x72, 0x6c, 0x3a, 0x40, 0xea, 0x41, 0x3d, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x25, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x65,+ 0x61, 0x73, 0x65, 0x7d, 0x2a, 0x36, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x46,+ 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a,+ 0x09, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x32, 0xf5, 0x08, 0x0a,+ 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,+ 0x8a, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1e,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c,- 0x65, 0x61, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73,- 0x12, 0x3d, 0x0a, 0x0a, 0x76, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, 0x56, 0x43, 0x53, 0x53, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x76, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,- 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12,- 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06,- 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,- 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,- 0x0e, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61,- 0x74, 0x65, 0x1a, 0xac, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70,- 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12,- 0x2d, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17,- 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,- 0x6d, 0x2f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x27,- 0x0a, 0x0c, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x65, 0x65,- 0x74, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x54,- 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,- 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79,- 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, 0x46,- 0x69, 0x6c, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a,- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74,- 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,- 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,- 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,- 0x74, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4a, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54,- 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59,- 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,- 0x12, 0x07, 0x0a, 0x03, 0x44, 0x44, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x44, 0x4c,- 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4d, 0x4c, 0x10,- 0x03, 0x1a, 0x4e, 0x0a, 0x09, 0x56, 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2f,- 0x0a, 0x08, 0x76, 0x63, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,- 0x43, 0x53, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12,- 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,- 0x6c, 0x3a, 0x40, 0xea, 0x41, 0x3d, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x25, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d,- 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x7d, 0x2a, 0x36, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x46, 0x69,- 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09,- 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x32, 0xf5, 0x08, 0x0a, 0x0e,- 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a,- 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1e, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,- 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65,- 0x61, 0x73, 0x65, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f,- 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90,- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,- 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9e, 0x01, 0x0a, 0x0c,- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,- 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,- 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x22, 0x49, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x10,- 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74,+ 0x65, 0x61, 0x73, 0x65, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,+ 0x0f, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74,0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0xa6, 0x01, 0x0a,- 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x21,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62,- 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x07, 0x72, 0x65, 0x6c, 0x65,- 0x61, 0x73, 0x65, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c,- 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0xb3, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65,- 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,- 0x22, 0x69, 0xda, 0x41, 0x13, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x72,- 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,- 0x65, 0x32, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e,- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,- 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x0d,- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x21, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,- 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73,- 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x22, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73,- 0x2f, 0x2a, 0x7d, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,- 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x22, 0x4d, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x6c,- 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,- 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e,- 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9e, 0x01, 0x0a,+ 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0x20, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,+ 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,+ 0x73, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x49, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30,+ 0x10, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73,+ 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31,0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x63, 0x68,- 0x65, 0x63, 0x6b, 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,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0xa6, 0x01,+ 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12,+ 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62,+ 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x07, 0x72, 0x65, 0x6c,+ 0x65, 0x61, 0x73, 0x65, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65,+ 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0xb3, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c,+ 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73,+ 0x65, 0x22, 0x69, 0xda, 0x41, 0x13, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e,+ 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61,+ 0x73, 0x65, 0x32, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a,+ 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x21,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x22, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,+ 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65,+ 0x61, 0x73, 0x65, 0x22, 0x4d, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x6c, 0x65,+ 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65,+ 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65,+ 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62,+ 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x90,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x63,+ 0x68, 0x65, 0x63, 0x6b, 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 (@@ -1178,65 +1271,67 @@ func file_v1_release_service_proto_rawDescGZIP() []byte {return file_v1_release_service_proto_rawDescData}-var file_v1_release_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)+var file_v1_release_service_proto_enumTypes = make([]protoimpl.EnumInfo, 3)var file_v1_release_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)var file_v1_release_service_proto_goTypes = []any{(ReleaseFileType)(0), // 0: bytebase.v1.ReleaseFileType- (Release_File_ChangeType)(0), // 1: bytebase.v1.Release.File.ChangeType- (*GetReleaseRequest)(nil), // 2: bytebase.v1.GetReleaseRequest- (*ListReleasesRequest)(nil), // 3: bytebase.v1.ListReleasesRequest- (*ListReleasesResponse)(nil), // 4: bytebase.v1.ListReleasesResponse- (*CreateReleaseRequest)(nil), // 5: bytebase.v1.CreateReleaseRequest- (*UpdateReleaseRequest)(nil), // 6: bytebase.v1.UpdateReleaseRequest- (*DeleteReleaseRequest)(nil), // 7: bytebase.v1.DeleteReleaseRequest- (*UndeleteReleaseRequest)(nil), // 8: bytebase.v1.UndeleteReleaseRequest- (*CheckReleaseRequest)(nil), // 9: bytebase.v1.CheckReleaseRequest- (*CheckReleaseResponse)(nil), // 10: bytebase.v1.CheckReleaseResponse- (*Release)(nil), // 11: bytebase.v1.Release- (*CheckReleaseResponse_CheckResult)(nil), // 12: bytebase.v1.CheckReleaseResponse.CheckResult- (*Release_File)(nil), // 13: bytebase.v1.Release.File- (*Release_VCSSource)(nil), // 14: bytebase.v1.Release.VCSSource- (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask- (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp- (State)(0), // 17: bytebase.v1.State- (*Advice)(nil), // 18: bytebase.v1.Advice- (VCSType)(0), // 19: bytebase.v1.VCSType- (*emptypb.Empty)(nil), // 20: google.protobuf.Empty+ (CheckReleaseResponse_RiskLevel)(0), // 1: bytebase.v1.CheckReleaseResponse.RiskLevel+ (Release_File_ChangeType)(0), // 2: bytebase.v1.Release.File.ChangeType+ (*GetReleaseRequest)(nil), // 3: bytebase.v1.GetReleaseRequest+ (*ListReleasesRequest)(nil), // 4: bytebase.v1.ListReleasesRequest+ (*ListReleasesResponse)(nil), // 5: bytebase.v1.ListReleasesResponse+ (*CreateReleaseRequest)(nil), // 6: bytebase.v1.CreateReleaseRequest+ (*UpdateReleaseRequest)(nil), // 7: bytebase.v1.UpdateReleaseRequest+ (*DeleteReleaseRequest)(nil), // 8: bytebase.v1.DeleteReleaseRequest+ (*UndeleteReleaseRequest)(nil), // 9: bytebase.v1.UndeleteReleaseRequest+ (*CheckReleaseRequest)(nil), // 10: bytebase.v1.CheckReleaseRequest+ (*CheckReleaseResponse)(nil), // 11: bytebase.v1.CheckReleaseResponse+ (*Release)(nil), // 12: bytebase.v1.Release+ (*CheckReleaseResponse_CheckResult)(nil), // 13: bytebase.v1.CheckReleaseResponse.CheckResult+ (*Release_File)(nil), // 14: bytebase.v1.Release.File+ (*Release_VCSSource)(nil), // 15: bytebase.v1.Release.VCSSource+ (*fieldmaskpb.FieldMask)(nil), // 16: google.protobuf.FieldMask+ (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp+ (State)(0), // 18: bytebase.v1.State+ (*Advice)(nil), // 19: bytebase.v1.Advice+ (VCSType)(0), // 20: bytebase.v1.VCSType+ (*emptypb.Empty)(nil), // 21: google.protobuf.Empty}var file_v1_release_service_proto_depIdxs = []int32{- 11, // 0: bytebase.v1.ListReleasesResponse.releases:type_name -> bytebase.v1.Release- 11, // 1: bytebase.v1.CreateReleaseRequest.release:type_name -> bytebase.v1.Release- 11, // 2: bytebase.v1.UpdateReleaseRequest.release:type_name -> bytebase.v1.Release- 15, // 3: bytebase.v1.UpdateReleaseRequest.update_mask:type_name -> google.protobuf.FieldMask- 11, // 4: bytebase.v1.CheckReleaseRequest.release:type_name -> bytebase.v1.Release- 12, // 5: bytebase.v1.CheckReleaseResponse.results:type_name -> bytebase.v1.CheckReleaseResponse.CheckResult- 13, // 6: bytebase.v1.Release.files:type_name -> bytebase.v1.Release.File- 14, // 7: bytebase.v1.Release.vcs_source:type_name -> bytebase.v1.Release.VCSSource- 16, // 8: bytebase.v1.Release.create_time:type_name -> google.protobuf.Timestamp- 17, // 9: bytebase.v1.Release.state:type_name -> bytebase.v1.State- 18, // 10: bytebase.v1.CheckReleaseResponse.CheckResult.advices:type_name -> bytebase.v1.Advice- 0, // 11: bytebase.v1.Release.File.type:type_name -> bytebase.v1.ReleaseFileType- 1, // 12: bytebase.v1.Release.File.change_type:type_name -> bytebase.v1.Release.File.ChangeType- 19, // 13: bytebase.v1.Release.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType- 2, // 14: bytebase.v1.ReleaseService.GetRelease:input_type -> bytebase.v1.GetReleaseRequest- 3, // 15: bytebase.v1.ReleaseService.ListReleases:input_type -> bytebase.v1.ListReleasesRequest- 5, // 16: bytebase.v1.ReleaseService.CreateRelease:input_type -> bytebase.v1.CreateReleaseRequest- 6, // 17: bytebase.v1.ReleaseService.UpdateRelease:input_type -> bytebase.v1.UpdateReleaseRequest- 7, // 18: bytebase.v1.ReleaseService.DeleteRelease:input_type -> bytebase.v1.DeleteReleaseRequest- 8, // 19: bytebase.v1.ReleaseService.UndeleteRelease:input_type -> bytebase.v1.UndeleteReleaseRequest- 9, // 20: bytebase.v1.ReleaseService.CheckRelease:input_type -> bytebase.v1.CheckReleaseRequest- 11, // 21: bytebase.v1.ReleaseService.GetRelease:output_type -> bytebase.v1.Release- 4, // 22: bytebase.v1.ReleaseService.ListReleases:output_type -> bytebase.v1.ListReleasesResponse- 11, // 23: bytebase.v1.ReleaseService.CreateRelease:output_type -> bytebase.v1.Release- 11, // 24: bytebase.v1.ReleaseService.UpdateRelease:output_type -> bytebase.v1.Release- 20, // 25: bytebase.v1.ReleaseService.DeleteRelease:output_type -> google.protobuf.Empty- 11, // 26: bytebase.v1.ReleaseService.UndeleteRelease:output_type -> bytebase.v1.Release- 10, // 27: bytebase.v1.ReleaseService.CheckRelease:output_type -> bytebase.v1.CheckReleaseResponse- 21, // [21:28] is the sub-list for method output_type- 14, // [14:21] is the sub-list for method input_type- 14, // [14:14] is the sub-list for extension type_name- 14, // [14:14] is the sub-list for extension extendee- 0, // [0:14] is the sub-list for field type_name+ 12, // 0: bytebase.v1.ListReleasesResponse.releases:type_name -> bytebase.v1.Release+ 12, // 1: bytebase.v1.CreateReleaseRequest.release:type_name -> bytebase.v1.Release+ 12, // 2: bytebase.v1.UpdateReleaseRequest.release:type_name -> bytebase.v1.Release+ 16, // 3: bytebase.v1.UpdateReleaseRequest.update_mask:type_name -> google.protobuf.FieldMask+ 12, // 4: bytebase.v1.CheckReleaseRequest.release:type_name -> bytebase.v1.Release+ 13, // 5: bytebase.v1.CheckReleaseResponse.results:type_name -> bytebase.v1.CheckReleaseResponse.CheckResult+ 1, // 6: bytebase.v1.CheckReleaseResponse.risk_level:type_name -> bytebase.v1.CheckReleaseResponse.RiskLevel+ 14, // 7: bytebase.v1.Release.files:type_name -> bytebase.v1.Release.File+ 15, // 8: bytebase.v1.Release.vcs_source:type_name -> bytebase.v1.Release.VCSSource+ 17, // 9: bytebase.v1.Release.create_time:type_name -> google.protobuf.Timestamp+ 18, // 10: bytebase.v1.Release.state:type_name -> bytebase.v1.State+ 19, // 11: bytebase.v1.CheckReleaseResponse.CheckResult.advices:type_name -> bytebase.v1.Advice+ 0, // 12: bytebase.v1.Release.File.type:type_name -> bytebase.v1.ReleaseFileType+ 2, // 13: bytebase.v1.Release.File.change_type:type_name -> bytebase.v1.Release.File.ChangeType+ 20, // 14: bytebase.v1.Release.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType+ 3, // 15: bytebase.v1.ReleaseService.GetRelease:input_type -> bytebase.v1.GetReleaseRequest+ 4, // 16: bytebase.v1.ReleaseService.ListReleases:input_type -> bytebase.v1.ListReleasesRequest+ 6, // 17: bytebase.v1.ReleaseService.CreateRelease:input_type -> bytebase.v1.CreateReleaseRequest+ 7, // 18: bytebase.v1.ReleaseService.UpdateRelease:input_type -> bytebase.v1.UpdateReleaseRequest+ 8, // 19: bytebase.v1.ReleaseService.DeleteRelease:input_type -> bytebase.v1.DeleteReleaseRequest+ 9, // 20: bytebase.v1.ReleaseService.UndeleteRelease:input_type -> bytebase.v1.UndeleteReleaseRequest+ 10, // 21: bytebase.v1.ReleaseService.CheckRelease:input_type -> bytebase.v1.CheckReleaseRequest+ 12, // 22: bytebase.v1.ReleaseService.GetRelease:output_type -> bytebase.v1.Release+ 5, // 23: bytebase.v1.ReleaseService.ListReleases:output_type -> bytebase.v1.ListReleasesResponse+ 12, // 24: bytebase.v1.ReleaseService.CreateRelease:output_type -> bytebase.v1.Release+ 12, // 25: bytebase.v1.ReleaseService.UpdateRelease:output_type -> bytebase.v1.Release+ 21, // 26: bytebase.v1.ReleaseService.DeleteRelease:output_type -> google.protobuf.Empty+ 12, // 27: bytebase.v1.ReleaseService.UndeleteRelease:output_type -> bytebase.v1.Release+ 11, // 28: bytebase.v1.ReleaseService.CheckRelease:output_type -> bytebase.v1.CheckReleaseResponse+ 22, // [22:29] is the sub-list for method output_type+ 15, // [15:22] is the sub-list for method input_type+ 15, // [15:15] is the sub-list for extension type_name+ 15, // [15:15] is the sub-list for extension extendee+ 0, // [0:15] is the sub-list for field type_name}func init() { file_v1_release_service_proto_init() }@@ -1252,7 +1347,7 @@ func file_v1_release_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_release_service_proto_rawDesc), len(file_v1_release_service_proto_rawDesc)),- NumEnums: 2,+ NumEnums: 3,NumMessages: 13,NumExtensions: 0,NumServices: 1,diff --git a/proto/v1/release_service.proto b/proto/v1/release_service.protoindex be43867752..8f54d5a9cb 100644--- a/proto/v1/release_service.proto+++ b/proto/v1/release_service.proto@@ -173,9 +173,24 @@ message CheckReleaseResponse {// The list of advice for the file and the target.repeated Advice advices = 3;++ // The count of affected rows of the statement on the target.+ int32 affected_rows = 4;}repeated CheckResult results = 1;++ // The affected rows of the check.+ int32 affected_rows = 2;++ enum RiskLevel {+ RISK_LEVEL_UNSPECIFIED = 0;+ LOW = 1;+ MODERATE = 2;+ HIGH = 3;+ }+ // The aggregated risk level of the check.+ RiskLevel risk_level = 3;}message Release {