Skip to content

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

chore: introduce rollback API (#13489)

rebelicec4b65f5d3da8
diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.ts
index d20a6e801a..d43574477b 100644
--- a/frontend/src/types/proto/v1/rollout_service.ts
+++ b/frontend/src/types/proto/v1/rollout_service.ts
@@ -945,6 +945,15 @@ export interface TaskRunSession_Postgres_Session {
queryStart?: Date | undefined;
}
+export interface PreviewTaskRunRollbackRequest {
+ /** Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} */
+ name: string;
+}
+
+export interface PreviewTaskRunRollbackResponse {
+ statement: string;
+}
+
function createBaseBatchRunTasksRequest(): BatchRunTasksRequest {
return { parent: "", tasks: [], reason: "" };
}
@@ -4894,6 +4903,120 @@ export const TaskRunSession_Postgres_Session = {
},
};
+function createBasePreviewTaskRunRollbackRequest(): PreviewTaskRunRollbackRequest {
+ return { name: "" };
+}
+
+export const PreviewTaskRunRollbackRequest = {
+ encode(message: PreviewTaskRunRollbackRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): PreviewTaskRunRollbackRequest {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBasePreviewTaskRunRollbackRequest();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): PreviewTaskRunRollbackRequest {
+ return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
+ },
+
+ toJSON(message: PreviewTaskRunRollbackRequest): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<PreviewTaskRunRollbackRequest>): PreviewTaskRunRollbackRequest {
+ return PreviewTaskRunRollbackRequest.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<PreviewTaskRunRollbackRequest>): PreviewTaskRunRollbackRequest {
+ const message = createBasePreviewTaskRunRollbackRequest();
+ message.name = object.name ?? "";
+ return message;
+ },
+};
+
+function createBasePreviewTaskRunRollbackResponse(): PreviewTaskRunRollbackResponse {
+ return { statement: "" };
+}
+
+export const PreviewTaskRunRollbackResponse = {
+ encode(message: PreviewTaskRunRollbackResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.statement !== "") {
+ writer.uint32(10).string(message.statement);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): PreviewTaskRunRollbackResponse {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBasePreviewTaskRunRollbackResponse();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.statement = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): PreviewTaskRunRollbackResponse {
+ return { statement: isSet(object.statement) ? globalThis.String(object.statement) : "" };
+ },
+
+ toJSON(message: PreviewTaskRunRollbackResponse): unknown {
+ const obj: any = {};
+ if (message.statement !== "") {
+ obj.statement = message.statement;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<PreviewTaskRunRollbackResponse>): PreviewTaskRunRollbackResponse {
+ return PreviewTaskRunRollbackResponse.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<PreviewTaskRunRollbackResponse>): PreviewTaskRunRollbackResponse {
+ const message = createBasePreviewTaskRunRollbackResponse();
+ message.statement = object.statement ?? "";
+ return message;
+ },
+};
+
export type RolloutServiceDefinition = typeof RolloutServiceDefinition;
export const RolloutServiceDefinition = {
name: "RolloutService",
@@ -5633,6 +5756,106 @@ export const RolloutServiceDefinition = {
},
},
},
+ previewTaskRunRollback: {
+ name: "PreviewTaskRunRollback",
+ requestType: PreviewTaskRunRollbackRequest,
+ requestStream: false,
+ responseType: PreviewTaskRunRollbackResponse,
+ responseStream: false,
+ options: {
+ _unknownFields: {
+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],
+ 800010: [new Uint8Array([16, 98, 98, 46, 116, 97, 115, 107, 82, 117, 110, 115, 46, 108, 105, 115, 116])],
+ 800016: [new Uint8Array([1])],
+ 578365826: [
+ new Uint8Array([
+ 81,
+ 58,
+ 1,
+ 42,
+ 34,
+ 76,
+ 47,
+ 118,
+ 49,
+ 47,
+ 123,
+ 110,
+ 97,
+ 109,
+ 101,
+ 61,
+ 112,
+ 114,
+ 111,
+ 106,
+ 101,
+ 99,
+ 116,
+ 115,
+ 47,
+ 42,
+ 47,
+ 114,
+ 111,
+ 108,
+ 108,
+ 111,
+ 117,
+ 116,
+ 115,
+ 47,
+ 42,
+ 47,
+ 115,
+ 116,
+ 97,
+ 103,
+ 101,
+ 115,
+ 47,
+ 42,
+ 47,
+ 116,
+ 97,
+ 115,
+ 107,
+ 115,
+ 47,
+ 42,
+ 47,
+ 116,
+ 97,
+ 115,
+ 107,
+ 82,
+ 117,
+ 110,
+ 115,
+ 47,
+ 42,
+ 125,
+ 58,
+ 112,
+ 114,
+ 101,
+ 118,
+ 105,
+ 101,
+ 119,
+ 82,
+ 111,
+ 108,
+ 108,
+ 98,
+ 97,
+ 99,
+ 107,
+ ]),
+ ],
+ },
+ },
+ },
},
} as const;
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 1809a24664..bf546254fb 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -5475,6 +5475,61 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Status'
+ /v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}:previewRollback:
+ post:
+ tags:
+ - RolloutService
+ operationId: RolloutService_PreviewTaskRunRollback
+ parameters:
+ - name: project
+ in: path
+ description: The project id.
+ required: true
+ schema:
+ type: string
+ - name: rollout
+ in: path
+ description: The rollout id.
+ required: true
+ schema:
+ type: string
+ - name: stage
+ in: path
+ description: The stage id.
+ required: true
+ schema:
+ type: string
+ - name: task
+ in: path
+ description: The task id.
+ required: true
+ schema:
+ type: string
+ - name: taskRun
+ in: path
+ description: The taskRun id.
+ required: true
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PreviewTaskRunRollbackRequest'
+ required: true
+ responses:
+ "200":
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PreviewTaskRunRollbackResponse'
+ default:
+ description: Default error response
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Status'
/v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns:batchCancel:
post:
tags:
@@ -11464,6 +11519,19 @@ components:
allOf:
- $ref: '#/components/schemas/Plan'
description: The plan used to preview rollout.
+ PreviewTaskRunRollbackRequest:
+ required:
+ - name
+ type: object
+ properties:
+ name:
+ type: string
+ description: 'Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}'
+ PreviewTaskRunRollbackResponse:
+ type: object
+ properties:
+ statement:
+ type: string
PriorBackupDetail:
type: object
properties:
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 065296a606..84d5b65512 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -515,6 +515,8 @@
- [ListTaskRunsRequest](#bytebase-v1-ListTaskRunsRequest)
- [ListTaskRunsResponse](#bytebase-v1-ListTaskRunsResponse)
- [PreviewRolloutRequest](#bytebase-v1-PreviewRolloutRequest)
+ - [PreviewTaskRunRollbackRequest](#bytebase-v1-PreviewTaskRunRollbackRequest)
+ - [PreviewTaskRunRollbackResponse](#bytebase-v1-PreviewTaskRunRollbackResponse)
- [Rollout](#bytebase-v1-Rollout)
- [Stage](#bytebase-v1-Stage)
- [Task](#bytebase-v1-Task)
@@ -8271,6 +8273,36 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat
+<a name="bytebase-v1-PreviewTaskRunRollbackRequest"></a>
+
+### PreviewTaskRunRollbackRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} |
+
+
+
+
+
+
+<a name="bytebase-v1-PreviewTaskRunRollbackResponse"></a>
+
+### PreviewTaskRunRollbackResponse
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| statement | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-v1-Rollout"></a>
### Rollout
@@ -8893,6 +8925,7 @@ Read from `pg_stat_activity`
| BatchRunTasks | [BatchRunTasksRequest](#bytebase-v1-BatchRunTasksRequest) | [BatchRunTasksResponse](#bytebase-v1-BatchRunTasksResponse) | BatchRunTasks creates task runs for the specified tasks. DataExport issue only allows the creator to run the task. Users with &#34;bb.taskRuns.create&#34; permission can run the task, e.g. Workspace Admin and DBA. Follow role-based rollout policy for the environment. |
| BatchSkipTasks | [BatchSkipTasksRequest](#bytebase-v1-BatchSkipTasksRequest) | [BatchSkipTasksResponse](#bytebase-v1-BatchSkipTasksResponse) | BatchSkipTasks skips the specified tasks. The access is the same as BatchRunTasks(). |
| BatchCancelTaskRuns | [BatchCancelTaskRunsRequest](#bytebase-v1-BatchCancelTaskRunsRequest) | [BatchCancelTaskRunsResponse](#bytebase-v1-BatchCancelTaskRunsResponse) | BatchSkipTasks cancels the specified task runs in batch. The access is the same as BatchRunTasks(). |
+| PreviewTaskRunRollback | [PreviewTaskRunRollbackRequest](#bytebase-v1-PreviewTaskRunRollbackRequest) | [PreviewTaskRunRollbackResponse](#bytebase-v1-PreviewTaskRunRollbackResponse) | |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 33b148a499..2c05b01263 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -2138,6 +2138,14 @@
<a href="#bytebase.v1.PreviewRolloutRequest"><span class="badge">M</span>PreviewRolloutRequest</a>
</li>
+ <li>
+ <a href="#bytebase.v1.PreviewTaskRunRollbackRequest"><span class="badge">M</span>PreviewTaskRunRollbackRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.PreviewTaskRunRollbackResponse"><span class="badge">M</span>PreviewTaskRunRollbackResponse</a>
+ </li>
+
<li>
<a href="#bytebase.v1.Rollout"><span class="badge">M</span>Rollout</a>
</li>
@@ -22835,6 +22843,54 @@ Format: projects/{project} </p></td>
+ <h3 id="bytebase.v1.PreviewTaskRunRollbackRequest">PreviewTaskRunRollbackRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.PreviewTaskRunRollbackResponse">PreviewTaskRunRollbackResponse</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>statement</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.Rollout">Rollout</h3>
<p></p>
@@ -24488,6 +24544,13 @@ The access is the same as BatchRunTasks().</p></td>
The access is the same as BatchRunTasks().</p></td>
</tr>
+ <tr>
+ <td>PreviewTaskRunRollback</td>
+ <td><a href="#bytebase.v1.PreviewTaskRunRollbackRequest">PreviewTaskRunRollbackRequest</a></td>
+ <td><a href="#bytebase.v1.PreviewTaskRunRollbackResponse">PreviewTaskRunRollbackResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
</tbody>
</table>
@@ -24596,6 +24659,16 @@ The access is the same as BatchRunTasks().</p></td>
</tr>
+
+
+ <tr>
+ <td>PreviewTaskRunRollback</td>
+ <td>POST</td>
+ <td>/v1/{name=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}:previewRollback</td>
+ <td>*</td>
+ </tr>
+
+
</tbody>
</table>
diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.go
index 5e2a2e1989..7e038987da 100644
--- a/proto/generated-go/v1/rollout_service.pb.go
+++ b/proto/generated-go/v1/rollout_service.pb.go
@@ -1870,6 +1870,101 @@ type TaskRunSession_Postgres_ struct {
func (*TaskRunSession_Postgres_) isTaskRunSession_Session() {}
+type PreviewTaskRunRollbackRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+}
+
+func (x *PreviewTaskRunRollbackRequest) Reset() {
+ *x = PreviewTaskRunRollbackRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PreviewTaskRunRollbackRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PreviewTaskRunRollbackRequest) ProtoMessage() {}
+
+func (x *PreviewTaskRunRollbackRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PreviewTaskRunRollbackRequest.ProtoReflect.Descriptor instead.
+func (*PreviewTaskRunRollbackRequest) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *PreviewTaskRunRollbackRequest) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+type PreviewTaskRunRollbackResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Statement string `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
+}
+
+func (x *PreviewTaskRunRollbackResponse) Reset() {
+ *x = PreviewTaskRunRollbackResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PreviewTaskRunRollbackResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PreviewTaskRunRollbackResponse) ProtoMessage() {}
+
+func (x *PreviewTaskRunRollbackResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PreviewTaskRunRollbackResponse.ProtoReflect.Descriptor instead.
+func (*PreviewTaskRunRollbackResponse) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{21}
+}
+
+func (x *PreviewTaskRunRollbackResponse) GetStatement() string {
+ if x != nil {
+ return x.Statement
+ }
+ return ""
+}
+
type Task_DatabaseCreate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1893,7 +1988,7 @@ type Task_DatabaseCreate struct {
func (x *Task_DatabaseCreate) Reset() {
*x = Task_DatabaseCreate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[20]
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1906,7 +2001,7 @@ func (x *Task_DatabaseCreate) String() string {
func (*Task_DatabaseCreate) ProtoMessage() {}
func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[20]
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1989,7 +2084,7 @@ type Task_DatabaseSchemaBaseline struct {
func (x *Task_DatabaseSchemaBaseline) Reset() {
*x = Task_DatabaseSchemaBaseline{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[21]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2002,7 +2097,7 @@ func (x *Task_DatabaseSchemaBaseline) String() string {
func (*Task_DatabaseSchemaBaseline) ProtoMessage() {}
func (x *Task_DatabaseSchemaBaseline) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[21]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2038,7 +2133,7 @@ type Task_DatabaseSchemaUpdate struct {
func (x *Task_DatabaseSchemaUpdate) Reset() {
*x = Task_DatabaseSchemaUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2051,7 +2146,7 @@ func (x *Task_DatabaseSchemaUpdate) String() string {
func (*Task_DatabaseSchemaUpdate) ProtoMessage() {}
func (x *Task_DatabaseSchemaUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2094,7 +2189,7 @@ type Task_DatabaseDataUpdate struct {
func (x *Task_DatabaseDataUpdate) Reset() {
*x = Task_DatabaseDataUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2107,7 +2202,7 @@ func (x *Task_DatabaseDataUpdate) String() string {
func (*Task_DatabaseDataUpdate) ProtoMessage() {}
func (x *Task_DatabaseDataUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2158,7 +2253,7 @@ type Task_DatabaseDataExport struct {
func (x *Task_DatabaseDataExport) Reset() {
*x = Task_DatabaseDataExport{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2171,7 +2266,7 @@ func (x *Task_DatabaseDataExport) String() string {
func (*Task_DatabaseDataExport) ProtoMessage() {}
func (x *Task_DatabaseDataExport) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2226,7 +2321,7 @@ type TaskRun_PriorBackupDetail struct {
func (x *TaskRun_PriorBackupDetail) Reset() {
*x = TaskRun_PriorBackupDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2239,7 +2334,7 @@ func (x *TaskRun_PriorBackupDetail) String() string {
func (*TaskRun_PriorBackupDetail) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2274,7 +2369,7 @@ type TaskRun_SchedulerInfo struct {
func (x *TaskRun_SchedulerInfo) Reset() {
*x = TaskRun_SchedulerInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2287,7 +2382,7 @@ func (x *TaskRun_SchedulerInfo) String() string {
func (*TaskRun_SchedulerInfo) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2333,7 +2428,7 @@ type TaskRun_PriorBackupDetail_Item struct {
func (x *TaskRun_PriorBackupDetail_Item) Reset() {
*x = TaskRun_PriorBackupDetail_Item{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2346,7 +2441,7 @@ func (x *TaskRun_PriorBackupDetail_Item) String() string {
func (*TaskRun_PriorBackupDetail_Item) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail_Item) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2405,7 +2500,7 @@ type TaskRun_PriorBackupDetail_Item_Table struct {
func (x *TaskRun_PriorBackupDetail_Item_Table) Reset() {
*x = TaskRun_PriorBackupDetail_Item_Table{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2418,7 +2513,7 @@ func (x *TaskRun_PriorBackupDetail_Item_Table) String() string {
func (*TaskRun_PriorBackupDetail_Item_Table) ProtoMessage() {}
func (x *TaskRun_PriorBackupDetail_Item_Table) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2470,7 +2565,7 @@ type TaskRun_SchedulerInfo_WaitingCause struct {
func (x *TaskRun_SchedulerInfo_WaitingCause) Reset() {
*x = TaskRun_SchedulerInfo_WaitingCause{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2483,7 +2578,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause) String() string {
func (*TaskRun_SchedulerInfo_WaitingCause) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo_WaitingCause) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2551,7 +2646,7 @@ type TaskRun_SchedulerInfo_WaitingCause_Task struct {
func (x *TaskRun_SchedulerInfo_WaitingCause_Task) Reset() {
*x = TaskRun_SchedulerInfo_WaitingCause_Task{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2564,7 +2659,7 @@ func (x *TaskRun_SchedulerInfo_WaitingCause_Task) String() string {
func (*TaskRun_SchedulerInfo_WaitingCause_Task) ProtoMessage() {}
func (x *TaskRun_SchedulerInfo_WaitingCause_Task) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2607,7 +2702,7 @@ type TaskRunLogEntry_SchemaDump struct {
func (x *TaskRunLogEntry_SchemaDump) Reset() {
*x = TaskRunLogEntry_SchemaDump{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2620,7 +2715,7 @@ func (x *TaskRunLogEntry_SchemaDump) String() string {
func (*TaskRunLogEntry_SchemaDump) ProtoMessage() {}
func (x *TaskRunLogEntry_SchemaDump) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2671,7 +2766,7 @@ type TaskRunLogEntry_CommandExecute struct {
func (x *TaskRunLogEntry_CommandExecute) Reset() {
*x = TaskRunLogEntry_CommandExecute{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2684,7 +2779,7 @@ func (x *TaskRunLogEntry_CommandExecute) String() string {
func (*TaskRunLogEntry_CommandExecute) ProtoMessage() {}
func (x *TaskRunLogEntry_CommandExecute) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2734,7 +2829,7 @@ type TaskRunLogEntry_DatabaseSync struct {
func (x *TaskRunLogEntry_DatabaseSync) Reset() {
*x = TaskRunLogEntry_DatabaseSync{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2747,7 +2842,7 @@ func (x *TaskRunLogEntry_DatabaseSync) String() string {
func (*TaskRunLogEntry_DatabaseSync) ProtoMessage() {}
func (x *TaskRunLogEntry_DatabaseSync) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2795,7 +2890,7 @@ type TaskRunLogEntry_TaskRunStatusUpdate struct {
func (x *TaskRunLogEntry_TaskRunStatusUpdate) Reset() {
*x = TaskRunLogEntry_TaskRunStatusUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2808,7 +2903,7 @@ func (x *TaskRunLogEntry_TaskRunStatusUpdate) String() string {
func (*TaskRunLogEntry_TaskRunStatusUpdate) ProtoMessage() {}
func (x *TaskRunLogEntry_TaskRunStatusUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2843,7 +2938,7 @@ type TaskRunLogEntry_TransactionControl struct {
func (x *TaskRunLogEntry_TransactionControl) Reset() {
*x = TaskRunLogEntry_TransactionControl{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2856,7 +2951,7 @@ func (x *TaskRunLogEntry_TransactionControl) String() string {
func (*TaskRunLogEntry_TransactionControl) ProtoMessage() {}
func (x *TaskRunLogEntry_TransactionControl) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2902,7 +2997,7 @@ type TaskRunLogEntry_CommandExecute_CommandResponse struct {
func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {
*x = TaskRunLogEntry_CommandExecute_CommandResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2915,7 +3010,7 @@ func (x *TaskRunLogEntry_CommandExecute_CommandResponse) String() string {
func (*TaskRunLogEntry_CommandExecute_CommandResponse) ProtoMessage() {}
func (x *TaskRunLogEntry_CommandExecute_CommandResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2975,7 +3070,7 @@ type TaskRunSession_Postgres struct {
func (x *TaskRunSession_Postgres) Reset() {
*x = TaskRunSession_Postgres{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2988,7 +3083,7 @@ func (x *TaskRunSession_Postgres) String() string {
func (*TaskRunSession_Postgres) ProtoMessage() {}
func (x *TaskRunSession_Postgres) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3050,7 +3145,7 @@ type TaskRunSession_Postgres_Session struct {
func (x *TaskRunSession_Postgres_Session) Reset() {
*x = TaskRunSession_Postgres_Session{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3063,7 +3158,7 @@ func (x *TaskRunSession_Postgres_Session) String() string {
func (*TaskRunSession_Postgres_Session) ProtoMessage() {}
func (x *TaskRunSession_Postgres_Session) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3732,108 +3827,132 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x7d, 0x2f, 0x74, 0x61, 0x73,
0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x7d, 0x2f,
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69,
- 0x6f, 0x6e, 0x32, 0xd7, 0x0c, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
- 0x74, 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, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f,
- 0x2a, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x5c, 0xda,
- 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,
- 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2e,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b,
- 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 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, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x12, 0xa0, 0x01, 0x0a, 0x0e,
- 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x22,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65,
- 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x54, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73,
- 0x2e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
- 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0xba,
- 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12,
- 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
- 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 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, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a,
+ 0x6f, 0x6e, 0x22, 0x52, 0x0a, 0x1d, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73,
+ 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
+ 0x77, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0xc3, 0x0e, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f,
+ 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x0a, 0x47, 0x65,
+ 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x46,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x72, 0x6f,
+ 0x6c, 0x6c, 0x6f, 0x75, 0x74, 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, 0x6f, 0x6c, 0x6c, 0x6f,
+ 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c,
+ 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
+ 0x74, 0x22, 0x5c, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c,
+ 0x6c, 0x6f, 0x75, 0x74, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
+ 0x75, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 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, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x12,
+ 0xa0, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f,
+ 0x75, 0x74, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x54, 0xda, 0x41,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x6f, 0x6c, 0x6c,
+ 0x6f, 0x75, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x90, 0xea, 0x30, 0x01,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f,
+ 0x75, 0x74, 0x12, 0xba, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52,
+ 0x75, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 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, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75,
+ 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61,
+ 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12,
+ 0xb8, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,
+ 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x6b, 0xda,
+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x74,
+ 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52,
+ 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x12, 0xc8, 0x01, 0x0a, 0x11, 0x47,
+ 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
+ 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
+ 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73,
+ 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a,
0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c,
- 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f,
+ 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x12, 0x46, 0x2f,
0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a,
0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f,
- 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xb8, 0x01, 0x0a, 0x0d,
- 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x12, 0x21, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54,
- 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
- 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x6b, 0xda, 0x41, 0x06, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x52,
- 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74,
- 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f,
- 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x12, 0xc8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61,
- 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61,
- 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
- 0x22, 0x6f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x10, 0x62,
- 0x62, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90,
- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x12, 0x46, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
- 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61,
- 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61,
- 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
- 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61,
- 0x73, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73,
- 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0xda, 0x41, 0x06, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a,
- 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
- 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x12, 0xae,
- 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b,
- 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52,
+ 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61,
+ 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75,
+ 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52,
+ 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x52,
+ 0x75, 0x6e, 0x12, 0xae, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70,
+ 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73,
- 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0xda, 0x41, 0x06, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x3a,
- 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
- 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x12,
- 0xca, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54,
- 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65,
- 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
- 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,
- 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0xda, 0x41, 0x06, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a,
- 0x01, 0x2a, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74,
- 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,
- 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x11, 0x5a, 0x0f,
+ 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69,
+ 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53,
+ 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53,
+ 0x6b, 0x69, 0x70, 0x12, 0xca, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e,
+ 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43,
+ 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61,
+ 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60,
+ 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b,
+ 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,
+ 0x12, 0xe9, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
+ 0x52, 0x75, 0x6e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x2a, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
+ 0x77, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73,
+ 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,
+ 0x10, 0x62, 0x62, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73,
+ 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x3a, 0x01, 0x2a, 0x22, 0x4c,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a,
+ 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x65,
+ 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 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,
}
@@ -3851,7 +3970,7 @@ func file_v1_rollout_service_proto_rawDescGZIP() []byte {
}
var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
var file_v1_rollout_service_proto_goTypes = []any{
(Task_Status)(0), // 0: bytebase.v1.Task.Status
(Task_Type)(0), // 1: bytebase.v1.Task.Type
@@ -3880,85 +3999,87 @@ var file_v1_rollout_service_proto_goTypes = []any{
(*TaskRunLogEntry)(nil), // 24: bytebase.v1.TaskRunLogEntry
(*GetTaskRunSessionRequest)(nil), // 25: bytebase.v1.GetTaskRunSessionRequest
(*TaskRunSession)(nil), // 26: bytebase.v1.TaskRunSession
- (*Task_DatabaseCreate)(nil), // 27: bytebase.v1.Task.DatabaseCreate
- (*Task_DatabaseSchemaBaseline)(nil), // 28: bytebase.v1.Task.DatabaseSchemaBaseline
- (*Task_DatabaseSchemaUpdate)(nil), // 29: bytebase.v1.Task.DatabaseSchemaUpdate
- (*Task_DatabaseDataUpdate)(nil), // 30: bytebase.v1.Task.DatabaseDataUpdate
- (*Task_DatabaseDataExport)(nil), // 31: bytebase.v1.Task.DatabaseDataExport
- nil, // 32: bytebase.v1.Task.DatabaseCreate.LabelsEntry
- (*TaskRun_PriorBackupDetail)(nil), // 33: bytebase.v1.TaskRun.PriorBackupDetail
- (*TaskRun_SchedulerInfo)(nil), // 34: bytebase.v1.TaskRun.SchedulerInfo
- (*TaskRun_PriorBackupDetail_Item)(nil), // 35: bytebase.v1.TaskRun.PriorBackupDetail.Item
- (*TaskRun_PriorBackupDetail_Item_Table)(nil), // 36: bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- (*TaskRun_SchedulerInfo_WaitingCause)(nil), // 37: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
- (*TaskRun_SchedulerInfo_WaitingCause_Task)(nil), // 38: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
- (*TaskRunLogEntry_SchemaDump)(nil), // 39: bytebase.v1.TaskRunLogEntry.SchemaDump
- (*TaskRunLogEntry_CommandExecute)(nil), // 40: bytebase.v1.TaskRunLogEntry.CommandExecute
- (*TaskRunLogEntry_DatabaseSync)(nil), // 41: bytebase.v1.TaskRunLogEntry.DatabaseSync
- (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 42: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
- (*TaskRunLogEntry_TransactionControl)(nil), // 43: bytebase.v1.TaskRunLogEntry.TransactionControl
- (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 44: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
- (*TaskRunSession_Postgres)(nil), // 45: bytebase.v1.TaskRunSession.Postgres
- (*TaskRunSession_Postgres_Session)(nil), // 46: bytebase.v1.TaskRunSession.Postgres.Session
- (*Plan)(nil), // 47: bytebase.v1.Plan
- (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp
- (ExportFormat)(0), // 49: bytebase.v1.ExportFormat
- (*Position)(nil), // 50: bytebase.v1.Position
+ (*PreviewTaskRunRollbackRequest)(nil), // 27: bytebase.v1.PreviewTaskRunRollbackRequest
+ (*PreviewTaskRunRollbackResponse)(nil), // 28: bytebase.v1.PreviewTaskRunRollbackResponse
+ (*Task_DatabaseCreate)(nil), // 29: bytebase.v1.Task.DatabaseCreate
+ (*Task_DatabaseSchemaBaseline)(nil), // 30: bytebase.v1.Task.DatabaseSchemaBaseline
+ (*Task_DatabaseSchemaUpdate)(nil), // 31: bytebase.v1.Task.DatabaseSchemaUpdate
+ (*Task_DatabaseDataUpdate)(nil), // 32: bytebase.v1.Task.DatabaseDataUpdate
+ (*Task_DatabaseDataExport)(nil), // 33: bytebase.v1.Task.DatabaseDataExport
+ nil, // 34: bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ (*TaskRun_PriorBackupDetail)(nil), // 35: bytebase.v1.TaskRun.PriorBackupDetail
+ (*TaskRun_SchedulerInfo)(nil), // 36: bytebase.v1.TaskRun.SchedulerInfo
+ (*TaskRun_PriorBackupDetail_Item)(nil), // 37: bytebase.v1.TaskRun.PriorBackupDetail.Item
+ (*TaskRun_PriorBackupDetail_Item_Table)(nil), // 38: bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ (*TaskRun_SchedulerInfo_WaitingCause)(nil), // 39: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
+ (*TaskRun_SchedulerInfo_WaitingCause_Task)(nil), // 40: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
+ (*TaskRunLogEntry_SchemaDump)(nil), // 41: bytebase.v1.TaskRunLogEntry.SchemaDump
+ (*TaskRunLogEntry_CommandExecute)(nil), // 42: bytebase.v1.TaskRunLogEntry.CommandExecute
+ (*TaskRunLogEntry_DatabaseSync)(nil), // 43: bytebase.v1.TaskRunLogEntry.DatabaseSync
+ (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 44: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
+ (*TaskRunLogEntry_TransactionControl)(nil), // 45: bytebase.v1.TaskRunLogEntry.TransactionControl
+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 46: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ (*TaskRunSession_Postgres)(nil), // 47: bytebase.v1.TaskRunSession.Postgres
+ (*TaskRunSession_Postgres_Session)(nil), // 48: bytebase.v1.TaskRunSession.Postgres.Session
+ (*Plan)(nil), // 49: bytebase.v1.Plan
+ (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp
+ (ExportFormat)(0), // 51: bytebase.v1.ExportFormat
+ (*Position)(nil), // 52: bytebase.v1.Position
}
var file_v1_rollout_service_proto_depIdxs = []int32{
19, // 0: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout
- 47, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
+ 49, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
22, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
20, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
21, // 4: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
0, // 5: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
1, // 6: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
- 27, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
- 28, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
- 29, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
- 30, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
- 31, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
- 48, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
- 48, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
+ 29, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
+ 30, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
+ 31, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
+ 32, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
+ 33, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
+ 50, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
+ 50, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
2, // 14: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
- 48, // 15: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
+ 50, // 15: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
3, // 16: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus
- 33, // 17: bytebase.v1.TaskRun.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
- 34, // 18: bytebase.v1.TaskRun.scheduler_info:type_name -> bytebase.v1.TaskRun.SchedulerInfo
+ 35, // 17: bytebase.v1.TaskRun.prior_backup_detail:type_name -> bytebase.v1.TaskRun.PriorBackupDetail
+ 36, // 18: bytebase.v1.TaskRun.scheduler_info:type_name -> bytebase.v1.TaskRun.SchedulerInfo
24, // 19: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry
4, // 20: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type
- 48, // 21: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp
- 39, // 22: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump
- 40, // 23: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute
- 41, // 24: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync
- 42, // 25: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
- 43, // 26: bytebase.v1.TaskRunLogEntry.transaction_control:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl
- 45, // 27: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres
- 32, // 28: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
- 49, // 29: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
- 35, // 30: bytebase.v1.TaskRun.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item
- 48, // 31: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp
- 37, // 32: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
- 36, // 33: bytebase.v1.TaskRun.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- 36, // 34: bytebase.v1.TaskRun.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
- 50, // 35: bytebase.v1.TaskRun.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position
- 50, // 36: bytebase.v1.TaskRun.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position
- 38, // 37: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.task:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
- 48, // 38: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp
- 48, // 39: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp
- 48, // 40: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp
- 44, // 41: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
- 48, // 42: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp
- 48, // 43: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp
+ 50, // 21: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp
+ 41, // 22: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump
+ 42, // 23: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute
+ 43, // 24: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync
+ 44, // 25: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate
+ 45, // 26: bytebase.v1.TaskRunLogEntry.transaction_control:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl
+ 47, // 27: bytebase.v1.TaskRunSession.postgres:type_name -> bytebase.v1.TaskRunSession.Postgres
+ 34, // 28: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ 51, // 29: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
+ 37, // 30: bytebase.v1.TaskRun.PriorBackupDetail.items:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item
+ 50, // 31: bytebase.v1.TaskRun.SchedulerInfo.report_time:type_name -> google.protobuf.Timestamp
+ 39, // 32: bytebase.v1.TaskRun.SchedulerInfo.waiting_cause:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause
+ 38, // 33: bytebase.v1.TaskRun.PriorBackupDetail.Item.source_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ 38, // 34: bytebase.v1.TaskRun.PriorBackupDetail.Item.target_table:type_name -> bytebase.v1.TaskRun.PriorBackupDetail.Item.Table
+ 52, // 35: bytebase.v1.TaskRun.PriorBackupDetail.Item.start_position:type_name -> bytebase.v1.Position
+ 52, // 36: bytebase.v1.TaskRun.PriorBackupDetail.Item.end_position:type_name -> bytebase.v1.Position
+ 40, // 37: bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.task:type_name -> bytebase.v1.TaskRun.SchedulerInfo.WaitingCause.Task
+ 50, // 38: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp
+ 50, // 39: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp
+ 50, // 40: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp
+ 46, // 41: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ 50, // 42: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp
+ 50, // 43: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp
5, // 44: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status
6, // 45: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type
- 48, // 46: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp
- 46, // 47: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 46, // 48: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 46, // 49: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
- 48, // 50: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp
- 48, // 51: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp
- 48, // 52: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp
+ 50, // 46: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp
+ 48, // 47: bytebase.v1.TaskRunSession.Postgres.session:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 48, // 48: bytebase.v1.TaskRunSession.Postgres.blocking_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 48, // 49: bytebase.v1.TaskRunSession.Postgres.blocked_sessions:type_name -> bytebase.v1.TaskRunSession.Postgres.Session
+ 50, // 50: bytebase.v1.TaskRunSession.Postgres.Session.backend_start:type_name -> google.protobuf.Timestamp
+ 50, // 51: bytebase.v1.TaskRunSession.Postgres.Session.xact_start:type_name -> google.protobuf.Timestamp
+ 50, // 52: bytebase.v1.TaskRunSession.Postgres.Session.query_start:type_name -> google.protobuf.Timestamp
13, // 53: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
14, // 54: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
15, // 55: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
@@ -3968,17 +4089,19 @@ var file_v1_rollout_service_proto_depIdxs = []int32{
7, // 59: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
9, // 60: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
11, // 61: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
- 19, // 62: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
- 19, // 63: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
- 19, // 64: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
- 17, // 65: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
- 23, // 66: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog
- 26, // 67: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession
- 8, // 68: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
- 10, // 69: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
- 12, // 70: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
- 62, // [62:71] is the sub-list for method output_type
- 53, // [53:62] is the sub-list for method input_type
+ 27, // 62: bytebase.v1.RolloutService.PreviewTaskRunRollback:input_type -> bytebase.v1.PreviewTaskRunRollbackRequest
+ 19, // 63: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
+ 19, // 64: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
+ 19, // 65: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
+ 17, // 66: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
+ 23, // 67: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog
+ 26, // 68: bytebase.v1.RolloutService.GetTaskRunSession:output_type -> bytebase.v1.TaskRunSession
+ 8, // 69: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
+ 10, // 70: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
+ 12, // 71: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
+ 28, // 72: bytebase.v1.RolloutService.PreviewTaskRunRollback:output_type -> bytebase.v1.PreviewTaskRunRollbackResponse
+ 63, // [63:73] is the sub-list for method output_type
+ 53, // [53:63] is the sub-list for method input_type
53, // [53:53] is the sub-list for extension type_name
53, // [53:53] is the sub-list for extension extendee
0, // [0:53] is the sub-list for field type_name
@@ -4234,7 +4357,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[20].Exporter = func(v any, i int) any {
- switch v := v.(*Task_DatabaseCreate); i {
+ switch v := v.(*PreviewTaskRunRollbackRequest); i {
case 0:
return &v.state
case 1:
@@ -4246,7 +4369,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[21].Exporter = func(v any, i int) any {
- switch v := v.(*Task_DatabaseSchemaBaseline); i {
+ switch v := v.(*PreviewTaskRunRollbackResponse); i {
case 0:
return &v.state
case 1:
@@ -4258,7 +4381,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[22].Exporter = func(v any, i int) any {
- switch v := v.(*Task_DatabaseSchemaUpdate); i {
+ switch v := v.(*Task_DatabaseCreate); i {
case 0:
return &v.state
case 1:
@@ -4270,7 +4393,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[23].Exporter = func(v any, i int) any {
- switch v := v.(*Task_DatabaseDataUpdate); i {
+ switch v := v.(*Task_DatabaseSchemaBaseline); i {
case 0:
return &v.state
case 1:
@@ -4282,7 +4405,19 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[24].Exporter = func(v any, i int) any {
- switch v := v.(*Task_DatabaseDataExport); i {
+ switch v := v.(*Task_DatabaseSchemaUpdate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_rollout_service_proto_msgTypes[25].Exporter = func(v any, i int) any {
+ switch v := v.(*Task_DatabaseDataUpdate); i {
case 0:
return &v.state
case 1:
@@ -4294,6 +4429,18 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[26].Exporter = func(v any, i int) any {
+ switch v := v.(*Task_DatabaseDataExport); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_rollout_service_proto_msgTypes[28].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_PriorBackupDetail); i {
case 0:
return &v.state
@@ -4305,7 +4452,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[27].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[29].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_SchedulerInfo); i {
case 0:
return &v.state
@@ -4317,7 +4464,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[28].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[30].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_PriorBackupDetail_Item); i {
case 0:
return &v.state
@@ -4329,7 +4476,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[29].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[31].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_PriorBackupDetail_Item_Table); i {
case 0:
return &v.state
@@ -4341,7 +4488,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[30].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[32].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_SchedulerInfo_WaitingCause); i {
case 0:
return &v.state
@@ -4353,7 +4500,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[31].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[33].Exporter = func(v any, i int) any {
switch v := v.(*TaskRun_SchedulerInfo_WaitingCause_Task); i {
case 0:
return &v.state
@@ -4365,7 +4512,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[32].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[34].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_SchemaDump); i {
case 0:
return &v.state
@@ -4377,7 +4524,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[33].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[35].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_CommandExecute); i {
case 0:
return &v.state
@@ -4389,7 +4536,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[34].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[36].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_DatabaseSync); i {
case 0:
return &v.state
@@ -4401,7 +4548,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[35].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[37].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_TaskRunStatusUpdate); i {
case 0:
return &v.state
@@ -4413,7 +4560,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[36].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[38].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_TransactionControl); i {
case 0:
return &v.state
@@ -4425,7 +4572,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[37].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[39].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunLogEntry_CommandExecute_CommandResponse); i {
case 0:
return &v.state
@@ -4437,7 +4584,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[38].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[40].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunSession_Postgres); i {
case 0:
return &v.state
@@ -4449,7 +4596,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[39].Exporter = func(v any, i int) any {
+ file_v1_rollout_service_proto_msgTypes[41].Exporter = func(v any, i int) any {
switch v := v.(*TaskRunSession_Postgres_Session); i {
case 0:
return &v.state
@@ -4472,19 +4619,19 @@ func file_v1_rollout_service_proto_init() {
file_v1_rollout_service_proto_msgTypes[19].OneofWrappers = []any{
(*TaskRunSession_Postgres_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[24].OneofWrappers = []any{}
- file_v1_rollout_service_proto_msgTypes[30].OneofWrappers = []any{
+ file_v1_rollout_service_proto_msgTypes[26].OneofWrappers = []any{}
+ file_v1_rollout_service_proto_msgTypes[32].OneofWrappers = []any{
(*TaskRun_SchedulerInfo_WaitingCause_ConnectionLimit)(nil),
(*TaskRun_SchedulerInfo_WaitingCause_Task_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[39].OneofWrappers = []any{}
+ file_v1_rollout_service_proto_msgTypes[41].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_rollout_service_proto_rawDesc,
NumEnums: 7,
- NumMessages: 40,
+ NumMessages: 42,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/rollout_service.pb.gw.go b/proto/generated-go/v1/rollout_service.pb.gw.go
index 583f5f8bfe..9761b06918 100644
--- a/proto/generated-go/v1/rollout_service.pb.gw.go
+++ b/proto/generated-go/v1/rollout_service.pb.gw.go
@@ -557,6 +557,66 @@ func local_request_RolloutService_BatchCancelTaskRuns_0(ctx context.Context, mar
}
+func request_RolloutService_PreviewTaskRunRollback_0(ctx context.Context, marshaler runtime.Marshaler, client RolloutServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq PreviewTaskRunRollbackRequest
+ var metadata runtime.ServerMetadata
+
+ if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ var (
+ val string
+ ok bool
+ err error
+ _ = err
+ )
+
+ val, ok = pathParams["name"]
+ if !ok {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
+ }
+
+ protoReq.Name, err = runtime.String(val)
+ if err != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
+ }
+
+ msg, err := client.PreviewTaskRunRollback(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_RolloutService_PreviewTaskRunRollback_0(ctx context.Context, marshaler runtime.Marshaler, server RolloutServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq PreviewTaskRunRollbackRequest
+ var metadata runtime.ServerMetadata
+
+ if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ var (
+ val string
+ ok bool
+ err error
+ _ = err
+ )
+
+ val, ok = pathParams["name"]
+ if !ok {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
+ }
+
+ protoReq.Name, err = runtime.String(val)
+ if err != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
+ }
+
+ msg, err := server.PreviewTaskRunRollback(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
// RegisterRolloutServiceHandlerServer registers the http handlers for service RolloutService to "mux".
// UnaryRPC :call RolloutServiceServer directly.
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
@@ -789,6 +849,31 @@ func RegisterRolloutServiceHandlerServer(ctx context.Context, mux *runtime.Serve
})
+ mux.Handle("POST", pattern_RolloutService_PreviewTaskRunRollback_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.RolloutService/PreviewTaskRunRollback", runtime.WithHTTPPathPattern("/v1/{name=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}:previewRollback"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := local_request_RolloutService_PreviewTaskRunRollback_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_RolloutService_PreviewTaskRunRollback_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
return nil
}
@@ -1028,6 +1113,28 @@ func RegisterRolloutServiceHandlerClient(ctx context.Context, mux *runtime.Serve
})
+ mux.Handle("POST", pattern_RolloutService_PreviewTaskRunRollback_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.RolloutService/PreviewTaskRunRollback", runtime.WithHTTPPathPattern("/v1/{name=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}:previewRollback"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := request_RolloutService_PreviewTaskRunRollback_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_RolloutService_PreviewTaskRunRollback_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
return nil
}
@@ -1049,6 +1156,8 @@ var (
pattern_RolloutService_BatchSkipTasks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 4, 6, 5, 4, 2, 5}, []string{"v1", "projects", "rollouts", "stages", "parent", "tasks"}, "batchSkip"))
pattern_RolloutService_BatchCancelTaskRuns_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 4, 8, 5, 5, 2, 6}, []string{"v1", "projects", "rollouts", "stages", "tasks", "parent", "taskRuns"}, "batchCancel"))
+
+ pattern_RolloutService_PreviewTaskRunRollback_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 2, 5, 1, 0, 4, 10, 5, 6}, []string{"v1", "projects", "rollouts", "stages", "tasks", "taskRuns", "name"}, "previewRollback"))
)
var (
@@ -1069,4 +1178,6 @@ var (
forward_RolloutService_BatchSkipTasks_0 = runtime.ForwardResponseMessage
forward_RolloutService_BatchCancelTaskRuns_0 = runtime.ForwardResponseMessage
+
+ forward_RolloutService_PreviewTaskRunRollback_0 = runtime.ForwardResponseMessage
)
diff --git a/proto/generated-go/v1/rollout_service_grpc.pb.go b/proto/generated-go/v1/rollout_service_grpc.pb.go
index 6159fd5597..ad34ae44c7 100644
--- a/proto/generated-go/v1/rollout_service_grpc.pb.go
+++ b/proto/generated-go/v1/rollout_service_grpc.pb.go
@@ -19,15 +19,16 @@ import (
const _ = grpc.SupportPackageIsVersion9
const (
- RolloutService_GetRollout_FullMethodName = "/bytebase.v1.RolloutService/GetRollout"
- RolloutService_CreateRollout_FullMethodName = "/bytebase.v1.RolloutService/CreateRollout"
- RolloutService_PreviewRollout_FullMethodName = "/bytebase.v1.RolloutService/PreviewRollout"
- RolloutService_ListTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/ListTaskRuns"
- RolloutService_GetTaskRunLog_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunLog"
- RolloutService_GetTaskRunSession_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunSession"
- RolloutService_BatchRunTasks_FullMethodName = "/bytebase.v1.RolloutService/BatchRunTasks"
- RolloutService_BatchSkipTasks_FullMethodName = "/bytebase.v1.RolloutService/BatchSkipTasks"
- RolloutService_BatchCancelTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/BatchCancelTaskRuns"
+ RolloutService_GetRollout_FullMethodName = "/bytebase.v1.RolloutService/GetRollout"
+ RolloutService_CreateRollout_FullMethodName = "/bytebase.v1.RolloutService/CreateRollout"
+ RolloutService_PreviewRollout_FullMethodName = "/bytebase.v1.RolloutService/PreviewRollout"
+ RolloutService_ListTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/ListTaskRuns"
+ RolloutService_GetTaskRunLog_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunLog"
+ RolloutService_GetTaskRunSession_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunSession"
+ RolloutService_BatchRunTasks_FullMethodName = "/bytebase.v1.RolloutService/BatchRunTasks"
+ RolloutService_BatchSkipTasks_FullMethodName = "/bytebase.v1.RolloutService/BatchSkipTasks"
+ RolloutService_BatchCancelTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/BatchCancelTaskRuns"
+ RolloutService_PreviewTaskRunRollback_FullMethodName = "/bytebase.v1.RolloutService/PreviewTaskRunRollback"
)
// RolloutServiceClient is the client API for RolloutService service.
@@ -51,6 +52,7 @@ type RolloutServiceClient interface {
// BatchSkipTasks cancels the specified task runs in batch.
// The access is the same as BatchRunTasks().
BatchCancelTaskRuns(ctx context.Context, in *BatchCancelTaskRunsRequest, opts ...grpc.CallOption) (*BatchCancelTaskRunsResponse, error)
+ PreviewTaskRunRollback(ctx context.Context, in *PreviewTaskRunRollbackRequest, opts ...grpc.CallOption) (*PreviewTaskRunRollbackResponse, error)
}
type rolloutServiceClient struct {
@@ -151,6 +153,16 @@ func (c *rolloutServiceClient) BatchCancelTaskRuns(ctx context.Context, in *Batc
return out, nil
}
+func (c *rolloutServiceClient) PreviewTaskRunRollback(ctx context.Context, in *PreviewTaskRunRollbackRequest, opts ...grpc.CallOption) (*PreviewTaskRunRollbackResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
+ out := new(PreviewTaskRunRollbackResponse)
+ err := c.cc.Invoke(ctx, RolloutService_PreviewTaskRunRollback_FullMethodName, in, out, cOpts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
// RolloutServiceServer is the server API for RolloutService service.
// All implementations must embed UnimplementedRolloutServiceServer
// for forward compatibility.
@@ -172,6 +184,7 @@ type RolloutServiceServer interface {
// BatchSkipTasks cancels the specified task runs in batch.
// The access is the same as BatchRunTasks().
BatchCancelTaskRuns(context.Context, *BatchCancelTaskRunsRequest) (*BatchCancelTaskRunsResponse, error)
+ PreviewTaskRunRollback(context.Context, *PreviewTaskRunRollbackRequest) (*PreviewTaskRunRollbackResponse, error)
mustEmbedUnimplementedRolloutServiceServer()
}
@@ -209,6 +222,9 @@ func (UnimplementedRolloutServiceServer) BatchSkipTasks(context.Context, *BatchS
func (UnimplementedRolloutServiceServer) BatchCancelTaskRuns(context.Context, *BatchCancelTaskRunsRequest) (*BatchCancelTaskRunsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchCancelTaskRuns not implemented")
}
+func (UnimplementedRolloutServiceServer) PreviewTaskRunRollback(context.Context, *PreviewTaskRunRollbackRequest) (*PreviewTaskRunRollbackResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method PreviewTaskRunRollback not implemented")
+}
func (UnimplementedRolloutServiceServer) mustEmbedUnimplementedRolloutServiceServer() {}
func (UnimplementedRolloutServiceServer) testEmbeddedByValue() {}
@@ -392,6 +408,24 @@ func _RolloutService_BatchCancelTaskRuns_Handler(srv interface{}, ctx context.Co
return interceptor(ctx, in, info, handler)
}
+func _RolloutService_PreviewTaskRunRollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(PreviewTaskRunRollbackRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(RolloutServiceServer).PreviewTaskRunRollback(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: RolloutService_PreviewTaskRunRollback_FullMethodName,
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(RolloutServiceServer).PreviewTaskRunRollback(ctx, req.(*PreviewTaskRunRollbackRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
// RolloutService_ServiceDesc is the grpc.ServiceDesc for RolloutService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
@@ -435,6 +469,10 @@ var RolloutService_ServiceDesc = grpc.ServiceDesc{
MethodName: "BatchCancelTaskRuns",
Handler: _RolloutService_BatchCancelTaskRuns_Handler,
},
+ {
+ MethodName: "PreviewTaskRunRollback",
+ Handler: _RolloutService_PreviewTaskRunRollback_Handler,
+ },
},
Streams: []grpc.StreamDesc{},
Metadata: "v1/rollout_service.proto",
diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.proto
index 47198a017a..ba868b2a7b 100644
--- a/proto/v1/rollout_service.proto
+++ b/proto/v1/rollout_service.proto
@@ -96,6 +96,16 @@ service RolloutService {
option (google.api.method_signature) = "parent";
option (bytebase.v1.auth_method) = CUSTOM;
}
+
+ rpc PreviewTaskRunRollback(PreviewTaskRunRollbackRequest) returns (PreviewTaskRunRollbackResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}:previewRollback"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ option (bytebase.v1.permission) = "bb.taskRuns.list";
+ option (bytebase.v1.auth_method) = IAM;
+ }
}
message BatchRunTasksRequest {
@@ -582,3 +592,15 @@ message TaskRunSession {
}
}
}
+
+message PreviewTaskRunRollbackRequest {
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {type: "bytebase.com/TaskRun"}
+ ];
+}
+
+message PreviewTaskRunRollbackResponse {
+ string statement = 1;
+}