// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "milestone.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.Milestone */ export interface Milestone { /** * @generated from protobuf field: api.EntityType Entity = 1 */ Entity: EntityType; /** * @generated from protobuf field: string Path = 2 */ Path: string; } /** * @generated from protobuf message api.CreateMilestoneRequest */ export interface CreateMilestoneRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 2 */ Header?: RequestProjectHeader; /** * Milestone are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: api.Milestone Milestone = 1 */ Milestone?: Milestone; } /** * @generated from protobuf message api.CreateMilestoneResult */ export interface CreateMilestoneResult { /** * @generated from protobuf field: api.Milestone Milestone = 1 */ Milestone?: Milestone; } /** * @generated from protobuf message api.DeleteMilestoneRequest */ export interface DeleteMilestoneRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 2 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.Milestone Milestone = 1 */ Milestone?: Milestone; } /** * @generated from protobuf message api.DeleteMilestoneResult */ export interface DeleteMilestoneResult { } /** * @generated from protobuf message api.GetMilestoneRequest */ export interface GetMilestoneRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 2 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.Milestone Milestone = 1 */ Milestone?: Milestone; } /** * @generated from protobuf message api.GetMilestoneResult */ export interface GetMilestoneResult { /** * @generated from protobuf field: api.Milestone Milestone = 1 */ Milestone?: Milestone; } /** * @generated from protobuf message api.ListMilestonesRequest */ export interface ListMilestonesRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 2 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityType Entity = 1 */ Entity: EntityType; } /** * @generated from protobuf message api.ListMilestonesResult */ export interface ListMilestonesResult { /** * @generated from protobuf field: repeated api.Milestone Milestones = 1 */ Milestones: Milestone[]; } // @generated message type with reflection information, may provide speed optimized methods class Milestone$Type extends MessageType { constructor() { super("api.Milestone", [ { no: 1, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the Milestone will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 2, name: "Path", kind: "scalar", localName: "Path", jsonName: "Path", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Entity", "Path"] } } }); } create(value?: PartialMessage): Milestone { const message = globalThis.Object.create((this.messagePrototype!)); message.Entity = 0; message.Path = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Milestone): Milestone { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EntityType Entity */ 1: message.Entity = reader.int32(); break; case /* string Path */ 2: message.Path = 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: Milestone, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EntityType Entity = 1; */ if (message.Entity !== 0) writer.tag(1, WireType.Varint).int32(message.Entity); /* string Path = 2; */ if (message.Path !== "") writer.tag(2, WireType.LengthDelimited).string(message.Path); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.Milestone */ export const Milestone = new Milestone$Type(); // @generated message type with reflection information, may provide speed optimized methods class CreateMilestoneRequest$Type extends MessageType { constructor() { super("api.CreateMilestoneRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 1, name: "Milestone", kind: "message", localName: "Milestone", jsonName: "Milestone", T: () => Milestone, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Milestone are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Milestone"] } } }); } create(value?: PartialMessage): CreateMilestoneRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateMilestoneRequest): CreateMilestoneRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 2: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.Milestone Milestone */ 1: message.Milestone = Milestone.internalBinaryRead(reader, reader.uint32(), options, message.Milestone); 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: CreateMilestoneRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.Milestone Milestone = 1; */ if (message.Milestone) Milestone.internalBinaryWrite(message.Milestone, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.RequestProjectHeader Header = 2; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(2, 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.CreateMilestoneRequest */ export const CreateMilestoneRequest = new CreateMilestoneRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class CreateMilestoneResult$Type extends MessageType { constructor() { super("api.CreateMilestoneResult", [ { no: 1, name: "Milestone", kind: "message", localName: "Milestone", jsonName: "Milestone", T: () => Milestone } ]); } create(value?: PartialMessage): CreateMilestoneResult { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateMilestoneResult): CreateMilestoneResult { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.Milestone Milestone */ 1: message.Milestone = Milestone.internalBinaryRead(reader, reader.uint32(), options, message.Milestone); 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: CreateMilestoneResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.Milestone Milestone = 1; */ if (message.Milestone) Milestone.internalBinaryWrite(message.Milestone, 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.CreateMilestoneResult */ export const CreateMilestoneResult = new CreateMilestoneResult$Type(); // @generated message type with reflection information, may provide speed optimized methods class DeleteMilestoneRequest$Type extends MessageType { constructor() { super("api.DeleteMilestoneRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 1, name: "Milestone", kind: "message", localName: "Milestone", jsonName: "Milestone", T: () => Milestone, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Milestone"] } } }); } create(value?: PartialMessage): DeleteMilestoneRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteMilestoneRequest): DeleteMilestoneRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 2: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.Milestone Milestone */ 1: message.Milestone = Milestone.internalBinaryRead(reader, reader.uint32(), options, message.Milestone); 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: DeleteMilestoneRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.Milestone Milestone = 1; */ if (message.Milestone) Milestone.internalBinaryWrite(message.Milestone, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.RequestProjectHeader Header = 2; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(2, 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.DeleteMilestoneRequest */ export const DeleteMilestoneRequest = new DeleteMilestoneRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class DeleteMilestoneResult$Type extends MessageType { constructor() { super("api.DeleteMilestoneResult", []); } create(value?: PartialMessage): DeleteMilestoneResult { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteMilestoneResult): DeleteMilestoneResult { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { 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: DeleteMilestoneResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.DeleteMilestoneResult */ export const DeleteMilestoneResult = new DeleteMilestoneResult$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetMilestoneRequest$Type extends MessageType { constructor() { super("api.GetMilestoneRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 1, name: "Milestone", kind: "message", localName: "Milestone", jsonName: "Milestone", T: () => Milestone, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Milestone"] } } }); } create(value?: PartialMessage): GetMilestoneRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMilestoneRequest): GetMilestoneRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 2: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.Milestone Milestone */ 1: message.Milestone = Milestone.internalBinaryRead(reader, reader.uint32(), options, message.Milestone); 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: GetMilestoneRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.Milestone Milestone = 1; */ if (message.Milestone) Milestone.internalBinaryWrite(message.Milestone, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.RequestProjectHeader Header = 2; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(2, 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.GetMilestoneRequest */ export const GetMilestoneRequest = new GetMilestoneRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetMilestoneResult$Type extends MessageType { constructor() { super("api.GetMilestoneResult", [ { no: 1, name: "Milestone", kind: "message", localName: "Milestone", jsonName: "Milestone", T: () => Milestone } ]); } create(value?: PartialMessage): GetMilestoneResult { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMilestoneResult): GetMilestoneResult { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.Milestone Milestone */ 1: message.Milestone = Milestone.internalBinaryRead(reader, reader.uint32(), options, message.Milestone); 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: GetMilestoneResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.Milestone Milestone = 1; */ if (message.Milestone) Milestone.internalBinaryWrite(message.Milestone, 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.GetMilestoneResult */ export const GetMilestoneResult = new GetMilestoneResult$Type(); // @generated message type with reflection information, may provide speed optimized methods class ListMilestonesRequest$Type extends MessageType { constructor() { super("api.ListMilestonesRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 1, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Entity"] } } }); } create(value?: PartialMessage): ListMilestonesRequest { const message = globalThis.Object.create((this.messagePrototype!)); message.Entity = 0; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListMilestonesRequest): ListMilestonesRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 2: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityType Entity */ 1: message.Entity = 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: ListMilestonesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EntityType Entity = 1; */ if (message.Entity !== 0) writer.tag(1, WireType.Varint).int32(message.Entity); /* api.RequestProjectHeader Header = 2; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(2, 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.ListMilestonesRequest */ export const ListMilestonesRequest = new ListMilestonesRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ListMilestonesResult$Type extends MessageType { constructor() { super("api.ListMilestonesResult", [ { no: 1, name: "Milestones", kind: "message", localName: "Milestones", jsonName: "Milestones", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Milestone } ]); } create(value?: PartialMessage): ListMilestonesResult { const message = globalThis.Object.create((this.messagePrototype!)); message.Milestones = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListMilestonesResult): ListMilestonesResult { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.Milestone Milestones */ 1: message.Milestones.push(Milestone.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: ListMilestonesResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.Milestone Milestones = 1; */ for (let i = 0; i < message.Milestones.length; i++) Milestone.internalBinaryWrite(message.Milestones[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.ListMilestonesResult */ export const ListMilestonesResult = new ListMilestonesResult$Type(); /** * @generated ServiceType for protobuf service api.MilestoneService */ export const MilestoneService = new ServiceType("api.MilestoneService", [ { name: "CreateMilestone", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Milestone"], description: "Create Milestone" }, "api.rscType": "Project", "api.roles": "Platform.Project-Milestone", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateMilestoneRequest, O: CreateMilestoneResult }, { name: "GetMilestone", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Milestone"], description: "Get Milestone" }, "api.rscType": "Project", "api.roles": "Platform.Project-Milestone", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMilestoneRequest, O: GetMilestoneResult }, { name: "DeleteMilestone", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Milestone"], description: "Delete Milestone" }, "api.rscType": "Project", "api.roles": "Platform.Project-Milestone", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteMilestoneRequest, O: DeleteMilestoneResult }, { name: "ListMilestones", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Milestone"], description: "List All Milestones by entity" }, "api.rscType": "Project", "api.roles": "Platform.Project-Milestone", "google.api.method_visibility": { restriction: "SDK" } }, I: ListMilestonesRequest, O: ListMilestonesResult } ], { "api.k8sService": "project-model-server" });