// This is a generated file - do not edit.
//
// Generated from actorAction.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 $0;
import 'shared.pb.dart' as $1;
import 'slotbooking.pb.dart' as $2;

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

///
/// CompleteSnapshot : finalize a actor snapshot
/// by sending cumulated snapshotted quantity on stock id not already cumulated,
/// by reseting the quantity of missing stock entry for the current snapshot
class ActorCompleteSnapshotPayload extends $pb.GeneratedMessage {
  factory ActorCompleteSnapshotPayload({
    $0.ActorSnapshot? snapshot,
  }) {
    final result = create();
    if (snapshot != null) result.snapshot = snapshot;
    return result;
  }

  ActorCompleteSnapshotPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorCompleteSnapshotPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$0.ActorSnapshot>(1, _omitFieldNames ? '' : 'Snapshot', protoName: 'Snapshot', subBuilder: $0.ActorSnapshot.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $0.ActorSnapshot get snapshot => $_getN(0);
  @$pb.TagNumber(1)
  set snapshot($0.ActorSnapshot value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasSnapshot() => $_has(0);
  @$pb.TagNumber(1)
  void clearSnapshot() => $_clearField(1);
  @$pb.TagNumber(1)
  $0.ActorSnapshot ensureSnapshot() => $_ensure(0);
}

class ActorCompleteSnapshot extends $pb.GeneratedMessage {
  factory ActorCompleteSnapshot({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ActorCompleteSnapshotPayload? payload,
    ActorCompleteSnapshotPayload? eventPayload,
    ActorCompleteSnapshotPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ActorCompleteSnapshot._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorCompleteSnapshot', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ActorCompleteSnapshotPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ActorCompleteSnapshotPayload.create)
    ..aOM<ActorCompleteSnapshotPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ActorCompleteSnapshotPayload.create)
    ..aOM<ActorCompleteSnapshotPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ActorCompleteSnapshotPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ActorCompleteSnapshotPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ActorCompleteSnapshotPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ActorCompleteSnapshotPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ActorCompleteSnapshotPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ActorCompleteSnapshotPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ActorCompleteSnapshotPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// SetSiteAlias : set a new entry in the SiteActor DB
class ActorSetSiteAliasPayload extends $pb.GeneratedMessage {
  factory ActorSetSiteAliasPayload({
    $0.SiteAlias? siteAlias,
    $core.bool? isSlotBookingEnabled,
    $2.ActorAuthorisation? appointmentConstraints,
    $core.String? name,
  }) {
    final result = create();
    if (siteAlias != null) result.siteAlias = siteAlias;
    if (isSlotBookingEnabled != null) result.isSlotBookingEnabled = isSlotBookingEnabled;
    if (appointmentConstraints != null) result.appointmentConstraints = appointmentConstraints;
    if (name != null) result.name = name;
    return result;
  }

  ActorSetSiteAliasPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorSetSiteAliasPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$0.SiteAlias>(1, _omitFieldNames ? '' : 'SiteAlias', protoName: 'SiteAlias', subBuilder: $0.SiteAlias.create)
    ..aOB(2, _omitFieldNames ? '' : 'IsSlotBookingEnabled', protoName: 'IsSlotBookingEnabled')
    ..aOM<$2.ActorAuthorisation>(3, _omitFieldNames ? '' : 'AppointmentConstraints', protoName: 'AppointmentConstraints', subBuilder: $2.ActorAuthorisation.create)
    ..aOS(4, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $0.SiteAlias get siteAlias => $_getN(0);
  @$pb.TagNumber(1)
  set siteAlias($0.SiteAlias value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasSiteAlias() => $_has(0);
  @$pb.TagNumber(1)
  void clearSiteAlias() => $_clearField(1);
  @$pb.TagNumber(1)
  $0.SiteAlias ensureSiteAlias() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.bool get isSlotBookingEnabled => $_getBF(1);
  @$pb.TagNumber(2)
  set isSlotBookingEnabled($core.bool value) => $_setBool(1, value);
  @$pb.TagNumber(2)
  $core.bool hasIsSlotBookingEnabled() => $_has(1);
  @$pb.TagNumber(2)
  void clearIsSlotBookingEnabled() => $_clearField(2);

  @$pb.TagNumber(3)
  $2.ActorAuthorisation get appointmentConstraints => $_getN(2);
  @$pb.TagNumber(3)
  set appointmentConstraints($2.ActorAuthorisation value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasAppointmentConstraints() => $_has(2);
  @$pb.TagNumber(3)
  void clearAppointmentConstraints() => $_clearField(3);
  @$pb.TagNumber(3)
  $2.ActorAuthorisation ensureAppointmentConstraints() => $_ensure(2);

  @$pb.TagNumber(4)
  $core.String get name => $_getSZ(3);
  @$pb.TagNumber(4)
  set name($core.String value) => $_setString(3, value);
  @$pb.TagNumber(4)
  $core.bool hasName() => $_has(3);
  @$pb.TagNumber(4)
  void clearName() => $_clearField(4);
}

class ActorSetSiteAlias extends $pb.GeneratedMessage {
  factory ActorSetSiteAlias({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ActorSetSiteAliasPayload? payload,
    ActorSetSiteAliasPayload? eventPayload,
    ActorSetSiteAliasPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ActorSetSiteAlias._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorSetSiteAlias', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ActorSetSiteAliasPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ActorSetSiteAliasPayload.create)
    ..aOM<ActorSetSiteAliasPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ActorSetSiteAliasPayload.create)
    ..aOM<ActorSetSiteAliasPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ActorSetSiteAliasPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ActorSetSiteAliasPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ActorSetSiteAliasPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ActorSetSiteAliasPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ActorSetSiteAliasPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ActorSetSiteAliasPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ActorSetSiteAliasPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// ClearSiteAlias : clear entry in the SiteActor DB
class ActorClearSiteAliasPayload extends $pb.GeneratedMessage {
  factory ActorClearSiteAliasPayload({
    $0.SiteAlias? siteAlias,
    $core.bool? isSlotBookingEnabled,
  }) {
    final result = create();
    if (siteAlias != null) result.siteAlias = siteAlias;
    if (isSlotBookingEnabled != null) result.isSlotBookingEnabled = isSlotBookingEnabled;
    return result;
  }

  ActorClearSiteAliasPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorClearSiteAliasPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$0.SiteAlias>(1, _omitFieldNames ? '' : 'SiteAlias', protoName: 'SiteAlias', subBuilder: $0.SiteAlias.create)
    ..aOB(2, _omitFieldNames ? '' : 'IsSlotBookingEnabled', protoName: 'IsSlotBookingEnabled')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $0.SiteAlias get siteAlias => $_getN(0);
  @$pb.TagNumber(1)
  set siteAlias($0.SiteAlias value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasSiteAlias() => $_has(0);
  @$pb.TagNumber(1)
  void clearSiteAlias() => $_clearField(1);
  @$pb.TagNumber(1)
  $0.SiteAlias ensureSiteAlias() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.bool get isSlotBookingEnabled => $_getBF(1);
  @$pb.TagNumber(2)
  set isSlotBookingEnabled($core.bool value) => $_setBool(1, value);
  @$pb.TagNumber(2)
  $core.bool hasIsSlotBookingEnabled() => $_has(1);
  @$pb.TagNumber(2)
  void clearIsSlotBookingEnabled() => $_clearField(2);
}

class ClearSiteAlias extends $pb.GeneratedMessage {
  factory ClearSiteAlias({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ActorClearSiteAliasPayload? payload,
    ActorClearSiteAliasPayload? eventPayload,
    ActorClearSiteAliasPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClearSiteAlias._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClearSiteAlias', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ActorClearSiteAliasPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ActorClearSiteAliasPayload.create)
    ..aOM<ActorClearSiteAliasPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ActorClearSiteAliasPayload.create)
    ..aOM<ActorClearSiteAliasPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ActorClearSiteAliasPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ActorClearSiteAliasPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ActorClearSiteAliasPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ActorClearSiteAliasPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ActorClearSiteAliasPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ActorClearSiteAliasPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ActorClearSiteAliasPayload ensurePreviousPayload() => $_ensure(4);
}


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