// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file partnerInput.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 { Address } from "./repositoryShared_pb.js";
import { AttachmentSummary, EntityID, EventHeader, RequestProjectHeader, ResponseHeader } from "./shared_pb.js";

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

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

  /**
   * @generated from field: api.Address Address = 4;
   */
  Address?: Address;

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

  /**
   * @generated from field: repeated string AllowedRoles = 6 [deprecated = true];
   * @deprecated
   */
  AllowedRoles: string[] = [];

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.PartnerCreatedPayload";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 2, name: "LegalStructure", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 4, name: "Address", kind: "message", T: Address },
    { no: 5, name: "PhotoURI", kind: "scalar", T: 9 /* ScalarType.STRING */ },
    { no: 6, name: "AllowedRoles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerCreatedPayload Payload = 3;
   */
  Payload?: PartnerCreatedPayload;

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.PartnerCreatedEvent";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: EventHeader },
    { no: 2, name: "ID", kind: "message", T: EntityID },
    { no: 3, name: "Payload", kind: "message", T: PartnerCreatedPayload },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerCreatedPayload Payload = 3;
   */
  Payload?: PartnerCreatedPayload;

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

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

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

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

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

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

/**
 * API Response
 *
 * @generated from message api.PartnerCreatedResponse
 */
export class PartnerCreatedResponse extends Message<PartnerCreatedResponse> {
  /**
   * @generated from field: api.ResponseHeader Header = 1;
   */
  Header?: ResponseHeader;

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

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

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

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

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

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

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

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

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

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerDeletedPayload Payload = 3;
   */
  Payload?: PartnerDeletedPayload;

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.PartnerDeletedEvent";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: EventHeader },
    { no: 2, name: "ID", kind: "message", T: EntityID },
    { no: 3, name: "Payload", kind: "message", T: PartnerDeletedPayload },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerDeletedPayload Payload = 3;
   */
  Payload?: PartnerDeletedPayload;

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

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

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

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

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

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

/**
 * API Response
 *
 * @generated from message api.PartnerDeletedResponse
 */
export class PartnerDeletedResponse extends Message<PartnerDeletedResponse> {
  /**
   * @generated from field: api.ResponseHeader Header = 1;
   */
  Header?: ResponseHeader;

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

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

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

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

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

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

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

/**
 * @generated from message api.PartnerAttachmentAddedPayload
 */
export class PartnerAttachmentAddedPayload extends Message<PartnerAttachmentAddedPayload> {
  /**
   * @generated from field: repeated api.AttachmentSummary Attachments = 1;
   */
  Attachments: AttachmentSummary[] = [];

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

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

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerAttachmentAddedPayload Payload = 3;
   */
  Payload?: PartnerAttachmentAddedPayload;

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.PartnerAttachmentAddedEvent";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: EventHeader },
    { no: 2, name: "ID", kind: "message", T: EntityID },
    { no: 3, name: "Payload", kind: "message", T: PartnerAttachmentAddedPayload },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerAttachmentAddedPayload Payload = 3;
   */
  Payload?: PartnerAttachmentAddedPayload;

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

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

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

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

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

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

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

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

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

/**
 * @generated from message api.PartnerAttachmentRemovedPayload
 */
export class PartnerAttachmentRemovedPayload extends Message<PartnerAttachmentRemovedPayload> {
  /**
   * @generated from field: repeated api.AttachmentSummary Attachments = 1;
   */
  Attachments: AttachmentSummary[] = [];

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

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

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerAttachmentRemovedPayload Payload = 3;
   */
  Payload?: PartnerAttachmentRemovedPayload;

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

  static readonly runtime: typeof proto3 = proto3;
  static readonly typeName = "api.PartnerAttachmentRemovedEvent";
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
    { no: 1, name: "Header", kind: "message", T: EventHeader },
    { no: 2, name: "ID", kind: "message", T: EntityID },
    { no: 3, name: "Payload", kind: "message", T: PartnerAttachmentRemovedPayload },
  ]);

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

  /**
   * @generated from field: api.PartnerAttachmentRemovedPayload Payload = 3;
   */
  Payload?: PartnerAttachmentRemovedPayload;

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

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

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

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

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

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

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

  /**
   * @generated from field: api.EntityID ID = 2;
   */
  ID?: EntityID;

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

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

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

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

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

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

