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

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

import 'dart:core' as $core;

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

import 'collabShared.pbenum.dart' as $70;
import 'shared.pb.dart' as $3;

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

class NotifCreatedPayload extends $pb.GeneratedMessage {
  factory NotifCreatedPayload({
    $70.NotifTypeEnum? notificationType,
    $core.String? issuerID,
    $core.Iterable<$core.String>? contacts,
    $core.String? details,
    $core.String? entityDomain,
    $core.String? entityType,
    $core.String? entityRefID,
    $core.String? tags,
  }) {
    final $result = create();
    if (notificationType != null) {
      $result.notificationType = notificationType;
    }
    if (issuerID != null) {
      $result.issuerID = issuerID;
    }
    if (contacts != null) {
      $result.contacts.addAll(contacts);
    }
    if (details != null) {
      $result.details = details;
    }
    if (entityDomain != null) {
      $result.entityDomain = entityDomain;
    }
    if (entityType != null) {
      $result.entityType = entityType;
    }
    if (entityRefID != null) {
      $result.entityRefID = entityRefID;
    }
    if (tags != null) {
      $result.tags = tags;
    }
    return $result;
  }
  NotifCreatedPayload._() : super();
  factory NotifCreatedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory NotifCreatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NotifCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..e<$70.NotifTypeEnum>(1, _omitFieldNames ? '' : 'NotificationType', $pb.PbFieldType.OE, protoName: 'NotificationType', defaultOrMaker: $70.NotifTypeEnum.NOTIF_TYPE_UNKNOWN, valueOf: $70.NotifTypeEnum.valueOf, enumValues: $70.NotifTypeEnum.values)
    ..aOS(2, _omitFieldNames ? '' : 'IssuerID', protoName: 'IssuerID')
    ..pPS(3, _omitFieldNames ? '' : 'Contacts', protoName: 'Contacts')
    ..aOS(4, _omitFieldNames ? '' : 'Details', protoName: 'Details')
    ..aOS(5, _omitFieldNames ? '' : 'EntityDomain', protoName: 'EntityDomain')
    ..aOS(6, _omitFieldNames ? '' : 'EntityType', protoName: 'EntityType')
    ..aOS(7, _omitFieldNames ? '' : 'EntityRefID', protoName: 'EntityRefID')
    ..aOS(8, _omitFieldNames ? '' : 'Tags', protoName: 'Tags')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Type Of Change to be notified
  @$pb.TagNumber(1)
  $70.NotifTypeEnum get notificationType => $_getN(0);
  @$pb.TagNumber(1)
  set notificationType($70.NotifTypeEnum v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasNotificationType() => $_has(0);
  @$pb.TagNumber(1)
  void clearNotificationType() => $_clearField(1);

  /// Identifier of the issuer
  @$pb.TagNumber(2)
  $core.String get issuerID => $_getSZ(1);
  @$pb.TagNumber(2)
  set issuerID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasIssuerID() => $_has(1);
  @$pb.TagNumber(2)
  void clearIssuerID() => $_clearField(2);

  /// List of contacts
  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get contacts => $_getList(2);

  /// Details of the notification
  @$pb.TagNumber(4)
  $core.String get details => $_getSZ(3);
  @$pb.TagNumber(4)
  set details($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasDetails() => $_has(3);
  @$pb.TagNumber(4)
  void clearDetails() => $_clearField(4);

  /// Entity domain
  @$pb.TagNumber(5)
  $core.String get entityDomain => $_getSZ(4);
  @$pb.TagNumber(5)
  set entityDomain($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasEntityDomain() => $_has(4);
  @$pb.TagNumber(5)
  void clearEntityDomain() => $_clearField(5);

  /// Type of entity
  @$pb.TagNumber(6)
  $core.String get entityType => $_getSZ(5);
  @$pb.TagNumber(6)
  set entityType($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasEntityType() => $_has(5);
  @$pb.TagNumber(6)
  void clearEntityType() => $_clearField(6);

  /// ID of entity
  @$pb.TagNumber(7)
  $core.String get entityRefID => $_getSZ(6);
  @$pb.TagNumber(7)
  set entityRefID($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasEntityRefID() => $_has(6);
  @$pb.TagNumber(7)
  void clearEntityRefID() => $_clearField(7);

  @$pb.TagNumber(8)
  $core.String get tags => $_getSZ(7);
  @$pb.TagNumber(8)
  set tags($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasTags() => $_has(7);
  @$pb.TagNumber(8)
  void clearTags() => $_clearField(8);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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


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