// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "resource.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 { ResourceType } from "./shared";
/**
 * @generated from protobuf message api.Resource
 */
export interface Resource {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
    /**
     * @generated from protobuf field: api.ResourceType Type = 2 [json_name = "Type"];
     */
    type: ResourceType;
    /**
     * @generated from protobuf field: string ParentID = 3 [json_name = "ParentID"];
     */
    parentID: string;
}
/**
 * @generated from protobuf message api.CreateResourceRequest
 */
export interface CreateResourceRequest {
    /**
     * @generated from protobuf field: api.Resource Resource = 1 [json_name = "Resource"];
     */
    resource?: Resource;
}
/**
 * @generated from protobuf message api.CreateResourceResponse
 */
export interface CreateResourceResponse {
    /**
     * @generated from protobuf field: api.Resource Resource = 1 [json_name = "Resource"];
     */
    resource?: Resource;
}
/**
 * @generated from protobuf message api.DeleteResourceRequest
 */
export interface DeleteResourceRequest {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.DeleteResourceResponse
 */
export interface DeleteResourceResponse {
}
/**
 * @generated from protobuf message api.ListResourcesRequest
 */
export interface ListResourcesRequest {
    /**
     * @generated from protobuf field: api.ResourceType ResourceType = 1 [json_name = "ResourceType"];
     */
    resourceType: ResourceType;
    /**
     * @generated from protobuf field: string ParentID = 2 [json_name = "ParentID"];
     */
    parentID: string;
}
/**
 * @generated from protobuf message api.ListResourcesResponse
 */
export interface ListResourcesResponse {
    /**
     * @generated from protobuf field: repeated api.Resource Resources = 1 [json_name = "Resources"];
     */
    resources: Resource[];
}
/**
 * @generated from protobuf message api.CleanResourceRequest
 */
export interface CleanResourceRequest {
    /**
     * @generated from protobuf field: api.ResourceType ResourceType = 1 [json_name = "ResourceType"];
     */
    resourceType: ResourceType;
    /**
     * @generated from protobuf field: string ResourceID = 2 [json_name = "ResourceID"];
     */
    resourceID: string;
}
/**
 * @generated from protobuf message api.CleanResourceResult
 */
export interface CleanResourceResult {
}
// @generated message type with reflection information, may provide speed optimized methods
class Resource$Type extends MessageType<Resource> {
    constructor() {
        super("api.Resource", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "Type", kind: "enum", jsonName: "Type", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
            { no: 3, name: "ParentID", kind: "scalar", jsonName: "ParentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Type", "ParentId"] } } });
    }
    create(value?: PartialMessage<Resource>): Resource {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        message.type = 0;
        message.parentID = "";
        if (value !== undefined)
            reflectionMergePartial<Resource>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Resource): Resource {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    break;
                case /* api.ResourceType Type = 2 [json_name = "Type"];*/ 2:
                    message.type = reader.int32();
                    break;
                case /* string ParentID = 3 [json_name = "ParentID"];*/ 3:
                    message.parentID = 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: Resource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        /* api.ResourceType Type = 2 [json_name = "Type"]; */
        if (message.type !== 0)
            writer.tag(2, WireType.Varint).int32(message.type);
        /* string ParentID = 3 [json_name = "ParentID"]; */
        if (message.parentID !== "")
            writer.tag(3, WireType.LengthDelimited).string(message.parentID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.Resource
 */
export const Resource = new Resource$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateResourceRequest$Type extends MessageType<CreateResourceRequest> {
    constructor() {
        super("api.CreateResourceRequest", [
            { no: 1, name: "Resource", kind: "message", jsonName: "Resource", T: () => Resource, options: { "validate.rules": { message: { required: true } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Resource"] } } });
    }
    create(value?: PartialMessage<CreateResourceRequest>): CreateResourceRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreateResourceRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateResourceRequest): CreateResourceRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Resource Resource = 1 [json_name = "Resource"];*/ 1:
                    message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
                    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: CreateResourceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Resource Resource = 1 [json_name = "Resource"]; */
        if (message.resource)
            Resource.internalBinaryWrite(message.resource, 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.CreateResourceRequest
 */
export const CreateResourceRequest = new CreateResourceRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateResourceResponse$Type extends MessageType<CreateResourceResponse> {
    constructor() {
        super("api.CreateResourceResponse", [
            { no: 1, name: "Resource", kind: "message", jsonName: "Resource", T: () => Resource }
        ]);
    }
    create(value?: PartialMessage<CreateResourceResponse>): CreateResourceResponse {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreateResourceResponse>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateResourceResponse): CreateResourceResponse {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Resource Resource = 1 [json_name = "Resource"];*/ 1:
                    message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
                    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: CreateResourceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Resource Resource = 1 [json_name = "Resource"]; */
        if (message.resource)
            Resource.internalBinaryWrite(message.resource, 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.CreateResourceResponse
 */
export const CreateResourceResponse = new CreateResourceResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteResourceRequest$Type extends MessageType<DeleteResourceRequest> {
    constructor() {
        super("api.DeleteResourceRequest", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } });
    }
    create(value?: PartialMessage<DeleteResourceRequest>): DeleteResourceRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<DeleteResourceRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteResourceRequest): DeleteResourceRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = 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: DeleteResourceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeleteResourceRequest
 */
export const DeleteResourceRequest = new DeleteResourceRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteResourceResponse$Type extends MessageType<DeleteResourceResponse> {
    constructor() {
        super("api.DeleteResourceResponse", []);
    }
    create(value?: PartialMessage<DeleteResourceResponse>): DeleteResourceResponse {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<DeleteResourceResponse>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteResourceResponse): DeleteResourceResponse {
        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: DeleteResourceResponse, 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.DeleteResourceResponse
 */
export const DeleteResourceResponse = new DeleteResourceResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListResourcesRequest$Type extends MessageType<ListResourcesRequest> {
    constructor() {
        super("api.ListResourcesRequest", [
            { no: 1, name: "ResourceType", kind: "enum", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
            { no: 2, name: "ParentID", kind: "scalar", jsonName: "ParentID", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<ListResourcesRequest>): ListResourcesRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.resourceType = 0;
        message.parentID = "";
        if (value !== undefined)
            reflectionMergePartial<ListResourcesRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListResourcesRequest): ListResourcesRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.ResourceType ResourceType = 1 [json_name = "ResourceType"];*/ 1:
                    message.resourceType = reader.int32();
                    break;
                case /* string ParentID = 2 [json_name = "ParentID"];*/ 2:
                    message.parentID = 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: ListResourcesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.ResourceType ResourceType = 1 [json_name = "ResourceType"]; */
        if (message.resourceType !== 0)
            writer.tag(1, WireType.Varint).int32(message.resourceType);
        /* string ParentID = 2 [json_name = "ParentID"]; */
        if (message.parentID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.parentID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ListResourcesRequest
 */
export const ListResourcesRequest = new ListResourcesRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListResourcesResponse$Type extends MessageType<ListResourcesResponse> {
    constructor() {
        super("api.ListResourcesResponse", [
            { no: 1, name: "Resources", kind: "message", jsonName: "Resources", repeat: 1 /*RepeatType.PACKED*/, T: () => Resource }
        ]);
    }
    create(value?: PartialMessage<ListResourcesResponse>): ListResourcesResponse {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.resources = [];
        if (value !== undefined)
            reflectionMergePartial<ListResourcesResponse>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListResourcesResponse): ListResourcesResponse {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated api.Resource Resources = 1 [json_name = "Resources"];*/ 1:
                    message.resources.push(Resource.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: ListResourcesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated api.Resource Resources = 1 [json_name = "Resources"]; */
        for (let i = 0; i < message.resources.length; i++)
            Resource.internalBinaryWrite(message.resources[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.ListResourcesResponse
 */
export const ListResourcesResponse = new ListResourcesResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CleanResourceRequest$Type extends MessageType<CleanResourceRequest> {
    constructor() {
        super("api.CleanResourceRequest", [
            { no: 1, name: "ResourceType", kind: "enum", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
            { no: 2, name: "ResourceID", kind: "scalar", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ]);
    }
    create(value?: PartialMessage<CleanResourceRequest>): CleanResourceRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.resourceType = 0;
        message.resourceID = "";
        if (value !== undefined)
            reflectionMergePartial<CleanResourceRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CleanResourceRequest): CleanResourceRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.ResourceType ResourceType = 1 [json_name = "ResourceType"];*/ 1:
                    message.resourceType = reader.int32();
                    break;
                case /* string ResourceID = 2 [json_name = "ResourceID"];*/ 2:
                    message.resourceID = 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: CleanResourceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.ResourceType ResourceType = 1 [json_name = "ResourceType"]; */
        if (message.resourceType !== 0)
            writer.tag(1, WireType.Varint).int32(message.resourceType);
        /* string ResourceID = 2 [json_name = "ResourceID"]; */
        if (message.resourceID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.resourceID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CleanResourceRequest
 */
export const CleanResourceRequest = new CleanResourceRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CleanResourceResult$Type extends MessageType<CleanResourceResult> {
    constructor() {
        super("api.CleanResourceResult", []);
    }
    create(value?: PartialMessage<CleanResourceResult>): CleanResourceResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CleanResourceResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CleanResourceResult): CleanResourceResult {
        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: CleanResourceResult, 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.CleanResourceResult
 */
export const CleanResourceResult = new CleanResourceResult$Type();
/**
 * @generated ServiceType for protobuf service api.ResourceService
 */
export const ResourceService = new ServiceType("api.ResourceService", [
    { name: "CreateResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Create a new resource" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateResourceRequest, O: CreateResourceResponse },
    { name: "DeleteResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Delete a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteResourceRequest, O: DeleteResourceResponse },
    { name: "CleanResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Clean a resource from databases and UMA" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CleanResourceRequest, O: CleanResourceResult },
    { name: "ListResources", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "List resources" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListResourcesRequest, O: ListResourcesResponse }
], { "api.k8sService": "authorization-server", "api.resourceManager": true });
