// This is a generated file - do not edit.
//
// Generated from admin-actor.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;

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,
    $0.Address? address,
    $0.ActorContact? contact,
    $0.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._();

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

  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<$0.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $0.Address.create)
    ..aOM<$0.ActorContact>(7, _omitFieldNames ? '' : 'Contact', protoName: 'Contact', subBuilder: $0.ActorContact.create)
    ..e<$0.ActorTypology>(8, _omitFieldNames ? '' : 'Typology', $pb.PbFieldType.OE, protoName: 'Typology', defaultOrMaker: $0.ActorTypology.TYPOLOGY_UNKNOWN, valueOf: $0.ActorTypology.valueOf, enumValues: $0.ActorTypology.values)
    ..aOS(9, _omitFieldNames ? '' : 'AdditionalInformation', protoName: 'AdditionalInformation')
    ..hasRequiredFields = false
  ;

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

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

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

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

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

  @$pb.TagNumber(8)
  $0.ActorTypology get typology => $_getN(6);
  @$pb.TagNumber(8)
  set typology($0.ActorTypology value) => $_setField(8, value);
  @$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 value) => $_setString(7, value);
  @$pb.TagNumber(9)
  $core.bool hasAdditionalInformation() => $_has(7);
  @$pb.TagNumber(9)
  void clearAdditionalInformation() => $_clearField(9);
}


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