Files
npm-core-sdk/project-lifecycle.ts
2025-08-19 08:32:31 +00:00

1025 lines
52 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "project-lifecycle.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { RequestProjectHeader } from "./shared";
import { EntityType } from "./shared";
/**
* @generated from protobuf message api.ProjectLifecycleTask
*/
export interface ProjectLifecycleTask {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskStatus TaskStatus = 4
*/
TaskStatus: ProjectLifecycleTaskStatus;
/**
* @generated from protobuf field: string RuleDefinition = 5
*/
RuleDefinition: string;
/**
* @generated from protobuf field: string ExecutedAt = 6
*/
ExecutedAt: string;
/**
* @generated from protobuf field: string NextRunAt = 7
*/
NextRunAt: string;
}
/**
* @generated from protobuf message api.SetTaskRuleRequest
*/
export interface SetTaskRuleRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
/**
* @generated from protobuf field: string RuleDefinition = 4
*/
RuleDefinition: string;
}
/**
* @generated from protobuf message api.SetTaskRuleResponse
*/
export interface SetTaskRuleResponse {
/**
* @generated from protobuf field: api.ProjectLifecycleTask Task = 1
*/
Task?: ProjectLifecycleTask;
}
/**
* @generated from protobuf message api.GetTaskRequest
*/
export interface GetTaskRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
}
/**
* @generated from protobuf message api.GetTaskResponse
*/
export interface GetTaskResponse {
/**
* @generated from protobuf field: api.ProjectLifecycleTask Task = 1
*/
Task?: ProjectLifecycleTask;
}
/**
* @generated from protobuf message api.ListTasksRequest
*/
export interface ListTasksRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
}
/**
* @generated from protobuf message api.ListTasksResponse
*/
export interface ListTasksResponse {
/**
* @generated from protobuf field: repeated api.ProjectLifecycleTask Tasks = 1
*/
Tasks: ProjectLifecycleTask[];
}
/**
* @generated from protobuf message api.SetTaskStatusRequest
*/
export interface SetTaskStatusRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskStatus TaskStatus = 4
*/
TaskStatus: ProjectLifecycleTaskStatus;
}
/**
* @generated from protobuf message api.SetTaskStatusResponse
*/
export interface SetTaskStatusResponse {
/**
* @generated from protobuf field: api.ProjectLifecycleTask Task = 1
*/
Task?: ProjectLifecycleTask;
}
/**
* @generated from protobuf message api.SetTaskNextRunAtRequest
*/
export interface SetTaskNextRunAtRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
/**
* @generated from protobuf field: string NextRunAt = 4
*/
NextRunAt: string;
}
/**
* @generated from protobuf message api.SetTaskNextRunAtResponse
*/
export interface SetTaskNextRunAtResponse {
/**
* @generated from protobuf field: api.ProjectLifecycleTask Task = 1
*/
Task?: ProjectLifecycleTask;
}
/**
* @generated from protobuf message api.SetTaskExecutedAtRequest
*/
export interface SetTaskExecutedAtRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
/**
* @generated from protobuf field: api.ProjectLifecycleTaskType TaskType = 3
*/
TaskType: ProjectLifecycleTaskType;
/**
* @generated from protobuf field: string ExecutedAt = 4
*/
ExecutedAt: string;
}
/**
* @generated from protobuf message api.SetTaskExecutedAtResponse
*/
export interface SetTaskExecutedAtResponse {
/**
* @generated from protobuf field: api.ProjectLifecycleTask Task = 1
*/
Task?: ProjectLifecycleTask;
}
/**
* @generated from protobuf enum api.ProjectLifecycleTaskType
*/
export enum ProjectLifecycleTaskType {
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_UNKNOWN = 0;
*/
PROJECT_LIFECYCLE_TASK_UNKNOWN = 0,
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_ANONYMIZE = 1;
*/
PROJECT_LIFECYCLE_TASK_ANONYMIZE = 1,
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_PRUNE = 2;
*/
PROJECT_LIFECYCLE_TASK_PRUNE = 2
}
/**
* @generated from protobuf enum api.ProjectLifecycleTaskStatus
*/
export enum ProjectLifecycleTaskStatus {
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_STATUS_UNKNOWN = 0;
*/
PROJECT_LIFECYCLE_TASK_STATUS_UNKNOWN = 0,
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_STATUS_RUNNING = 1;
*/
PROJECT_LIFECYCLE_TASK_STATUS_RUNNING = 1,
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_STATUS_DONE = 2;
*/
PROJECT_LIFECYCLE_TASK_STATUS_DONE = 2,
/**
* @generated from protobuf enum value: PROJECT_LIFECYCLE_TASK_STATUS_FAILED = 3;
*/
PROJECT_LIFECYCLE_TASK_STATUS_FAILED = 3
}
// @generated message type with reflection information, may provide speed optimized methods
class ProjectLifecycleTask$Type extends MessageType<ProjectLifecycleTask> {
constructor() {
super("api.ProjectLifecycleTask", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType] },
{ no: 4, name: "TaskStatus", kind: "enum", localName: "TaskStatus", jsonName: "TaskStatus", T: () => ["api.ProjectLifecycleTaskStatus", ProjectLifecycleTaskStatus] },
{ no: 5, name: "RuleDefinition", kind: "scalar", localName: "RuleDefinition", jsonName: "RuleDefinition", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "ExecutedAt", kind: "scalar", localName: "ExecutedAt", jsonName: "ExecutedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } },
{ no: 7, name: "NextRunAt", kind: "scalar", localName: "NextRunAt", jsonName: "NextRunAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } }
]);
}
create(value?: PartialMessage<ProjectLifecycleTask>): ProjectLifecycleTask {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
message.TaskType = 0;
message.TaskStatus = 0;
message.RuleDefinition = "";
message.ExecutedAt = "";
message.NextRunAt = "";
if (value !== undefined)
reflectionMergePartial<ProjectLifecycleTask>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProjectLifecycleTask): ProjectLifecycleTask {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
case /* api.ProjectLifecycleTaskStatus TaskStatus */ 4:
message.TaskStatus = reader.int32();
break;
case /* string RuleDefinition */ 5:
message.RuleDefinition = reader.string();
break;
case /* string ExecutedAt */ 6:
message.ExecutedAt = reader.string();
break;
case /* string NextRunAt */ 7:
message.NextRunAt = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ProjectLifecycleTask, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
/* api.ProjectLifecycleTaskStatus TaskStatus = 4; */
if (message.TaskStatus !== 0)
writer.tag(4, WireType.Varint).int32(message.TaskStatus);
/* string RuleDefinition = 5; */
if (message.RuleDefinition !== "")
writer.tag(5, WireType.LengthDelimited).string(message.RuleDefinition);
/* string ExecutedAt = 6; */
if (message.ExecutedAt !== "")
writer.tag(6, WireType.LengthDelimited).string(message.ExecutedAt);
/* string NextRunAt = 7; */
if (message.NextRunAt !== "")
writer.tag(7, WireType.LengthDelimited).string(message.NextRunAt);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ProjectLifecycleTask
*/
export const ProjectLifecycleTask = new ProjectLifecycleTask$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskRuleRequest$Type extends MessageType<SetTaskRuleRequest> {
constructor() {
super("api.SetTaskRuleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "RuleDefinition", kind: "scalar", localName: "RuleDefinition", jsonName: "RuleDefinition", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Entity", "TaskType", "RuleDefinition"] } } });
}
create(value?: PartialMessage<SetTaskRuleRequest>): SetTaskRuleRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Entity = 0;
message.TaskType = 0;
message.RuleDefinition = "";
if (value !== undefined)
reflectionMergePartial<SetTaskRuleRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskRuleRequest): SetTaskRuleRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
case /* string RuleDefinition */ 4:
message.RuleDefinition = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskRuleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
/* string RuleDefinition = 4; */
if (message.RuleDefinition !== "")
writer.tag(4, WireType.LengthDelimited).string(message.RuleDefinition);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskRuleRequest
*/
export const SetTaskRuleRequest = new SetTaskRuleRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskRuleResponse$Type extends MessageType<SetTaskRuleResponse> {
constructor() {
super("api.SetTaskRuleResponse", [
{ no: 1, name: "Task", kind: "message", localName: "Task", jsonName: "Task", T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<SetTaskRuleResponse>): SetTaskRuleResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<SetTaskRuleResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskRuleResponse): SetTaskRuleResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectLifecycleTask Task */ 1:
message.Task = ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options, message.Task);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskRuleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectLifecycleTask Task = 1; */
if (message.Task)
ProjectLifecycleTask.internalBinaryWrite(message.Task, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskRuleResponse
*/
export const SetTaskRuleResponse = new SetTaskRuleResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetTaskRequest$Type extends MessageType<GetTaskRequest> {
constructor() {
super("api.GetTaskRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType], options: { "validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Entity", "TaskType"] } } });
}
create(value?: PartialMessage<GetTaskRequest>): GetTaskRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Entity = 0;
message.TaskType = 0;
if (value !== undefined)
reflectionMergePartial<GetTaskRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetTaskRequest): GetTaskRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: GetTaskRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetTaskRequest
*/
export const GetTaskRequest = new GetTaskRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetTaskResponse$Type extends MessageType<GetTaskResponse> {
constructor() {
super("api.GetTaskResponse", [
{ no: 1, name: "Task", kind: "message", localName: "Task", jsonName: "Task", T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<GetTaskResponse>): GetTaskResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<GetTaskResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetTaskResponse): GetTaskResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectLifecycleTask Task */ 1:
message.Task = ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options, message.Task);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: GetTaskResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectLifecycleTask Task = 1; */
if (message.Task)
ProjectLifecycleTask.internalBinaryWrite(message.Task, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetTaskResponse
*/
export const GetTaskResponse = new GetTaskResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListTasksRequest$Type extends MessageType<ListTasksRequest> {
constructor() {
super("api.ListTasksRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ListTasksRequest>): ListTasksRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ListTasksRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListTasksRequest): ListTasksRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListTasksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListTasksRequest
*/
export const ListTasksRequest = new ListTasksRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListTasksResponse$Type extends MessageType<ListTasksResponse> {
constructor() {
super("api.ListTasksResponse", [
{ no: 1, name: "Tasks", kind: "message", localName: "Tasks", jsonName: "Tasks", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<ListTasksResponse>): ListTasksResponse {
const message = globalThis.Object.create((this.messagePrototype!));
message.Tasks = [];
if (value !== undefined)
reflectionMergePartial<ListTasksResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListTasksResponse): ListTasksResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.ProjectLifecycleTask Tasks */ 1:
message.Tasks.push(ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListTasksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.ProjectLifecycleTask Tasks = 1; */
for (let i = 0; i < message.Tasks.length; i++)
ProjectLifecycleTask.internalBinaryWrite(message.Tasks[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListTasksResponse
*/
export const ListTasksResponse = new ListTasksResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskStatusRequest$Type extends MessageType<SetTaskStatusRequest> {
constructor() {
super("api.SetTaskStatusRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "TaskStatus", kind: "enum", localName: "TaskStatus", jsonName: "TaskStatus", T: () => ["api.ProjectLifecycleTaskStatus", ProjectLifecycleTaskStatus], options: { "validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity", "TaskType", "TaskStatus"] } } });
}
create(value?: PartialMessage<SetTaskStatusRequest>): SetTaskStatusRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
message.TaskType = 0;
message.TaskStatus = 0;
if (value !== undefined)
reflectionMergePartial<SetTaskStatusRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskStatusRequest): SetTaskStatusRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
case /* api.ProjectLifecycleTaskStatus TaskStatus */ 4:
message.TaskStatus = reader.int32();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
/* api.ProjectLifecycleTaskStatus TaskStatus = 4; */
if (message.TaskStatus !== 0)
writer.tag(4, WireType.Varint).int32(message.TaskStatus);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskStatusRequest
*/
export const SetTaskStatusRequest = new SetTaskStatusRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskStatusResponse$Type extends MessageType<SetTaskStatusResponse> {
constructor() {
super("api.SetTaskStatusResponse", [
{ no: 1, name: "Task", kind: "message", localName: "Task", jsonName: "Task", T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<SetTaskStatusResponse>): SetTaskStatusResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<SetTaskStatusResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskStatusResponse): SetTaskStatusResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectLifecycleTask Task */ 1:
message.Task = ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options, message.Task);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectLifecycleTask Task = 1; */
if (message.Task)
ProjectLifecycleTask.internalBinaryWrite(message.Task, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskStatusResponse
*/
export const SetTaskStatusResponse = new SetTaskStatusResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskNextRunAtRequest$Type extends MessageType<SetTaskNextRunAtRequest> {
constructor() {
super("api.SetTaskNextRunAtRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "NextRunAt", kind: "scalar", localName: "NextRunAt", jsonName: "NextRunAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity", "TaskType", "NextRunAt"] } } });
}
create(value?: PartialMessage<SetTaskNextRunAtRequest>): SetTaskNextRunAtRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
message.TaskType = 0;
message.NextRunAt = "";
if (value !== undefined)
reflectionMergePartial<SetTaskNextRunAtRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskNextRunAtRequest): SetTaskNextRunAtRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
case /* string NextRunAt */ 4:
message.NextRunAt = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskNextRunAtRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
/* string NextRunAt = 4; */
if (message.NextRunAt !== "")
writer.tag(4, WireType.LengthDelimited).string(message.NextRunAt);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskNextRunAtRequest
*/
export const SetTaskNextRunAtRequest = new SetTaskNextRunAtRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskNextRunAtResponse$Type extends MessageType<SetTaskNextRunAtResponse> {
constructor() {
super("api.SetTaskNextRunAtResponse", [
{ no: 1, name: "Task", kind: "message", localName: "Task", jsonName: "Task", T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<SetTaskNextRunAtResponse>): SetTaskNextRunAtResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<SetTaskNextRunAtResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskNextRunAtResponse): SetTaskNextRunAtResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectLifecycleTask Task */ 1:
message.Task = ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options, message.Task);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskNextRunAtResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectLifecycleTask Task = 1; */
if (message.Task)
ProjectLifecycleTask.internalBinaryWrite(message.Task, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskNextRunAtResponse
*/
export const SetTaskNextRunAtResponse = new SetTaskNextRunAtResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskExecutedAtRequest$Type extends MessageType<SetTaskExecutedAtRequest> {
constructor() {
super("api.SetTaskExecutedAtRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "TaskType", kind: "enum", localName: "TaskType", jsonName: "TaskType", T: () => ["api.ProjectLifecycleTaskType", ProjectLifecycleTaskType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "ExecutedAt", kind: "scalar", localName: "ExecutedAt", jsonName: "ExecutedAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity", "TaskType", "ExecutedAt"] } } });
}
create(value?: PartialMessage<SetTaskExecutedAtRequest>): SetTaskExecutedAtRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
message.TaskType = 0;
message.ExecutedAt = "";
if (value !== undefined)
reflectionMergePartial<SetTaskExecutedAtRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskExecutedAtRequest): SetTaskExecutedAtRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.ProjectLifecycleTaskType TaskType */ 3:
message.TaskType = reader.int32();
break;
case /* string ExecutedAt */ 4:
message.ExecutedAt = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskExecutedAtRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.ProjectLifecycleTaskType TaskType = 3; */
if (message.TaskType !== 0)
writer.tag(3, WireType.Varint).int32(message.TaskType);
/* string ExecutedAt = 4; */
if (message.ExecutedAt !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ExecutedAt);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskExecutedAtRequest
*/
export const SetTaskExecutedAtRequest = new SetTaskExecutedAtRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetTaskExecutedAtResponse$Type extends MessageType<SetTaskExecutedAtResponse> {
constructor() {
super("api.SetTaskExecutedAtResponse", [
{ no: 1, name: "Task", kind: "message", localName: "Task", jsonName: "Task", T: () => ProjectLifecycleTask }
]);
}
create(value?: PartialMessage<SetTaskExecutedAtResponse>): SetTaskExecutedAtResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<SetTaskExecutedAtResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTaskExecutedAtResponse): SetTaskExecutedAtResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectLifecycleTask Task */ 1:
message.Task = ProjectLifecycleTask.internalBinaryRead(reader, reader.uint32(), options, message.Task);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SetTaskExecutedAtResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectLifecycleTask Task = 1; */
if (message.Task)
ProjectLifecycleTask.internalBinaryWrite(message.Task, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SetTaskExecutedAtResponse
*/
export const SetTaskExecutedAtResponse = new SetTaskExecutedAtResponse$Type();
/**
* @generated ServiceType for protobuf service api.ProjectLifecycleService
*/
export const ProjectLifecycleService = new ServiceType("api.ProjectLifecycleService", [
{ name: "SetTaskRule", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the rule that will be performed when running the given task on an entity of a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetTaskRuleRequest, O: SetTaskRuleResponse },
{ name: "GetTask", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Get the rule that performs a task on an entity of a project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "SDK" } }, I: GetTaskRequest, O: GetTaskResponse },
{ name: "ListTasks", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "List the project lifecycle tasks registered on a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListTasksRequest, O: ListTasksResponse },
{ name: "SetTaskStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Update the status of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskStatusRequest, O: SetTaskStatusResponse },
{ name: "SetTaskExecutedAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the execution time of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskExecutedAtRequest, O: SetTaskExecutedAtResponse },
{ name: "SetTaskNextRunAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the next run time of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskNextRunAtRequest, O: SetTaskNextRunAtResponse }
], { "api.k8sService": "project-lifecycle-server" });