// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file opensearch.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";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

