//
//  Generated code. Do not modify.
//  source: partnerInput.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import 'repositoryShared.pb.dart' as $65;
import 'shared.pb.dart' as $3;

export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;

class PartnerCreatedPayload extends $pb.GeneratedMessage {
  factory PartnerCreatedPayload({
    $core.String? name,
    $core.String? legalStructure,
    $65.Address? address,
    $core.String? photoURI,
  @$core.Deprecated('This field is deprecated.')
    $core.Iterable<$core.String>? allowedRoles,
  }) {
    final $result = create();
    if (name != null) {
      $result.name = name;
    }
    if (legalStructure != null) {
      $result.legalStructure = legalStructure;
    }
    if (address != null) {
      $result.address = address;
    }
    if (photoURI != null) {
      $result.photoURI = photoURI;
    }
    if (allowedRoles != null) {
      // ignore: deprecated_member_use_from_same_package
      $result.allowedRoles.addAll(allowedRoles);
    }
    return $result;
  }
  PartnerCreatedPayload._() : super();
  factory PartnerCreatedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerCreatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..aOS(2, _omitFieldNames ? '' : 'LegalStructure', protoName: 'LegalStructure')
    ..aOM<$65.Address>(4, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $65.Address.create)
    ..aOS(5, _omitFieldNames ? '' : 'PhotoURI', protoName: 'PhotoURI')
    ..pPS(6, _omitFieldNames ? '' : 'AllowedRoles', protoName: 'AllowedRoles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerCreatedPayload clone() => PartnerCreatedPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerCreatedPayload copyWith(void Function(PartnerCreatedPayload) updates) => super.copyWith((message) => updates(message as PartnerCreatedPayload)) as PartnerCreatedPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedPayload create() => PartnerCreatedPayload._();
  PartnerCreatedPayload createEmptyInstance() => create();
  static $pb.PbList<PartnerCreatedPayload> createRepeated() => $pb.PbList<PartnerCreatedPayload>();
  @$core.pragma('dart2js:noInline')
  static PartnerCreatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerCreatedPayload>(create);
  static PartnerCreatedPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get name => $_getSZ(0);
  @$pb.TagNumber(1)
  set name($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasName() => $_has(0);
  @$pb.TagNumber(1)
  void clearName() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get legalStructure => $_getSZ(1);
  @$pb.TagNumber(2)
  set legalStructure($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasLegalStructure() => $_has(1);
  @$pb.TagNumber(2)
  void clearLegalStructure() => $_clearField(2);

  @$pb.TagNumber(4)
  $65.Address get address => $_getN(2);
  @$pb.TagNumber(4)
  set address($65.Address v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasAddress() => $_has(2);
  @$pb.TagNumber(4)
  void clearAddress() => $_clearField(4);
  @$pb.TagNumber(4)
  $65.Address ensureAddress() => $_ensure(2);

  @$pb.TagNumber(5)
  $core.String get photoURI => $_getSZ(3);
  @$pb.TagNumber(5)
  set photoURI($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(5)
  $core.bool hasPhotoURI() => $_has(3);
  @$pb.TagNumber(5)
  void clearPhotoURI() => $_clearField(5);

  @$core.Deprecated('This field is deprecated.')
  @$pb.TagNumber(6)
  $pb.PbList<$core.String> get allowedRoles => $_getList(4);
}

/// Event message
class PartnerCreatedEvent extends $pb.GeneratedMessage {
  factory PartnerCreatedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    PartnerCreatedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerCreatedEvent._() : super();
  factory PartnerCreatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerCreatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.EventHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerCreatedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerCreatedEvent clone() => PartnerCreatedEvent()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerCreatedEvent copyWith(void Function(PartnerCreatedEvent) updates) => super.copyWith((message) => updates(message as PartnerCreatedEvent)) as PartnerCreatedEvent;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedEvent create() => PartnerCreatedEvent._();
  PartnerCreatedEvent createEmptyInstance() => create();
  static $pb.PbList<PartnerCreatedEvent> createRepeated() => $pb.PbList<PartnerCreatedEvent>();
  @$core.pragma('dart2js:noInline')
  static PartnerCreatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerCreatedEvent>(create);
  static PartnerCreatedEvent? _defaultInstance;

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerCreatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerCreatedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class PartnerCreatedRequest extends $pb.GeneratedMessage {
  factory PartnerCreatedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    PartnerCreatedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerCreatedRequest._() : super();
  factory PartnerCreatedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerCreatedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerCreatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerCreatedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerCreatedRequest clone() => PartnerCreatedRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerCreatedRequest copyWith(void Function(PartnerCreatedRequest) updates) => super.copyWith((message) => updates(message as PartnerCreatedRequest)) as PartnerCreatedRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedRequest create() => PartnerCreatedRequest._();
  PartnerCreatedRequest createEmptyInstance() => create();
  static $pb.PbList<PartnerCreatedRequest> createRepeated() => $pb.PbList<PartnerCreatedRequest>();
  @$core.pragma('dart2js:noInline')
  static PartnerCreatedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerCreatedRequest>(create);
  static PartnerCreatedRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerCreatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerCreatedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class PartnerCreatedResponse extends $pb.GeneratedMessage {
  factory PartnerCreatedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    return $result;
  }
  PartnerCreatedResponse._() : super();
  factory PartnerCreatedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerCreatedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerCreatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerCreatedResponse clone() => PartnerCreatedResponse()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerCreatedResponse copyWith(void Function(PartnerCreatedResponse) updates) => super.copyWith((message) => updates(message as PartnerCreatedResponse)) as PartnerCreatedResponse;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedResponse create() => PartnerCreatedResponse._();
  PartnerCreatedResponse createEmptyInstance() => create();
  static $pb.PbList<PartnerCreatedResponse> createRepeated() => $pb.PbList<PartnerCreatedResponse>();
  @$core.pragma('dart2js:noInline')
  static PartnerCreatedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerCreatedResponse>(create);
  static PartnerCreatedResponse? _defaultInstance;

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

class PartnerDeletedPayload extends $pb.GeneratedMessage {
  factory PartnerDeletedPayload() => create();
  PartnerDeletedPayload._() : super();
  factory PartnerDeletedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerDeletedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerDeletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerDeletedPayload clone() => PartnerDeletedPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerDeletedPayload copyWith(void Function(PartnerDeletedPayload) updates) => super.copyWith((message) => updates(message as PartnerDeletedPayload)) as PartnerDeletedPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedPayload create() => PartnerDeletedPayload._();
  PartnerDeletedPayload createEmptyInstance() => create();
  static $pb.PbList<PartnerDeletedPayload> createRepeated() => $pb.PbList<PartnerDeletedPayload>();
  @$core.pragma('dart2js:noInline')
  static PartnerDeletedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerDeletedPayload>(create);
  static PartnerDeletedPayload? _defaultInstance;
}

/// Event message
class PartnerDeletedEvent extends $pb.GeneratedMessage {
  factory PartnerDeletedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    PartnerDeletedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerDeletedEvent._() : super();
  factory PartnerDeletedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerDeletedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerDeletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.EventHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerDeletedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerDeletedEvent clone() => PartnerDeletedEvent()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerDeletedEvent copyWith(void Function(PartnerDeletedEvent) updates) => super.copyWith((message) => updates(message as PartnerDeletedEvent)) as PartnerDeletedEvent;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedEvent create() => PartnerDeletedEvent._();
  PartnerDeletedEvent createEmptyInstance() => create();
  static $pb.PbList<PartnerDeletedEvent> createRepeated() => $pb.PbList<PartnerDeletedEvent>();
  @$core.pragma('dart2js:noInline')
  static PartnerDeletedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerDeletedEvent>(create);
  static PartnerDeletedEvent? _defaultInstance;

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerDeletedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class PartnerDeletedRequest extends $pb.GeneratedMessage {
  factory PartnerDeletedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    PartnerDeletedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerDeletedRequest._() : super();
  factory PartnerDeletedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerDeletedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerDeletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerDeletedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerDeletedRequest clone() => PartnerDeletedRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerDeletedRequest copyWith(void Function(PartnerDeletedRequest) updates) => super.copyWith((message) => updates(message as PartnerDeletedRequest)) as PartnerDeletedRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedRequest create() => PartnerDeletedRequest._();
  PartnerDeletedRequest createEmptyInstance() => create();
  static $pb.PbList<PartnerDeletedRequest> createRepeated() => $pb.PbList<PartnerDeletedRequest>();
  @$core.pragma('dart2js:noInline')
  static PartnerDeletedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerDeletedRequest>(create);
  static PartnerDeletedRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerDeletedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class PartnerDeletedResponse extends $pb.GeneratedMessage {
  factory PartnerDeletedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    return $result;
  }
  PartnerDeletedResponse._() : super();
  factory PartnerDeletedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerDeletedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerDeletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerDeletedResponse clone() => PartnerDeletedResponse()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerDeletedResponse copyWith(void Function(PartnerDeletedResponse) updates) => super.copyWith((message) => updates(message as PartnerDeletedResponse)) as PartnerDeletedResponse;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedResponse create() => PartnerDeletedResponse._();
  PartnerDeletedResponse createEmptyInstance() => create();
  static $pb.PbList<PartnerDeletedResponse> createRepeated() => $pb.PbList<PartnerDeletedResponse>();
  @$core.pragma('dart2js:noInline')
  static PartnerDeletedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerDeletedResponse>(create);
  static PartnerDeletedResponse? _defaultInstance;

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

class PartnerAttachmentAddedPayload extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedPayload({
    $core.Iterable<$3.AttachmentSummary>? attachments,
  }) {
    final $result = create();
    if (attachments != null) {
      $result.attachments.addAll(attachments);
    }
    return $result;
  }
  PartnerAttachmentAddedPayload._() : super();
  factory PartnerAttachmentAddedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentAddedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentAddedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$3.AttachmentSummary>(1, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $3.AttachmentSummary.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedPayload clone() => PartnerAttachmentAddedPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedPayload copyWith(void Function(PartnerAttachmentAddedPayload) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedPayload)) as PartnerAttachmentAddedPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedPayload create() => PartnerAttachmentAddedPayload._();
  PartnerAttachmentAddedPayload createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentAddedPayload> createRepeated() => $pb.PbList<PartnerAttachmentAddedPayload>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentAddedPayload>(create);
  static PartnerAttachmentAddedPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$3.AttachmentSummary> get attachments => $_getList(0);
}

class PartnerAttachmentAddedEvent extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    PartnerAttachmentAddedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerAttachmentAddedEvent._() : super();
  factory PartnerAttachmentAddedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentAddedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentAddedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.EventHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerAttachmentAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerAttachmentAddedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedEvent clone() => PartnerAttachmentAddedEvent()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedEvent copyWith(void Function(PartnerAttachmentAddedEvent) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedEvent)) as PartnerAttachmentAddedEvent;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedEvent create() => PartnerAttachmentAddedEvent._();
  PartnerAttachmentAddedEvent createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentAddedEvent> createRepeated() => $pb.PbList<PartnerAttachmentAddedEvent>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentAddedEvent>(create);
  static PartnerAttachmentAddedEvent? _defaultInstance;

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

class PartnerAttachmentAddedRequest extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    PartnerAttachmentAddedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerAttachmentAddedRequest._() : super();
  factory PartnerAttachmentAddedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentAddedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentAddedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerAttachmentAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerAttachmentAddedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedRequest clone() => PartnerAttachmentAddedRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedRequest copyWith(void Function(PartnerAttachmentAddedRequest) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedRequest)) as PartnerAttachmentAddedRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedRequest create() => PartnerAttachmentAddedRequest._();
  PartnerAttachmentAddedRequest createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentAddedRequest> createRepeated() => $pb.PbList<PartnerAttachmentAddedRequest>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentAddedRequest>(create);
  static PartnerAttachmentAddedRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

class PartnerAttachmentAddedResponse extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    return $result;
  }
  PartnerAttachmentAddedResponse._() : super();
  factory PartnerAttachmentAddedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentAddedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentAddedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedResponse clone() => PartnerAttachmentAddedResponse()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentAddedResponse copyWith(void Function(PartnerAttachmentAddedResponse) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedResponse)) as PartnerAttachmentAddedResponse;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedResponse create() => PartnerAttachmentAddedResponse._();
  PartnerAttachmentAddedResponse createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentAddedResponse> createRepeated() => $pb.PbList<PartnerAttachmentAddedResponse>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentAddedResponse>(create);
  static PartnerAttachmentAddedResponse? _defaultInstance;

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

class PartnerAttachmentRemovedPayload extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedPayload({
    $core.Iterable<$3.AttachmentSummary>? attachments,
  }) {
    final $result = create();
    if (attachments != null) {
      $result.attachments.addAll(attachments);
    }
    return $result;
  }
  PartnerAttachmentRemovedPayload._() : super();
  factory PartnerAttachmentRemovedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentRemovedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentRemovedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$3.AttachmentSummary>(1, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $3.AttachmentSummary.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedPayload clone() => PartnerAttachmentRemovedPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedPayload copyWith(void Function(PartnerAttachmentRemovedPayload) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedPayload)) as PartnerAttachmentRemovedPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedPayload create() => PartnerAttachmentRemovedPayload._();
  PartnerAttachmentRemovedPayload createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentRemovedPayload> createRepeated() => $pb.PbList<PartnerAttachmentRemovedPayload>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentRemovedPayload>(create);
  static PartnerAttachmentRemovedPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$3.AttachmentSummary> get attachments => $_getList(0);
}

class PartnerAttachmentRemovedEvent extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    PartnerAttachmentRemovedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerAttachmentRemovedEvent._() : super();
  factory PartnerAttachmentRemovedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentRemovedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentRemovedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.EventHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerAttachmentRemovedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerAttachmentRemovedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedEvent clone() => PartnerAttachmentRemovedEvent()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedEvent copyWith(void Function(PartnerAttachmentRemovedEvent) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedEvent)) as PartnerAttachmentRemovedEvent;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedEvent create() => PartnerAttachmentRemovedEvent._();
  PartnerAttachmentRemovedEvent createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentRemovedEvent> createRepeated() => $pb.PbList<PartnerAttachmentRemovedEvent>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentRemovedEvent>(create);
  static PartnerAttachmentRemovedEvent? _defaultInstance;

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentRemovedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

class PartnerAttachmentRemovedRequest extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    PartnerAttachmentRemovedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  PartnerAttachmentRemovedRequest._() : super();
  factory PartnerAttachmentRemovedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentRemovedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentRemovedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PartnerAttachmentRemovedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PartnerAttachmentRemovedPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedRequest clone() => PartnerAttachmentRemovedRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedRequest copyWith(void Function(PartnerAttachmentRemovedRequest) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedRequest)) as PartnerAttachmentRemovedRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedRequest create() => PartnerAttachmentRemovedRequest._();
  PartnerAttachmentRemovedRequest createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentRemovedRequest> createRepeated() => $pb.PbList<PartnerAttachmentRemovedRequest>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentRemovedRequest>(create);
  static PartnerAttachmentRemovedRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentRemovedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

class PartnerAttachmentRemovedResponse extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    return $result;
  }
  PartnerAttachmentRemovedResponse._() : super();
  factory PartnerAttachmentRemovedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PartnerAttachmentRemovedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PartnerAttachmentRemovedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedResponse clone() => PartnerAttachmentRemovedResponse()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PartnerAttachmentRemovedResponse copyWith(void Function(PartnerAttachmentRemovedResponse) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedResponse)) as PartnerAttachmentRemovedResponse;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedResponse create() => PartnerAttachmentRemovedResponse._();
  PartnerAttachmentRemovedResponse createEmptyInstance() => create();
  static $pb.PbList<PartnerAttachmentRemovedResponse> createRepeated() => $pb.PbList<PartnerAttachmentRemovedResponse>();
  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PartnerAttachmentRemovedResponse>(create);
  static PartnerAttachmentRemovedResponse? _defaultInstance;

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}


const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
