// This is a generated file - do not edit.
//
// Generated from partnerInput.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

import 'dart:core' as $core;

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

import 'repositoryShared.pb.dart' as $1;
import 'shared.pb.dart' as $2;

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

class PartnerCreatedPayload extends $pb.GeneratedMessage {
  factory PartnerCreatedPayload({
    $core.String? name,
    $core.String? legalStructure,
    $1.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) result.allowedRoles.addAll(allowedRoles);
    return result;
  }

  PartnerCreatedPayload._();

  factory PartnerCreatedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCreatedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  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<$1.Address>(4, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create)
    ..aOS(5, _omitFieldNames ? '' : 'PhotoURI', protoName: 'PhotoURI')
    ..pPS(6, _omitFieldNames ? '' : 'AllowedRoles', protoName: 'AllowedRoles')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedPayload clone() => PartnerCreatedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedPayload copyWith(void Function(PartnerCreatedPayload) updates) => super.copyWith((message) => updates(message as PartnerCreatedPayload)) as PartnerCreatedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedPayload create() => PartnerCreatedPayload._();
  @$core.override
  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 value) => $_setString(0, value);
  @$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 value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasLegalStructure() => $_has(1);
  @$pb.TagNumber(2)
  void clearLegalStructure() => $_clearField(2);

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

  @$pb.TagNumber(5)
  $core.String get photoURI => $_getSZ(3);
  @$pb.TagNumber(5)
  set photoURI($core.String value) => $_setString(3, value);
  @$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({
    $2.EventHeader? header,
    $2.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._();

  factory PartnerCreatedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCreatedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedEvent clone() => PartnerCreatedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedEvent copyWith(void Function(PartnerCreatedEvent) updates) => super.copyWith((message) => updates(message as PartnerCreatedEvent)) as PartnerCreatedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedEvent create() => PartnerCreatedEvent._();
  @$core.override
  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)
  $2.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerCreatedPayload value) => $_setField(3, value);
  @$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({
    $2.RequestProjectHeader? header,
    $2.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._();

  factory PartnerCreatedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCreatedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedRequest clone() => PartnerCreatedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedRequest copyWith(void Function(PartnerCreatedRequest) updates) => super.copyWith((message) => updates(message as PartnerCreatedRequest)) as PartnerCreatedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedRequest create() => PartnerCreatedRequest._();
  @$core.override
  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)
  $2.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerCreatedPayload value) => $_setField(3, value);
  @$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({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerCreatedResponse._();

  factory PartnerCreatedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCreatedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedResponse clone() => PartnerCreatedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCreatedResponse copyWith(void Function(PartnerCreatedResponse) updates) => super.copyWith((message) => updates(message as PartnerCreatedResponse)) as PartnerCreatedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerCreatedResponse create() => PartnerCreatedResponse._();
  @$core.override
  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)
  $2.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResponseHeader ensureHeader() => $_ensure(0);

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

class PartnerDeletedPayload extends $pb.GeneratedMessage {
  factory PartnerDeletedPayload() => create();

  PartnerDeletedPayload._();

  factory PartnerDeletedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerDeletedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedPayload clone() => PartnerDeletedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedPayload copyWith(void Function(PartnerDeletedPayload) updates) => super.copyWith((message) => updates(message as PartnerDeletedPayload)) as PartnerDeletedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedPayload create() => PartnerDeletedPayload._();
  @$core.override
  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({
    $2.EventHeader? header,
    $2.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._();

  factory PartnerDeletedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerDeletedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedEvent clone() => PartnerDeletedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedEvent copyWith(void Function(PartnerDeletedEvent) updates) => super.copyWith((message) => updates(message as PartnerDeletedEvent)) as PartnerDeletedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedEvent create() => PartnerDeletedEvent._();
  @$core.override
  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)
  $2.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerDeletedPayload value) => $_setField(3, value);
  @$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({
    $2.RequestProjectHeader? header,
    $2.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._();

  factory PartnerDeletedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerDeletedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedRequest clone() => PartnerDeletedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedRequest copyWith(void Function(PartnerDeletedRequest) updates) => super.copyWith((message) => updates(message as PartnerDeletedRequest)) as PartnerDeletedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedRequest create() => PartnerDeletedRequest._();
  @$core.override
  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)
  $2.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerDeletedPayload value) => $_setField(3, value);
  @$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({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerDeletedResponse._();

  factory PartnerDeletedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerDeletedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedResponse clone() => PartnerDeletedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerDeletedResponse copyWith(void Function(PartnerDeletedResponse) updates) => super.copyWith((message) => updates(message as PartnerDeletedResponse)) as PartnerDeletedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerDeletedResponse create() => PartnerDeletedResponse._();
  @$core.override
  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)
  $2.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResponseHeader ensureHeader() => $_ensure(0);

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

class PartnerAttachmentAddedPayload extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedPayload({
    $core.Iterable<$2.AttachmentSummary>? attachments,
  }) {
    final result = create();
    if (attachments != null) result.attachments.addAll(attachments);
    return result;
  }

  PartnerAttachmentAddedPayload._();

  factory PartnerAttachmentAddedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentAddedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedPayload clone() => PartnerAttachmentAddedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedPayload copyWith(void Function(PartnerAttachmentAddedPayload) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedPayload)) as PartnerAttachmentAddedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedPayload create() => PartnerAttachmentAddedPayload._();
  @$core.override
  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<$2.AttachmentSummary> get attachments => $_getList(0);
}

class PartnerAttachmentAddedEvent extends $pb.GeneratedMessage {
  factory PartnerAttachmentAddedEvent({
    $2.EventHeader? header,
    $2.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._();

  factory PartnerAttachmentAddedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentAddedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedEvent clone() => PartnerAttachmentAddedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedEvent copyWith(void Function(PartnerAttachmentAddedEvent) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedEvent)) as PartnerAttachmentAddedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedEvent create() => PartnerAttachmentAddedEvent._();
  @$core.override
  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)
  $2.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentAddedPayload value) => $_setField(3, value);
  @$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({
    $2.RequestProjectHeader? header,
    $2.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._();

  factory PartnerAttachmentAddedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentAddedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedRequest clone() => PartnerAttachmentAddedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedRequest copyWith(void Function(PartnerAttachmentAddedRequest) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedRequest)) as PartnerAttachmentAddedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedRequest create() => PartnerAttachmentAddedRequest._();
  @$core.override
  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)
  $2.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentAddedPayload value) => $_setField(3, value);
  @$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({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerAttachmentAddedResponse._();

  factory PartnerAttachmentAddedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentAddedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedResponse clone() => PartnerAttachmentAddedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentAddedResponse copyWith(void Function(PartnerAttachmentAddedResponse) updates) => super.copyWith((message) => updates(message as PartnerAttachmentAddedResponse)) as PartnerAttachmentAddedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentAddedResponse create() => PartnerAttachmentAddedResponse._();
  @$core.override
  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)
  $2.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResponseHeader ensureHeader() => $_ensure(0);

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

class PartnerAttachmentRemovedPayload extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedPayload({
    $core.Iterable<$2.AttachmentSummary>? attachments,
  }) {
    final result = create();
    if (attachments != null) result.attachments.addAll(attachments);
    return result;
  }

  PartnerAttachmentRemovedPayload._();

  factory PartnerAttachmentRemovedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentRemovedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedPayload clone() => PartnerAttachmentRemovedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedPayload copyWith(void Function(PartnerAttachmentRemovedPayload) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedPayload)) as PartnerAttachmentRemovedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedPayload create() => PartnerAttachmentRemovedPayload._();
  @$core.override
  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<$2.AttachmentSummary> get attachments => $_getList(0);
}

class PartnerAttachmentRemovedEvent extends $pb.GeneratedMessage {
  factory PartnerAttachmentRemovedEvent({
    $2.EventHeader? header,
    $2.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._();

  factory PartnerAttachmentRemovedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentRemovedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedEvent clone() => PartnerAttachmentRemovedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedEvent copyWith(void Function(PartnerAttachmentRemovedEvent) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedEvent)) as PartnerAttachmentRemovedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedEvent create() => PartnerAttachmentRemovedEvent._();
  @$core.override
  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)
  $2.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentRemovedPayload value) => $_setField(3, value);
  @$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({
    $2.RequestProjectHeader? header,
    $2.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._();

  factory PartnerAttachmentRemovedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentRemovedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedRequest clone() => PartnerAttachmentRemovedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedRequest copyWith(void Function(PartnerAttachmentRemovedRequest) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedRequest)) as PartnerAttachmentRemovedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedRequest create() => PartnerAttachmentRemovedRequest._();
  @$core.override
  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)
  $2.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  PartnerAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PartnerAttachmentRemovedPayload value) => $_setField(3, value);
  @$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({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerAttachmentRemovedResponse._();

  factory PartnerAttachmentRemovedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerAttachmentRemovedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedResponse clone() => PartnerAttachmentRemovedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerAttachmentRemovedResponse copyWith(void Function(PartnerAttachmentRemovedResponse) updates) => super.copyWith((message) => updates(message as PartnerAttachmentRemovedResponse)) as PartnerAttachmentRemovedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PartnerAttachmentRemovedResponse create() => PartnerAttachmentRemovedResponse._();
  @$core.override
  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)
  $2.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResponseHeader ensureHeader() => $_ensure(0);

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

class PartnerSanitisedPayload extends $pb.GeneratedMessage {
  factory PartnerSanitisedPayload() => create();

  PartnerSanitisedPayload._();

  factory PartnerSanitisedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerSanitisedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedPayload clone() => PartnerSanitisedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedPayload copyWith(void Function(PartnerSanitisedPayload) updates) => super.copyWith((message) => updates(message as PartnerSanitisedPayload)) as PartnerSanitisedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

class PartnerSanitisedEvent extends $pb.GeneratedMessage {
  factory PartnerSanitisedEvent({
    $2.EventHeader? header,
    $2.EntityID? iD,
    PartnerSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  PartnerSanitisedEvent._();

  factory PartnerSanitisedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerSanitisedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedEvent clone() => PartnerSanitisedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedEvent copyWith(void Function(PartnerSanitisedEvent) updates) => super.copyWith((message) => updates(message as PartnerSanitisedEvent)) as PartnerSanitisedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

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

class PartnerSanitisedRequest extends $pb.GeneratedMessage {
  factory PartnerSanitisedRequest({
    $2.RequestProjectHeader? header,
    $2.EntityID? iD,
    PartnerSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  PartnerSanitisedRequest._();

  factory PartnerSanitisedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerSanitisedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedRequest clone() => PartnerSanitisedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedRequest copyWith(void Function(PartnerSanitisedRequest) updates) => super.copyWith((message) => updates(message as PartnerSanitisedRequest)) as PartnerSanitisedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

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

class PartnerSanitisedResponse extends $pb.GeneratedMessage {
  factory PartnerSanitisedResponse({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerSanitisedResponse._();

  factory PartnerSanitisedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerSanitisedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedResponse clone() => PartnerSanitisedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerSanitisedResponse copyWith(void Function(PartnerSanitisedResponse) updates) => super.copyWith((message) => updates(message as PartnerSanitisedResponse)) as PartnerSanitisedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

class PartnerCustomFieldsUpdatedPayload extends $pb.GeneratedMessage {
  factory PartnerCustomFieldsUpdatedPayload() => create();

  PartnerCustomFieldsUpdatedPayload._();

  factory PartnerCustomFieldsUpdatedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCustomFieldsUpdatedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedPayload clone() => PartnerCustomFieldsUpdatedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedPayload copyWith(void Function(PartnerCustomFieldsUpdatedPayload) updates) => super.copyWith((message) => updates(message as PartnerCustomFieldsUpdatedPayload)) as PartnerCustomFieldsUpdatedPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

class PartnerCustomFieldsUpdatedEvent extends $pb.GeneratedMessage {
  factory PartnerCustomFieldsUpdatedEvent({
    $2.EventHeader? header,
    $2.EntityID? iD,
    PartnerCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  PartnerCustomFieldsUpdatedEvent._();

  factory PartnerCustomFieldsUpdatedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCustomFieldsUpdatedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedEvent clone() => PartnerCustomFieldsUpdatedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedEvent copyWith(void Function(PartnerCustomFieldsUpdatedEvent) updates) => super.copyWith((message) => updates(message as PartnerCustomFieldsUpdatedEvent)) as PartnerCustomFieldsUpdatedEvent;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

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

class PartnerCustomFieldsUpdatedRequest extends $pb.GeneratedMessage {
  factory PartnerCustomFieldsUpdatedRequest({
    $2.RequestProjectHeader? header,
    $2.EntityID? iD,
    PartnerCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  PartnerCustomFieldsUpdatedRequest._();

  factory PartnerCustomFieldsUpdatedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCustomFieldsUpdatedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedRequest clone() => PartnerCustomFieldsUpdatedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedRequest copyWith(void Function(PartnerCustomFieldsUpdatedRequest) updates) => super.copyWith((message) => updates(message as PartnerCustomFieldsUpdatedRequest)) as PartnerCustomFieldsUpdatedRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

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

class PartnerCustomFieldsUpdatedResponse extends $pb.GeneratedMessage {
  factory PartnerCustomFieldsUpdatedResponse({
    $2.ResponseHeader? header,
    $2.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  PartnerCustomFieldsUpdatedResponse._();

  factory PartnerCustomFieldsUpdatedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PartnerCustomFieldsUpdatedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedResponse clone() => PartnerCustomFieldsUpdatedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PartnerCustomFieldsUpdatedResponse copyWith(void Function(PartnerCustomFieldsUpdatedResponse) updates) => super.copyWith((message) => updates(message as PartnerCustomFieldsUpdatedResponse)) as PartnerCustomFieldsUpdatedResponse;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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


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