@wundergraph/cosmo-connect
Version:
TypeScript Connect client for WunderGraph Cosmo
1,379 lines • 715 kB
JavaScript
// 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";
/**
* @generated from enum value: Boolean = 2;
*/
CustomOptions[CustomOptions["Boolean"] = 2] = "Boolean";
})(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" },
{ no: 2, name: "Boolean" },
]);
/**
* @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.ProposalOrigin
*/
export var ProposalOrigin;
(function (ProposalOrigin) {
/**
* @generated from enum value: INTERNAL = 0;
*/
ProposalOrigin[ProposalOrigin["INTERNAL"] = 0] = "INTERNAL";
/**
* @generated from enum value: EXTERNAL = 1;
*/
ProposalOrigin[ProposalOrigin["EXTERNAL"] = 1] = "EXTERNAL";
})(ProposalOrigin || (ProposalOrigin = {}));
// Retrieve enum metadata with: proto3.getEnumType(ProposalOrigin)
proto3.util.setEnumType(ProposalOrigin, "wg.cosmo.platform.v1.ProposalOrigin", [
{ no: 0, name: "INTERNAL" },
{ no: 1, name: "EXTERNAL" },
]);
/**
* @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 enum wg.cosmo.platform.v1.OperationsFetchBasedOn
*/
export var OperationsFetchBasedOn;
(function (OperationsFetchBasedOn) {
/**
* @generated from enum value: REQUESTS = 0;
*/
OperationsFetchBasedOn[OperationsFetchBasedOn["REQUESTS"] = 0] = "REQUESTS";
/**
* @generated from enum value: LATENCY = 1;
*/
OperationsFetchBasedOn[OperationsFetchBasedOn["LATENCY"] = 1] = "LATENCY";
/**
* @generated from enum value: ERRORS = 2;
*/
OperationsFetchBasedOn[OperationsFetchBasedOn["ERRORS"] = 2] = "ERRORS";
})(OperationsFetchBasedOn || (OperationsFetchBasedOn = {}));
// Retrieve enum metadata with: proto3.getEnumType(OperationsFetchBasedOn)
proto3.util.setEnumType(OperationsFetchBasedOn, "wg.cosmo.platform.v1.OperationsFetchBasedOn", [
{ no: 0, name: "REQUESTS" },
{ no: 1, name: "LATENCY" },
{ no: 2, name: "ERRORS" },
]);
/**
* @generated from enum wg.cosmo.platform.v1.SortDirection
*/
export var SortDirection;
(function (SortDirection) {
/**
* @generated from enum value: ASC = 0;
*/
SortDirection[SortDirection["ASC"] = 0] = "ASC";
/**
* @generated from enum value: DESC = 1;
*/
SortDirection[SortDirection["DESC"] = 1] = "DESC";
})(SortDirection || (SortDirection = {}));
// Retrieve enum metadata with: proto3.getEnumType(SortDirection)
proto3.util.setEnumType(SortDirection, "wg.cosmo.platform.v1.SortDirection", [
{ no: 0, name: "ASC" },
{ no: 1, name: "DESC" },
]);
/**
* @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.v