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

/**
 * @generated from message api.DataFilters
 */
export class DataFilters extends Message<DataFilters> {
  /**
   * @generated from field: string Domain = 2;
   */
  Domain = "";

  /**
   * Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"
   *
   * @generated from field: string Entity = 3;
   */
  Entity = "";

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

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.DataFilters";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 2, name: "Domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "Entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 4, name: "Screen", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.DataFilters Filters = 2;
   */
  Filters?: DataFilters;

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

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

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

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

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

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

/**
 * @generated from message api.GetDataModelResult
 */
export class GetDataModelResult extends Message<GetDataModelResult> {
  /**
   * @generated from field: repeated string DataModel = 1;
   */
  DataModel: string[] = [];

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

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

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

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

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

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

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

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

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

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.GetEntityModelRequest";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
    { no: 2, name: "Entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 3, name: "Domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
  ]);

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

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

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

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

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

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

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

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

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

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

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

/**
 * @generated from message api.GetEntitiesRequest
 */
export class GetEntitiesRequest extends Message<GetEntitiesRequest> {
  /**
   * @generated from field: string Domain = 2;
   */
  Domain = "";

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

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

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

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

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

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

/**
 * @generated from message api.GetEntitiesResult
 */
export class GetEntitiesResult extends Message<GetEntitiesResult> {
  /**
   * @generated from field: repeated string Entities = 1;
   */
  Entities: string[] = [];

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

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

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

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

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

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

