// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file connector.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import { Permission, RequestProjectHeader } from "./shared_pb.js";
import { Paging } from "./base_pb.js";

/**
 * @generated from enum api.ConnectorType
 */
export enum ConnectorType {
  /**
   * @generated from enum value: CUSTOM = 0;
   */
  CUSTOM = 0,

  /**
   * @generated from enum value: RFX = 10;
   */
  RFX = 10,

  /**
   * @generated from enum value: TDI = 20;
   */
  TDI = 20,
}
// Retrieve enum metadata with: proto3.getEnumType(ConnectorType)
proto3.util.setEnumType(ConnectorType, "api.ConnectorType", [
  { no: 0, name: "CUSTOM" },
  { no: 10, name: "RFX" },
  { no: 20, name: "TDI" },
]);

/**
 * @generated from enum api.ParameterMetadataType
 */
export enum ParameterMetadataType {
  /**
   * @generated from enum value: STRING = 0;
   */
  STRING = 0,

  /**
   * @generated from enum value: INTEGER = 10;
   */
  INTEGER = 10,

  /**
   * @generated from enum value: BOOLEAN = 20;
   */
  BOOLEAN = 20,

  /**
   * @generated from enum value: FILE = 30;
   */
  FILE = 30,

  /**
   * @generated from enum value: URL = 40;
   */
  URL = 40,

  /**
   * @generated from enum value: SET = 50;
   */
  SET = 50,
}
// Retrieve enum metadata with: proto3.getEnumType(ParameterMetadataType)
proto3.util.setEnumType(ParameterMetadataType, "api.ParameterMetadataType", [
  { no: 0, name: "STRING" },
  { no: 10, name: "INTEGER" },
  { no: 20, name: "BOOLEAN" },
  { no: 30, name: "FILE" },
  { no: 40, name: "URL" },
  { no: 50, name: "SET" },
]);

/**
 * @generated from enum api.Keyword
 */
export enum Keyword {
  /**
   * @generated from enum value: UNKNOWN = 0;
   */
  UNKNOWN = 0,

  /**
   * @generated from enum value: ORGANISATION_ID = 10;
   */
  ORGANISATION_ID = 10,

  /**
   * @generated from enum value: PROJECT_ID = 20;
   */
  PROJECT_ID = 20,

  /**
   * @generated from enum value: PARTNER_APP_ID = 30;
   */
  PARTNER_APP_ID = 30,

  /**
   * @generated from enum value: AUTHZ_ENDPOINT = 40;
   */
  AUTHZ_ENDPOINT = 40,

  /**
   * @generated from enum value: BUCKET_ROOT = 50;
   */
  BUCKET_ROOT = 50,

  /**
   * @generated from enum value: GRPC_API_CORE_ENDPOINT = 60;
   */
  GRPC_API_CORE_ENDPOINT = 60,

  /**
   * @generated from enum value: GRPC_API_GCS_ENDPOINT = 70;
   */
  GRPC_API_GCS_ENDPOINT = 70,

  /**
   * @generated from enum value: NATS_ENDPOINT = 80;
   */
  NATS_ENDPOINT = 80,

  /**
   * @generated from enum value: NATS_ROOT_SUBJECT = 90;
   */
  NATS_ROOT_SUBJECT = 90,
}
// Retrieve enum metadata with: proto3.getEnumType(Keyword)
proto3.util.setEnumType(Keyword, "api.Keyword", [
  { no: 0, name: "UNKNOWN" },
  { no: 10, name: "ORGANISATION_ID" },
  { no: 20, name: "PROJECT_ID" },
  { no: 30, name: "PARTNER_APP_ID" },
  { no: 40, name: "AUTHZ_ENDPOINT" },
  { no: 50, name: "BUCKET_ROOT" },
  { no: 60, name: "GRPC_API_CORE_ENDPOINT" },
  { no: 70, name: "GRPC_API_GCS_ENDPOINT" },
  { no: 80, name: "NATS_ENDPOINT" },
  { no: 90, name: "NATS_ROOT_SUBJECT" },
]);

/**
 * @generated from message api.Connector
 */
export class Connector extends Message<Connector> {
  /**
   * @generated from field: string ID = 1;
   */
  ID = "";

  /**
   * @generated from field: string Name = 2;
   */
  Name = "";

  /**
   * @generated from field: api.ConnectorType Type = 3;
   */
  Type = ConnectorType.CUSTOM;

  /**
   * @generated from field: string Description = 4;
   */
  Description = "";

  /**
   * @generated from field: string Version = 5;
   */
  Version = "";

  /**
   * @generated from field: string RepoUrl = 6;
   */
  RepoUrl = "";

  /**
   * @generated from field: string MainClassName = 7;
   */
  MainClassName = "";

  /**
   * @generated from field: string JarName = 8;
   */
  JarName = "";

  /**
   * @generated from field: string SetupJson = 9;
   */
  SetupJson = "";

  /**
   * @generated from field: string MetadataJSONParameters = 10;
   */
  MetadataJSONParameters = "";

  /**
   * @generated from field: int32 NbSlots = 11;
   */
  NbSlots = 0;

  /**
   * @generated from field: string DistributionName = 12;
   */
  DistributionName = "";

  /**
   * @generated from field: string Release = 13;
   */
  Release = "";

  /**
   * @generated from field: string ActionsJSONParameters = 14;
   */
  ActionsJSONParameters = "";

  constructor(data?: PartialMessage<Connector>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.Connector";
  static readonly fields: FieldList = 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: "enum", T: proto3.getEnumType(ConnectorType) },
    { no: 4, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 5, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 6, name: "RepoUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 7, name: "MainClassName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 8, name: "JarName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 9, name: "SetupJson", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 10, name: "MetadataJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 11, name: "NbSlots", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    { no: 12, name: "DistributionName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 13, name: "Release", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 14, name: "ActionsJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Connector {
    return new Connector().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connector {
    return new Connector().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connector {
    return new Connector().fromJsonString(jsonString, options);
  }

  static equals(a: Connector | PlainMessage<Connector> | undefined, b: Connector | PlainMessage<Connector> | undefined): boolean {
    return proto3.util.equals(Connector, a, b);
  }
}

/**
 * @generated from message api.ParameterMetadata
 */
export class ParameterMetadata extends Message<ParameterMetadata> {
  /**
   * @generated from field: string name = 1;
   */
  name = "";

  /**
   * @generated from field: string label = 2;
   */
  label = "";

  /**
   * @generated from field: string help_text = 3;
   */
  helpText = "";

  /**
   * @generated from field: bool mandatory = 4;
   */
  mandatory = false;

  /**
   * @generated from field: string group_id = 5;
   */
  groupId = "";

  /**
   * @generated from field: int32 order_id = 6;
   */
  orderId = 0;

  /**
   * @generated from field: string type = 7;
   */
  type = "";

  /**
   * @generated from field: map<string, string> custom_info = 8;
   */
  customInfo: { [key: string]: string } = {};

  constructor(data?: PartialMessage<ParameterMetadata>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ParameterMetadata";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "help_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 4, name: "mandatory", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    { no: 5, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 6, name: "order_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    { no: 7, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 8, name: "custom_info", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParameterMetadata {
    return new ParameterMetadata().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParameterMetadata {
    return new ParameterMetadata().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParameterMetadata {
    return new ParameterMetadata().fromJsonString(jsonString, options);
  }

  static equals(a: ParameterMetadata | PlainMessage<ParameterMetadata> | undefined, b: ParameterMetadata | PlainMessage<ParameterMetadata> | undefined): boolean {
    return proto3.util.equals(ParameterMetadata, a, b);
  }
}

/**
 * @generated from message api.CreateConnectorRequest
 */
export class CreateConnectorRequest extends Message<CreateConnectorRequest> {
  /**
   * @generated from field: string Name = 1;
   */
  Name = "";

  /**
   * @generated from field: api.ConnectorType Type = 2;
   */
  Type = ConnectorType.CUSTOM;

  /**
   * @generated from field: string Description = 3;
   */
  Description = "";

  /**
   * @generated from field: string Version = 4;
   */
  Version = "";

  /**
   * @generated from field: string RepoUrl = 5;
   */
  RepoUrl = "";

  /**
   * @generated from field: string MainClassName = 6;
   */
  MainClassName = "";

  /**
   * @generated from field: string JarName = 7;
   */
  JarName = "";

  /**
   * @generated from field: string SetupJson = 8;
   */
  SetupJson = "";

  /**
   * @generated from field: string MetadataJSONParameters = 9;
   */
  MetadataJSONParameters = "";

  /**
   * @generated from field: int32 NbSlots = 10;
   */
  NbSlots = 0;

  /**
   * @generated from field: repeated api.Permission Permissions = 11;
   */
  Permissions: Permission[] = [];

  /**
   * @generated from field: string DistributionName = 12;
   */
  DistributionName = "";

  /**
   * @generated from field: string ActionsJSONParameters = 13;
   */
  ActionsJSONParameters = "";

  constructor(data?: PartialMessage<CreateConnectorRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.CreateConnectorRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "Type", kind: "enum", T: proto3.getEnumType(ConnectorType) },
    { no: 3, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 4, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 5, name: "RepoUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 6, name: "MainClassName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 7, name: "JarName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 8, name: "SetupJson", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 9, name: "MetadataJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 10, name: "NbSlots", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    { no: 11, name: "Permissions", kind: "message", T: Permission, repeated: true },
    { no: 12, name: "DistributionName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 13, name: "ActionsJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectorRequest {
    return new CreateConnectorRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectorRequest {
    return new CreateConnectorRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectorRequest {
    return new CreateConnectorRequest().fromJsonString(jsonString, options);
  }

  static equals(a: CreateConnectorRequest | PlainMessage<CreateConnectorRequest> | undefined, b: CreateConnectorRequest | PlainMessage<CreateConnectorRequest> | undefined): boolean {
    return proto3.util.equals(CreateConnectorRequest, a, b);
  }
}

/**
 * @generated from message api.CreateConnectorResult
 */
export class CreateConnectorResult extends Message<CreateConnectorResult> {
  /**
   * @generated from field: api.Connector Result = 1;
   */
  Result?: Connector;

  constructor(data?: PartialMessage<CreateConnectorResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.CreateConnectorResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Result", kind: "message", T: Connector },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectorResult {
    return new CreateConnectorResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectorResult {
    return new CreateConnectorResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectorResult {
    return new CreateConnectorResult().fromJsonString(jsonString, options);
  }

  static equals(a: CreateConnectorResult | PlainMessage<CreateConnectorResult> | undefined, b: CreateConnectorResult | PlainMessage<CreateConnectorResult> | undefined): boolean {
    return proto3.util.equals(CreateConnectorResult, a, b);
  }
}

/**
 * @generated from message api.UpdateConnectorRequest
 */
export class UpdateConnectorRequest extends Message<UpdateConnectorRequest> {
  /**
   * @generated from field: string ConnectorID = 1;
   */
  ConnectorID = "";

  /**
   * @generated from field: string Description = 2;
   */
  Description = "";

  /**
   * @generated from field: string Version = 3;
   */
  Version = "";

  /**
   * @generated from field: string RepoUrl = 4;
   */
  RepoUrl = "";

  /**
   * @generated from field: string MainClassName = 5;
   */
  MainClassName = "";

  /**
   * @generated from field: string JarName = 6;
   */
  JarName = "";

  /**
   * @generated from field: string SetupJson = 7;
   */
  SetupJson = "";

  /**
   * @generated from field: string MetadataJSONParameters = 8;
   */
  MetadataJSONParameters = "";

  /**
   * @generated from field: int32 NbSlots = 9;
   */
  NbSlots = 0;

  /**
   * @generated from field: repeated api.Permission Permissions = 10;
   */
  Permissions: Permission[] = [];

  /**
   * @generated from field: string ActionsJSONParameters = 11;
   */
  ActionsJSONParameters = "";

  constructor(data?: PartialMessage<UpdateConnectorRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.UpdateConnectorRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ConnectorID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 4, name: "RepoUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 5, name: "MainClassName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 6, name: "JarName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 7, name: "SetupJson", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 8, name: "MetadataJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 9, name: "NbSlots", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    { no: 10, name: "Permissions", kind: "message", T: Permission, repeated: true },
    { no: 11, name: "ActionsJSONParameters", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectorRequest {
    return new UpdateConnectorRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectorRequest {
    return new UpdateConnectorRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectorRequest {
    return new UpdateConnectorRequest().fromJsonString(jsonString, options);
  }

  static equals(a: UpdateConnectorRequest | PlainMessage<UpdateConnectorRequest> | undefined, b: UpdateConnectorRequest | PlainMessage<UpdateConnectorRequest> | undefined): boolean {
    return proto3.util.equals(UpdateConnectorRequest, a, b);
  }
}

/**
 * @generated from message api.UpdateConnectorResult
 */
export class UpdateConnectorResult extends Message<UpdateConnectorResult> {
  /**
   * @generated from field: api.Connector Result = 1;
   */
  Result?: Connector;

  constructor(data?: PartialMessage<UpdateConnectorResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.UpdateConnectorResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Result", kind: "message", T: Connector },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectorResult {
    return new UpdateConnectorResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectorResult {
    return new UpdateConnectorResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectorResult {
    return new UpdateConnectorResult().fromJsonString(jsonString, options);
  }

  static equals(a: UpdateConnectorResult | PlainMessage<UpdateConnectorResult> | undefined, b: UpdateConnectorResult | PlainMessage<UpdateConnectorResult> | undefined): boolean {
    return proto3.util.equals(UpdateConnectorResult, a, b);
  }
}

/**
 * @generated from message api.GetConnectorRequest
 */
export class GetConnectorRequest extends Message<GetConnectorRequest> {
  /**
   * @generated from field: string ConnectorID = 1;
   */
  ConnectorID = "";

  constructor(data?: PartialMessage<GetConnectorRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.GetConnectorRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ConnectorID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectorRequest {
    return new GetConnectorRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectorRequest {
    return new GetConnectorRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectorRequest {
    return new GetConnectorRequest().fromJsonString(jsonString, options);
  }

  static equals(a: GetConnectorRequest | PlainMessage<GetConnectorRequest> | undefined, b: GetConnectorRequest | PlainMessage<GetConnectorRequest> | undefined): boolean {
    return proto3.util.equals(GetConnectorRequest, a, b);
  }
}

/**
 * @generated from message api.GetConnectorResult
 */
export class GetConnectorResult extends Message<GetConnectorResult> {
  /**
   * @generated from field: api.Connector Result = 1;
   */
  Result?: Connector;

  constructor(data?: PartialMessage<GetConnectorResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.GetConnectorResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Result", kind: "message", T: Connector },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectorResult {
    return new GetConnectorResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectorResult {
    return new GetConnectorResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectorResult {
    return new GetConnectorResult().fromJsonString(jsonString, options);
  }

  static equals(a: GetConnectorResult | PlainMessage<GetConnectorResult> | undefined, b: GetConnectorResult | PlainMessage<GetConnectorResult> | undefined): boolean {
    return proto3.util.equals(GetConnectorResult, a, b);
  }
}

/**
 * @generated from message api.ListConnectorsRequest
 */
export class ListConnectorsRequest extends Message<ListConnectorsRequest> {
  /**
   * @generated from field: api.Paging Paging = 1;
   */
  Paging?: Paging;

  constructor(data?: PartialMessage<ListConnectorsRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ListConnectorsRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Paging", kind: "message", T: Paging },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectorsRequest {
    return new ListConnectorsRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectorsRequest {
    return new ListConnectorsRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectorsRequest {
    return new ListConnectorsRequest().fromJsonString(jsonString, options);
  }

  static equals(a: ListConnectorsRequest | PlainMessage<ListConnectorsRequest> | undefined, b: ListConnectorsRequest | PlainMessage<ListConnectorsRequest> | undefined): boolean {
    return proto3.util.equals(ListConnectorsRequest, a, b);
  }
}

/**
 * @generated from message api.ListConnectorsResult
 */
export class ListConnectorsResult extends Message<ListConnectorsResult> {
  /**
   * @generated from field: repeated api.Connector Results = 1;
   */
  Results: Connector[] = [];

  constructor(data?: PartialMessage<ListConnectorsResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ListConnectorsResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Results", kind: "message", T: Connector, repeated: true },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectorsResult {
    return new ListConnectorsResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectorsResult {
    return new ListConnectorsResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectorsResult {
    return new ListConnectorsResult().fromJsonString(jsonString, options);
  }

  static equals(a: ListConnectorsResult | PlainMessage<ListConnectorsResult> | undefined, b: ListConnectorsResult | PlainMessage<ListConnectorsResult> | undefined): boolean {
    return proto3.util.equals(ListConnectorsResult, a, b);
  }
}

/**
 * @generated from message api.ListAvailableConnectorsRequest
 */
export class ListAvailableConnectorsRequest extends Message<ListAvailableConnectorsRequest> {
  /**
   * @generated from field: api.RequestProjectHeader Header = 1;
   */
  Header?: RequestProjectHeader;

  constructor(data?: PartialMessage<ListAvailableConnectorsRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ListAvailableConnectorsRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAvailableConnectorsRequest {
    return new ListAvailableConnectorsRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAvailableConnectorsRequest {
    return new ListAvailableConnectorsRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAvailableConnectorsRequest {
    return new ListAvailableConnectorsRequest().fromJsonString(jsonString, options);
  }

  static equals(a: ListAvailableConnectorsRequest | PlainMessage<ListAvailableConnectorsRequest> | undefined, b: ListAvailableConnectorsRequest | PlainMessage<ListAvailableConnectorsRequest> | undefined): boolean {
    return proto3.util.equals(ListAvailableConnectorsRequest, a, b);
  }
}

/**
 * @generated from message api.ListAvailableConnectorsResult
 */
export class ListAvailableConnectorsResult extends Message<ListAvailableConnectorsResult> {
  /**
   * @generated from field: repeated api.Connector Results = 1;
   */
  Results: Connector[] = [];

  constructor(data?: PartialMessage<ListAvailableConnectorsResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ListAvailableConnectorsResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Results", kind: "message", T: Connector, repeated: true },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAvailableConnectorsResult {
    return new ListAvailableConnectorsResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAvailableConnectorsResult {
    return new ListAvailableConnectorsResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAvailableConnectorsResult {
    return new ListAvailableConnectorsResult().fromJsonString(jsonString, options);
  }

  static equals(a: ListAvailableConnectorsResult | PlainMessage<ListAvailableConnectorsResult> | undefined, b: ListAvailableConnectorsResult | PlainMessage<ListAvailableConnectorsResult> | undefined): boolean {
    return proto3.util.equals(ListAvailableConnectorsResult, a, b);
  }
}

/**
 * @generated from message api.DeleteConnectorRequest
 */
export class DeleteConnectorRequest extends Message<DeleteConnectorRequest> {
  /**
   * @generated from field: string ConnectorID = 1;
   */
  ConnectorID = "";

  constructor(data?: PartialMessage<DeleteConnectorRequest>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.DeleteConnectorRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ConnectorID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectorRequest {
    return new DeleteConnectorRequest().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectorRequest {
    return new DeleteConnectorRequest().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectorRequest {
    return new DeleteConnectorRequest().fromJsonString(jsonString, options);
  }

  static equals(a: DeleteConnectorRequest | PlainMessage<DeleteConnectorRequest> | undefined, b: DeleteConnectorRequest | PlainMessage<DeleteConnectorRequest> | undefined): boolean {
    return proto3.util.equals(DeleteConnectorRequest, a, b);
  }
}

/**
 * @generated from message api.DeleteConnectorResult
 */
export class DeleteConnectorResult extends Message<DeleteConnectorResult> {
  constructor(data?: PartialMessage<DeleteConnectorResult>) {
    super();
    proto3.util.initPartial(data, this);
  }

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.DeleteConnectorResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
  ]);

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectorResult {
    return new DeleteConnectorResult().fromBinary(bytes, options);
  }

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectorResult {
    return new DeleteConnectorResult().fromJson(jsonValue, options);
  }

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectorResult {
    return new DeleteConnectorResult().fromJsonString(jsonString, options);
  }

  static equals(a: DeleteConnectorResult | PlainMessage<DeleteConnectorResult> | undefined, b: DeleteConnectorResult | PlainMessage<DeleteConnectorResult> | undefined): boolean {
    return proto3.util.equals(DeleteConnectorResult, a, b);
  }
}

