// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file adminConnection.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 { ValueType } from "./shared_pb.js";

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

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

  /**
   * @generated from field: repeated api.ArgElement ArgsUriStart = 3;
   */
  ArgsUriStart: ArgElement[] = [];

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.AdminConnection";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "UriStartApi", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "ArgsUriStart", kind: "message", T: ArgElement, repeated: true },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.ValueType Value = 2;
   */
  Value?: ValueType;

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

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

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

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

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

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

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

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

  /**
   * @generated from field: repeated api.ArgElement ArgsUriStart = 3;
   */
  ArgsUriStart: ArgElement[] = [];

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.RegisterConnectionManagerRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "UriStartApi", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "ArgsUriStart", kind: "message", T: ArgElement, repeated: true },
  ]);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

