//
//  Generated code. Do not modify.
//  source: clickhouseMetrics.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:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;

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

class Metrics extends $pb.GeneratedMessage {
  factory Metrics({
    $fixnum.Int64? currentTime,
    $core.String? organisationID,
    $core.String? projectID,
    $core.String? entityService,
    $core.String? method,
    $core.String? userID,
    $core.String? userMail,
    $core.String? refID,
  }) {
    final $result = create();
    if (currentTime != null) {
      $result.currentTime = currentTime;
    }
    if (organisationID != null) {
      $result.organisationID = organisationID;
    }
    if (projectID != null) {
      $result.projectID = projectID;
    }
    if (entityService != null) {
      $result.entityService = entityService;
    }
    if (method != null) {
      $result.method = method;
    }
    if (userID != null) {
      $result.userID = userID;
    }
    if (userMail != null) {
      $result.userMail = userMail;
    }
    if (refID != null) {
      $result.refID = refID;
    }
    return $result;
  }
  Metrics._() : super();
  factory Metrics.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory Metrics.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Metrics', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'CurrentTime', protoName: 'CurrentTime')
    ..aOS(2, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
    ..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
    ..aOS(4, _omitFieldNames ? '' : 'EntityService', protoName: 'EntityService')
    ..aOS(5, _omitFieldNames ? '' : 'Method', protoName: 'Method')
    ..aOS(6, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
    ..aOS(7, _omitFieldNames ? '' : 'UserMail', protoName: 'UserMail')
    ..aOS(8, _omitFieldNames ? '' : 'RefID', protoName: 'RefID')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get currentTime => $_getI64(0);
  @$pb.TagNumber(1)
  set currentTime($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasCurrentTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearCurrentTime() => $_clearField(1);

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

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

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

  @$pb.TagNumber(5)
  $core.String get method => $_getSZ(4);
  @$pb.TagNumber(5)
  set method($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasMethod() => $_has(4);
  @$pb.TagNumber(5)
  void clearMethod() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.String get userID => $_getSZ(5);
  @$pb.TagNumber(6)
  set userID($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasUserID() => $_has(5);
  @$pb.TagNumber(6)
  void clearUserID() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.String get userMail => $_getSZ(6);
  @$pb.TagNumber(7)
  set userMail($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasUserMail() => $_has(6);
  @$pb.TagNumber(7)
  void clearUserMail() => $_clearField(7);

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


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