//
//  Generated code. Do not modify.
//  source: admin-actor.proto
//
// @dart = 3.3

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

import 'dart:core' as $core;

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

import 'repositoryShared.pb.dart' as $65;
import 'repositoryShared.pbenum.dart' as $65;

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

class AdminActor extends $pb.GeneratedMessage {
  factory AdminActor({
    $core.String? iD,
    $core.String? name,
    $core.String? organisationID,
    $core.String? partnerID,
    $65.Address? address,
    $65.ActorContact? contact,
    $65.ActorTypology? typology,
    $core.String? additionalInformation,
  }) {
    final $result = create();
    if (iD != null) {
      $result.iD = iD;
    }
    if (name != null) {
      $result.name = name;
    }
    if (organisationID != null) {
      $result.organisationID = organisationID;
    }
    if (partnerID != null) {
      $result.partnerID = partnerID;
    }
    if (address != null) {
      $result.address = address;
    }
    if (contact != null) {
      $result.contact = contact;
    }
    if (typology != null) {
      $result.typology = typology;
    }
    if (additionalInformation != null) {
      $result.additionalInformation = additionalInformation;
    }
    return $result;
  }
  AdminActor._() : super();
  factory AdminActor.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory AdminActor.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AdminActor', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
    ..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..aOS(3, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
    ..aOS(4, _omitFieldNames ? '' : 'PartnerID', protoName: 'PartnerID')
    ..aOM<$65.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $65.Address.create)
    ..aOM<$65.ActorContact>(7, _omitFieldNames ? '' : 'Contact', protoName: 'Contact', subBuilder: $65.ActorContact.create)
    ..e<$65.ActorTypology>(8, _omitFieldNames ? '' : 'Typology', $pb.PbFieldType.OE, protoName: 'Typology', defaultOrMaker: $65.ActorTypology.TYPOLOGY_UNKNOWN, valueOf: $65.ActorTypology.valueOf, enumValues: $65.ActorTypology.values)
    ..aOS(9, _omitFieldNames ? '' : 'AdditionalInformation', protoName: 'AdditionalInformation')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  @$pb.TagNumber(3)
  $core.String get organisationID => $_getSZ(2);
  @$pb.TagNumber(3)
  set organisationID($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasOrganisationID() => $_has(2);
  @$pb.TagNumber(3)
  void clearOrganisationID() => $_clearField(3);

  @$pb.TagNumber(4)
  $core.String get partnerID => $_getSZ(3);
  @$pb.TagNumber(4)
  set partnerID($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasPartnerID() => $_has(3);
  @$pb.TagNumber(4)
  void clearPartnerID() => $_clearField(4);

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

  @$pb.TagNumber(7)
  $65.ActorContact get contact => $_getN(5);
  @$pb.TagNumber(7)
  set contact($65.ActorContact v) { $_setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasContact() => $_has(5);
  @$pb.TagNumber(7)
  void clearContact() => $_clearField(7);
  @$pb.TagNumber(7)
  $65.ActorContact ensureContact() => $_ensure(5);

  @$pb.TagNumber(8)
  $65.ActorTypology get typology => $_getN(6);
  @$pb.TagNumber(8)
  set typology($65.ActorTypology v) { $_setField(8, v); }
  @$pb.TagNumber(8)
  $core.bool hasTypology() => $_has(6);
  @$pb.TagNumber(8)
  void clearTypology() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.String get additionalInformation => $_getSZ(7);
  @$pb.TagNumber(9)
  set additionalInformation($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(9)
  $core.bool hasAdditionalInformation() => $_has(7);
  @$pb.TagNumber(9)
  void clearAdditionalInformation() => $_clearField(9);
}


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