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

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

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

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

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

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

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

/**
 * @generated from message api.UpdateModelMappingsResult
 */
export class UpdateModelMappingsResult extends Message<UpdateModelMappingsResult> {
  /**
   * @generated from field: map<string, bool> TemplateGeneration = 1;
   */
  TemplateGeneration: { [key: string]: boolean } = {};

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.UpdateModelMappingsResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "TemplateGeneration", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 8 /* ScalarType.BOOL */} },
  ]);

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

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

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

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

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

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

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

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

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

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

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

/**
 * @generated from message api.CreateProjectMappingsResult
 */
export class CreateProjectMappingsResult extends Message<CreateProjectMappingsResult> {
  /**
   * @generated from field: map<string, bool> TemplateGeneration = 1;
   */
  TemplateGeneration: { [key: string]: boolean } = {};

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.CreateProjectMappingsResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "TemplateGeneration", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 8 /* ScalarType.BOOL */} },
  ]);

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

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

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

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

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

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

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

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

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

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

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

/**
 * @generated from message api.DeleteProjectMappingsResult
 */
export class DeleteProjectMappingsResult extends Message<DeleteProjectMappingsResult> {
  /**
   * @generated from field: map<string, bool> TemplateDeletion = 1;
   */
  TemplateDeletion: { [key: string]: boolean } = {};

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.DeleteProjectMappingsResult";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "TemplateDeletion", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 8 /* ScalarType.BOOL */} },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.ModelDataSetEnum Entity = 2;
   */
  Entity = ModelDataSetEnum.ACTOR;

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.ClearIndexEntityRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "Entity", kind: "enum", T: proto3.getEnumType(ModelDataSetEnum) },
  ]);

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

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

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

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

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

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

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

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

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

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

