UNPKG

@wundergraph/cosmo-connect

Version:

TypeScript Connect client for WunderGraph Cosmo

18,343 lines 667 kB
// https://protobuf.dev/programming-guides/style/
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
import { EnumStatusCode, GraphQLSubscriptionProtocol, GraphQLWebsocketSubprotocol } from "../../common/common_pb.js";
import { EventMeta } from "../../notifications/events_pb.js";
/**
 * @generated from enum wg.cosmo.platform.v1.LintSeverity
 */
export var LintSeverity;
(function (LintSeverity) {
    /**
     * @generated from enum value: warn = 0;
     */
    LintSeverity[LintSeverity["warn"] = 0] = "warn";
    /**
     * @generated from enum value: error = 1;
     */
    LintSeverity[LintSeverity["error"] = 1] = "error";
})(LintSeverity || (LintSeverity = {}));
// Retrieve enum metadata with: proto3.getEnumType(LintSeverity)
proto3.util.setEnumType(LintSeverity, "wg.cosmo.platform.v1.LintSeverity", [
    { no: 0, name: "warn" },
    { no: 1, name: "error" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.SubgraphType
 */
export var SubgraphType;
(function (SubgraphType) {
    /**
     * @generated from enum value: STANDARD = 0;
     */
    SubgraphType[SubgraphType["STANDARD"] = 0] = "STANDARD";
    /**
     * @generated from enum value: GRPC_PLUGIN = 1;
     */
    SubgraphType[SubgraphType["GRPC_PLUGIN"] = 1] = "GRPC_PLUGIN";
    /**
     * @generated from enum value: GRPC_SERVICE = 2;
     */
    SubgraphType[SubgraphType["GRPC_SERVICE"] = 2] = "GRPC_SERVICE";
})(SubgraphType || (SubgraphType = {}));
// Retrieve enum metadata with: proto3.getEnumType(SubgraphType)
proto3.util.setEnumType(SubgraphType, "wg.cosmo.platform.v1.SubgraphType", [
    { no: 0, name: "STANDARD" },
    { no: 1, name: "GRPC_PLUGIN" },
    { no: 2, name: "GRPC_SERVICE" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.AnalyticsViewGroupName
 */
export var AnalyticsViewGroupName;
(function (AnalyticsViewGroupName) {
    /**
     * @generated from enum value: None = 0;
     */
    AnalyticsViewGroupName[AnalyticsViewGroupName["None"] = 0] = "None";
    /**
     * @generated from enum value: OperationName = 1;
     */
    AnalyticsViewGroupName[AnalyticsViewGroupName["OperationName"] = 1] = "OperationName";
    /**
     * @generated from enum value: Client = 2;
     */
    AnalyticsViewGroupName[AnalyticsViewGroupName["Client"] = 2] = "Client";
    /**
     * @generated from enum value: HttpStatusCode = 3;
     */
    AnalyticsViewGroupName[AnalyticsViewGroupName["HttpStatusCode"] = 3] = "HttpStatusCode";
})(AnalyticsViewGroupName || (AnalyticsViewGroupName = {}));
// Retrieve enum metadata with: proto3.getEnumType(AnalyticsViewGroupName)
proto3.util.setEnumType(AnalyticsViewGroupName, "wg.cosmo.platform.v1.AnalyticsViewGroupName", [
    { no: 0, name: "None" },
    { no: 1, name: "OperationName" },
    { no: 2, name: "Client" },
    { no: 3, name: "HttpStatusCode" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.CustomOptions
 */
export var CustomOptions;
(function (CustomOptions) {
    /**
     * @generated from enum value: Text = 0;
     */
    CustomOptions[CustomOptions["Text"] = 0] = "Text";
    /**
     * @generated from enum value: Range = 1;
     */
    CustomOptions[CustomOptions["Range"] = 1] = "Range";
})(CustomOptions || (CustomOptions = {}));
// Retrieve enum metadata with: proto3.getEnumType(CustomOptions)
proto3.util.setEnumType(CustomOptions, "wg.cosmo.platform.v1.CustomOptions", [
    { no: 0, name: "Text" },
    { no: 1, name: "Range" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.Unit
 */
export var Unit;
(function (Unit) {
    /**
     * @generated from enum value: Unspecified = 0;
     */
    Unit[Unit["Unspecified"] = 0] = "Unspecified";
    /**
     * @generated from enum value: Nanoseconds = 1;
     */
    Unit[Unit["Nanoseconds"] = 1] = "Nanoseconds";
    /**
     * @generated from enum value: UnixTimestamp = 2;
     */
    Unit[Unit["UnixTimestamp"] = 2] = "UnixTimestamp";
    /**
     * @generated from enum value: Bytes = 3;
     */
    Unit[Unit["Bytes"] = 3] = "Bytes";
    /**
     * @generated from enum value: CodeBlock = 4;
     */
    Unit[Unit["CodeBlock"] = 4] = "CodeBlock";
    /**
     * @generated from enum value: StatusCode = 5;
     */
    Unit[Unit["StatusCode"] = 5] = "StatusCode";
    /**
     * @generated from enum value: TraceID = 6;
     */
    Unit[Unit["TraceID"] = 6] = "TraceID";
    /**
     * @generated from enum value: SpanID = 7;
     */
    Unit[Unit["SpanID"] = 7] = "SpanID";
    /**
     * @generated from enum value: Percentage = 8;
     */
    Unit[Unit["Percentage"] = 8] = "Percentage";
})(Unit || (Unit = {}));
// Retrieve enum metadata with: proto3.getEnumType(Unit)
proto3.util.setEnumType(Unit, "wg.cosmo.platform.v1.Unit", [
    { no: 0, name: "Unspecified" },
    { no: 1, name: "Nanoseconds" },
    { no: 2, name: "UnixTimestamp" },
    { no: 3, name: "Bytes" },
    { no: 4, name: "CodeBlock" },
    { no: 5, name: "StatusCode" },
    { no: 6, name: "TraceID" },
    { no: 7, name: "SpanID" },
    { no: 8, name: "Percentage" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.AnalyticsViewFilterOperator
 */
export var AnalyticsViewFilterOperator;
(function (AnalyticsViewFilterOperator) {
    /**
     * @generated from enum value: EQUALS = 0;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["EQUALS"] = 0] = "EQUALS";
    /**
     * @generated from enum value: NOT_EQUALS = 1;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_EQUALS"] = 1] = "NOT_EQUALS";
    /**
     * @generated from enum value: GREATER_THAN = 2;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["GREATER_THAN"] = 2] = "GREATER_THAN";
    /**
     * @generated from enum value: LESS_THAN = 3;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["LESS_THAN"] = 3] = "LESS_THAN";
    /**
     * @generated from enum value: GREATER_THAN_OR_EQUAL = 4;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["GREATER_THAN_OR_EQUAL"] = 4] = "GREATER_THAN_OR_EQUAL";
    /**
     * @generated from enum value: LESS_THAN_OR_EQUAL = 5;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["LESS_THAN_OR_EQUAL"] = 5] = "LESS_THAN_OR_EQUAL";
    /**
     * @generated from enum value: CONTAINS = 6;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["CONTAINS"] = 6] = "CONTAINS";
    /**
     * @generated from enum value: NOT_CONTAINS = 7;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_CONTAINS"] = 7] = "NOT_CONTAINS";
    /**
     * @generated from enum value: IN = 8;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IN"] = 8] = "IN";
    /**
     * @generated from enum value: NOT_IN = 9;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_IN"] = 9] = "NOT_IN";
    /**
     * @generated from enum value: BETWEEN = 10;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["BETWEEN"] = 10] = "BETWEEN";
    /**
     * @generated from enum value: NOT_BETWEEN = 11;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_BETWEEN"] = 11] = "NOT_BETWEEN";
    /**
     * @generated from enum value: IS_NULL = 12;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IS_NULL"] = 12] = "IS_NULL";
    /**
     * @generated from enum value: IS_NOT_NULL = 13;
     */
    AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IS_NOT_NULL"] = 13] = "IS_NOT_NULL";
})(AnalyticsViewFilterOperator || (AnalyticsViewFilterOperator = {}));
// Retrieve enum metadata with: proto3.getEnumType(AnalyticsViewFilterOperator)
proto3.util.setEnumType(AnalyticsViewFilterOperator, "wg.cosmo.platform.v1.AnalyticsViewFilterOperator", [
    { no: 0, name: "EQUALS" },
    { no: 1, name: "NOT_EQUALS" },
    { no: 2, name: "GREATER_THAN" },
    { no: 3, name: "LESS_THAN" },
    { no: 4, name: "GREATER_THAN_OR_EQUAL" },
    { no: 5, name: "LESS_THAN_OR_EQUAL" },
    { no: 6, name: "CONTAINS" },
    { no: 7, name: "NOT_CONTAINS" },
    { no: 8, name: "IN" },
    { no: 9, name: "NOT_IN" },
    { no: 10, name: "BETWEEN" },
    { no: 11, name: "NOT_BETWEEN" },
    { no: 12, name: "IS_NULL" },
    { no: 13, name: "IS_NOT_NULL" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.ExpiresAt
 */
export var ExpiresAt;
(function (ExpiresAt) {
    /**
     * @generated from enum value: NEVER = 0;
     */
    ExpiresAt[ExpiresAt["NEVER"] = 0] = "NEVER";
    /**
     * @generated from enum value: THIRTY_DAYS = 1;
     */
    ExpiresAt[ExpiresAt["THIRTY_DAYS"] = 1] = "THIRTY_DAYS";
    /**
     * @generated from enum value: SIX_MONTHS = 2;
     */
    ExpiresAt[ExpiresAt["SIX_MONTHS"] = 2] = "SIX_MONTHS";
    /**
     * @generated from enum value: ONE_YEAR = 3;
     */
    ExpiresAt[ExpiresAt["ONE_YEAR"] = 3] = "ONE_YEAR";
})(ExpiresAt || (ExpiresAt = {}));
// Retrieve enum metadata with: proto3.getEnumType(ExpiresAt)
proto3.util.setEnumType(ExpiresAt, "wg.cosmo.platform.v1.ExpiresAt", [
    { no: 0, name: "NEVER" },
    { no: 1, name: "THIRTY_DAYS" },
    { no: 2, name: "SIX_MONTHS" },
    { no: 3, name: "ONE_YEAR" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.PublishedOperationStatus
 */
export var PublishedOperationStatus;
(function (PublishedOperationStatus) {
    /**
     * @generated from enum value: UP_TO_DATE = 0;
     */
    PublishedOperationStatus[PublishedOperationStatus["UP_TO_DATE"] = 0] = "UP_TO_DATE";
    /**
     * @generated from enum value: CREATED = 1;
     */
    PublishedOperationStatus[PublishedOperationStatus["CREATED"] = 1] = "CREATED";
    /**
     * @generated from enum value: CONFLICT = 2;
     */
    PublishedOperationStatus[PublishedOperationStatus["CONFLICT"] = 2] = "CONFLICT";
})(PublishedOperationStatus || (PublishedOperationStatus = {}));
// Retrieve enum metadata with: proto3.getEnumType(PublishedOperationStatus)
proto3.util.setEnumType(PublishedOperationStatus, "wg.cosmo.platform.v1.PublishedOperationStatus", [
    { no: 0, name: "UP_TO_DATE" },
    { no: 1, name: "CREATED" },
    { no: 2, name: "CONFLICT" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.IntegrationType
 */
export var IntegrationType;
(function (IntegrationType) {
    /**
     * @generated from enum value: SLACK = 0;
     */
    IntegrationType[IntegrationType["SLACK"] = 0] = "SLACK";
})(IntegrationType || (IntegrationType = {}));
// Retrieve enum metadata with: proto3.getEnumType(IntegrationType)
proto3.util.setEnumType(IntegrationType, "wg.cosmo.platform.v1.IntegrationType", [
    { no: 0, name: "SLACK" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.Feature
 */
export var Feature;
(function (Feature) {
    /**
     * @generated from enum value: rbac = 0;
     */
    Feature[Feature["rbac"] = 0] = "rbac";
    /**
     * @generated from enum value: ai = 1;
     */
    Feature[Feature["ai"] = 1] = "ai";
    /**
     * @generated from enum value: scim = 2;
     */
    Feature[Feature["scim"] = 2] = "scim";
})(Feature || (Feature = {}));
// Retrieve enum metadata with: proto3.getEnumType(Feature)
proto3.util.setEnumType(Feature, "wg.cosmo.platform.v1.Feature", [
    { no: 0, name: "rbac" },
    { no: 1, name: "ai" },
    { no: 2, name: "scim" },
]);
/**
 * @generated from enum wg.cosmo.platform.v1.ProposalNamingConvention
 */
export var ProposalNamingConvention;
(function (ProposalNamingConvention) {
    /**
     * @generated from enum value: NORMAL = 0;
     */
    ProposalNamingConvention[ProposalNamingConvention["NORMAL"] = 0] = "NORMAL";
    /**
     * @generated from enum value: INCREMENTAL = 1;
     */
    ProposalNamingConvention[ProposalNamingConvention["INCREMENTAL"] = 1] = "INCREMENTAL";
})(ProposalNamingConvention || (ProposalNamingConvention = {}));
// Retrieve enum metadata with: proto3.getEnumType(ProposalNamingConvention)
proto3.util.setEnumType(ProposalNamingConvention, "wg.cosmo.platform.v1.ProposalNamingConvention", [
    { no: 0, name: "NORMAL" },
    { no: 1, name: "INCREMENTAL" },
]);
/**
 * @generated from message wg.cosmo.platform.v1.Label
 */
export class Label extends Message {
    /**
     * @generated from field: string key = 1;
     */
    key = "";
    /**
     * @generated from field: string value = 2;
     */
    value = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Label";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Label().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Label().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Label().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Label, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Response
 */
export class Response extends Message {
    /**
     * @generated from field: wg.cosmo.common.EnumStatusCode code = 1;
     */
    code = EnumStatusCode.OK;
    /**
     * details is an optional field which can be used to provide more details about the error.
     *
     * @generated from field: optional string details = 2;
     */
    details;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Response";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "code", kind: "enum", T: proto3.getEnumType(EnumStatusCode) },
        { no: 2, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new Response().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Response().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Response().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Response, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ResponseStatus
 */
export class ResponseStatus extends Message {
    /**
     * @generated from field: int32 code = 1;
     */
    code = 0;
    /**
     * @generated from field: string message = 2;
     */
    message = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ResponseStatus";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ResponseStatus().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ResponseStatus().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ResponseStatus().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ResponseStatus, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishMonographRequest
 */
export class PublishMonographRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string schema = 3;
     */
    schema = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishMonographRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PublishMonographRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishMonographRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishMonographRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishMonographRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishMonographResponse
 */
export class PublishMonographResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishMonographResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new PublishMonographResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishMonographResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishMonographResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishMonographResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ProtoInput
 */
export class ProtoInput extends Message {
    /**
     * @generated from field: string schema = 1;
     */
    schema = "";
    /**
     * @generated from field: string mappings = 2;
     */
    mappings = "";
    /**
     * @generated from field: string lock = 3;
     */
    lock = "";
    /**
     * @generated from field: repeated string platforms = 4;
     */
    platforms = [];
    /**
     * @generated from field: string version = 5;
     */
    version = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ProtoInput";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "mappings", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "lock", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "platforms", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ProtoInput().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ProtoInput().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ProtoInput().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ProtoInput, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphRequest
 */
export class PublishFederatedSubgraphRequest extends Message {
    /**
     * The FQDN of the subgraph to be published e.g. "wg.team1.orders"
     *
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * The string representation of the schema, the content of the file
     *
     * @generated from field: string schema = 2;
     */
    schema = "";
    /**
     * The routing_url is the URL of the service which will be used to route the requests to the subgraph.
     *
     * @generated from field: optional string routing_url = 3;
     */
    routingUrl;
    /**
     * The labels are the labels of the services which will form the federated graph. If the proposed is not valid, the service will be rejected.
     *
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
     */
    labels = [];
    /**
     * The subscription protocol to use when subscribing to this subgraph
     *
     * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol subscription_protocol = 6;
     */
    subscriptionProtocol;
    /**
     * The url used for subscriptions
     *
     * @generated from field: optional string subscription_url = 7;
     */
    subscriptionUrl;
    /**
     * The namespace of the subgraph
     *
     * @generated from field: string namespace = 8;
     */
    namespace = "";
    /**
     * The subscription subprotocol to use when subscribing to this subgraph
     *
     * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
     */
    websocketSubprotocol;
    /**
     * @generated from field: optional bool is_feature_subgraph = 10;
     */
    isFeatureSubgraph;
    /**
     * @generated from field: optional string base_subgraph_name = 11;
     */
    baseSubgraphName;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 12;
     */
    disableResolvabilityValidation;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.SubgraphType type = 13;
     */
    type;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.ProtoInput proto = 14;
     */
    proto;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 6, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
        { no: 7, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
        { no: 10, name: "is_feature_subgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 11, name: "base_subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 12, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 13, name: "type", kind: "enum", T: proto3.getEnumType(SubgraphType), opt: true },
        { no: 14, name: "proto", kind: "message", T: ProtoInput, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new PublishFederatedSubgraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishFederatedSubgraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishFederatedSubgraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishFederatedSubgraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphResponse
 */
export class PublishFederatedSubgraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: optional bool hasChanged = 4;
     */
    hasChanged;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 5;
     */
    compositionWarnings = [];
    /**
     * @generated from field: optional string proposalMatchMessage = 6;
     */
    proposalMatchMessage;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "hasChanged", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 5, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
        { no: 6, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new PublishFederatedSubgraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishFederatedSubgraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishFederatedSubgraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishFederatedSubgraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GitInfo
 */
export class GitInfo extends Message {
    /**
     * @generated from field: string commit_sha = 1;
     */
    commitSha = "";
    /**
     * @generated from field: string account_id = 2;
     */
    accountId = "";
    /**
     * @generated from field: string owner_slug = 3;
     */
    ownerSlug = "";
    /**
     * @generated from field: string repository_slug = 4;
     */
    repositorySlug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GitInfo";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "owner_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "repository_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GitInfo().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GitInfo().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GitInfo().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GitInfo, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.VCSContext
 */
export class VCSContext extends Message {
    /**
     * @generated from field: string author = 1;
     */
    author = "";
    /**
     * @generated from field: string commit_sha = 2;
     */
    commitSha = "";
    /**
     * @generated from field: string branch = 3;
     */
    branch = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.VCSContext";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "author", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new VCSContext().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new VCSContext().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new VCSContext().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(VCSContext, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaRequest
 */
export class CheckSubgraphSchemaRequest extends Message {
    /**
     * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
     *
     * @generated from field: string subgraph_name = 1;
     */
    subgraphName = "";
    /**
     * The binary representation of the schema, the content of the file
     *
     * @generated from field: bytes schema = 2;
     */
    schema = new Uint8Array(0);
    /**
     * @generated from field: wg.cosmo.platform.v1.GitInfo gitInfo = 3;
     */
    gitInfo;
    /**
     * Check breaking changes and composition when this subgraph is deleted
     *
     * @generated from field: optional bool delete = 4;
     */
    delete;
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    /**
     * @generated from field: optional bool skip_traffic_check = 6;
     */
    skipTrafficCheck;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.VCSContext vcsContext = 7;
     */
    vcsContext;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 8;
     */
    labels = [];
    /**
     * @generated from field: optional bool disable_resolvability_validation = 9;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schema", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 3, name: "gitInfo", kind: "message", T: GitInfo },
        { no: 4, name: "delete", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "skip_traffic_check", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 7, name: "vcsContext", kind: "message", T: VCSContext, opt: true },
        { no: 8, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 9, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CheckSubgraphSchemaRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckSubgraphSchemaRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckSubgraphSchemaRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckSubgraphSchemaRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FixSubgraphSchemaRequest
 */
export class FixSubgraphSchemaRequest extends Message {
    /**
     * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
     *
     * @generated from field: string subgraph_name = 1;
     */
    subgraphName = "";
    /**
     * The string representation of the schema, the content of the file
     *
     * @generated from field: string schema = 2;
     */
    schema = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 4;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FixSubgraphSchemaRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new FixSubgraphSchemaRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FixSubgraphSchemaRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FixSubgraphSchemaRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FixSubgraphSchemaRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateMonographRequest
 */
export class CreateMonographRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string routing_url = 3;
     */
    routingUrl = "";
    /**
     * @generated from field: string graph_url = 4;
     */
    graphUrl = "";
    /**
     * @generated from field: optional string subscription_url = 5;
     */
    subscriptionUrl;
    /**
     * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol subscription_protocol = 6;
     */
    subscriptionProtocol;
    /**
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: string admissionWebhookURL = 8;
     */
    admissionWebhookURL = "";
    /**
     * The subscription protocol to use when subscribing to this subgraph
     *
     * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
     */
    websocketSubprotocol;
    /**
     * @generated from field: optional string admissionWebhookSecret = 10;
     */
    admissionWebhookSecret;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateMonographRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "graph_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
        { no: 10, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateMonographRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateMonographRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateMonographRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateMonographRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateMonographResponse
 */
export class CreateMonographResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateMonographResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateMonographResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateMonographResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateMonographResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateMonographResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphRequest
 */
export class CreateFederatedGraphRequest extends Message {
    /**
     * name is the FQDN of the federated graph e.g. "wg.main"
     *
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * routing_url is the URL of the service which will be used to route the requests to the subgraph.
     *
     * @generated from field: string routing_url = 2;
     */
    routingUrl = "";
    /**
     * label_matchers match the labels of the services which will form the federated graph. If the proposed schema composition is invalid, it will be rejected.
     *
     * @generated from field: repeated string label_matchers = 3;
     */
    labelMatchers = [];
    /**
     * readme of the fed graph
     *
     * @generated from field: optional string readme = 4;
     */
    readme;
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    /**
     * @generated from field: string admissionWebhookURL = 6;
     */
    admissionWebhookURL = "";
    /**
     * @generated from field: optional string admissionWebhookSecret = 7;
     */
    admissionWebhookSecret;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 8;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedSubgraphRequest
 */
export class CreateFederatedSubgraphRequest extends Message {
    /**
     * The FQDN of the subgraph to be published e.g. "wg.team1.orders"
     *
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * routing_url is the URL of the service which will be used to route the requests to the subgraph.
     *
     * @generated from field: optional string routing_url = 2;
     */
    routingUrl;
    /**
     * labels are the labels of the services which will form the federated graph. If the proposed is not valid, the service will be rejected.
     *
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
     */
    labels = [];
    /**
     * subscription protocol to use when subscribing to this subgraph
     *
     * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol subscription_protocol = 5;
     */
    subscriptionProtocol;
    /**
     * url used for subscriptions
     *
     * @generated from field: optional string subscription_url = 6;
     */
    subscriptionUrl;
    /**
     * readme of the subgraph
     *
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: string namespace = 8;
     */
    namespace = "";
    /**
     * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
     */
    websocketSubprotocol;
    /**
     * @generated from field: optional bool is_event_driven_graph = 10;
     */
    isEventDrivenGraph;
    /**
     * @generated from field: optional bool is_feature_subgraph = 11;
     */
    isFeatureSubgraph;
    /**
     * @generated from field: optional string base_subgraph_name = 12;
     */
    baseSubgraphName;
    /**
     * @generated from field: wg.cosmo.platform.v1.SubgraphType type = 13;
     */
    type = SubgraphType.STANDARD;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
        { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
        { no: 10, name: "is_event_driven_graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 11, name: "is_feature_subgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 12, name: "base_subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 13, name: "type", kind: "enum", T: proto3.getEnumType(SubgraphType) },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedSubgraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedSubgraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedSubgraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedSubgraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFederatedGraphRequest
 */
export class DeleteFederatedGraphRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteMonographRequest
 */
export class DeleteMonographRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteMonographRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteMonographRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteMonographRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteMonographRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteMonographRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteMonographResponse
 */
export class DeleteMonographResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteMonographResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteMonographResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteMonographResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteMonographResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteMonographResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFederatedSubgraphRequest
 */
export class DeleteFederatedSubgraphRequest extends Message {
    /**
     * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
     *
     * @generated from field: string subgraph_name = 1;
     */
    subgraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 3;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFederatedSubgraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFederatedSubgraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFederatedSubgraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFederatedSubgraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFederatedSubgraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SchemaChange
 */
export class SchemaChange extends Message {
    /**
     * @generated from field: string message = 1;
     */
    message = "";
    /**
     * @generated from field: string changeType = 2;
     */
    changeType = "";
    /**
     * @generated from field: optional string path = 3;
     */
    path;
    /**
     * @generated from field: bool isBreaking = 4;
     */
    isBreaking = false;
    /**
     * @generated from field: optional bool hasOverride = 5;
     */
    hasOverride;
    /**
     * @generated from field: optional string subgraphName = 6;
     */
    subgraphName;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SchemaChange";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "hasOverride", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 6, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new SchemaChange().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SchemaChange().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SchemaChange().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SchemaChange, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CompositionError
 */
export class CompositionError extends Message {
    /**
     * @generated from field: string message = 1;
     */
    message = "";
    /**
     * @generated from field: string federatedGraphName = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: string featureFlag = 4;
     */
    featureFlag = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CompositionError";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "featureFlag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CompositionError().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CompositionError().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CompositionError().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CompositionError, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CompositionWarning
 */
export class CompositionWarning extends Message {
    /**
     * @generated from field: string message = 1;
     */
    message = "";
    /**
     * @generated from field: string federatedGraphName = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: string featureFlag = 4;
     */
    featureFlag = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CompositionWarning";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "featureFlag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CompositionWarning().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CompositionWarning().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CompositionWarning().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CompositionWarning, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeploymentError
 */
export class DeploymentError extends Message {
    /**
     * @generated from field: string message = 1;
     */
    message = "";
    /**
     * @generated from field: string federatedGraphName = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeploymentError";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeploymentError().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeploymentError().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeploymentError().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeploymentError, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckOperationUsageStats
 */
export class CheckOperationUsageStats extends Message {
    /**
     * @generated from field: uint32 totalOperations = 1;
     */
    totalOperations = 0;
    /**
     * @generated from field: string firstSeenAt = 2;
     */
    firstSeenAt = "";
    /**
     * @generated from field: string lastSeenAt = 3;
     */
    lastSeenAt = "";
    /**
     * @generated from field: uint32 safeOperations = 4;
     */
    safeOperations = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckOperationUsageStats";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "totalOperations", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
        { no: 2, name: "firstSeenAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "lastSeenAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "safeOperations", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new CheckOperationUsageStats().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckOperationUsageStats().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckOperationUsageStats().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckOperationUsageStats, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckedFederatedGraphs
 */
export class CheckedFederatedGraphs extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: string organization_slug = 4;
     */
    organizationSlug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckedFederatedGraphs";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "organization_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CheckedFederatedGraphs().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckedFederatedGraphs().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckedFederatedGraphs().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckedFederatedGraphs, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.LintLocation
 */
export class LintLocation extends Message {
    /**
     * @generated from field: uint32 line = 1;
     */
    line = 0;
    /**
     * @generated from field: uint32 column = 2;
     */
    column = 0;
    /**
     * @generated from field: optional uint32 endLine = 3;
     */
    endLine;
    /**
     * @generated from field: optional uint32 endColumn = 4;
     */
    endColumn;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.LintLocation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "line", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
        { no: 2, name: "column", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
        { no: 3, name: "endLine", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
        { no: 4, name: "endColumn", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new LintLocation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new LintLocation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new LintLocation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(LintLocation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.LintIssue
 */
export class LintIssue extends Message {
    /**
     * @generated from field: optional string lintRuleType = 1;
     */
    lintRuleType;
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity severity = 2;
     */
    severity = LintSeverity.warn;
    /**
     * @generated from field: string message = 3;
     */
    message = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintLocation issueLocation = 4;
     */
    issueLocation;
    /**
     * @generated from field: optional string subgraphName = 5;
     */
    subgraphName;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.LintIssue";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "lintRuleType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 2, name: "severity", kind: "enum", T: proto3.getEnumType(LintSeverity) },
        { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "issueLocation", kind: "message", T: LintLocation },
        { no: 5, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new LintIssue().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new LintIssue().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new LintIssue().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(LintIssue, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GraphPruningIssue
 */
export class GraphPruningIssue extends Message {
    /**
     * @generated from field: string graphPruningRuleType = 1;
     */
    graphPruningRuleType = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity severity = 2;
     */
    severity = LintSeverity.warn;
    /**
     * @generated from field: string fieldPath = 3;
     */
    fieldPath = "";
    /**
     * @generated from field: string message = 4;
     */
    message = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintLocation issueLocation = 5;
     */
    issueLocation;
    /**
     * @generated from field: string federatedGraphName = 6;
     */
    federatedGraphName = "";
    /**
     * @generated from field: optional string subgraphName = 7;
     */
    subgraphName;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GraphPruningIssue";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graphPruningRuleType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "severity", kind: "enum", T: proto3.getEnumType(LintSeverity) },
        { no: 3, name: "fieldPath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "issueLocation", kind: "message", T: LintLocation },
        { no: 6, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GraphPruningIssue().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GraphPruningIssue().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GraphPruningIssue().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GraphPruningIssue, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaResponse
 */
export class CheckSubgraphSchemaResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 2;
     */
    breakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 3;
     */
    nonBreakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 4;
     */
    compositionErrors = [];
    /**
     * Contains the operation usage stats for the operations that are impacted by the schema changes.
     *
     * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 5;
     */
    operationUsageStats;
    /**
     * @generated from field: string check_id = 6;
     */
    checkId = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CheckedFederatedGraphs checked_federated_graphs = 7;
     */
    checkedFederatedGraphs = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 8;
     */
    lintWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 9;
     */
    lintErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 10;
     */
    graphPruneWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 11;
     */
    graphPruneErrors = [];
    /**
     * @generated from field: optional bool client_traffic_check_skipped = 12;
     */
    clientTrafficCheckSkipped;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 13;
     */
    compositionWarnings = [];
    /**
     * @generated from field: optional string proposalMatchMessage = 14;
     */
    proposalMatchMessage;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 3, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 4, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 5, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
        { no: 6, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "checked_federated_graphs", kind: "message", T: CheckedFederatedGraphs, repeated: true },
        { no: 8, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
        { no: 9, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
        { no: 10, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 11, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 12, name: "client_traffic_check_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 13, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
        { no: 14, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckSubgraphSchemaResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckSubgraphSchemaResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckSubgraphSchemaResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FixSubgraphSchemaResponse
 */
export class FixSubgraphSchemaResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool modified = 2;
     */
    modified = false;
    /**
     * @generated from field: string schema = 3;
     */
    schema = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FixSubgraphSchemaResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "modified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FixSubgraphSchemaResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FixSubgraphSchemaResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FixSubgraphSchemaResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FixSubgraphSchemaResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphResponse
 */
export class CreateFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedSubgraphResponse
 */
export class CreateFederatedSubgraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedSubgraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedSubgraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedSubgraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedSubgraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFederatedSubgraphResponse
 */
export class DeleteFederatedSubgraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    /**
     * @generated from field: optional string proposalMatchMessage = 5;
     */
    proposalMatchMessage;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFederatedSubgraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
        { no: 5, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFederatedSubgraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFederatedSubgraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFederatedSubgraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFederatedSubgraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFederatedGraphResponse
 */
export class DeleteFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsRequest
 */
export class GetFederatedGraphsRequest extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    /**
     * @generated from field: bool includeMetrics = 3;
     */
    includeMetrics = false;
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    /**
     * @generated from field: optional bool supports_federation = 5;
     */
    supportsFederation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "supports_federation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Contract
 */
export class Contract extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string source_federated_graph_id = 2;
     */
    sourceFederatedGraphId = "";
    /**
     * @generated from field: repeated string exclude_tags = 3;
     */
    excludeTags = [];
    /**
     * @generated from field: repeated string include_tags = 4;
     */
    includeTags = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Contract";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "source_federated_graph_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "exclude_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "include_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new Contract().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Contract().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Contract().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Contract, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FederatedGraph
 */
export class FederatedGraph extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string routingURL = 3;
     */
    routingURL = "";
    /**
     * @generated from field: repeated string label_matchers = 4;
     */
    labelMatchers = [];
    /**
     * @generated from field: string lastUpdatedAt = 5;
     */
    lastUpdatedAt = "";
    /**
     * @generated from field: bool isComposable = 6;
     */
    isComposable = false;
    /**
     * @generated from field: string compositionErrors = 7;
     */
    compositionErrors = "";
    /**
     * @generated from field: int32 connectedSubgraphs = 8;
     */
    connectedSubgraphs = 0;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 9;
     */
    requestSeries = [];
    /**
     * @generated from field: optional string readme = 10;
     */
    readme;
    /**
     * @generated from field: string target_id = 11;
     */
    targetId = "";
    /**
     * @generated from field: string namespace = 12;
     */
    namespace = "";
    /**
     * @generated from field: optional string compositionId = 13;
     */
    compositionId;
    /**
     * @generated from field: bool supports_federation = 14;
     */
    supportsFederation = false;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Contract contract = 15;
     */
    contract;
    /**
     * @generated from field: optional string admission_webhook_url = 16;
     */
    admissionWebhookUrl;
    /**
     * @generated from field: string router_compatibility_version = 17;
     */
    routerCompatibilityVersion = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FederatedGraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "connectedSubgraphs", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 9, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
        { no: 10, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 11, name: "target_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 12, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 13, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 14, name: "supports_federation", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 15, name: "contract", kind: "message", T: Contract, opt: true },
        { no: 16, name: "admission_webhook_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 17, name: "router_compatibility_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FederatedGraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FederatedGraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FederatedGraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FederatedGraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsResponse
 */
export class GetFederatedGraphsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraph graphs = 2;
     */
    graphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graphs", kind: "message", T: FederatedGraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsBySubgraphLabelsRequest
 */
export class GetFederatedGraphsBySubgraphLabelsRequest extends Message {
    /**
     * @generated from field: string subgraphName = 1;
     */
    subgraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsBySubgraphLabelsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphsBySubgraphLabelsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphsBySubgraphLabelsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphsBySubgraphLabelsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphsBySubgraphLabelsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsBySubgraphLabelsResponse
 */
export class GetFederatedGraphsBySubgraphLabelsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraph graphs = 2;
     */
    graphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsBySubgraphLabelsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graphs", kind: "message", T: FederatedGraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphsBySubgraphLabelsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphsBySubgraphLabelsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphsBySubgraphLabelsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphsBySubgraphLabelsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphsRequest
 */
export class GetSubgraphsRequest extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional string query = 4;
     */
    query;
    /**
     * @generated from field: bool exclude_feature_subgraphs = 5;
     */
    excludeFeatureSubgraphs = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "exclude_feature_subgraphs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Subgraph
 */
export class Subgraph extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string routingURL = 3;
     */
    routingURL = "";
    /**
     * @generated from field: string lastUpdatedAt = 4;
     */
    lastUpdatedAt = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 5;
     */
    labels = [];
    /**
     * @generated from field: optional string creatorUserId = 6;
     */
    creatorUserId;
    /**
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: string subscriptionUrl = 8;
     */
    subscriptionUrl = "";
    /**
     * @generated from field: string target_id = 9;
     */
    targetId = "";
    /**
     * @generated from field: string namespace = 10;
     */
    namespace = "";
    /**
     * @generated from field: string subscriptionProtocol = 11;
     */
    subscriptionProtocol = "";
    /**
     * @generated from field: optional bool isV2Graph = 12;
     */
    isV2Graph;
    /**
     * @generated from field: bool isEventDrivenGraph = 13;
     */
    isEventDrivenGraph = false;
    /**
     * @generated from field: string websocketSubprotocol = 14;
     */
    websocketSubprotocol = "";
    /**
     * @generated from field: bool isFeatureSubgraph = 15;
     */
    isFeatureSubgraph = false;
    /**
     * @generated from field: optional string baseSubgraphName = 16;
     */
    baseSubgraphName;
    /**
     * @generated from field: optional string baseSubgraphId = 17;
     */
    baseSubgraphId;
    /**
     * @generated from field: wg.cosmo.platform.v1.SubgraphType type = 18;
     */
    type = SubgraphType.STANDARD;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Subgraph.PluginData pluginData = 19;
     */
    pluginData;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Subgraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 6, name: "creatorUserId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "subscriptionUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "target_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 10, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "subscriptionProtocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 12, name: "isV2Graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 13, name: "isEventDrivenGraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 14, name: "websocketSubprotocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 15, name: "isFeatureSubgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 16, name: "baseSubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 17, name: "baseSubgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 18, name: "type", kind: "enum", T: proto3.getEnumType(SubgraphType) },
        { no: 19, name: "pluginData", kind: "message", T: Subgraph_PluginData, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new Subgraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Subgraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Subgraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Subgraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Subgraph.PluginData
 */
export class Subgraph_PluginData extends Message {
    /**
     * @generated from field: string version = 1;
     */
    version = "";
    /**
     * @generated from field: repeated string platforms = 2;
     */
    platforms = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Subgraph.PluginData";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "platforms", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new Subgraph_PluginData().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Subgraph_PluginData().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Subgraph_PluginData().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Subgraph_PluginData, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphsResponse
 */
export class GetSubgraphsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph graphs = 2;
     */
    graphs = [];
    /**
     * @generated from field: int32 count = 3;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graphs", kind: "message", T: Subgraph, repeated: true },
        { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByNameRequest
 */
export class GetFederatedGraphByNameRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: bool includeMetrics = 2;
     */
    includeMetrics = false;
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphByNameRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphByNameRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphByNameRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphByNameRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByNameResponse
 */
export class GetFederatedGraphByNameResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.FederatedGraph graph = 2;
     */
    graph;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
     */
    subgraphs = [];
    /**
     * @generated from field: string graphRequestToken = 4;
     */
    graphRequestToken = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag featureFlagsInLatestValidComposition = 5;
     */
    featureFlagsInLatestValidComposition = [];
    /**
     * includes all the feature subgraphs that are part of the federated graph;
     * even the ones that are not part of the latest composition
     *
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph featureSubgraphs = 6;
     */
    featureSubgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graph", kind: "message", T: FederatedGraph },
        { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
        { no: 4, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "featureFlagsInLatestValidComposition", kind: "message", T: FeatureFlag, repeated: true },
        { no: 6, name: "featureSubgraphs", kind: "message", T: Subgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphByNameResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphByNameResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphByNameResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphByNameResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphSDLByNameRequest
 */
export class GetFederatedGraphSDLByNameRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: optional string feature_flag_name = 3;
     */
    featureFlagName;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphSDLByNameRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphSDLByNameRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphSDLByNameRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphSDLByNameRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphSDLByNameRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphSDLByNameResponse
 */
export class GetFederatedGraphSDLByNameResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: optional string sdl = 2;
     */
    sdl;
    /**
     * @generated from field: optional string version_id = 3;
     */
    versionId;
    /**
     * @generated from field: optional string client_schema = 4;
     */
    clientSchema;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphSDLByNameResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "client_schema", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphSDLByNameResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphSDLByNameResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphSDLByNameResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphSDLByNameResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphByNameRequest
 */
export class GetSubgraphByNameRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphByNameRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphByNameRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphByNameRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphByNameRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphByNameRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphByNameResponse
 */
export class GetSubgraphByNameResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.Subgraph graph = 2;
     */
    graph;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMember members = 3;
     */
    members = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphByNameResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graph", kind: "message", T: Subgraph },
        { no: 3, name: "members", kind: "message", T: SubgraphMember, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphByNameResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphByNameResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphByNameResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphByNameResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionRequest
 */
export class GetSubgraphSDLFromLatestCompositionRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string fedGraphName = 2;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphSDLFromLatestCompositionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphSDLFromLatestCompositionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphSDLFromLatestCompositionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphSDLFromLatestCompositionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionResponse
 */
export class GetSubgraphSDLFromLatestCompositionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: optional string sdl = 2;
     */
    sdl;
    /**
     * @generated from field: optional string version_id = 3;
     */
    versionId;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphSDLFromLatestCompositionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphSDLFromLatestCompositionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphSDLFromLatestCompositionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphSDLFromLatestCompositionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphSDLFromLatestCompositionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLRequest
 */
export class GetLatestSubgraphSDLRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetLatestSubgraphSDLRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetLatestSubgraphSDLRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetLatestSubgraphSDLRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetLatestSubgraphSDLRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetLatestSubgraphSDLResponse
 */
export class GetLatestSubgraphSDLResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: optional string sdl = 2;
     */
    sdl;
    /**
     * @generated from field: optional string version_id = 3;
     */
    versionId;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetLatestSubgraphSDLResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetLatestSubgraphSDLResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetLatestSubgraphSDLResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetLatestSubgraphSDLResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetLatestSubgraphSDLResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameFilters
 */
export class GetChecksByFederatedGraphNameFilters extends Message {
    /**
     * @generated from field: repeated string subgraphs = 1;
     */
    subgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetChecksByFederatedGraphNameFilters";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetChecksByFederatedGraphNameFilters().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetChecksByFederatedGraphNameFilters().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetChecksByFederatedGraphNameFilters().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetChecksByFederatedGraphNameFilters, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameRequest
 */
export class GetChecksByFederatedGraphNameRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: int32 limit = 2;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 3;
     */
    offset = 0;
    /**
     * @generated from field: string startDate = 4;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 5;
     */
    endDate = "";
    /**
     * @generated from field: string namespace = 6;
     */
    namespace = "";
    /**
     * @generated from field: optional wg.cosmo.platform.v1.GetChecksByFederatedGraphNameFilters filters = 7;
     */
    filters;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetChecksByFederatedGraphNameRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "filters", kind: "message", T: GetChecksByFederatedGraphNameFilters, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetChecksByFederatedGraphNameRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetChecksByFederatedGraphNameRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetChecksByFederatedGraphNameRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetChecksByFederatedGraphNameRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SchemaCheck
 */
export class SchemaCheck extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: optional string targetID = 2;
     */
    targetID;
    /**
     * @generated from field: optional string subgraphName = 3;
     */
    subgraphName;
    /**
     * @generated from field: string timestamp = 4;
     */
    timestamp = "";
    /**
     * @generated from field: bool isComposable = 5;
     */
    isComposable = false;
    /**
     * @generated from field: bool isBreaking = 6;
     */
    isBreaking = false;
    /**
     * @generated from field: bool hasClientTraffic = 7;
     */
    hasClientTraffic = false;
    /**
     * @generated from field: bool isForcedSuccess = 8;
     */
    isForcedSuccess = false;
    /**
     * @generated from field: bool isDeleted = 9;
     */
    isDeleted = false;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.SchemaCheck.GhDetails ghDetails = 10;
     */
    ghDetails;
    /**
     * @generated from field: bool hasLintErrors = 11;
     */
    hasLintErrors = false;
    /**
     * @generated from field: bool hasGraphPruningErrors = 12;
     */
    hasGraphPruningErrors = false;
    /**
     * @generated from field: bool client_traffic_check_skipped = 13;
     */
    clientTrafficCheckSkipped = false;
    /**
     * @generated from field: bool lint_skipped = 14;
     */
    lintSkipped = false;
    /**
     * @generated from field: bool graph_pruning_skipped = 15;
     */
    graphPruningSkipped = false;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.VCSContext vcsContext = 16;
     */
    vcsContext;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck.CheckedSubgraph checkedSubgraphs = 17;
     */
    checkedSubgraphs = [];
    /**
     * @generated from field: optional string proposalMatch = 18;
     */
    proposalMatch;
    /**
     * @generated from field: bool composition_skipped = 19;
     */
    compositionSkipped = false;
    /**
     * @generated from field: bool breaking_changes_skipped = 20;
     */
    breakingChangesSkipped = false;
    /**
     * @generated from field: optional string errorMessage = 21;
     */
    errorMessage;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SchemaCheck";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "targetID", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 7, name: "hasClientTraffic", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 8, name: "isForcedSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 9, name: "isDeleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 10, name: "ghDetails", kind: "message", T: SchemaCheck_GhDetails, opt: true },
        { no: 11, name: "hasLintErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 12, name: "hasGraphPruningErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 13, name: "client_traffic_check_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 14, name: "lint_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 15, name: "graph_pruning_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 16, name: "vcsContext", kind: "message", T: VCSContext, opt: true },
        { no: 17, name: "checkedSubgraphs", kind: "message", T: SchemaCheck_CheckedSubgraph, repeated: true },
        { no: 18, name: "proposalMatch", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 19, name: "composition_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 20, name: "breaking_changes_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 21, name: "errorMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new SchemaCheck().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SchemaCheck().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SchemaCheck().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SchemaCheck, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SchemaCheck.GhDetails
 */
export class SchemaCheck_GhDetails extends Message {
    /**
     * @generated from field: string commitSha = 1;
     */
    commitSha = "";
    /**
     * @generated from field: string ownerSlug = 2;
     */
    ownerSlug = "";
    /**
     * @generated from field: string repositorySlug = 3;
     */
    repositorySlug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SchemaCheck.GhDetails";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "commitSha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "ownerSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "repositorySlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new SchemaCheck_GhDetails().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SchemaCheck_GhDetails().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SchemaCheck_GhDetails().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SchemaCheck_GhDetails, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SchemaCheck.CheckedSubgraph
 */
export class SchemaCheck_CheckedSubgraph extends Message {
    /**
     * its the check subgraph id
     *
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string subgraphName = 2;
     */
    subgraphName = "";
    /**
     * its optional because the subgraph can be deleted
     *
     * @generated from field: optional string subgraphId = 3;
     */
    subgraphId;
    /**
     * @generated from field: bool isDeleted = 4;
     */
    isDeleted = false;
    /**
     * @generated from field: bool isNew = 5;
     */
    isNew = false;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 6;
     */
    labels = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SchemaCheck.CheckedSubgraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "subgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "isDeleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "isNew", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "labels", kind: "message", T: Label, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new SchemaCheck_CheckedSubgraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SchemaCheck_CheckedSubgraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SchemaCheck_CheckedSubgraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SchemaCheck_CheckedSubgraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameResponse
 */
export class GetChecksByFederatedGraphNameResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck checks = 2;
     */
    checks = [];
    /**
     * @generated from field: int32 checksCountBasedOnDateRange = 3;
     */
    checksCountBasedOnDateRange = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetChecksByFederatedGraphNameResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "checks", kind: "message", T: SchemaCheck, repeated: true },
        { no: 3, name: "checksCountBasedOnDateRange", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetChecksByFederatedGraphNameResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetChecksByFederatedGraphNameResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetChecksByFederatedGraphNameResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetChecksByFederatedGraphNameResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckSummaryRequest
 */
export class GetCheckSummaryRequest extends Message {
    /**
     * @generated from field: string check_id = 1;
     */
    checkId = "";
    /**
     * @generated from field: string graph_name = 2;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckSummaryRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckSummaryRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckSummaryRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckSummaryRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckSummaryRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ChangeCounts
 */
export class ChangeCounts extends Message {
    /**
     * @generated from field: int32 additions = 1;
     */
    additions = 0;
    /**
     * @generated from field: int32 deletions = 2;
     */
    deletions = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ChangeCounts";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "additions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "deletions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new ChangeCounts().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ChangeCounts().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ChangeCounts().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ChangeCounts, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse
 */
export class GetCheckSummaryResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.SchemaCheck check = 2;
     */
    check;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetCheckSummaryResponse.AffectedGraph affected_graphs = 3;
     */
    affectedGraphs = [];
    /**
     * @generated from field: optional string proposedSubgraphSchemaSDL = 4;
     */
    proposedSubgraphSchemaSDL;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange changes = 6;
     */
    changes = [];
    /**
     * @generated from field: repeated string compositionErrors = 7;
     */
    compositionErrors = [];
    /**
     * @generated from field: int32 traffic_check_days = 8;
     */
    trafficCheckDays = 0;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintIssues = 9;
     */
    lintIssues = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruningIssues = 10;
     */
    graphPruningIssues = [];
    /**
     * @generated from field: repeated string compositionWarnings = 11;
     */
    compositionWarnings = [];
    /**
     * @generated from field: optional string proposalId = 12;
     */
    proposalId;
    /**
     * @generated from field: optional string proposalName = 13;
     */
    proposalName;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch proposalMatches = 14;
     */
    proposalMatches = [];
    /**
     * @generated from field: bool isProposalsEnabled = 15;
     */
    isProposalsEnabled = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "check", kind: "message", T: SchemaCheck },
        { no: 3, name: "affected_graphs", kind: "message", T: GetCheckSummaryResponse_AffectedGraph, repeated: true },
        { no: 4, name: "proposedSubgraphSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "changes", kind: "message", T: SchemaChange, repeated: true },
        { no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 8, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 9, name: "lintIssues", kind: "message", T: LintIssue, repeated: true },
        { no: 10, name: "graphPruningIssues", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 11, name: "compositionWarnings", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 12, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 13, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 14, name: "proposalMatches", kind: "message", T: GetCheckSummaryResponse_ProposalSchemaMatch, repeated: true },
        { no: 15, name: "isProposalsEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckSummaryResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckSummaryResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckSummaryResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckSummaryResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse.AffectedGraph
 */
export class GetCheckSummaryResponse_AffectedGraph extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: int32 traffic_check_days = 2;
     */
    trafficCheckDays = 0;
    /**
     * @generated from field: string name = 3;
     */
    name = "";
    /**
     * @generated from field: bool isCheckSuccessful = 4;
     */
    isCheckSuccessful = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse.AffectedGraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "isCheckSuccessful", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckSummaryResponse_AffectedGraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckSummaryResponse_AffectedGraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckSummaryResponse_AffectedGraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckSummaryResponse_AffectedGraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch
 */
export class GetCheckSummaryResponse_ProposalSchemaMatch extends Message {
    /**
     * @generated from field: string proposalId = 1;
     */
    proposalId = "";
    /**
     * @generated from field: string proposalName = 2;
     */
    proposalName = "";
    /**
     * @generated from field: bool proposalMatch = 3;
     */
    proposalMatch = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "proposalMatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckSummaryResponse_ProposalSchemaMatch().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckSummaryResponse_ProposalSchemaMatch().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckSummaryResponse_ProposalSchemaMatch().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckSummaryResponse_ProposalSchemaMatch, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckOperationsRequest
 */
export class GetCheckOperationsRequest extends Message {
    /**
     * @generated from field: string check_id = 1;
     */
    checkId = "";
    /**
     * @generated from field: string graph_name = 2;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: int32 limit = 4;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 5;
     */
    offset = 0;
    /**
     * @generated from field: optional string search = 6;
     */
    search;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 5, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 6, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckOperationsResponse
 */
export class GetCheckOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetCheckOperationsResponse.CheckOperation operations = 2;
     */
    operations = [];
    /**
     * @generated from field: int32 traffic_check_days = 3;
     */
    trafficCheckDays = 0;
    /**
     * @generated from field: string created_at = 4;
     */
    createdAt = "";
    /**
     * @generated from field: bool client_traffic_check_skipped = 5;
     */
    clientTrafficCheckSkipped = false;
    /**
     * @generated from field: int32 totalOperationsCount = 6;
     */
    totalOperationsCount = 0;
    /**
     * @generated from field: bool doAllOperationsHaveIgnoreAllOverride = 7;
     */
    doAllOperationsHaveIgnoreAllOverride = false;
    /**
     * @generated from field: bool doAllOperationsHaveAllTheirChangesMarkedSafe = 8;
     */
    doAllOperationsHaveAllTheirChangesMarkedSafe = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operations", kind: "message", T: GetCheckOperationsResponse_CheckOperation, repeated: true },
        { no: 3, name: "traffic_check_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "client_traffic_check_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "totalOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 7, name: "doAllOperationsHaveIgnoreAllOverride", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 8, name: "doAllOperationsHaveAllTheirChangesMarkedSafe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCheckOperationsResponse.CheckOperation
 */
export class GetCheckOperationsResponse_CheckOperation extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string type = 3;
     */
    type = "";
    /**
     * @generated from field: string first_seen_at = 4;
     */
    firstSeenAt = "";
    /**
     * @generated from field: string last_seen_at = 5;
     */
    lastSeenAt = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange impacting_changes = 6;
     */
    impactingChanges = [];
    /**
     * @generated from field: bool is_safe = 7;
     */
    isSafe = false;
    /**
     * @generated from field: bool hasIgnoreAllOverride = 8;
     */
    hasIgnoreAllOverride = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCheckOperationsResponse.CheckOperation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "first_seen_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "last_seen_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "impacting_changes", kind: "message", T: SchemaChange, repeated: true },
        { no: 7, name: "is_safe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 8, name: "hasIgnoreAllOverride", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCheckOperationsResponse_CheckOperation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCheckOperationsResponse_CheckOperation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCheckOperationsResponse_CheckOperation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCheckOperationsResponse_CheckOperation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationContentRequest
 */
export class GetOperationContentRequest extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string federated_graph_name = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationContentRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federated_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationContentRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationContentRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationContentRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationContentRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationContentResponse
 */
export class GetOperationContentResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string operation_content = 2;
     */
    operationContent = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationContentResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operation_content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationContentResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationContentResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationContentResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationContentResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphChangelogRequest
 */
export class GetFederatedGraphChangelogRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 2;
     */
    pagination;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 3;
     */
    dateRange;
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphChangelogRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "pagination", kind: "message", T: Pagination },
        { no: 3, name: "dateRange", kind: "message", T: DateRange },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphChangelogRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphChangelogRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphChangelogRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphChangelogRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FederatedGraphChangelog
 */
export class FederatedGraphChangelog extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string path = 2;
     */
    path = "";
    /**
     * @generated from field: string changeType = 3;
     */
    changeType = "";
    /**
     * @generated from field: string changeMessage = 4;
     */
    changeMessage = "";
    /**
     * @generated from field: string createdAt = 5;
     */
    createdAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FederatedGraphChangelog";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "changeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FederatedGraphChangelog().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FederatedGraphChangelog().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FederatedGraphChangelog().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FederatedGraphChangelog, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FederatedGraphChangelogOutput
 */
export class FederatedGraphChangelogOutput extends Message {
    /**
     * @generated from field: string createdAt = 1;
     */
    createdAt = "";
    /**
     * @generated from field: string schemaVersionId = 2;
     */
    schemaVersionId = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphChangelog changelogs = 3;
     */
    changelogs = [];
    /**
     * @generated from field: string compositionId = 4;
     */
    compositionId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FederatedGraphChangelogOutput";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "changelogs", kind: "message", T: FederatedGraphChangelog, repeated: true },
        { no: 4, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FederatedGraphChangelogOutput().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FederatedGraphChangelogOutput().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FederatedGraphChangelogOutput().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FederatedGraphChangelogOutput, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphChangelogResponse
 */
export class GetFederatedGraphChangelogResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphChangelogOutput federatedGraphChangelogOutput = 2;
     */
    federatedGraphChangelogOutput = [];
    /**
     * @generated from field: bool hasNextPage = 3;
     */
    hasNextPage = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphChangelogResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "federatedGraphChangelogOutput", kind: "message", T: FederatedGraphChangelogOutput, repeated: true },
        { no: 3, name: "hasNextPage", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphChangelogResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphChangelogResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphChangelogResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphChangelogResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedResponse
 */
export class GetFederatedResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string FederatedSchemaSDL = 2;
     */
    FederatedSchemaSDL = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "FederatedSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateSubgraphRequest
 */
export class UpdateSubgraphRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: optional string routing_url = 2;
     */
    routingUrl;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
     */
    labels = [];
    /**
     * @generated from field: repeated string headers = 4;
     */
    headers = [];
    /**
     * subscription protocol to use when subscribing to this subgraph
     *
     * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol subscription_protocol = 5;
     */
    subscriptionProtocol;
    /**
     * url used for subscriptions
     *
     * @generated from field: optional string subscription_url = 6;
     */
    subscriptionUrl;
    /**
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: string namespace = 8;
     */
    namespace = "";
    /**
     * @generated from field: optional bool unset_labels = 9;
     */
    unsetLabels;
    /**
     * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 10;
     */
    websocketSubprotocol;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 11;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateSubgraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 4, name: "headers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
        { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "unset_labels", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 10, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
        { no: 11, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateSubgraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateSubgraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateSubgraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateSubgraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateSubgraphResponse
 */
export class UpdateSubgraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateSubgraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateSubgraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateSubgraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateSubgraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateSubgraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFederatedGraphRequest
 */
export class UpdateFederatedGraphRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string routing_url = 2;
     */
    routingUrl = "";
    /**
     * @generated from field: repeated string label_matchers = 3;
     */
    labelMatchers = [];
    /**
     * @generated from field: optional string readme = 4;
     */
    readme;
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    /**
     * @generated from field: optional bool unset_label_matchers = 6;
     */
    unsetLabelMatchers;
    /**
     * @generated from field: optional string admissionWebhookURL = 7;
     */
    admissionWebhookURL;
    /**
     * @generated from field: optional string admissionWebhookSecret = 8;
     */
    admissionWebhookSecret;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 9;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "unset_label_matchers", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 7, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 9, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFederatedGraphResponse
 */
export class UpdateFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateMonographRequest
 */
export class UpdateMonographRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string routing_url = 3;
     */
    routingUrl = "";
    /**
     * @generated from field: string graph_url = 4;
     */
    graphUrl = "";
    /**
     * @generated from field: optional wg.cosmo.common.GraphQLSubscriptionProtocol subscription_protocol = 5;
     */
    subscriptionProtocol;
    /**
     * @generated from field: optional string subscription_url = 6;
     */
    subscriptionUrl;
    /**
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 8;
     */
    websocketSubprotocol;
    /**
     * @generated from field: optional string admissionWebhookURL = 9;
     */
    admissionWebhookURL;
    /**
     * @generated from field: optional string admissionWebhookSecret = 10;
     */
    admissionWebhookSecret;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateMonographRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "graph_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
        { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
        { no: 9, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 10, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateMonographRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateMonographRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateMonographRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateMonographRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateMonographResponse
 */
export class UpdateMonographResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateMonographResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateMonographResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateMonographResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateMonographResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateMonographResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckFederatedGraphRequest
 */
export class CheckFederatedGraphRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: repeated string label_matchers = 2;
     */
    labelMatchers = [];
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 4;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CheckFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CheckFederatedGraphResponse
 */
export class CheckFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
     */
    subgraphs = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CheckFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CheckFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CheckFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CheckFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CheckFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Pagination
 */
export class Pagination extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Pagination";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new Pagination().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Pagination().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Pagination().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Pagination, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Sort
 */
export class Sort extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: bool desc = 2;
     */
    desc = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Sort";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "desc", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new Sort().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Sort().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Sort().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Sort, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsConfig
 */
export class AnalyticsConfig extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 1;
     */
    dateRange;
    /**
     * @generated from field: optional int32 range = 2;
     */
    range;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 3;
     */
    filters = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 4;
     */
    pagination;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Sort sort = 5;
     */
    sort;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsConfig";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "dateRange", kind: "message", T: DateRange },
        { no: 2, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
        { no: 3, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
        { no: 4, name: "pagination", kind: "message", T: Pagination },
        { no: 5, name: "sort", kind: "message", T: Sort, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsConfig().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsConfig().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsConfig().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsConfig, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsFilter
 */
export class AnalyticsFilter extends Message {
    /**
     * The name of the column / attribute to filter on.
     *
     * @generated from field: string field = 1;
     */
    field = "";
    /**
     * The value to filter on.
     *
     * @generated from field: string value = 2;
     */
    value = "";
    /**
     * The operator to use for the filter.
     *
     * @generated from field: wg.cosmo.platform.v1.AnalyticsViewFilterOperator operator = 3;
     */
    operator = AnalyticsViewFilterOperator.EQUALS;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsFilter";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operator", kind: "enum", T: proto3.getEnumType(AnalyticsViewFilterOperator) },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsFilter().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsFilter().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsFilter().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsFilter, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DateRange
 */
export class DateRange extends Message {
    /**
     * The start date of the date range in ISO 8601 format.
     *
     * @generated from field: string start = 1;
     */
    start = "";
    /**
     * The end date of the date range in ISO 8601 format.
     *
     * @generated from field: string end = 2;
     */
    end = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DateRange";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DateRange().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DateRange().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DateRange().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DateRange, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAnalyticsViewRequest
 */
export class GetAnalyticsViewRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.AnalyticsViewGroupName name = 2;
     */
    name = AnalyticsViewGroupName.None;
    /**
     * @generated from field: wg.cosmo.platform.v1.AnalyticsConfig config = 3;
     */
    config;
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAnalyticsViewRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "enum", T: proto3.getEnumType(AnalyticsViewGroupName) },
        { no: 3, name: "config", kind: "message", T: AnalyticsConfig },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetAnalyticsViewRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAnalyticsViewRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAnalyticsViewRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAnalyticsViewRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewResult
 */
export class AnalyticsViewResult extends Message {
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewColumn columns = 1;
     */
    columns = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewRow rows = 2;
     */
    rows = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilter filters = 3;
     */
    filters = [];
    /**
     * @generated from field: int32 pages = 4;
     */
    pages = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewResult";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "columns", kind: "message", T: AnalyticsViewColumn, repeated: true },
        { no: 2, name: "rows", kind: "message", T: AnalyticsViewRow, repeated: true },
        { no: 3, name: "filters", kind: "message", T: AnalyticsViewResultFilter, repeated: true },
        { no: 4, name: "pages", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewResult().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewResult().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewResult().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewResult, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewColumn
 */
export class AnalyticsViewColumn extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string title = 2;
     */
    title = "";
    /**
     * @generated from field: string type = 3;
     */
    type = "";
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Unit unit = 4;
     */
    unit;
    /**
     * @generated from field: optional bool is_hidden = 5;
     */
    isHidden;
    /**
     * @generated from field: optional bool is_cta = 6;
     */
    isCta;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewColumn";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "unit", kind: "enum", T: proto3.getEnumType(Unit), opt: true },
        { no: 5, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 6, name: "is_cta", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewColumn().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewColumn().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewColumn().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewColumn, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewResultFilter
 */
export class AnalyticsViewResultFilter extends Message {
    /**
     * @generated from field: string columnName = 1;
     */
    columnName = "";
    /**
     * @generated from field: string title = 2;
     */
    title = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilterOption options = 3;
     */
    options = [];
    /**
     * @generated from field: optional wg.cosmo.platform.v1.CustomOptions custom_options = 4;
     */
    customOptions;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewResultFilter";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "columnName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "options", kind: "message", T: AnalyticsViewResultFilterOption, repeated: true },
        { no: 4, name: "custom_options", kind: "enum", T: proto3.getEnumType(CustomOptions), opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewResultFilter().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewResultFilter().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewResultFilter().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewResultFilter, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewResultFilterOption
 */
export class AnalyticsViewResultFilterOption extends Message {
    /**
     * @generated from field: string label = 1;
     */
    label = "";
    /**
     * @generated from field: optional string value = 2;
     */
    value;
    /**
     * @generated from field: wg.cosmo.platform.v1.AnalyticsViewFilterOperator operator = 3;
     */
    operator = AnalyticsViewFilterOperator.EQUALS;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewResultFilterOption";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "operator", kind: "enum", T: proto3.getEnumType(AnalyticsViewFilterOperator) },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewResultFilterOption().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewResultFilterOption().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewResultFilterOption().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewResultFilterOption, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewRow
 */
export class AnalyticsViewRow extends Message {
    /**
     * @generated from field: map<string, wg.cosmo.platform.v1.AnalyticsViewRowValue> value = 1;
     */
    value = {};
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewRow";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "value", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: AnalyticsViewRowValue } },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewRow().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewRow().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewRow().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewRow, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AnalyticsViewRowValue
 */
export class AnalyticsViewRowValue extends Message {
    /**
     * The kind of value.
     *
     * @generated from oneof wg.cosmo.platform.v1.AnalyticsViewRowValue.kind
     */
    kind = { case: undefined };
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AnalyticsViewRowValue";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "number_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "kind" },
        { no: 2, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "kind" },
        { no: 3, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "kind" },
    ]);
    static fromBinary(bytes, options) {
        return new AnalyticsViewRowValue().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AnalyticsViewRowValue().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AnalyticsViewRowValue().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AnalyticsViewRowValue, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAnalyticsViewResponse
 */
export class GetAnalyticsViewResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.AnalyticsViewResult view = 2;
     */
    view;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAnalyticsViewResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "view", kind: "message", T: AnalyticsViewResult },
    ]);
    static fromBinary(bytes, options) {
        return new GetAnalyticsViewResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAnalyticsViewResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAnalyticsViewResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAnalyticsViewResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest
 */
export class GetDashboardAnalyticsViewRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string startDate = 2;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 3;
     */
    endDate = "";
    /**
     * @generated from field: int32 range = 4;
     */
    range = 0;
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetDashboardAnalyticsViewRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetDashboardAnalyticsViewRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetDashboardAnalyticsViewRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetDashboardAnalyticsViewRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RequestSeriesItem
 */
export class RequestSeriesItem extends Message {
    /**
     * @generated from field: string timestamp = 1;
     */
    timestamp = "";
    /**
     * @generated from field: int32 totalRequests = 2;
     */
    totalRequests = 0;
    /**
     * @generated from field: int32 erroredRequests = 3;
     */
    erroredRequests = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RequestSeriesItem";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "totalRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "erroredRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new RequestSeriesItem().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RequestSeriesItem().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RequestSeriesItem().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RequestSeriesItem, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OperationRequestCount
 */
export class OperationRequestCount extends Message {
    /**
     * @generated from field: string operationHash = 1;
     */
    operationHash = "";
    /**
     * @generated from field: string operationName = 2;
     */
    operationName = "";
    /**
     * @generated from field: int32 totalRequests = 3;
     */
    totalRequests = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OperationRequestCount";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "operationHash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "totalRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new OperationRequestCount().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OperationRequestCount().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OperationRequestCount().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OperationRequestCount, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FederatedGraphMetrics
 */
export class FederatedGraphMetrics extends Message {
    /**
     * @generated from field: string federatedGraphID = 1;
     */
    federatedGraphID = "";
    /**
     * @generated from field: float requestRate = 2;
     */
    requestRate = 0;
    /**
     * @generated from field: float errorRate = 3;
     */
    errorRate = 0;
    /**
     * @generated from field: float latency = 4;
     */
    latency = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FederatedGraphMetrics";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "requestRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 3, name: "errorRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 4, name: "latency", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
    ]);
    static fromBinary(bytes, options) {
        return new FederatedGraphMetrics().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FederatedGraphMetrics().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FederatedGraphMetrics().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FederatedGraphMetrics, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SubgraphMetrics
 */
export class SubgraphMetrics extends Message {
    /**
     * @generated from field: string subgraphID = 1;
     */
    subgraphID = "";
    /**
     * @generated from field: float requestRate = 2;
     */
    requestRate = 0;
    /**
     * @generated from field: float errorRate = 3;
     */
    errorRate = 0;
    /**
     * @generated from field: float latency = 4;
     */
    latency = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SubgraphMetrics";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "requestRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 3, name: "errorRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 4, name: "latency", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
    ]);
    static fromBinary(bytes, options) {
        return new SubgraphMetrics().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SubgraphMetrics().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SubgraphMetrics().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SubgraphMetrics, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse
 */
export class GetDashboardAnalyticsViewResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 2;
     */
    requestSeries = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OperationRequestCount mostRequestedOperations = 3;
     */
    mostRequestedOperations = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMetrics subgraphMetrics = 4;
     */
    subgraphMetrics = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.FederatedGraphMetrics federatedGraphMetrics = 5;
     */
    federatedGraphMetrics;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
        { no: 3, name: "mostRequestedOperations", kind: "message", T: OperationRequestCount, repeated: true },
        { no: 4, name: "subgraphMetrics", kind: "message", T: SubgraphMetrics, repeated: true },
        { no: 5, name: "federatedGraphMetrics", kind: "message", T: FederatedGraphMetrics },
    ]);
    static fromBinary(bytes, options) {
        return new GetDashboardAnalyticsViewResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetDashboardAnalyticsViewResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetDashboardAnalyticsViewResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetDashboardAnalyticsViewResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphTokenRequest
 */
export class CreateFederatedGraphTokenRequest extends Message {
    /**
     * @generated from field: string graphName = 1;
     */
    graphName = "";
    /**
     * @generated from field: string tokenName = 2;
     */
    tokenName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphTokenRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "tokenName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedGraphTokenRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedGraphTokenRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedGraphTokenRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedGraphTokenRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphTokenResponse
 */
export class CreateFederatedGraphTokenResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string token = 2;
     */
    token = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphTokenResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFederatedGraphTokenResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFederatedGraphTokenResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFederatedGraphTokenResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFederatedGraphTokenResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OrganizationGroupRule
 */
export class OrganizationGroupRule extends Message {
    /**
     * @generated from field: string role = 1;
     */
    role = "";
    /**
     * @generated from field: repeated string namespaces = 2;
     */
    namespaces = [];
    /**
     * @generated from field: repeated string resources = 3;
     */
    resources = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OrganizationGroupRule";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespaces", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 3, name: "resources", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new OrganizationGroupRule().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OrganizationGroupRule().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OrganizationGroupRule().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OrganizationGroupRule, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OrganizationGroup
 */
export class OrganizationGroup extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string description = 3;
     */
    description = "";
    /**
     * @generated from field: bool builtin = 4;
     */
    builtin = false;
    /**
     * @generated from field: int32 membersCount = 5;
     */
    membersCount = 0;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OrganizationGroupRule rules = 6;
     */
    rules = [];
    /**
     * @generated from field: bool hasOidcMappers = 7;
     */
    hasOidcMappers = false;
    /**
     * @generated from field: int32 apiKeysCount = 8;
     */
    apiKeysCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OrganizationGroup";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "builtin", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "membersCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 6, name: "rules", kind: "message", T: OrganizationGroupRule, repeated: true },
        { no: 7, name: "hasOidcMappers", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 8, name: "apiKeysCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new OrganizationGroup().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OrganizationGroup().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OrganizationGroup().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OrganizationGroup, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationGroupRequest
 */
export class CreateOrganizationGroupRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string description = 2;
     */
    description = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationGroupRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationGroupRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationGroupRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationGroupRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationGroupRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationGroupResponse
 */
export class CreateOrganizationGroupResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.OrganizationGroup group = 2;
     */
    group;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationGroupResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "group", kind: "message", T: OrganizationGroup },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationGroupResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationGroupResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationGroupResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationGroupResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupsRequest
 */
export class GetOrganizationGroupsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupsResponse
 */
export class GetOrganizationGroupsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OrganizationGroup groups = 2;
     */
    groups = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "groups", kind: "message", T: OrganizationGroup, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupMembersRequest
 */
export class GetOrganizationGroupMembersRequest extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupMembersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupMembersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupMembersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupMembersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupMembersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse
 */
export class GetOrganizationGroupMembersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupMember members = 2;
     */
    members = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupApiKey apiKeys = 3;
     */
    apiKeys = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "members", kind: "message", T: GetOrganizationGroupMembersResponse_GroupMember, repeated: true },
        { no: 3, name: "apiKeys", kind: "message", T: GetOrganizationGroupMembersResponse_GroupApiKey, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupMembersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupMembersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupMembersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupMembersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupMember
 */
export class GetOrganizationGroupMembersResponse_GroupMember extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string email = 2;
     */
    email = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupMember";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupMembersResponse_GroupMember().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupMembersResponse_GroupMember().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupMembersResponse_GroupMember().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupMembersResponse_GroupMember, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupApiKey
 */
export class GetOrganizationGroupMembersResponse_GroupApiKey extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationGroupMembersResponse.GroupApiKey";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationGroupMembersResponse_GroupApiKey().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationGroupMembersResponse_GroupApiKey().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationGroupMembersResponse_GroupApiKey().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationGroupMembersResponse_GroupApiKey, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationGroupRequest
 */
export class UpdateOrganizationGroupRequest extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    /**
     * @generated from field: string description = 2;
     */
    description = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.UpdateOrganizationGroupRequest.GroupRule rules = 3;
     */
    rules = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationGroupRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "rules", kind: "message", T: UpdateOrganizationGroupRequest_GroupRule, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationGroupRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationGroupRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationGroupRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationGroupRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationGroupRequest.GroupRule
 */
export class UpdateOrganizationGroupRequest_GroupRule extends Message {
    /**
     * @generated from field: string role = 1;
     */
    role = "";
    /**
     * @generated from field: repeated string namespaces = 2;
     */
    namespaces = [];
    /**
     * @generated from field: repeated string resources = 3;
     */
    resources = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationGroupRequest.GroupRule";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespaces", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 3, name: "resources", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationGroupRequest_GroupRule().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationGroupRequest_GroupRule().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationGroupRequest_GroupRule().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationGroupRequest_GroupRule, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationGroupResponse
 */
export class UpdateOrganizationGroupResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationGroupResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationGroupResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationGroupResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationGroupResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationGroupResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationGroupRequest
 */
export class DeleteOrganizationGroupRequest extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    /**
     * @generated from field: optional string toGroupId = 2;
     */
    toGroupId;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationGroupRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "toGroupId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationGroupRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationGroupRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationGroupRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationGroupRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationGroupResponse
 */
export class DeleteOrganizationGroupResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationGroupResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationGroupResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationGroupResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationGroupResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationGroupResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OrgMember
 */
export class OrgMember extends Message {
    /**
     * @generated from field: string userID = 1;
     */
    userID = "";
    /**
     * @generated from field: string email = 2;
     */
    email = "";
    /**
     * @generated from field: string orgMemberID = 3;
     */
    orgMemberID = "";
    /**
     * @generated from field: bool active = 4;
     */
    active = false;
    /**
     * @generated from field: string joinedAt = 5;
     */
    joinedAt = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OrgMember.Group groups = 6;
     */
    groups = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OrgMember";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "orgMemberID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "joinedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "groups", kind: "message", T: OrgMember_Group, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new OrgMember().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OrgMember().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OrgMember().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OrgMember, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OrgMember.Group
 */
export class OrgMember_Group extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OrgMember.Group";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new OrgMember_Group().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OrgMember_Group().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OrgMember_Group().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OrgMember_Group, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PendingOrgInvitation
 */
export class PendingOrgInvitation extends Message {
    /**
     * @generated from field: string userID = 1;
     */
    userID = "";
    /**
     * @generated from field: string email = 2;
     */
    email = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PendingOrgInvitation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PendingOrgInvitation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PendingOrgInvitation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PendingOrgInvitation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PendingOrgInvitation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest
 */
export class GetPendingOrganizationMembersRequest extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
     */
    pagination;
    /**
     * @generated from field: optional string search = 2;
     */
    search;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "pagination", kind: "message", T: Pagination },
        { no: 2, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetPendingOrganizationMembersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPendingOrganizationMembersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPendingOrganizationMembersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPendingOrganizationMembersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse
 */
export class GetPendingOrganizationMembersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 2;
     */
    pendingInvitations = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPendingOrganizationMembersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "pendingInvitations", kind: "message", T: PendingOrgInvitation, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetPendingOrganizationMembersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPendingOrganizationMembersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPendingOrganizationMembersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPendingOrganizationMembersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
 */
export class GetOrganizationMembersRequest extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
     */
    pagination;
    /**
     * @generated from field: optional string search = 2;
     */
    search;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "pagination", kind: "message", T: Pagination },
        { no: 2, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationMembersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationMembersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationMembersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationMembersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersResponse
 */
export class GetOrganizationMembersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OrgMember members = 2;
     */
    members = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "members", kind: "message", T: OrgMember, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationMembersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationMembersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationMembersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationMembersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.InviteUserRequest
 */
export class InviteUserRequest extends Message {
    /**
     * @generated from field: string email = 1;
     */
    email = "";
    /**
     * @generated from field: repeated string groups = 2;
     */
    groups = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.InviteUserRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "groups", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new InviteUserRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new InviteUserRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new InviteUserRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(InviteUserRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.InviteUserResponse
 */
export class InviteUserResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.InviteUserResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new InviteUserResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new InviteUserResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new InviteUserResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(InviteUserResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.APIKey
 */
export class APIKey extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string createdBy = 3;
     */
    createdBy = "";
    /**
     * @generated from field: string createdAt = 4;
     */
    createdAt = "";
    /**
     * @generated from field: string lastUsedAt = 5;
     */
    lastUsedAt = "";
    /**
     * @generated from field: string expiresAt = 6;
     */
    expiresAt = "";
    /**
     * @generated from field: optional wg.cosmo.platform.v1.APIKey.Group group = 7;
     */
    group;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.APIKey";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "lastUsedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "expiresAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "group", kind: "message", T: APIKey_Group, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new APIKey().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new APIKey().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new APIKey().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(APIKey, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.APIKey.Group
 */
export class APIKey_Group extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.APIKey.Group";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new APIKey_Group().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new APIKey_Group().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new APIKey_Group().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(APIKey_Group, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAPIKeysRequest
 */
export class GetAPIKeysRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAPIKeysRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetAPIKeysRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAPIKeysRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAPIKeysRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAPIKeysRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAPIKeysResponse
 */
export class GetAPIKeysResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.APIKey apiKeys = 2;
     */
    apiKeys = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAPIKeysResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "apiKeys", kind: "message", T: APIKey, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetAPIKeysResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAPIKeysResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAPIKeysResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAPIKeysResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateAPIKeyRequest
 */
export class CreateAPIKeyRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string userID = 2;
     */
    userID = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.ExpiresAt expires = 3;
     */
    expires = ExpiresAt.NEVER;
    /**
     * @generated from field: string groupId = 4;
     */
    groupId = "";
    /**
     * @generated from field: repeated string permissions = 5;
     */
    permissions = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateAPIKeyRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "expires", kind: "enum", T: proto3.getEnumType(ExpiresAt) },
        { no: 4, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateAPIKeyRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateAPIKeyRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateAPIKeyRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateAPIKeyRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateAPIKeyResponse
 */
export class CreateAPIKeyResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string apiKey = 2;
     */
    apiKey = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateAPIKeyResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "apiKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateAPIKeyResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateAPIKeyResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateAPIKeyResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateAPIKeyResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteAPIKeyRequest
 */
export class DeleteAPIKeyRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteAPIKeyRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteAPIKeyRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteAPIKeyRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteAPIKeyRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteAPIKeyRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteAPIKeyResponse
 */
export class DeleteAPIKeyResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteAPIKeyResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteAPIKeyResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteAPIKeyResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteAPIKeyResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteAPIKeyResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateAPIKeyRequest
 */
export class UpdateAPIKeyRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string groupId = 2;
     */
    groupId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateAPIKeyRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateAPIKeyRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateAPIKeyRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateAPIKeyRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateAPIKeyRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateAPIKeyResponse
 */
export class UpdateAPIKeyResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateAPIKeyResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateAPIKeyResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateAPIKeyResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateAPIKeyResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateAPIKeyResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOrganizationMemberRequest
 */
export class RemoveOrganizationMemberRequest extends Message {
    /**
     * @generated from field: string email = 1;
     */
    email = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOrganizationMemberRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOrganizationMemberRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOrganizationMemberRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOrganizationMemberRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOrganizationMemberRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOrganizationMemberResponse
 */
export class RemoveOrganizationMemberResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOrganizationMemberResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOrganizationMemberResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOrganizationMemberResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOrganizationMemberResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOrganizationMemberResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveInvitationRequest
 */
export class RemoveInvitationRequest extends Message {
    /**
     * @generated from field: string email = 1;
     */
    email = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveInvitationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveInvitationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveInvitationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveInvitationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveInvitationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveInvitationResponse
 */
export class RemoveInvitationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveInvitationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveInvitationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveInvitationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveInvitationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveInvitationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MigrateFromApolloRequest
 */
export class MigrateFromApolloRequest extends Message {
    /**
     * @generated from field: string apiKey = 1;
     */
    apiKey = "";
    /**
     * @generated from field: string variantName = 2;
     */
    variantName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MigrateFromApolloRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "apiKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "variantName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new MigrateFromApolloRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MigrateFromApolloRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MigrateFromApolloRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MigrateFromApolloRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MigrateFromApolloResponse
 */
export class MigrateFromApolloResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string token = 2;
     */
    token = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MigrateFromApolloResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new MigrateFromApolloResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MigrateFromApolloResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MigrateFromApolloResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MigrateFromApolloResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Span
 */
export class Span extends Message {
    /**
     * @generated from field: int64 timestamp = 1;
     */
    timestamp = protoInt64.zero;
    /**
     * @generated from field: string scopeName = 2;
     */
    scopeName = "";
    /**
     * @generated from field: string traceID = 3;
     */
    traceID = "";
    /**
     * @generated from field: string spanID = 4;
     */
    spanID = "";
    /**
     * @generated from field: string parentSpanID = 5;
     */
    parentSpanID = "";
    /**
     * @generated from field: string spanName = 6;
     */
    spanName = "";
    /**
     * @generated from field: string spanKind = 7;
     */
    spanKind = "";
    /**
     * @generated from field: int64 duration = 8;
     */
    duration = protoInt64.zero;
    /**
     * @generated from field: string serviceName = 9;
     */
    serviceName = "";
    /**
     * @generated from field: string statusCode = 10;
     */
    statusCode = "";
    /**
     * @generated from field: string statusMessage = 11;
     */
    statusMessage = "";
    /**
     * @generated from field: map<string, string> attributes = 12;
     */
    attributes = {};
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Span";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
        { no: 2, name: "scopeName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "traceID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "spanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "parentSpanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "spanName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "spanKind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
        { no: 9, name: "serviceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 10, name: "statusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "statusMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 12, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
    ]);
    static fromBinary(bytes, options) {
        return new Span().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Span().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Span().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Span, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetTraceRequest
 */
export class GetTraceRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string span_id = 2;
     */
    spanId = "";
    /**
     * @generated from field: string federated_graph_id = 3;
     */
    federatedGraphId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetTraceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "span_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "federated_graph_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetTraceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetTraceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetTraceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetTraceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetTraceResponse
 */
export class GetTraceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Span spans = 2;
     */
    spans = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetTraceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "spans", kind: "message", T: Span, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetTraceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetTraceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetTraceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetTraceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.WhoAmIRequest
 */
export class WhoAmIRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.WhoAmIRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new WhoAmIRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new WhoAmIRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new WhoAmIRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(WhoAmIRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.WhoAmIResponse
 */
export class WhoAmIResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string organizationName = 2;
     */
    organizationName = "";
    /**
     * @generated from field: optional string userEmail = 3;
     */
    userEmail;
    /**
     * @generated from field: string organizationSlug = 4;
     */
    organizationSlug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.WhoAmIResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "organizationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "userEmail", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new WhoAmIResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new WhoAmIResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new WhoAmIResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(WhoAmIResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RouterToken
 */
export class RouterToken extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    /**
     * @generated from field: string creatorEmail = 5;
     */
    creatorEmail = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RouterToken";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "creatorEmail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RouterToken().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RouterToken().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RouterToken().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RouterToken, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenRequest
 */
export class GenerateRouterTokenRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GenerateRouterTokenRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GenerateRouterTokenRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GenerateRouterTokenRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GenerateRouterTokenRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GenerateRouterTokenRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenResponse
 */
export class GenerateRouterTokenResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string token = 2;
     */
    token = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GenerateRouterTokenResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GenerateRouterTokenResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GenerateRouterTokenResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GenerateRouterTokenResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GenerateRouterTokenResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
 */
export class GetRouterTokensRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetRouterTokensRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetRouterTokensRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetRouterTokensRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetRouterTokensRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetRouterTokensRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetRouterTokensResponse
 */
export class GetRouterTokensResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.RouterToken tokens = 2;
     */
    tokens = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetRouterTokensResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "tokens", kind: "message", T: RouterToken, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetRouterTokensResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetRouterTokensResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetRouterTokensResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetRouterTokensResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenRequest
 */
export class DeleteRouterTokenRequest extends Message {
    /**
     * @generated from field: string tokenName = 1;
     */
    tokenName = "";
    /**
     * @generated from field: string fedGraphName = 2;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "tokenName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteRouterTokenRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteRouterTokenRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteRouterTokenRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteRouterTokenRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteRouterTokenResponse
 */
export class DeleteRouterTokenResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteRouterTokenResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteRouterTokenResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteRouterTokenResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteRouterTokenResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PersistedOperation
 */
export class PersistedOperation extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string contents = 2;
     */
    contents = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PersistedOperation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PersistedOperation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PersistedOperation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PersistedOperation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PersistedOperation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishPersistedOperationsRequest
 */
export class PublishPersistedOperationsRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: string clientName = 2;
     */
    clientName = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.PersistedOperation operations = 3;
     */
    operations = [];
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishPersistedOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operations", kind: "message", T: PersistedOperation, repeated: true },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PublishPersistedOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishPersistedOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishPersistedOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishPersistedOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishedOperation
 */
export class PublishedOperation extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string hash = 2;
     */
    hash = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.PublishedOperationStatus status = 3;
     */
    status = PublishedOperationStatus.UP_TO_DATE;
    /**
     * @generated from field: repeated string operationNames = 4;
     */
    operationNames = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishedOperation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(PublishedOperationStatus) },
        { no: 4, name: "operationNames", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new PublishedOperation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishedOperation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishedOperation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishedOperation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PublishPersistedOperationsResponse
 */
export class PublishPersistedOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.PublishedOperation operations = 2;
     */
    operations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PublishPersistedOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operations", kind: "message", T: PublishedOperation, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new PublishPersistedOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PublishPersistedOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PublishPersistedOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PublishPersistedOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsRequest
 */
export class GetPersistedOperationsRequest extends Message {
    /**
     * @generated from field: string federated_graph_name = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string client_id = 2;
     */
    clientId = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federated_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetPersistedOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPersistedOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPersistedOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPersistedOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsResponse
 */
export class GetPersistedOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation operations = 2;
     */
    operations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operations", kind: "message", T: GetPersistedOperationsResponse_Operation, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetPersistedOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPersistedOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPersistedOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPersistedOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation
 */
export class GetPersistedOperationsResponse_Operation extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string contents = 2;
     */
    contents = "";
    /**
     * @generated from field: string created_at = 3;
     */
    createdAt = "";
    /**
     * @generated from field: string last_updated_at = 4;
     */
    lastUpdatedAt = "";
    /**
     * @generated from field: repeated string operation_names = 5;
     */
    operationNames = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPersistedOperationsResponse.Operation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "last_updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "operation_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetPersistedOperationsResponse_Operation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPersistedOperationsResponse_Operation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPersistedOperationsResponse_Operation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPersistedOperationsResponse_Operation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Header
 */
export class Header extends Message {
    /**
     * @generated from field: string key = 1;
     */
    key = "";
    /**
     * @generated from field: string value = 2;
     */
    value = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Header";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Header().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Header().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Header().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Header, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationWebhookConfigRequest
 */
export class CreateOrganizationWebhookConfigRequest extends Message {
    /**
     * @generated from field: string endpoint = 1;
     */
    endpoint = "";
    /**
     * @generated from field: string key = 2;
     */
    key = "";
    /**
     * @generated from field: repeated string events = 3;
     */
    events = [];
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta events_meta = 4;
     */
    eventsMeta = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationWebhookConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationWebhookConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationWebhookConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationWebhookConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationWebhookConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationWebhookConfigResponse
 */
export class CreateOrganizationWebhookConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string webhook_config_id = 2;
     */
    webhookConfigId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationWebhookConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "webhook_config_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationWebhookConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationWebhookConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationWebhookConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationWebhookConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookConfigsRequest
 */
export class GetOrganizationWebhookConfigsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookConfigsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookConfigsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookConfigsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookConfigsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookConfigsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookConfigsResponse
 */
export class GetOrganizationWebhookConfigsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetOrganizationWebhookConfigsResponse.Config configs = 2;
     */
    configs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookConfigsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "configs", kind: "message", T: GetOrganizationWebhookConfigsResponse_Config, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookConfigsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookConfigsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookConfigsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookConfigsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookConfigsResponse.Config
 */
export class GetOrganizationWebhookConfigsResponse_Config extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string endpoint = 2;
     */
    endpoint = "";
    /**
     * @generated from field: repeated string events = 3;
     */
    events = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookConfigsResponse.Config";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookConfigsResponse_Config().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookConfigsResponse_Config().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookConfigsResponse_Config().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookConfigsResponse_Config, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest
 */
export class GetOrganizationWebhookMetaRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookMetaRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookMetaRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookMetaRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookMetaRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse
 */
export class GetOrganizationWebhookMetaResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta events_meta = 2;
     */
    eventsMeta = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookMetaResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookMetaResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookMetaResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookMetaResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest
 */
export class UpdateOrganizationWebhookConfigRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string endpoint = 2;
     */
    endpoint = "";
    /**
     * @generated from field: string key = 3;
     */
    key = "";
    /**
     * @generated from field: repeated string events = 4;
     */
    events = [];
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta events_meta = 5;
     */
    eventsMeta = [];
    /**
     * @generated from field: bool should_update_key = 6;
     */
    shouldUpdateKey = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
        { no: 6, name: "should_update_key", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationWebhookConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationWebhookConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationWebhookConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationWebhookConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigResponse
 */
export class UpdateOrganizationWebhookConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationWebhookConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationWebhookConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationWebhookConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationWebhookConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationWebhookConfigRequest
 */
export class DeleteOrganizationWebhookConfigRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationWebhookConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationWebhookConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationWebhookConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationWebhookConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationWebhookConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationWebhookConfigResponse
 */
export class DeleteOrganizationWebhookConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationWebhookConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationWebhookConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationWebhookConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationWebhookConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationWebhookConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateIntegrationRequest
 */
export class CreateIntegrationRequest extends Message {
    /**
     * @generated from field: string type = 1;
     */
    type = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string code = 3;
     */
    code = "";
    /**
     * @generated from field: repeated string events = 4;
     */
    events = [];
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta eventsMeta = 5;
     */
    eventsMeta = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateIntegrationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "eventsMeta", kind: "message", T: EventMeta, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateIntegrationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateIntegrationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateIntegrationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateIntegrationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateIntegrationResponse
 */
export class CreateIntegrationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateIntegrationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateIntegrationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateIntegrationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateIntegrationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateIntegrationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationIntegrationsRequest
 */
export class GetOrganizationIntegrationsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationIntegrationsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetOrganizationIntegrationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationIntegrationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationIntegrationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationIntegrationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SlackIntegrationConfig
 */
export class SlackIntegrationConfig extends Message {
    /**
     * @generated from field: string endpoint = 1;
     */
    endpoint = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SlackIntegrationConfig";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new SlackIntegrationConfig().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SlackIntegrationConfig().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SlackIntegrationConfig().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SlackIntegrationConfig, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.IntegrationConfig
 */
export class IntegrationConfig extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.IntegrationType type = 1;
     */
    type = IntegrationType.SLACK;
    /**
     * @generated from oneof wg.cosmo.platform.v1.IntegrationConfig.config
     */
    config = { case: undefined };
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.IntegrationConfig";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(IntegrationType) },
        { no: 2, name: "slackIntegrationConfig", kind: "message", T: SlackIntegrationConfig, oneof: "config" },
    ]);
    static fromBinary(bytes, options) {
        return new IntegrationConfig().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new IntegrationConfig().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new IntegrationConfig().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(IntegrationConfig, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Integration
 */
export class Integration extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string type = 3;
     */
    type = "";
    /**
     * @generated from field: repeated string events = 4;
     */
    events = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.IntegrationConfig integrationConfig = 5;
     */
    integrationConfig;
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta eventsMeta = 6;
     */
    eventsMeta = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Integration";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "integrationConfig", kind: "message", T: IntegrationConfig },
        { no: 6, name: "eventsMeta", kind: "message", T: EventMeta, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new Integration().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Integration().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Integration().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Integration, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationIntegrationsResponse
 */
export class GetOrganizationIntegrationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Integration integrations = 2;
     */
    integrations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationIntegrationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "integrations", kind: "message", T: Integration, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationIntegrationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationIntegrationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationIntegrationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationIntegrationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateIntegrationConfigRequest
 */
export class UpdateIntegrationConfigRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string endpoint = 2;
     */
    endpoint = "";
    /**
     * @generated from field: repeated string events = 3;
     */
    events = [];
    /**
     * @generated from field: repeated wg.cosmo.notifications.EventMeta events_meta = 4;
     */
    eventsMeta = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateIntegrationConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateIntegrationConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateIntegrationConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateIntegrationConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateIntegrationConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateIntegrationConfigResponse
 */
export class UpdateIntegrationConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateIntegrationConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateIntegrationConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateIntegrationConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateIntegrationConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateIntegrationConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteIntegrationRequest
 */
export class DeleteIntegrationRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteIntegrationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteIntegrationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteIntegrationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteIntegrationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteIntegrationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteIntegrationResponse
 */
export class DeleteIntegrationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteIntegrationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteIntegrationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteIntegrationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteIntegrationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteIntegrationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationRequest
 */
export class DeleteOrganizationRequest extends Message {
    /**
     * @generated from field: string userID = 1;
     */
    userID = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOrganizationResponse
 */
export class DeleteOrganizationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOrganizationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOrganizationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOrganizationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOrganizationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOrganizationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RestoreOrganizationRequest
 */
export class RestoreOrganizationRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RestoreOrganizationRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new RestoreOrganizationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RestoreOrganizationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RestoreOrganizationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RestoreOrganizationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RestoreOrganizationResponse
 */
export class RestoreOrganizationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RestoreOrganizationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RestoreOrganizationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RestoreOrganizationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RestoreOrganizationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RestoreOrganizationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.LeaveOrganizationRequest
 */
export class LeaveOrganizationRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.LeaveOrganizationRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new LeaveOrganizationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new LeaveOrganizationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new LeaveOrganizationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(LeaveOrganizationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.LeaveOrganizationResponse
 */
export class LeaveOrganizationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.LeaveOrganizationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new LeaveOrganizationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new LeaveOrganizationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new LeaveOrganizationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(LeaveOrganizationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationDetailsRequest
 */
export class UpdateOrganizationDetailsRequest extends Message {
    /**
     * @generated from field: string userID = 1;
     */
    userID = "";
    /**
     * @generated from field: string organizationName = 2;
     */
    organizationName = "";
    /**
     * @generated from field: string organizationSlug = 3;
     */
    organizationSlug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationDetailsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "organizationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationDetailsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationDetailsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationDetailsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationDetailsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrganizationDetailsResponse
 */
export class UpdateOrganizationDetailsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrganizationDetailsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrganizationDetailsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrganizationDetailsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrganizationDetailsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrganizationDetailsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberGroupRequest
 */
export class UpdateOrgMemberGroupRequest extends Message {
    /**
     * @generated from field: string orgMemberUserID = 1;
     */
    orgMemberUserID = "";
    /**
     * @generated from field: repeated string groups = 2;
     */
    groups = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberGroupRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "orgMemberUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "groups", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrgMemberGroupRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrgMemberGroupRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrgMemberGroupRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrgMemberGroupRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberGroupResponse
 */
export class UpdateOrgMemberGroupResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberGroupResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateOrgMemberGroupResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateOrgMemberGroupResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateOrgMemberGroupResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateOrgMemberGroupResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationRequest
 */
export class CreateOrganizationRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string slug = 2;
     */
    slug = "";
    /**
     * @generated from field: string plan = 3;
     */
    plan = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "plan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOrganizationResponse
 */
export class CreateOrganizationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Organization organization = 2;
     */
    organization;
    /**
     * @generated from field: optional string stripeSessionId = 3;
     */
    stripeSessionId;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOrganizationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "organization", kind: "message", T: Organization, opt: true },
        { no: 3, name: "stripeSessionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOrganizationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOrganizationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOrganizationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOrganizationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Organization
 */
export class Organization extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string slug = 3;
     */
    slug = "";
    /**
     * @generated from field: optional string creatorUserId = 4;
     */
    creatorUserId;
    /**
     * @generated from field: string createdAt = 5;
     */
    createdAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Organization";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "creatorUserId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Organization().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Organization().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Organization().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Organization, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationBySlugRequest
 */
export class GetOrganizationBySlugRequest extends Message {
    /**
     * @generated from field: string slug = 1;
     */
    slug = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationBySlugRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationBySlugRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationBySlugRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationBySlugRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationBySlugRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationBySlugResponse
 */
export class GetOrganizationBySlugResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Organization organization = 2;
     */
    organization;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationBySlugResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "organization", kind: "message", T: Organization, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationBySlugResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationBySlugResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationBySlugResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationBySlugResponse, a, b);
    }
}
/**
 * *
 * Billing
 *
 * @generated from message wg.cosmo.platform.v1.GetBillingPlansRequest
 */
export class GetBillingPlansRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetBillingPlansRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetBillingPlansRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetBillingPlansRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetBillingPlansRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetBillingPlansRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetBillingPlansResponse
 */
export class GetBillingPlansResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlan plans = 2;
     */
    plans = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetBillingPlansResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "plans", kind: "message", T: GetBillingPlansResponse_BillingPlan, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetBillingPlansResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetBillingPlansResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetBillingPlansResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetBillingPlansResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlanFeature
 */
export class GetBillingPlansResponse_BillingPlanFeature extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string description = 3;
     */
    description = "";
    /**
     * @generated from field: optional int32 limit = 4;
     */
    limit;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlanFeature";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetBillingPlansResponse_BillingPlanFeature().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetBillingPlansResponse_BillingPlanFeature().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetBillingPlansResponse_BillingPlanFeature().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetBillingPlansResponse_BillingPlanFeature, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlan
 */
export class GetBillingPlansResponse_BillingPlan extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: int32 price = 3;
     */
    price = 0;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlanFeature features = 4;
     */
    features = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetBillingPlansResponse.BillingPlan";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "price", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "features", kind: "message", T: GetBillingPlansResponse_BillingPlanFeature, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetBillingPlansResponse_BillingPlan().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetBillingPlansResponse_BillingPlan().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetBillingPlansResponse_BillingPlan().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetBillingPlansResponse_BillingPlan, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateCheckoutSessionRequest
 */
export class CreateCheckoutSessionRequest extends Message {
    /**
     * @generated from field: string plan = 1;
     */
    plan = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateCheckoutSessionRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "plan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateCheckoutSessionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateCheckoutSessionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateCheckoutSessionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateCheckoutSessionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateCheckoutSessionResponse
 */
export class CreateCheckoutSessionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string sessionId = 2;
     */
    sessionId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateCheckoutSessionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sessionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateCheckoutSessionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateCheckoutSessionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateCheckoutSessionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateCheckoutSessionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateBillingPortalSessionRequest
 */
export class CreateBillingPortalSessionRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateBillingPortalSessionRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new CreateBillingPortalSessionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateBillingPortalSessionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateBillingPortalSessionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateBillingPortalSessionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateBillingPortalSessionResponse
 */
export class CreateBillingPortalSessionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string sessionId = 2;
     */
    sessionId = "";
    /**
     * @generated from field: string url = 3;
     */
    url = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateBillingPortalSessionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sessionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateBillingPortalSessionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateBillingPortalSessionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateBillingPortalSessionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateBillingPortalSessionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpgradePlanRequest
 */
export class UpgradePlanRequest extends Message {
    /**
     * @generated from field: string plan = 1;
     */
    plan = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpgradePlanRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "plan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpgradePlanRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpgradePlanRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpgradePlanRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpgradePlanRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpgradePlanResponse
 */
export class UpgradePlanResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpgradePlanResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpgradePlanResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpgradePlanResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpgradePlanResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpgradePlanResponse, a, b);
    }
}
/**
 * *
 * MetricsDashboard
 *
 * @generated from message wg.cosmo.platform.v1.GetGraphMetricsRequest
 */
export class GetGraphMetricsRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: int32 range = 2;
     */
    range = 0;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 3;
     */
    dateRange;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 4;
     */
    filters = [];
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetGraphMetricsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "dateRange", kind: "message", T: DateRange },
        { no: 4, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetGraphMetricsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetGraphMetricsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetGraphMetricsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetGraphMetricsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetGraphMetricsResponse
 */
export class GetGraphMetricsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric requests = 2;
     */
    requests;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric latency = 3;
     */
    latency;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric errors = 4;
     */
    errors;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilter filters = 5;
     */
    filters = [];
    /**
     * @generated from field: optional string resolution = 6;
     */
    resolution;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetGraphMetricsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "requests", kind: "message", T: MetricsDashboardMetric },
        { no: 3, name: "latency", kind: "message", T: MetricsDashboardMetric },
        { no: 4, name: "errors", kind: "message", T: MetricsDashboardMetric },
        { no: 5, name: "filters", kind: "message", T: AnalyticsViewResultFilter, repeated: true },
        { no: 6, name: "resolution", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetGraphMetricsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetGraphMetricsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetGraphMetricsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetGraphMetricsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MetricsDashboardMetric
 */
export class MetricsDashboardMetric extends Message {
    /**
     * @generated from field: string value = 1;
     */
    value = "";
    /**
     * @generated from field: optional string previousValue = 2;
     */
    previousValue;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.MetricsTopItem top = 3;
     */
    top = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.MetricsSeriesItem series = 4;
     */
    series = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MetricsDashboardMetric";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "previousValue", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "top", kind: "message", T: MetricsTopItem, repeated: true },
        { no: 4, name: "series", kind: "message", T: MetricsSeriesItem, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new MetricsDashboardMetric().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MetricsDashboardMetric().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MetricsDashboardMetric().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MetricsDashboardMetric, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MetricsTopItem
 */
export class MetricsTopItem extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string value = 3;
     */
    value = "";
    /**
     * @generated from field: bool isPersisted = 4;
     */
    isPersisted = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MetricsTopItem";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "isPersisted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new MetricsTopItem().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MetricsTopItem().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MetricsTopItem().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MetricsTopItem, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MetricsSeriesItem
 */
export class MetricsSeriesItem extends Message {
    /**
     * @generated from field: string timestamp = 1;
     */
    timestamp = "";
    /**
     * @generated from field: string value = 2;
     */
    value = "";
    /**
     * @generated from field: optional string previousValue = 3;
     */
    previousValue;
    /**
     * @generated from field: optional string p50 = 4;
     */
    p50;
    /**
     * @generated from field: optional string p90 = 5;
     */
    p90;
    /**
     * @generated from field: optional string p99 = 6;
     */
    p99;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MetricsSeriesItem";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "previousValue", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "p50", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "p90", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "p99", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new MetricsSeriesItem().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MetricsSeriesItem().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MetricsSeriesItem().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MetricsSeriesItem, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MetricsDashboard
 */
export class MetricsDashboard extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string title = 2;
     */
    title = "";
    /**
     * @generated from field: string type = 3;
     */
    type = "";
    /**
     * @generated from field: optional wg.cosmo.platform.v1.Unit unit = 4;
     */
    unit;
    /**
     * @generated from field: optional bool is_hidden = 5;
     */
    isHidden;
    /**
     * @generated from field: optional bool is_cta = 6;
     */
    isCta;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MetricsDashboard";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "unit", kind: "enum", T: proto3.getEnumType(Unit), opt: true },
        { no: 5, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 6, name: "is_cta", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new MetricsDashboard().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MetricsDashboard().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MetricsDashboard().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MetricsDashboard, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetMetricsErrorRateRequest
 */
export class GetMetricsErrorRateRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: int32 range = 2;
     */
    range = 0;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 3;
     */
    dateRange;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 4;
     */
    filters = [];
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetMetricsErrorRateRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "dateRange", kind: "message", T: DateRange },
        { no: 4, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetMetricsErrorRateRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetMetricsErrorRateRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetMetricsErrorRateRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetMetricsErrorRateRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetMetricsErrorRateResponse
 */
export class GetMetricsErrorRateResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.MetricsErrorRateSeriesItem series = 2;
     */
    series = [];
    /**
     * @generated from field: optional string resolution = 3;
     */
    resolution;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetMetricsErrorRateResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "series", kind: "message", T: MetricsErrorRateSeriesItem, repeated: true },
        { no: 3, name: "resolution", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetMetricsErrorRateResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetMetricsErrorRateResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetMetricsErrorRateResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetMetricsErrorRateResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MetricsErrorRateSeriesItem
 */
export class MetricsErrorRateSeriesItem extends Message {
    /**
     * @generated from field: string timestamp = 1;
     */
    timestamp = "";
    /**
     * @generated from field: float requestRate = 2;
     */
    requestRate = 0;
    /**
     * @generated from field: float errorRate = 3;
     */
    errorRate = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MetricsErrorRateSeriesItem";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "requestRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 3, name: "errorRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
    ]);
    static fromBinary(bytes, options) {
        return new MetricsErrorRateSeriesItem().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MetricsErrorRateSeriesItem().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MetricsErrorRateSeriesItem().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MetricsErrorRateSeriesItem, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMetricsRequest
 */
export class GetSubgraphMetricsRequest extends Message {
    /**
     * @generated from field: string subgraphName = 1;
     */
    subgraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: int32 range = 4;
     */
    range = 0;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 5;
     */
    dateRange;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 6;
     */
    filters = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMetricsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 5, name: "dateRange", kind: "message", T: DateRange },
        { no: 6, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMetricsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMetricsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMetricsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMetricsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMetricsResponse
 */
export class GetSubgraphMetricsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric requests = 2;
     */
    requests;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric latency = 3;
     */
    latency;
    /**
     * @generated from field: wg.cosmo.platform.v1.MetricsDashboardMetric errors = 4;
     */
    errors;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilter filters = 5;
     */
    filters = [];
    /**
     * @generated from field: optional string resolution = 6;
     */
    resolution;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMetricsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "requests", kind: "message", T: MetricsDashboardMetric },
        { no: 3, name: "latency", kind: "message", T: MetricsDashboardMetric },
        { no: 4, name: "errors", kind: "message", T: MetricsDashboardMetric },
        { no: 5, name: "filters", kind: "message", T: AnalyticsViewResultFilter, repeated: true },
        { no: 6, name: "resolution", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMetricsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMetricsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMetricsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMetricsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMetricsErrorRateRequest
 */
export class GetSubgraphMetricsErrorRateRequest extends Message {
    /**
     * @generated from field: string subgraphName = 1;
     */
    subgraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: int32 range = 4;
     */
    range = 0;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 5;
     */
    dateRange;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 6;
     */
    filters = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMetricsErrorRateRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 5, name: "dateRange", kind: "message", T: DateRange },
        { no: 6, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMetricsErrorRateRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMetricsErrorRateRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMetricsErrorRateRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMetricsErrorRateRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMetricsErrorRateResponse
 */
export class GetSubgraphMetricsErrorRateResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.MetricsErrorRateSeriesItem series = 2;
     */
    series = [];
    /**
     * @generated from field: optional string resolution = 3;
     */
    resolution;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMetricsErrorRateResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "series", kind: "message", T: MetricsErrorRateSeriesItem, repeated: true },
        { no: 3, name: "resolution", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMetricsErrorRateResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMetricsErrorRateResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMetricsErrorRateResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMetricsErrorRateResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ForceCheckSuccessRequest
 */
export class ForceCheckSuccessRequest extends Message {
    /**
     * @generated from field: string check_id = 1;
     */
    checkId = "";
    /**
     * @generated from field: string graph_name = 2;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ForceCheckSuccessRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ForceCheckSuccessRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ForceCheckSuccessRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ForceCheckSuccessRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ForceCheckSuccessRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ForceCheckSuccessResponse
 */
export class ForceCheckSuccessResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ForceCheckSuccessResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ForceCheckSuccessResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ForceCheckSuccessResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ForceCheckSuccessResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ForceCheckSuccessResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ToggleChangeOverridesForAllOperationsRequest
 */
export class ToggleChangeOverridesForAllOperationsRequest extends Message {
    /**
     * @generated from field: string check_id = 1;
     */
    checkId = "";
    /**
     * @generated from field: bool is_safe = 2;
     */
    isSafe = false;
    /**
     * @generated from field: string graph_name = 3;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    /**
     * @generated from field: optional string search = 5;
     */
    search;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ToggleChangeOverridesForAllOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "is_safe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new ToggleChangeOverridesForAllOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ToggleChangeOverridesForAllOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ToggleChangeOverridesForAllOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ToggleChangeOverridesForAllOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ToggleChangeOverridesForAllOperationsResponse
 */
export class ToggleChangeOverridesForAllOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ToggleChangeOverridesForAllOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ToggleChangeOverridesForAllOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ToggleChangeOverridesForAllOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ToggleChangeOverridesForAllOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ToggleChangeOverridesForAllOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateIgnoreOverridesForAllOperationsRequest
 */
export class CreateIgnoreOverridesForAllOperationsRequest extends Message {
    /**
     * @generated from field: string check_id = 1;
     */
    checkId = "";
    /**
     * @generated from field: string graph_name = 2;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional string search = 4;
     */
    search;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateIgnoreOverridesForAllOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateIgnoreOverridesForAllOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateIgnoreOverridesForAllOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateIgnoreOverridesForAllOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateIgnoreOverridesForAllOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateIgnoreOverridesForAllOperationsResponse
 */
export class CreateIgnoreOverridesForAllOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateIgnoreOverridesForAllOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateIgnoreOverridesForAllOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateIgnoreOverridesForAllOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateIgnoreOverridesForAllOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateIgnoreOverridesForAllOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OverrideChange
 */
export class OverrideChange extends Message {
    /**
     * @generated from field: string changeType = 1;
     */
    changeType = "";
    /**
     * @generated from field: optional string path = 2;
     */
    path;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OverrideChange";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new OverrideChange().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OverrideChange().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OverrideChange().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OverrideChange, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOperationOverridesRequest
 */
export class CreateOperationOverridesRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string operation_hash = 3;
     */
    operationHash = "";
    /**
     * @generated from field: string operation_name = 4;
     */
    operationName = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OverrideChange changes = 5;
     */
    changes = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOperationOverridesRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operation_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "operation_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "changes", kind: "message", T: OverrideChange, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOperationOverridesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOperationOverridesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOperationOverridesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOperationOverridesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOperationOverridesResponse
 */
export class CreateOperationOverridesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOperationOverridesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOperationOverridesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOperationOverridesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOperationOverridesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOperationOverridesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOperationIgnoreAllOverrideRequest
 */
export class CreateOperationIgnoreAllOverrideRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string operation_hash = 3;
     */
    operationHash = "";
    /**
     * @generated from field: string operation_name = 4;
     */
    operationName = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOperationIgnoreAllOverrideRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operation_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "operation_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOperationIgnoreAllOverrideRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOperationIgnoreAllOverrideRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOperationIgnoreAllOverrideRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOperationIgnoreAllOverrideRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOperationIgnoreAllOverrideResponse
 */
export class CreateOperationIgnoreAllOverrideResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOperationIgnoreAllOverrideResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOperationIgnoreAllOverrideResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOperationIgnoreAllOverrideResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOperationIgnoreAllOverrideResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOperationIgnoreAllOverrideResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOperationOverridesRequest
 */
export class RemoveOperationOverridesRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string operation_hash = 3;
     */
    operationHash = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OverrideChange changes = 4;
     */
    changes = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOperationOverridesRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operation_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "changes", kind: "message", T: OverrideChange, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOperationOverridesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOperationOverridesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOperationOverridesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOperationOverridesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOperationOverridesResponse
 */
export class RemoveOperationOverridesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOperationOverridesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOperationOverridesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOperationOverridesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOperationOverridesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOperationOverridesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOperationIgnoreAllOverrideRequest
 */
export class RemoveOperationIgnoreAllOverrideRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string operation_hash = 3;
     */
    operationHash = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOperationIgnoreAllOverrideRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operation_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOperationIgnoreAllOverrideRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOperationIgnoreAllOverrideRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOperationIgnoreAllOverrideRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOperationIgnoreAllOverrideRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RemoveOperationIgnoreAllOverrideResponse
 */
export class RemoveOperationIgnoreAllOverrideResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RemoveOperationIgnoreAllOverrideResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveOperationIgnoreAllOverrideResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveOperationIgnoreAllOverrideResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveOperationIgnoreAllOverrideResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveOperationIgnoreAllOverrideResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationOverridesRequest
 */
export class GetOperationOverridesRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string operation_hash = 3;
     */
    operationHash = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationOverridesRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operation_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationOverridesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationOverridesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationOverridesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationOverridesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationOverridesResponse
 */
export class GetOperationOverridesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OverrideChange changes = 2;
     */
    changes = [];
    /**
     * @generated from field: bool ignore_all = 3;
     */
    ignoreAll = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationOverridesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "changes", kind: "message", T: OverrideChange, repeated: true },
        { no: 3, name: "ignore_all", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationOverridesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationOverridesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationOverridesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationOverridesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAllOverridesRequest
 */
export class GetAllOverridesRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAllOverridesRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetAllOverridesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAllOverridesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAllOverridesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAllOverridesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAllOverridesResponse
 */
export class GetAllOverridesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetAllOverridesResponse.Override overrides = 2;
     */
    overrides = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAllOverridesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "overrides", kind: "message", T: GetAllOverridesResponse_Override, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetAllOverridesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAllOverridesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAllOverridesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAllOverridesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAllOverridesResponse.Override
 */
export class GetAllOverridesResponse_Override extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: uint32 changesOverrideCount = 3;
     */
    changesOverrideCount = 0;
    /**
     * @generated from field: bool hasIgnoreAllOverride = 4;
     */
    hasIgnoreAllOverride = false;
    /**
     * @generated from field: string updated_at = 5;
     */
    updatedAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAllOverridesResponse.Override";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "changesOverrideCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
        { no: 4, name: "hasIgnoreAllOverride", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetAllOverridesResponse_Override().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAllOverridesResponse_Override().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAllOverridesResponse_Override().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAllOverridesResponse_Override, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.IsGitHubAppInstalledRequest
 */
export class IsGitHubAppInstalledRequest extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.GitInfo git_info = 1;
     */
    gitInfo;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.IsGitHubAppInstalledRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "git_info", kind: "message", T: GitInfo },
    ]);
    static fromBinary(bytes, options) {
        return new IsGitHubAppInstalledRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new IsGitHubAppInstalledRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new IsGitHubAppInstalledRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(IsGitHubAppInstalledRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.IsGitHubAppInstalledResponse
 */
export class IsGitHubAppInstalledResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool is_installed = 2;
     */
    isInstalled = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.IsGitHubAppInstalledResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "is_installed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new IsGitHubAppInstalledResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new IsGitHubAppInstalledResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new IsGitHubAppInstalledResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(IsGitHubAppInstalledResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GroupMapper
 */
export class GroupMapper extends Message {
    /**
     * @generated from field: string groupId = 1;
     */
    groupId = "";
    /**
     * @generated from field: string ssoGroup = 2;
     */
    ssoGroup = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GroupMapper";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "groupId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "ssoGroup", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GroupMapper().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GroupMapper().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GroupMapper().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GroupMapper, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOIDCProviderRequest
 */
export class CreateOIDCProviderRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string discoveryEndpoint = 2;
     */
    discoveryEndpoint = "";
    /**
     * @generated from field: string clientID = 3;
     */
    clientID = "";
    /**
     * @generated from field: string clientSecrect = 4;
     */
    clientSecrect = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 5;
     */
    mappers = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOIDCProviderRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "discoveryEndpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "clientID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "clientSecrect", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "mappers", kind: "message", T: GroupMapper, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOIDCProviderRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOIDCProviderRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOIDCProviderRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOIDCProviderRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateOIDCProviderResponse
 */
export class CreateOIDCProviderResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string signInURL = 2;
     */
    signInURL = "";
    /**
     * @generated from field: string signOutURL = 3;
     */
    signOutURL = "";
    /**
     * @generated from field: string loginURL = 4;
     */
    loginURL = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateOIDCProviderResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "signInURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "signOutURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "loginURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateOIDCProviderResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateOIDCProviderResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateOIDCProviderResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateOIDCProviderResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOIDCProviderRequest
 */
export class GetOIDCProviderRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOIDCProviderRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetOIDCProviderRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOIDCProviderRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOIDCProviderRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOIDCProviderRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOIDCProviderResponse
 */
export class GetOIDCProviderResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string endpoint = 3;
     */
    endpoint = "";
    /**
     * @generated from field: string loginURL = 4;
     */
    loginURL = "";
    /**
     * @generated from field: string signInRedirectURL = 5;
     */
    signInRedirectURL = "";
    /**
     * @generated from field: string signOutRedirectURL = 6;
     */
    signOutRedirectURL = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 7;
     */
    mappers = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOIDCProviderResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "loginURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "signInRedirectURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "signOutRedirectURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "mappers", kind: "message", T: GroupMapper, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOIDCProviderResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOIDCProviderResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOIDCProviderResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOIDCProviderResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOIDCProviderRequest
 */
export class DeleteOIDCProviderRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOIDCProviderRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new DeleteOIDCProviderRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOIDCProviderRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOIDCProviderRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOIDCProviderRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteOIDCProviderResponse
 */
export class DeleteOIDCProviderResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteOIDCProviderResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteOIDCProviderResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteOIDCProviderResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteOIDCProviderResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteOIDCProviderResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateIDPMappersRequest
 */
export class UpdateIDPMappersRequest extends Message {
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GroupMapper mappers = 1;
     */
    mappers = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateIDPMappersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "mappers", kind: "message", T: GroupMapper, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateIDPMappersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateIDPMappersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateIDPMappersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateIDPMappersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateIDPMappersResponse
 */
export class UpdateIDPMappersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateIDPMappersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateIDPMappersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateIDPMappersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateIDPMappersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateIDPMappersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationRequestsCountRequest
 */
export class GetOrganizationRequestsCountRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationRequestsCountRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetOrganizationRequestsCountRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationRequestsCountRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationRequestsCountRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationRequestsCountRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationRequestsCountResponse
 */
export class GetOrganizationRequestsCountResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: int64 count = 2;
     */
    count = protoInt64.zero;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationRequestsCountResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationRequestsCountResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationRequestsCountResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationRequestsCountResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationRequestsCountResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.OrganizationInvite
 */
export class OrganizationInvite extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string slug = 3;
     */
    slug = "";
    /**
     * @generated from field: optional string creatorUserId = 4;
     */
    creatorUserId;
    /**
     * @generated from field: string createdAt = 5;
     */
    createdAt = "";
    /**
     * @generated from field: optional string invitedBy = 6;
     */
    invitedBy;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.OrganizationInvite";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "creatorUserId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "invitedBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new OrganizationInvite().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new OrganizationInvite().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new OrganizationInvite().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(OrganizationInvite, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAuditLogsRequest
 */
export class GetAuditLogsRequest extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    /**
     * @generated from field: string startDate = 3;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 4;
     */
    endDate = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAuditLogsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetAuditLogsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAuditLogsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAuditLogsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAuditLogsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AuditLog
 */
export class AuditLog extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string actorDisplayName = 2;
     */
    actorDisplayName = "";
    /**
     * @generated from field: string action = 3;
     */
    action = "";
    /**
     * @generated from field: string actorType = 4;
     */
    actorType = "";
    /**
     * @generated from field: string auditAction = 5;
     */
    auditAction = "";
    /**
     * @generated from field: string auditableDisplayName = 6;
     */
    auditableDisplayName = "";
    /**
     * @generated from field: string targetDisplayName = 7;
     */
    targetDisplayName = "";
    /**
     * @generated from field: string targetType = 8;
     */
    targetType = "";
    /**
     * @generated from field: string createdAt = 9;
     */
    createdAt = "";
    /**
     * @generated from field: string targetNamespaceId = 10;
     */
    targetNamespaceId = "";
    /**
     * @generated from field: string targetNamespaceDisplayName = 11;
     */
    targetNamespaceDisplayName = "";
    /**
     * @generated from field: string apiKeyName = 12;
     */
    apiKeyName = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AuditLog";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "actorDisplayName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "actorType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "auditAction", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "auditableDisplayName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "targetDisplayName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "targetType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 10, name: "targetNamespaceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "targetNamespaceDisplayName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 12, name: "apiKeyName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new AuditLog().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AuditLog().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AuditLog().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AuditLog, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetAuditLogsResponse
 */
export class GetAuditLogsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.AuditLog logs = 2;
     */
    logs = [];
    /**
     * @generated from field: int32 count = 3;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetAuditLogsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "logs", kind: "message", T: AuditLog, repeated: true },
        { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetAuditLogsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetAuditLogsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetAuditLogsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetAuditLogsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetInvitationsRequest
 */
export class GetInvitationsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetInvitationsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetInvitationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetInvitationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetInvitationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetInvitationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetInvitationsResponse
 */
export class GetInvitationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.OrganizationInvite invitations = 2;
     */
    invitations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetInvitationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "invitations", kind: "message", T: OrganizationInvite, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetInvitationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetInvitationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetInvitationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetInvitationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AcceptOrDeclineInvitationRequest
 */
export class AcceptOrDeclineInvitationRequest extends Message {
    /**
     * @generated from field: string organizationId = 1;
     */
    organizationId = "";
    /**
     * @generated from field: bool accept = 2;
     */
    accept = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AcceptOrDeclineInvitationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "organizationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "accept", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new AcceptOrDeclineInvitationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AcceptOrDeclineInvitationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AcceptOrDeclineInvitationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AcceptOrDeclineInvitationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AcceptOrDeclineInvitationResponse
 */
export class AcceptOrDeclineInvitationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AcceptOrDeclineInvitationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new AcceptOrDeclineInvitationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AcceptOrDeclineInvitationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AcceptOrDeclineInvitationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AcceptOrDeclineInvitationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GraphComposition
 */
export class GraphComposition extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string schemaVersionId = 2;
     */
    schemaVersionId = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    /**
     * @generated from field: bool isComposable = 4;
     */
    isComposable = false;
    /**
     * @generated from field: optional string compositionErrors = 5;
     */
    compositionErrors;
    /**
     * @generated from field: optional string createdBy = 6;
     */
    createdBy;
    /**
     * @generated from field: bool isLatestValid = 7;
     */
    isLatestValid = false;
    /**
     * @generated from field: optional string routerConfigSignature = 8;
     */
    routerConfigSignature;
    /**
     * @generated from field: optional string admissionError = 9;
     */
    admissionError;
    /**
     * @generated from field: optional string deploymentError = 10;
     */
    deploymentError;
    /**
     * @generated from field: optional bool hasMultipleChangedSubgraphs = 11;
     */
    hasMultipleChangedSubgraphs;
    /**
     * @generated from field: optional string triggeredBySubgraphName = 12;
     */
    triggeredBySubgraphName;
    /**
     * @generated from field: optional string compositionWarnings = 13;
     */
    compositionWarnings;
    /**
     * @generated from field: string router_compatibility_version = 14;
     */
    routerCompatibilityVersion = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GraphComposition";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "isLatestValid", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 8, name: "routerConfigSignature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 9, name: "admissionError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 10, name: "deploymentError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 11, name: "hasMultipleChangedSubgraphs", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 12, name: "triggeredBySubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 13, name: "compositionWarnings", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 14, name: "router_compatibility_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GraphComposition().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GraphComposition().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GraphComposition().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GraphComposition, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GraphCompositionSubgraph
 */
export class GraphCompositionSubgraph extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string schemaVersionId = 2;
     */
    schemaVersionId = "";
    /**
     * @generated from field: string name = 3;
     */
    name = "";
    /**
     * @generated from field: string target_id = 4;
     */
    targetId = "";
    /**
     * @generated from field: bool isFeatureSubgraph = 5;
     */
    isFeatureSubgraph = false;
    /**
     * @generated from field: string changeType = 6;
     */
    changeType = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.SubgraphType subgraphType = 7;
     */
    subgraphType = SubgraphType.STANDARD;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GraphCompositionSubgraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "target_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "isFeatureSubgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "subgraphType", kind: "enum", T: proto3.getEnumType(SubgraphType) },
    ]);
    static fromBinary(bytes, options) {
        return new GraphCompositionSubgraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GraphCompositionSubgraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GraphCompositionSubgraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GraphCompositionSubgraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCompositionsRequest
 */
export class GetCompositionsRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: int32 limit = 2;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 3;
     */
    offset = 0;
    /**
     * @generated from field: string startDate = 4;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 5;
     */
    endDate = "";
    /**
     * @generated from field: string namespace = 6;
     */
    namespace = "";
    /**
     * @generated from field: bool excludeFeatureFlagCompositions = 7;
     */
    excludeFeatureFlagCompositions = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCompositionsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "excludeFeatureFlagCompositions", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCompositionsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCompositionsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCompositionsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCompositionsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCompositionsResponse
 */
export class GetCompositionsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphComposition compositions = 2;
     */
    compositions = [];
    /**
     * @generated from field: int32 count = 3;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCompositionsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositions", kind: "message", T: GraphComposition, repeated: true },
        { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCompositionsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCompositionsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCompositionsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCompositionsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCompositionDetailsRequest
 */
export class GetCompositionDetailsRequest extends Message {
    /**
     * @generated from field: string compositionId = 1;
     */
    compositionId = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCompositionDetailsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCompositionDetailsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCompositionDetailsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCompositionDetailsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCompositionDetailsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FeatureFlagComposition
 */
export class FeatureFlagComposition extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string schemaVersionId = 2;
     */
    schemaVersionId = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    /**
     * @generated from field: bool isComposable = 4;
     */
    isComposable = false;
    /**
     * @generated from field: optional string compositionErrors = 5;
     */
    compositionErrors;
    /**
     * @generated from field: optional string createdBy = 6;
     */
    createdBy;
    /**
     * @generated from field: optional string routerConfigSignature = 7;
     */
    routerConfigSignature;
    /**
     * @generated from field: optional string admissionError = 8;
     */
    admissionError;
    /**
     * @generated from field: optional string deploymentError = 9;
     */
    deploymentError;
    /**
     * @generated from field: string featureFlagName = 10;
     */
    featureFlagName = "";
    /**
     * @generated from field: optional string compositionWarnings = 11;
     */
    compositionWarnings;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FeatureFlagComposition";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "routerConfigSignature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "admissionError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 9, name: "deploymentError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 10, name: "featureFlagName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "compositionWarnings", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new FeatureFlagComposition().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FeatureFlagComposition().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FeatureFlagComposition().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FeatureFlagComposition, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCompositionDetailsResponse
 */
export class GetCompositionDetailsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.GraphComposition composition = 2;
     */
    composition;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphCompositionSubgraph compositionSubgraphs = 3;
     */
    compositionSubgraphs = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.ChangeCounts changeCounts = 4;
     */
    changeCounts;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlagComposition featureFlagCompositions = 5;
     */
    featureFlagCompositions = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCompositionDetailsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "composition", kind: "message", T: GraphComposition },
        { no: 3, name: "compositionSubgraphs", kind: "message", T: GraphCompositionSubgraph, repeated: true },
        { no: 4, name: "changeCounts", kind: "message", T: ChangeCounts },
        { no: 5, name: "featureFlagCompositions", kind: "message", T: FeatureFlagComposition, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetCompositionDetailsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCompositionDetailsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCompositionDetailsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCompositionDetailsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSdlBySchemaVersionRequest
 */
export class GetSdlBySchemaVersionRequest extends Message {
    /**
     * @generated from field: string schemaVersionId = 1;
     */
    schemaVersionId = "";
    /**
     * @generated from field: string target_id = 2;
     */
    targetId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSdlBySchemaVersionRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "target_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSdlBySchemaVersionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSdlBySchemaVersionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSdlBySchemaVersionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSdlBySchemaVersionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSdlBySchemaVersionResponse
 */
export class GetSdlBySchemaVersionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string sdl = 2;
     */
    sdl = "";
    /**
     * @generated from field: string client_schema = 3;
     */
    clientSchema = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSdlBySchemaVersionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "client_schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSdlBySchemaVersionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSdlBySchemaVersionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSdlBySchemaVersionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSdlBySchemaVersionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetChangelogBySchemaVersionRequest
 */
export class GetChangelogBySchemaVersionRequest extends Message {
    /**
     * @generated from field: string schemaVersionId = 1;
     */
    schemaVersionId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetChangelogBySchemaVersionRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetChangelogBySchemaVersionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetChangelogBySchemaVersionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetChangelogBySchemaVersionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetChangelogBySchemaVersionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetChangelogBySchemaVersionResponse
 */
export class GetChangelogBySchemaVersionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.FederatedGraphChangelogOutput changelog = 2;
     */
    changelog;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetChangelogBySchemaVersionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "changelog", kind: "message", T: FederatedGraphChangelogOutput },
    ]);
    static fromBinary(bytes, options) {
        return new GetChangelogBySchemaVersionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetChangelogBySchemaVersionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetChangelogBySchemaVersionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetChangelogBySchemaVersionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessibleResourcesRequest
 */
export class GetUserAccessibleResourcesRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessibleResourcesRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetUserAccessibleResourcesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessibleResourcesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessibleResourcesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessibleResourcesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse
 */
export class GetUserAccessibleResourcesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.Namespace namespaces = 2;
     */
    namespaces = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.FederatedGraph federatedGraphs = 3;
     */
    federatedGraphs = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.SubGraph subgraphs = 4;
     */
    subgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "namespaces", kind: "message", T: GetUserAccessibleResourcesResponse_Namespace, repeated: true },
        { no: 3, name: "federatedGraphs", kind: "message", T: GetUserAccessibleResourcesResponse_FederatedGraph, repeated: true },
        { no: 4, name: "subgraphs", kind: "message", T: GetUserAccessibleResourcesResponse_SubGraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetUserAccessibleResourcesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessibleResourcesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessibleResourcesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessibleResourcesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.Namespace
 */
export class GetUserAccessibleResourcesResponse_Namespace extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.Namespace";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetUserAccessibleResourcesResponse_Namespace().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessibleResourcesResponse_Namespace().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessibleResourcesResponse_Namespace().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessibleResourcesResponse_Namespace, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.FederatedGraph
 */
export class GetUserAccessibleResourcesResponse_FederatedGraph extends Message {
    /**
     * @generated from field: string targetId = 1;
     */
    targetId = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.FederatedGraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "targetId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetUserAccessibleResourcesResponse_FederatedGraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessibleResourcesResponse_FederatedGraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessibleResourcesResponse_FederatedGraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessibleResourcesResponse_FederatedGraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.SubGraph
 */
export class GetUserAccessibleResourcesResponse_SubGraph extends Message {
    /**
     * @generated from field: string targetId = 1;
     */
    targetId = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: string federatedGraphId = 4;
     */
    federatedGraphId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessibleResourcesResponse.SubGraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "targetId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "federatedGraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetUserAccessibleResourcesResponse_SubGraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessibleResourcesResponse_SubGraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessibleResourcesResponse_SubGraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessibleResourcesResponse_SubGraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFeatureSettingsRequest
 */
export class UpdateFeatureSettingsRequest extends Message {
    /**
     * @generated from field: bool enable = 1;
     */
    enable = false;
    /**
     * @generated from field: wg.cosmo.platform.v1.Feature featureId = 2;
     */
    featureId = Feature.rbac;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFeatureSettingsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "enable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 2, name: "featureId", kind: "enum", T: proto3.getEnumType(Feature) },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFeatureSettingsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFeatureSettingsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFeatureSettingsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFeatureSettingsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFeatureSettingsResponse
 */
export class UpdateFeatureSettingsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFeatureSettingsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFeatureSettingsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFeatureSettingsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFeatureSettingsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFeatureSettingsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMembersRequest
 */
export class GetSubgraphMembersRequest extends Message {
    /**
     * @generated from field: string subgraphName = 1;
     */
    subgraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMembersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMembersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMembersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMembersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMembersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SubgraphMember
 */
export class SubgraphMember extends Message {
    /**
     * @generated from field: string userId = 1;
     */
    userId = "";
    /**
     * @generated from field: string email = 2;
     */
    email = "";
    /**
     * @generated from field: string subgraphMemberId = 4;
     */
    subgraphMemberId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SubgraphMember";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "subgraphMemberId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new SubgraphMember().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SubgraphMember().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SubgraphMember().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SubgraphMember, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphMembersResponse
 */
export class GetSubgraphMembersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMember members = 2;
     */
    members = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphMembersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "members", kind: "message", T: SubgraphMember, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphMembersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphMembersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphMembersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphMembersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AddReadmeRequest
 */
export class AddReadmeRequest extends Message {
    /**
     * @generated from field: string targetName = 1;
     */
    targetName = "";
    /**
     * @generated from field: string readme = 2;
     */
    readme = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AddReadmeRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "targetName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new AddReadmeRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AddReadmeRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AddReadmeRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AddReadmeRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.AddReadmeResponse
 */
export class AddReadmeResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.AddReadmeResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new AddReadmeResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AddReadmeResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AddReadmeResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AddReadmeResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Router
 */
export class Router extends Message {
    /**
     * @generated from field: string hostname = 1;
     */
    hostname = "";
    /**
     * @generated from field: string clusterName = 2;
     */
    clusterName = "";
    /**
     * @generated from field: string serviceName = 3;
     */
    serviceName = "";
    /**
     * @generated from field: string serviceVersion = 4;
     */
    serviceVersion = "";
    /**
     * @generated from field: string serviceInstanceId = 5;
     */
    serviceInstanceId = "";
    /**
     * @generated from field: string uptimeSeconds = 6;
     */
    uptimeSeconds = "";
    /**
     * @generated from field: string serverUptimeSeconds = 7;
     */
    serverUptimeSeconds = "";
    /**
     * @generated from field: string compositionId = 8;
     */
    compositionId = "";
    /**
     * @generated from field: bool onLatestComposition = 9;
     */
    onLatestComposition = false;
    /**
     * @generated from field: string processId = 10;
     */
    processId = "";
    /**
     * @generated from field: float memoryUsageMb = 11;
     */
    memoryUsageMb = 0;
    /**
     * @generated from field: float memoryUsageChangePercent = 12;
     */
    memoryUsageChangePercent = 0;
    /**
     * @generated from field: float cpuUsagePercent = 13;
     */
    cpuUsagePercent = 0;
    /**
     * @generated from field: float cpuUsageChangePercent = 14;
     */
    cpuUsageChangePercent = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Router";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hostname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "clusterName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "serviceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "serviceVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "serviceInstanceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "uptimeSeconds", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "serverUptimeSeconds", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "onLatestComposition", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 10, name: "processId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "memoryUsageMb", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 12, name: "memoryUsageChangePercent", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 13, name: "cpuUsagePercent", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 14, name: "cpuUsageChangePercent", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
    ]);
    static fromBinary(bytes, options) {
        return new Router().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Router().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Router().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Router, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetRoutersRequest
 */
export class GetRoutersRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetRoutersRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetRoutersRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetRoutersRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetRoutersRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetRoutersRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetRoutersResponse
 */
export class GetRoutersResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Router routers = 2;
     */
    routers = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetRoutersResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "routers", kind: "message", T: Router, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetRoutersResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetRoutersResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetRoutersResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetRoutersResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ClientInfo
 */
export class ClientInfo extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string id = 2;
     */
    id = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    /**
     * @generated from field: string lastUpdatedAt = 4;
     */
    lastUpdatedAt = "";
    /**
     * @generated from field: string createdBy = 5;
     */
    createdBy = "";
    /**
     * @generated from field: string lastUpdatedBy = 6;
     */
    lastUpdatedBy = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ClientInfo";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "lastUpdatedBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ClientInfo().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ClientInfo().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ClientInfo().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ClientInfo, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetClientsRequest
 */
export class GetClientsRequest extends Message {
    /**
     * @generated from field: string fedGraphName = 1;
     */
    fedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetClientsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetClientsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetClientsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetClientsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetClientsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetClientsResponse
 */
export class GetClientsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ClientInfo clients = 2;
     */
    clients = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetClientsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "clients", kind: "message", T: ClientInfo, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetClientsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetClientsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetClientsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetClientsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFieldUsageRequest
 */
export class GetFieldUsageRequest extends Message {
    /**
     * @generated from field: string graph_name = 1;
     */
    graphName = "";
    /**
     * @generated from field: optional string namedType = 2;
     */
    namedType;
    /**
     * @generated from field: optional string typename = 3;
     */
    typename;
    /**
     * @generated from field: optional string field = 4;
     */
    field;
    /**
     * @generated from field: optional int32 range = 5;
     */
    range;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange dateRange = 6;
     */
    dateRange;
    /**
     * @generated from field: string namespace = 7;
     */
    namespace = "";
    /**
     * @generated from field: optional string feature_flag_name = 8;
     */
    featureFlagName;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFieldUsageRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namedType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 3, name: "typename", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 5, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
        { no: 6, name: "dateRange", kind: "message", T: DateRange },
        { no: 7, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFieldUsageRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFieldUsageRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFieldUsageRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFieldUsageRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ClientWithOperations
 */
export class ClientWithOperations extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string version = 2;
     */
    version = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations.Operation operations = 3;
     */
    operations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ClientWithOperations";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operations", kind: "message", T: ClientWithOperations_Operation, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ClientWithOperations().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ClientWithOperations().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ClientWithOperations().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ClientWithOperations, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ClientWithOperations.Operation
 */
export class ClientWithOperations_Operation extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: int32 count = 3;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ClientWithOperations.Operation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new ClientWithOperations_Operation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ClientWithOperations_Operation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ClientWithOperations_Operation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ClientWithOperations_Operation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FieldUsageMeta
 */
export class FieldUsageMeta extends Message {
    /**
     * @generated from field: repeated string subgraph_ids = 1;
     */
    subgraphIds = [];
    /**
     * @generated from field: string firstSeenTimestamp = 2;
     */
    firstSeenTimestamp = "";
    /**
     * @generated from field: string latestSeenTimestamp = 3;
     */
    latestSeenTimestamp = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FieldUsageMeta";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraph_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 2, name: "firstSeenTimestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "latestSeenTimestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FieldUsageMeta().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FieldUsageMeta().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FieldUsageMeta().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FieldUsageMeta, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFieldUsageResponse
 */
export class GetFieldUsageResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem request_series = 2;
     */
    requestSeries = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations clients = 3;
     */
    clients = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.FieldUsageMeta meta = 4;
     */
    meta;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFieldUsageResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "request_series", kind: "message", T: RequestSeriesItem, repeated: true },
        { no: 3, name: "clients", kind: "message", T: ClientWithOperations, repeated: true },
        { no: 4, name: "meta", kind: "message", T: FieldUsageMeta },
    ]);
    static fromBinary(bytes, options) {
        return new GetFieldUsageResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFieldUsageResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFieldUsageResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFieldUsageResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateNamespaceRequest
 */
export class CreateNamespaceRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateNamespaceResponse
 */
export class CreateNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreateNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteNamespaceRequest
 */
export class DeleteNamespaceRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteNamespaceResponse
 */
export class DeleteNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RenameNamespaceRequest
 */
export class RenameNamespaceRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string new_name = 2;
     */
    newName = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RenameNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "new_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RenameNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RenameNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RenameNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RenameNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RenameNamespaceResponse
 */
export class RenameNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RenameNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RenameNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RenameNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RenameNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RenameNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Namespace
 */
export class Namespace extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Namespace";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Namespace().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Namespace().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Namespace().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Namespace, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespacesRequest
 */
export class GetNamespacesRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespacesRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetNamespacesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespacesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespacesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespacesRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespacesResponse
 */
export class GetNamespacesResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Namespace namespaces = 2;
     */
    namespaces = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespacesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "namespaces", kind: "message", T: Namespace, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespacesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespacesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespacesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespacesResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MoveGraphRequest
 */
export class MoveGraphRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string new_namespace = 3;
     */
    newNamespace = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 4;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MoveGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "new_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new MoveGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MoveGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MoveGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MoveGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MoveGraphResponse
 */
export class MoveGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MoveGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new MoveGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MoveGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MoveGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MoveGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceLintConfigRequest
 */
export class GetNamespaceLintConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceLintConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceLintConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceLintConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceLintConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceLintConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceLintConfigResponse
 */
export class GetNamespaceLintConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool linterEnabled = 2;
     */
    linterEnabled = false;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintConfig configs = 3;
     */
    configs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceLintConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "linterEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "configs", kind: "message", T: LintConfig, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceLintConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceLintConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceLintConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceLintConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceChecksConfigurationRequest
 */
export class GetNamespaceChecksConfigurationRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceChecksConfigurationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceChecksConfigurationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceChecksConfigurationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceChecksConfigurationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceChecksConfigurationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceChecksConfigurationResponse
 */
export class GetNamespaceChecksConfigurationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: int32 timeframeInDays = 2;
     */
    timeframeInDays = 0;
    /**
     * @generated from field: int32 timeframeLimitInDays = 3;
     */
    timeframeLimitInDays = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceChecksConfigurationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "timeframeInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "timeframeLimitInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceChecksConfigurationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceChecksConfigurationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceChecksConfigurationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceChecksConfigurationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateNamespaceChecksConfigurationRequest
 */
export class UpdateNamespaceChecksConfigurationRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: int32 timeframeInDays = 2;
     */
    timeframeInDays = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateNamespaceChecksConfigurationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "timeframeInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateNamespaceChecksConfigurationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateNamespaceChecksConfigurationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateNamespaceChecksConfigurationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateNamespaceChecksConfigurationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateNamespaceChecksConfigurationResponse
 */
export class UpdateNamespaceChecksConfigurationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateNamespaceChecksConfigurationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateNamespaceChecksConfigurationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateNamespaceChecksConfigurationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateNamespaceChecksConfigurationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateNamespaceChecksConfigurationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableLintingForTheNamespaceRequest
 */
export class EnableLintingForTheNamespaceRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: bool enableLinting = 2;
     */
    enableLinting = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableLintingForTheNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "enableLinting", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new EnableLintingForTheNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableLintingForTheNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableLintingForTheNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableLintingForTheNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableLintingForTheNamespaceResponse
 */
export class EnableLintingForTheNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableLintingForTheNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new EnableLintingForTheNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableLintingForTheNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableLintingForTheNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableLintingForTheNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.LintConfig
 */
export class LintConfig extends Message {
    /**
     * @generated from field: string ruleName = 1;
     */
    ruleName = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity severityLevel = 2;
     */
    severityLevel = LintSeverity.warn;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.LintConfig";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "ruleName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "severityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
    ]);
    static fromBinary(bytes, options) {
        return new LintConfig().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new LintConfig().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new LintConfig().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(LintConfig, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceLintConfigRequest
 */
export class ConfigureNamespaceLintConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintConfig configs = 2;
     */
    configs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceLintConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "configs", kind: "message", T: LintConfig, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceLintConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceLintConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceLintConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceLintConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceLintConfigResponse
 */
export class ConfigureNamespaceLintConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceLintConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceLintConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceLintConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceLintConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceLintConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableGraphPruningRequest
 */
export class EnableGraphPruningRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: bool enableGraphPruning = 2;
     */
    enableGraphPruning = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableGraphPruningRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "enableGraphPruning", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new EnableGraphPruningRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableGraphPruningRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableGraphPruningRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableGraphPruningRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableGraphPruningResponse
 */
export class EnableGraphPruningResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableGraphPruningResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new EnableGraphPruningResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableGraphPruningResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableGraphPruningResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableGraphPruningResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GraphPruningConfig
 */
export class GraphPruningConfig extends Message {
    /**
     * @generated from field: string ruleName = 1;
     */
    ruleName = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity severityLevel = 2;
     */
    severityLevel = LintSeverity.warn;
    /**
     * @generated from field: int32 gracePeriodInDays = 3;
     */
    gracePeriodInDays = 0;
    /**
     * @generated from field: optional int32 schemaUsageCheckPeriodInDays = 4;
     */
    schemaUsageCheckPeriodInDays;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GraphPruningConfig";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "ruleName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "severityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
        { no: 3, name: "gracePeriodInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "schemaUsageCheckPeriodInDays", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GraphPruningConfig().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GraphPruningConfig().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GraphPruningConfig().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GraphPruningConfig, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigRequest
 */
export class ConfigureNamespaceGraphPruningConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningConfig configs = 2;
     */
    configs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "configs", kind: "message", T: GraphPruningConfig, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceGraphPruningConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceGraphPruningConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceGraphPruningConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceGraphPruningConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigResponse
 */
export class ConfigureNamespaceGraphPruningConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceGraphPruningConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceGraphPruningConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceGraphPruningConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceGraphPruningConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceGraphPruningConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigRequest
 */
export class GetNamespaceGraphPruningConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceGraphPruningConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceGraphPruningConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceGraphPruningConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceGraphPruningConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigResponse
 */
export class GetNamespaceGraphPruningConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool graphPrunerEnabled = 2;
     */
    graphPrunerEnabled = false;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningConfig configs = 3;
     */
    configs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceGraphPruningConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graphPrunerEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "configs", kind: "message", T: GraphPruningConfig, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceGraphPruningConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceGraphPruningConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceGraphPruningConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceGraphPruningConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MigrateMonographRequest
 */
export class MigrateMonographRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MigrateMonographRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new MigrateMonographRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MigrateMonographRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MigrateMonographRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MigrateMonographRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.MigrateMonographResponse
 */
export class MigrateMonographResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.MigrateMonographResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new MigrateMonographResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new MigrateMonographResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new MigrateMonographResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(MigrateMonographResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessiblePermissionsRequest
 */
export class GetUserAccessiblePermissionsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessiblePermissionsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new GetUserAccessiblePermissionsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessiblePermissionsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessiblePermissionsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessiblePermissionsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Permission
 */
export class Permission extends Message {
    /**
     * @generated from field: string displayName = 1;
     */
    displayName = "";
    /**
     * @generated from field: string value = 2;
     */
    value = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Permission";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "displayName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Permission().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Permission().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Permission().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Permission, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetUserAccessiblePermissionsResponse
 */
export class GetUserAccessiblePermissionsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Permission permissions = 2;
     */
    permissions = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetUserAccessiblePermissionsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "permissions", kind: "message", T: Permission, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetUserAccessiblePermissionsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetUserAccessiblePermissionsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetUserAccessiblePermissionsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetUserAccessiblePermissionsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateContractRequest
 */
export class CreateContractRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string source_graph_name = 3;
     */
    sourceGraphName = "";
    /**
     * @generated from field: string routing_url = 4;
     */
    routingUrl = "";
    /**
     * @generated from field: string admission_webhook_url = 5;
     */
    admissionWebhookUrl = "";
    /**
     * @generated from field: repeated string exclude_tags = 6;
     */
    excludeTags = [];
    /**
     * @generated from field: optional string readme = 7;
     */
    readme;
    /**
     * @generated from field: optional string admission_webhook_secret = 8;
     */
    admissionWebhookSecret;
    /**
     * @generated from field: repeated string include_tags = 9;
     */
    includeTags = [];
    /**
     * @generated from field: optional bool disable_resolvability_validation = 10;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateContractRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "source_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "admission_webhook_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "exclude_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "admission_webhook_secret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 9, name: "include_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 10, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateContractRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateContractRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateContractRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateContractRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateContractResponse
 */
export class CreateContractResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateContractResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateContractResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateContractResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateContractResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateContractResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateContractRequest
 */
export class UpdateContractRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: repeated string exclude_tags = 3;
     */
    excludeTags = [];
    /**
     * @generated from field: repeated string include_tags = 4;
     */
    includeTags = [];
    /**
     * @generated from field: optional string routing_url = 5;
     */
    routingUrl;
    /**
     * @generated from field: optional string admission_webhook_url = 6;
     */
    admissionWebhookUrl;
    /**
     * @generated from field: optional string admission_webhook_secret = 7;
     */
    admissionWebhookSecret;
    /**
     * @generated from field: optional string readme = 8;
     */
    readme;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 9;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateContractRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "exclude_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 4, name: "include_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 6, name: "admission_webhook_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 7, name: "admission_webhook_secret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 8, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 9, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateContractRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateContractRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateContractRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateContractRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateContractResponse
 */
export class UpdateContractResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateContractResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateContractResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateContractResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateContractResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateContractResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedRequest
 */
export class IsMemberLimitReachedRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new IsMemberLimitReachedRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new IsMemberLimitReachedRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new IsMemberLimitReachedRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(IsMemberLimitReachedRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.IsMemberLimitReachedResponse
 */
export class IsMemberLimitReachedResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool limit_reached = 2;
     */
    limitReached = false;
    /**
     * @generated from field: int32 member_count = 3;
     */
    memberCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.IsMemberLimitReachedResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "limit_reached", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "member_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new IsMemberLimitReachedResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new IsMemberLimitReachedResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new IsMemberLimitReachedResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(IsMemberLimitReachedResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteUserRequest
 */
export class DeleteUserRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteUserRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new DeleteUserRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteUserRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteUserRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteUserRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteUserResponse
 */
export class DeleteUserResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteUserResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteUserResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteUserResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteUserResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteUserResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFeatureFlagRequest
 */
export class CreateFeatureFlagRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
     */
    labels = [];
    /**
     * @generated from field: repeated string feature_subgraph_names = 4;
     */
    featureSubgraphNames = [];
    /**
     * @generated from field: bool is_enabled = 5;
     */
    isEnabled = false;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 6;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFeatureFlagRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 4, name: "feature_subgraph_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "is_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFeatureFlagRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFeatureFlagRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFeatureFlagRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFeatureFlagRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateFeatureFlagResponse
 */
export class CreateFeatureFlagResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateFeatureFlagResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new CreateFeatureFlagResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateFeatureFlagResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateFeatureFlagResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateFeatureFlagResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFeatureFlagRequest
 */
export class UpdateFeatureFlagRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
     */
    labels = [];
    /**
     * @generated from field: repeated string feature_subgraph_names = 4;
     */
    featureSubgraphNames = [];
    /**
     * @generated from field: bool unset_labels = 5;
     */
    unsetLabels = false;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 6;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFeatureFlagRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 4, name: "feature_subgraph_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
        { no: 5, name: "unset_labels", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFeatureFlagRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFeatureFlagRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFeatureFlagRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFeatureFlagRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateFeatureFlagResponse
 */
export class UpdateFeatureFlagResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateFeatureFlagResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateFeatureFlagResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateFeatureFlagResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateFeatureFlagResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateFeatureFlagResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableFeatureFlagRequest
 */
export class EnableFeatureFlagRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: bool enabled = 3;
     */
    enabled = false;
    /**
     * @generated from field: optional bool disable_resolvability_validation = 4;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableFeatureFlagRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 4, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new EnableFeatureFlagRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableFeatureFlagRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableFeatureFlagRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableFeatureFlagRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableFeatureFlagResponse
 */
export class EnableFeatureFlagResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: optional bool has_changed = 4;
     */
    hasChanged;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 5;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableFeatureFlagResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "has_changed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
        { no: 5, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new EnableFeatureFlagResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableFeatureFlagResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableFeatureFlagResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableFeatureFlagResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFeatureFlagRequest
 */
export class DeleteFeatureFlagRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 3;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFeatureFlagRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFeatureFlagRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFeatureFlagRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFeatureFlagRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFeatureFlagRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteFeatureFlagResponse
 */
export class DeleteFeatureFlagResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteFeatureFlagResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
        { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
        { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteFeatureFlagResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteFeatureFlagResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteFeatureFlagResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteFeatureFlagResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.FeatureFlag
 */
export class FeatureFlag extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
     */
    labels = [];
    /**
     * @generated from field: bool is_enabled = 5;
     */
    isEnabled = false;
    /**
     * @generated from field: string created_by = 6;
     */
    createdBy = "";
    /**
     * @generated from field: string created_at = 7;
     */
    createdAt = "";
    /**
     * @generated from field: string updated_at = 8;
     */
    updatedAt = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.FeatureFlag";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "labels", kind: "message", T: Label, repeated: true },
        { no: 5, name: "is_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 6, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new FeatureFlag().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new FeatureFlag().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new FeatureFlag().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(FeatureFlag, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsRequest
 */
export class GetFeatureFlagsRequest extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional string query = 4;
     */
    query;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsResponse
 */
export class GetFeatureFlagsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag feature_flags = 2;
     */
    featureFlags = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "feature_flags", kind: "message", T: FeatureFlag, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameRequest
 */
export class GetFeatureFlagByNameRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagByNameRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagByNameRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagByNameRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagByNameRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameResponse
 */
export class GetFeatureFlagByNameResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.FeatureFlag feature_flag = 2;
     */
    featureFlag;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph federated_graphs = 3;
     */
    federatedGraphs = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 4;
     */
    featureSubgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "feature_flag", kind: "message", T: FeatureFlag },
        { no: 3, name: "federated_graphs", kind: "message", T: GetFeatureFlagByNameResponse_FfFederatedGraph, repeated: true },
        { no: 4, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagByNameResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagByNameResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagByNameResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagByNameResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph
 */
export class GetFeatureFlagByNameResponse_FfFederatedGraph extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.FederatedGraph federated_graph = 1;
     */
    federatedGraph;
    /**
     * @generated from field: bool is_connected = 2;
     */
    isConnected = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federated_graph", kind: "message", T: FederatedGraph },
        { no: 2, name: "is_connected", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagByNameResponse_FfFederatedGraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagRequest
 */
export class GetFeatureSubgraphsByFeatureFlagRequest extends Message {
    /**
     * @generated from field: string feature_flag_name = 1;
     */
    featureFlagName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureSubgraphsByFeatureFlagRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureSubgraphsByFeatureFlagRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureSubgraphsByFeatureFlagRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureSubgraphsByFeatureFlagRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagResponse
 */
export class GetFeatureSubgraphsByFeatureFlagResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 2;
     */
    featureSubgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureSubgraphsByFeatureFlagResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureSubgraphsByFeatureFlagResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureSubgraphsByFeatureFlagResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureSubgraphsByFeatureFlagResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsRequest
 */
export class GetFeatureSubgraphsRequest extends Message {
    /**
     * @generated from field: int32 limit = 1;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 2;
     */
    offset = 0;
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    /**
     * @generated from field: optional string query = 4;
     */
    query;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureSubgraphsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureSubgraphsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureSubgraphsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureSubgraphsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsResponse
 */
export class GetFeatureSubgraphsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 2;
     */
    featureSubgraphs = [];
    /**
     * @generated from field: int32 count = 3;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
        { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureSubgraphsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureSubgraphsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureSubgraphsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureSubgraphsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphRequest
 */
export class GetFeatureFlagsByFederatedGraphRequest extends Message {
    /**
     * @generated from field: string federated_graph_name = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: int32 limit = 2;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 3;
     */
    offset = 0;
    /**
     * @generated from field: string namespace = 4;
     */
    namespace = "";
    /**
     * @generated from field: optional string query = 5;
     */
    query;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federated_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagsByFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagsByFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagsByFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagsByFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphResponse
 */
export class GetFeatureFlagsByFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag feature_flags = 2;
     */
    featureFlags = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "feature_flags", kind: "message", T: FeatureFlag, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFeatureFlagsByFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFeatureFlagsByFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFeatureFlagsByFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFeatureFlagsByFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookHistoryRequest
 */
export class GetOrganizationWebhookHistoryRequest extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 1;
     */
    pagination;
    /**
     * @generated from field: wg.cosmo.platform.v1.DateRange date_range = 2;
     */
    dateRange;
    /**
     * @generated from field: optional string filter_by_type = 3;
     */
    filterByType;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookHistoryRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "pagination", kind: "message", T: Pagination },
        { no: 2, name: "date_range", kind: "message", T: DateRange },
        { no: 3, name: "filter_by_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookHistoryRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookHistoryRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookHistoryRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookHistoryRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.WebhookDelivery
 */
export class WebhookDelivery extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string created_at = 2;
     */
    createdAt = "";
    /**
     * @generated from field: optional string created_by = 3;
     */
    createdBy;
    /**
     * @generated from field: string type = 4;
     */
    type = "";
    /**
     * @generated from field: string endpoint = 5;
     */
    endpoint = "";
    /**
     * @generated from field: string event_name = 6;
     */
    eventName = "";
    /**
     * @generated from field: string payload = 7;
     */
    payload = "";
    /**
     * @generated from field: string request_headers = 8;
     */
    requestHeaders = "";
    /**
     * @generated from field: optional string response_headers = 9;
     */
    responseHeaders;
    /**
     * @generated from field: optional int32 response_status_code = 10;
     */
    responseStatusCode;
    /**
     * @generated from field: optional string response_error_code = 11;
     */
    responseErrorCode;
    /**
     * @generated from field: optional string error_message = 12;
     */
    errorMessage;
    /**
     * @generated from field: optional string response_body = 13;
     */
    responseBody;
    /**
     * @generated from field: int32 retry_count = 14;
     */
    retryCount = 0;
    /**
     * @generated from field: float duration = 15;
     */
    duration = 0;
    /**
     * @generated from field: bool is_redelivery = 16;
     */
    isRedelivery = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.WebhookDelivery";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "event_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "request_headers", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 9, name: "response_headers", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 10, name: "response_status_code", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
        { no: 11, name: "response_error_code", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 12, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 13, name: "response_body", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 14, name: "retry_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 15, name: "duration", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 16, name: "is_redelivery", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new WebhookDelivery().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new WebhookDelivery().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new WebhookDelivery().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(WebhookDelivery, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookHistoryResponse
 */
export class GetOrganizationWebhookHistoryResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.WebhookDelivery deliveries = 2;
     */
    deliveries = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookHistoryResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "deliveries", kind: "message", T: WebhookDelivery, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetOrganizationWebhookHistoryResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOrganizationWebhookHistoryResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOrganizationWebhookHistoryResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOrganizationWebhookHistoryResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RedeliverWebhookRequest
 */
export class RedeliverWebhookRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RedeliverWebhookRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new RedeliverWebhookRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RedeliverWebhookRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RedeliverWebhookRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RedeliverWebhookRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.RedeliverWebhookResponse
 */
export class RedeliverWebhookResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.RedeliverWebhookResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new RedeliverWebhookResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RedeliverWebhookResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RedeliverWebhookResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RedeliverWebhookResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetWebhookDeliveryDetailsRequest
 */
export class GetWebhookDeliveryDetailsRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetWebhookDeliveryDetailsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetWebhookDeliveryDetailsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetWebhookDeliveryDetailsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetWebhookDeliveryDetailsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetWebhookDeliveryDetailsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetWebhookDeliveryDetailsResponse
 */
export class GetWebhookDeliveryDetailsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.WebhookDelivery delivery = 2;
     */
    delivery;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetWebhookDeliveryDetailsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "delivery", kind: "message", T: WebhookDelivery },
    ]);
    static fromBinary(bytes, options) {
        return new GetWebhookDeliveryDetailsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetWebhookDeliveryDetailsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetWebhookDeliveryDetailsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetWebhookDeliveryDetailsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreatePlaygroundScriptRequest
 */
export class CreatePlaygroundScriptRequest extends Message {
    /**
     * @generated from field: string title = 1;
     */
    title = "";
    /**
     * @generated from field: string type = 2;
     */
    type = "";
    /**
     * @generated from field: string content = 3;
     */
    content = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreatePlaygroundScriptRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreatePlaygroundScriptRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreatePlaygroundScriptRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreatePlaygroundScriptRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreatePlaygroundScriptRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreatePlaygroundScriptResponse
 */
export class CreatePlaygroundScriptResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreatePlaygroundScriptResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new CreatePlaygroundScriptResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreatePlaygroundScriptResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreatePlaygroundScriptResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreatePlaygroundScriptResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeletePlaygroundScriptRequest
 */
export class DeletePlaygroundScriptRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeletePlaygroundScriptRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeletePlaygroundScriptRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeletePlaygroundScriptRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeletePlaygroundScriptRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeletePlaygroundScriptRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeletePlaygroundScriptResponse
 */
export class DeletePlaygroundScriptResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeletePlaygroundScriptResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeletePlaygroundScriptResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeletePlaygroundScriptResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeletePlaygroundScriptResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeletePlaygroundScriptResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdatePlaygroundScriptRequest
 */
export class UpdatePlaygroundScriptRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string title = 2;
     */
    title = "";
    /**
     * @generated from field: string content = 3;
     */
    content = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdatePlaygroundScriptRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdatePlaygroundScriptRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdatePlaygroundScriptRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdatePlaygroundScriptRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdatePlaygroundScriptRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdatePlaygroundScriptResponse
 */
export class UpdatePlaygroundScriptResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdatePlaygroundScriptResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new UpdatePlaygroundScriptResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdatePlaygroundScriptResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdatePlaygroundScriptResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdatePlaygroundScriptResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPlaygroundScriptsRequest
 */
export class GetPlaygroundScriptsRequest extends Message {
    /**
     * @generated from field: string type = 1;
     */
    type = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPlaygroundScriptsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetPlaygroundScriptsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPlaygroundScriptsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPlaygroundScriptsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPlaygroundScriptsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PlaygroundScript
 */
export class PlaygroundScript extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string type = 2;
     */
    type = "";
    /**
     * @generated from field: string title = 3;
     */
    title = "";
    /**
     * @generated from field: string content = 4;
     */
    content = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PlaygroundScript";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PlaygroundScript().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PlaygroundScript().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PlaygroundScript().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PlaygroundScript, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetPlaygroundScriptsResponse
 */
export class GetPlaygroundScriptsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.PlaygroundScript scripts = 2;
     */
    scripts = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetPlaygroundScriptsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "scripts", kind: "message", T: PlaygroundScript, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetPlaygroundScriptsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetPlaygroundScriptsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetPlaygroundScriptsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetPlaygroundScriptsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByIdRequest
 */
export class GetFederatedGraphByIdRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: bool includeMetrics = 2;
     */
    includeMetrics = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByIdRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphByIdRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphByIdRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphByIdRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphByIdRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByIdResponse
 */
export class GetFederatedGraphByIdResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.FederatedGraph graph = 2;
     */
    graph;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
     */
    subgraphs = [];
    /**
     * @generated from field: string graphRequestToken = 4;
     */
    graphRequestToken = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag featureFlagsInLatestValidComposition = 5;
     */
    featureFlagsInLatestValidComposition = [];
    /**
     * includes all the feature subgraphs that are part of the federated graph;
     * even the ones that are not part of the latest composition
     *
     * @generated from field: repeated wg.cosmo.platform.v1.Subgraph featureSubgraphs = 6;
     */
    featureSubgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByIdResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graph", kind: "message", T: FederatedGraph },
        { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
        { no: 4, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "featureFlagsInLatestValidComposition", kind: "message", T: FeatureFlag, repeated: true },
        { no: 6, name: "featureSubgraphs", kind: "message", T: Subgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetFederatedGraphByIdResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetFederatedGraphByIdResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetFederatedGraphByIdResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetFederatedGraphByIdResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphByIdRequest
 */
export class GetSubgraphByIdRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphByIdRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphByIdRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphByIdRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphByIdRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphByIdRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetSubgraphByIdResponse
 */
export class GetSubgraphByIdResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.Subgraph graph = 2;
     */
    graph;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMember members = 3;
     */
    members = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetSubgraphByIdResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "graph", kind: "message", T: Subgraph },
        { no: 3, name: "members", kind: "message", T: SubgraphMember, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetSubgraphByIdResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetSubgraphByIdResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetSubgraphByIdResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetSubgraphByIdResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceRequest
 */
export class GetNamespaceRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string id = 2;
     */
    id = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceResponse
 */
export class GetNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.Namespace namespace = 2;
     */
    namespace;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "namespace", kind: "message", T: Namespace },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PushCacheWarmerOperationRequest
 */
export class PushCacheWarmerOperationRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string operationContent = 2;
     */
    operationContent = "";
    /**
     * @generated from field: string operationName = 3;
     */
    operationName = "";
    /**
     * @generated from field: string operationPersistedId = 4;
     */
    operationPersistedId = "";
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PushCacheWarmerOperationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "operationContent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "operationPersistedId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new PushCacheWarmerOperationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PushCacheWarmerOperationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PushCacheWarmerOperationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PushCacheWarmerOperationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.PushCacheWarmerOperationResponse
 */
export class PushCacheWarmerOperationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.PushCacheWarmerOperationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new PushCacheWarmerOperationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new PushCacheWarmerOperationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new PushCacheWarmerOperationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(PushCacheWarmerOperationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCacheWarmerOperationsRequest
 */
export class GetCacheWarmerOperationsRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: int32 limit = 3;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 4;
     */
    offset = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCacheWarmerOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCacheWarmerOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCacheWarmerOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCacheWarmerOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCacheWarmerOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CacheWarmerOperation
 */
export class CacheWarmerOperation extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string operationContent = 2;
     */
    operationContent = "";
    /**
     * @generated from field: string operationName = 3;
     */
    operationName = "";
    /**
     * @generated from field: string operationPersistedId = 4;
     */
    operationPersistedId = "";
    /**
     * @generated from field: string operationHash = 5;
     */
    operationHash = "";
    /**
     * @generated from field: string clientName = 6;
     */
    clientName = "";
    /**
     * @generated from field: string clientVersion = 7;
     */
    clientVersion = "";
    /**
     * @generated from field: float planningTime = 8;
     */
    planningTime = 0;
    /**
     * @generated from field: bool isManuallyAdded = 9;
     */
    isManuallyAdded = false;
    /**
     * @generated from field: string createdAt = 10;
     */
    createdAt = "";
    /**
     * @generated from field: string createdBy = 11;
     */
    createdBy = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CacheWarmerOperation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "operationContent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "operationPersistedId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "operationHash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "clientVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "planningTime", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 9, name: "isManuallyAdded", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 10, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 11, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CacheWarmerOperation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CacheWarmerOperation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CacheWarmerOperation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CacheWarmerOperation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCacheWarmerOperationsResponse
 */
export class GetCacheWarmerOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CacheWarmerOperation operations = 2;
     */
    operations = [];
    /**
     * @generated from field: int32 total_count = 3;
     */
    totalCount = 0;
    /**
     * @generated from field: bool isCacheWarmerEnabled = 4;
     */
    isCacheWarmerEnabled = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCacheWarmerOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operations", kind: "message", T: CacheWarmerOperation, repeated: true },
        { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "isCacheWarmerEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCacheWarmerOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCacheWarmerOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCacheWarmerOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCacheWarmerOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ComputeCacheWarmerOperationsRequest
 */
export class ComputeCacheWarmerOperationsRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ComputeCacheWarmerOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ComputeCacheWarmerOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ComputeCacheWarmerOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ComputeCacheWarmerOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ComputeCacheWarmerOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ComputeCacheWarmerOperationsResponse
 */
export class ComputeCacheWarmerOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ComputeCacheWarmerOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ComputeCacheWarmerOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ComputeCacheWarmerOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ComputeCacheWarmerOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ComputeCacheWarmerOperationsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureCacheWarmerRequest
 */
export class ConfigureCacheWarmerRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: bool enableCacheWarmer = 2;
     */
    enableCacheWarmer = false;
    /**
     * @generated from field: int32 maxOperationsCount = 3;
     */
    maxOperationsCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureCacheWarmerRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "enableCacheWarmer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "maxOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureCacheWarmerRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureCacheWarmerRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureCacheWarmerRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureCacheWarmerRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureCacheWarmerResponse
 */
export class ConfigureCacheWarmerResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureCacheWarmerResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureCacheWarmerResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureCacheWarmerResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureCacheWarmerResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureCacheWarmerResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCacheWarmerConfigRequest
 */
export class GetCacheWarmerConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCacheWarmerConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCacheWarmerConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCacheWarmerConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCacheWarmerConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCacheWarmerConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetCacheWarmerConfigResponse
 */
export class GetCacheWarmerConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool isCacheWarmerEnabled = 2;
     */
    isCacheWarmerEnabled = false;
    /**
     * @generated from field: int32 maxOperationsCount = 3;
     */
    maxOperationsCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetCacheWarmerConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "isCacheWarmerEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "maxOperationsCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetCacheWarmerConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetCacheWarmerConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetCacheWarmerConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetCacheWarmerConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteCacheWarmerOperationRequest
 */
export class DeleteCacheWarmerOperationRequest extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string federatedGraphName = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 3;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteCacheWarmerOperationRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteCacheWarmerOperationRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteCacheWarmerOperationRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteCacheWarmerOperationRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteCacheWarmerOperationRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.DeleteCacheWarmerOperationResponse
 */
export class DeleteCacheWarmerOperationResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.DeleteCacheWarmerOperationResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteCacheWarmerOperationResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteCacheWarmerOperationResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteCacheWarmerOperationResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteCacheWarmerOperationResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ListRouterCompatibilityVersionsRequest
 */
export class ListRouterCompatibilityVersionsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ListRouterCompatibilityVersionsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new ListRouterCompatibilityVersionsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ListRouterCompatibilityVersionsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ListRouterCompatibilityVersionsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ListRouterCompatibilityVersionsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ListRouterCompatibilityVersionsResponse
 */
export class ListRouterCompatibilityVersionsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated string versions = 2;
     */
    versions = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ListRouterCompatibilityVersionsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "versions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ListRouterCompatibilityVersionsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ListRouterCompatibilityVersionsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ListRouterCompatibilityVersionsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ListRouterCompatibilityVersionsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SetGraphRouterCompatibilityVersionRequest
 */
export class SetGraphRouterCompatibilityVersionRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string version = 3;
     */
    version = "";
    /**
     * @generated from field: optional bool disable_resolvability_validation = 4;
     */
    disableResolvabilityValidation;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SetGraphRouterCompatibilityVersionRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new SetGraphRouterCompatibilityVersionRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SetGraphRouterCompatibilityVersionRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SetGraphRouterCompatibilityVersionRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SetGraphRouterCompatibilityVersionRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.SetGraphRouterCompatibilityVersionResponse
 */
export class SetGraphRouterCompatibilityVersionResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string previous_version = 2;
     */
    previousVersion = "";
    /**
     * @generated from field: string new_version = 3;
     */
    newVersion = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 4;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deploymentErrors = 5;
     */
    deploymentErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 6;
     */
    compositionWarnings = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.SetGraphRouterCompatibilityVersionResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "previous_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "new_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 5, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
        { no: 6, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new SetGraphRouterCompatibilityVersionResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SetGraphRouterCompatibilityVersionResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SetGraphRouterCompatibilityVersionResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SetGraphRouterCompatibilityVersionResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest
 */
export class GetProposedSchemaOfCheckedSubgraphRequest extends Message {
    /**
     * @generated from field: string checkId = 1;
     */
    checkId = "";
    /**
     * @generated from field: string checkedSubgraphId = 2;
     */
    checkedSubgraphId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "checkedSubgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposedSchemaOfCheckedSubgraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposedSchemaOfCheckedSubgraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposedSchemaOfCheckedSubgraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse
 */
export class GetProposedSchemaOfCheckedSubgraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string proposedSchema = 2;
     */
    proposedSchema = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "proposedSchema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposedSchemaOfCheckedSubgraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposedSchemaOfCheckedSubgraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposedSchemaOfCheckedSubgraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.Proposal
 */
export class Proposal extends Message {
    /**
     * @generated from field: string id = 1;
     */
    id = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string createdAt = 3;
     */
    createdAt = "";
    /**
     * @generated from field: string createdByEmail = 4;
     */
    createdByEmail = "";
    /**
     * @generated from field: string state = 5;
     */
    state = "";
    /**
     * @generated from field: string federatedGraphId = 6;
     */
    federatedGraphId = "";
    /**
     * @generated from field: string federatedGraphName = 7;
     */
    federatedGraphName = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 8;
     */
    subgraphs = [];
    /**
     * @generated from field: bool latestCheckSuccess = 9;
     */
    latestCheckSuccess = false;
    /**
     * @generated from field: string latestCheckId = 10;
     */
    latestCheckId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.Proposal";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "createdByEmail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 6, name: "federatedGraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 7, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 8, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
        { no: 9, name: "latestCheckSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 10, name: "latestCheckId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new Proposal().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Proposal().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Proposal().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Proposal, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ProposalSubgraph
 */
export class ProposalSubgraph extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string schemaSDL = 2;
     */
    schemaSDL = "";
    /**
     * @generated from field: bool isDeleted = 3;
     */
    isDeleted = false;
    /**
     * @generated from field: bool isNew = 4;
     */
    isNew = false;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 5;
     */
    labels = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ProposalSubgraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "isDeleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 4, name: "isNew", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 5, name: "labels", kind: "message", T: Label, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ProposalSubgraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ProposalSubgraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ProposalSubgraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ProposalSubgraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateProposalRequest
 */
export class CreateProposalRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string name = 3;
     */
    name = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 4;
     */
    subgraphs = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.ProposalNamingConvention namingConvention = 5;
     */
    namingConvention = ProposalNamingConvention.NORMAL;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateProposalRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
        { no: 5, name: "namingConvention", kind: "enum", T: proto3.getEnumType(ProposalNamingConvention) },
    ]);
    static fromBinary(bytes, options) {
        return new CreateProposalRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateProposalRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateProposalRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateProposalRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.CreateProposalResponse
 */
export class CreateProposalResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string proposalId = 2;
     */
    proposalId = "";
    /**
     * @generated from field: string checkId = 3;
     */
    checkId = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 4;
     */
    breakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 5;
     */
    nonBreakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 6;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 7;
     */
    compositionWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 8;
     */
    lintErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 9;
     */
    lintWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 10;
     */
    graphPruneErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 11;
     */
    graphPruneWarnings = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 12;
     */
    operationUsageStats;
    /**
     * @generated from field: bool lintingSkipped = 13;
     */
    lintingSkipped = false;
    /**
     * @generated from field: bool graphPruningSkipped = 14;
     */
    graphPruningSkipped = false;
    /**
     * @generated from field: string checkUrl = 15;
     */
    checkUrl = "";
    /**
     * @generated from field: string proposalUrl = 16;
     */
    proposalUrl = "";
    /**
     * @generated from field: string proposalName = 17;
     */
    proposalName = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.CreateProposalResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 5, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 6, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 7, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
        { no: 8, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
        { no: 9, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
        { no: 10, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 11, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 12, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
        { no: 13, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 14, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 15, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 16, name: "proposalUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 17, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new CreateProposalResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateProposalResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateProposalResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateProposalResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalRequest
 */
export class GetProposalRequest extends Message {
    /**
     * @generated from field: string proposalId = 1;
     */
    proposalId = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalResponse
 */
export class GetProposalResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: wg.cosmo.platform.v1.Proposal proposal = 2;
     */
    proposal;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph currentSubgraphs = 3;
     */
    currentSubgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "proposal", kind: "message", T: Proposal },
        { no: 3, name: "currentSubgraphs", kind: "message", T: GetProposalResponse_CurrentSubgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph
 */
export class GetProposalResponse_CurrentSubgraph extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string schemaSDL = 2;
     */
    schemaSDL = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "schemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalResponse_CurrentSubgraph().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalResponse_CurrentSubgraph().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalResponse_CurrentSubgraph().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalResponse_CurrentSubgraph, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalsByFederatedGraphRequest
 */
export class GetProposalsByFederatedGraphRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: string startDate = 3;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 4;
     */
    endDate = "";
    /**
     * @generated from field: int32 limit = 5;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 6;
     */
    offset = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalsByFederatedGraphRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 6, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalsByFederatedGraphRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalsByFederatedGraphRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalsByFederatedGraphRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalsByFederatedGraphRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalsByFederatedGraphResponse
 */
export class GetProposalsByFederatedGraphResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Proposal proposals = 2;
     */
    proposals = [];
    /**
     * @generated from field: bool isProposalsEnabled = 3;
     */
    isProposalsEnabled = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalsByFederatedGraphResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "proposals", kind: "message", T: Proposal, repeated: true },
        { no: 3, name: "isProposalsEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalsByFederatedGraphResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalsByFederatedGraphResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalsByFederatedGraphResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalsByFederatedGraphResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalChecksRequest
 */
export class GetProposalChecksRequest extends Message {
    /**
     * @generated from field: string proposalId = 1;
     */
    proposalId = "";
    /**
     * @generated from field: int32 limit = 2;
     */
    limit = 0;
    /**
     * @generated from field: int32 offset = 3;
     */
    offset = 0;
    /**
     * @generated from field: string startDate = 4;
     */
    startDate = "";
    /**
     * @generated from field: string endDate = 5;
     */
    endDate = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalChecksRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalChecksRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalChecksRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalChecksRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalChecksRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetProposalChecksResponse
 */
export class GetProposalChecksResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck checks = 2;
     */
    checks = [];
    /**
     * @generated from field: int32 totalChecksCount = 3;
     */
    totalChecksCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetProposalChecksResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "checks", kind: "message", T: SchemaCheck, repeated: true },
        { no: 3, name: "totalChecksCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetProposalChecksResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetProposalChecksResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetProposalChecksResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetProposalChecksResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateProposalRequest
 */
export class UpdateProposalRequest extends Message {
    /**
     * @generated from field: string proposalName = 1;
     */
    proposalName = "";
    /**
     * @generated from field: string federatedGraphName = 2;
     */
    federatedGraphName = "";
    /**
     * @generated from oneof wg.cosmo.platform.v1.UpdateProposalRequest.update_action
     */
    updateAction = { case: undefined };
    /**
     * @generated from field: string namespace = 5;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateProposalRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "update_action" },
        { no: 4, name: "updatedSubgraphs", kind: "message", T: UpdateProposalRequest_UpdateProposalSubgraphs, oneof: "update_action" },
        { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateProposalRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateProposalRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateProposalRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateProposalRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateProposalRequest.UpdateProposalSubgraphs
 */
export class UpdateProposalRequest_UpdateProposalSubgraphs extends Message {
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 1;
     */
    subgraphs = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateProposalRequest.UpdateProposalSubgraphs";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateProposalRequest_UpdateProposalSubgraphs().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateProposalRequest_UpdateProposalSubgraphs().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateProposalRequest_UpdateProposalSubgraphs().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateProposalRequest_UpdateProposalSubgraphs, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.UpdateProposalResponse
 */
export class UpdateProposalResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string checkId = 2;
     */
    checkId = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 3;
     */
    breakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 4;
     */
    nonBreakingChanges = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 5;
     */
    compositionErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 6;
     */
    compositionWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 7;
     */
    lintErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 8;
     */
    lintWarnings = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 9;
     */
    graphPruneErrors = [];
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 10;
     */
    graphPruneWarnings = [];
    /**
     * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 11;
     */
    operationUsageStats;
    /**
     * @generated from field: bool lintingSkipped = 12;
     */
    lintingSkipped = false;
    /**
     * @generated from field: bool graphPruningSkipped = 13;
     */
    graphPruningSkipped = false;
    /**
     * @generated from field: string checkUrl = 14;
     */
    checkUrl = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.UpdateProposalResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 4, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
        { no: 5, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
        { no: 6, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
        { no: 7, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
        { no: 8, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
        { no: 9, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 10, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
        { no: 11, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
        { no: 12, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 13, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 14, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateProposalResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateProposalResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateProposalResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateProposalResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableProposalsForNamespaceRequest
 */
export class EnableProposalsForNamespaceRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: bool enableProposals = 2;
     */
    enableProposals = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableProposalsForNamespaceRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "enableProposals", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new EnableProposalsForNamespaceRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableProposalsForNamespaceRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableProposalsForNamespaceRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableProposalsForNamespaceRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.EnableProposalsForNamespaceResponse
 */
export class EnableProposalsForNamespaceResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.EnableProposalsForNamespaceResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new EnableProposalsForNamespaceResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new EnableProposalsForNamespaceResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new EnableProposalsForNamespaceResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(EnableProposalsForNamespaceResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigRequest
 */
export class ConfigureNamespaceProposalConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity checkSeverityLevel = 2;
     */
    checkSeverityLevel = LintSeverity.warn;
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity publishSeverityLevel = 3;
     */
    publishSeverityLevel = LintSeverity.warn;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "checkSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
        { no: 3, name: "publishSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceProposalConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceProposalConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceProposalConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceProposalConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigResponse
 */
export class ConfigureNamespaceProposalConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
    ]);
    static fromBinary(bytes, options) {
        return new ConfigureNamespaceProposalConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ConfigureNamespaceProposalConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ConfigureNamespaceProposalConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ConfigureNamespaceProposalConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceProposalConfigRequest
 */
export class GetNamespaceProposalConfigRequest extends Message {
    /**
     * @generated from field: string namespace = 1;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceProposalConfigRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceProposalConfigRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceProposalConfigRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceProposalConfigRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceProposalConfigRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetNamespaceProposalConfigResponse
 */
export class GetNamespaceProposalConfigResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: bool enabled = 2;
     */
    enabled = false;
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity checkSeverityLevel = 3;
     */
    checkSeverityLevel = LintSeverity.warn;
    /**
     * @generated from field: wg.cosmo.platform.v1.LintSeverity publishSeverityLevel = 4;
     */
    publishSeverityLevel = LintSeverity.warn;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetNamespaceProposalConfigResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
        { no: 3, name: "checkSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
        { no: 4, name: "publishSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
    ]);
    static fromBinary(bytes, options) {
        return new GetNamespaceProposalConfigResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetNamespaceProposalConfigResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetNamespaceProposalConfigResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetNamespaceProposalConfigResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationsRequest
 */
export class GetOperationsRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: optional string clientName = 3;
     */
    clientName;
    /**
     * @generated from field: optional int32 limit = 4;
     */
    limit;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
        { no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationsResponse
 */
export class GetOperationsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetOperationsResponse.Operation operations = 2;
     */
    operations = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "operations", kind: "message", T: GetOperationsResponse_Operation, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationsResponse, a, b);
    }
}
/**
 * @generated from enum wg.cosmo.platform.v1.GetOperationsResponse.OperationType
 */
export var GetOperationsResponse_OperationType;
(function (GetOperationsResponse_OperationType) {
    /**
     * @generated from enum value: QUERY = 0;
     */
    GetOperationsResponse_OperationType[GetOperationsResponse_OperationType["QUERY"] = 0] = "QUERY";
    /**
     * @generated from enum value: MUTATION = 1;
     */
    GetOperationsResponse_OperationType[GetOperationsResponse_OperationType["MUTATION"] = 1] = "MUTATION";
    /**
     * @generated from enum value: SUBSCRIPTION = 2;
     */
    GetOperationsResponse_OperationType[GetOperationsResponse_OperationType["SUBSCRIPTION"] = 2] = "SUBSCRIPTION";
})(GetOperationsResponse_OperationType || (GetOperationsResponse_OperationType = {}));
// Retrieve enum metadata with: proto3.getEnumType(GetOperationsResponse_OperationType)
proto3.util.setEnumType(GetOperationsResponse_OperationType, "wg.cosmo.platform.v1.GetOperationsResponse.OperationType", [
    { no: 0, name: "QUERY" },
    { no: 1, name: "MUTATION" },
    { no: 2, name: "SUBSCRIPTION" },
]);
/**
 * @generated from message wg.cosmo.platform.v1.GetOperationsResponse.Operation
 */
export class GetOperationsResponse_Operation extends Message {
    /**
     * @generated from field: string hash = 1;
     */
    hash = "";
    /**
     * @generated from field: string name = 2;
     */
    name = "";
    /**
     * @generated from field: string content = 3;
     */
    content = "";
    /**
     * @generated from field: float latency = 4;
     */
    latency = 0;
    /**
     * @generated from field: wg.cosmo.platform.v1.GetOperationsResponse.OperationType type = 5;
     */
    type = GetOperationsResponse_OperationType.QUERY;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetOperationsResponse.Operation";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "latency", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
        { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(GetOperationsResponse_OperationType) },
    ]);
    static fromBinary(bytes, options) {
        return new GetOperationsResponse_Operation().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetOperationsResponse_Operation().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetOperationsResponse_Operation().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetOperationsResponse_Operation, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetClientsFromAnalyticsRequest
 */
export class GetClientsFromAnalyticsRequest extends Message {
    /**
     * @generated from field: string federatedGraphName = 1;
     */
    federatedGraphName = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetClientsFromAnalyticsRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetClientsFromAnalyticsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetClientsFromAnalyticsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetClientsFromAnalyticsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetClientsFromAnalyticsRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetClientsFromAnalyticsResponse
 */
export class GetClientsFromAnalyticsResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.GetClientsFromAnalyticsResponse.Client clients = 2;
     */
    clients = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetClientsFromAnalyticsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "clients", kind: "message", T: GetClientsFromAnalyticsResponse_Client, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new GetClientsFromAnalyticsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetClientsFromAnalyticsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetClientsFromAnalyticsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetClientsFromAnalyticsResponse, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.GetClientsFromAnalyticsResponse.Client
 */
export class GetClientsFromAnalyticsResponse_Client extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.GetClientsFromAnalyticsResponse.Client";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetClientsFromAnalyticsResponse_Client().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetClientsFromAnalyticsResponse_Client().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetClientsFromAnalyticsResponse_Client().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetClientsFromAnalyticsResponse_Client, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ValidateAndFetchPluginDataRequest
 */
export class ValidateAndFetchPluginDataRequest extends Message {
    /**
     * @generated from field: string name = 1;
     */
    name = "";
    /**
     * @generated from field: string namespace = 2;
     */
    namespace = "";
    /**
     * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
     */
    labels = [];
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ValidateAndFetchPluginDataRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
    ]);
    static fromBinary(bytes, options) {
        return new ValidateAndFetchPluginDataRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ValidateAndFetchPluginDataRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ValidateAndFetchPluginDataRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ValidateAndFetchPluginDataRequest, a, b);
    }
}
/**
 * @generated from message wg.cosmo.platform.v1.ValidateAndFetchPluginDataResponse
 */
export class ValidateAndFetchPluginDataResponse extends Message {
    /**
     * @generated from field: wg.cosmo.platform.v1.Response response = 1;
     */
    response;
    /**
     * @generated from field: string newVersion = 2;
     */
    newVersion = "";
    /**
     * @generated from field: string pushToken = 3;
     */
    pushToken = "";
    /**
     * @generated from field: string reference = 4;
     */
    reference = "";
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "wg.cosmo.platform.v1.ValidateAndFetchPluginDataResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "response", kind: "message", T: Response },
        { no: 2, name: "newVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 3, name: "pushToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
        { no: 4, name: "reference", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    ]);
    static fromBinary(bytes, options) {
        return new ValidateAndFetchPluginDataResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new ValidateAndFetchPluginDataResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new ValidateAndFetchPluginDataResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(ValidateAndFetchPluginDataResponse, a, b);
    }
}
//# sourceMappingURL=platform_pb.js.map