//
//  Generated code. Do not modify.
//  source: logger.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 'shared.pb.dart' as $3;
import 'shared.pbenum.dart' as $3;

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

class PlatformLogPayload extends $pb.GeneratedMessage {
  factory PlatformLogPayload({
    $3.SeverityLevel? severity,
    $core.String? namespace,
    $3.DateTime? dateTime,
    $3.LabelStructure? techMessage,
    $3.LabelStructure? userMessage,
    $core.Iterable<$3.LabelStructure>? detailElements,
    $core.String? correlationID,
    $core.String? contextPayload,
    $core.String? type,
    $core.String? task,
    $core.String? originalID,
    $core.String? stackTrace,
    $core.Iterable<$core.String>? tags,
  }) {
    final $result = create();
    if (severity != null) {
      $result.severity = severity;
    }
    if (namespace != null) {
      $result.namespace = namespace;
    }
    if (dateTime != null) {
      $result.dateTime = dateTime;
    }
    if (techMessage != null) {
      $result.techMessage = techMessage;
    }
    if (userMessage != null) {
      $result.userMessage = userMessage;
    }
    if (detailElements != null) {
      $result.detailElements.addAll(detailElements);
    }
    if (correlationID != null) {
      $result.correlationID = correlationID;
    }
    if (contextPayload != null) {
      $result.contextPayload = contextPayload;
    }
    if (type != null) {
      $result.type = type;
    }
    if (task != null) {
      $result.task = task;
    }
    if (originalID != null) {
      $result.originalID = originalID;
    }
    if (stackTrace != null) {
      $result.stackTrace = stackTrace;
    }
    if (tags != null) {
      $result.tags.addAll(tags);
    }
    return $result;
  }
  PlatformLogPayload._() : super();
  factory PlatformLogPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..e<$3.SeverityLevel>(1, _omitFieldNames ? '' : 'Severity', $pb.PbFieldType.OE, protoName: 'Severity', defaultOrMaker: $3.SeverityLevel.SEVERITYLEVEL_UNKNOWN, valueOf: $3.SeverityLevel.valueOf, enumValues: $3.SeverityLevel.values)
    ..aOS(2, _omitFieldNames ? '' : 'Namespace', protoName: 'Namespace')
    ..aOM<$3.DateTime>(3, _omitFieldNames ? '' : 'DateTime', protoName: 'DateTime', subBuilder: $3.DateTime.create)
    ..aOM<$3.LabelStructure>(4, _omitFieldNames ? '' : 'TechMessage', protoName: 'TechMessage', subBuilder: $3.LabelStructure.create)
    ..aOM<$3.LabelStructure>(5, _omitFieldNames ? '' : 'UserMessage', protoName: 'UserMessage', subBuilder: $3.LabelStructure.create)
    ..pc<$3.LabelStructure>(6, _omitFieldNames ? '' : 'DetailElements', $pb.PbFieldType.PM, protoName: 'DetailElements', subBuilder: $3.LabelStructure.create)
    ..aOS(7, _omitFieldNames ? '' : 'CorrelationID', protoName: 'CorrelationID')
    ..aOS(8, _omitFieldNames ? '' : 'ContextPayload', protoName: 'ContextPayload')
    ..aOS(9, _omitFieldNames ? '' : 'Type', protoName: 'Type')
    ..aOS(10, _omitFieldNames ? '' : 'Task', protoName: 'Task')
    ..aOS(11, _omitFieldNames ? '' : 'OriginalID', protoName: 'OriginalID')
    ..aOS(12, _omitFieldNames ? '' : 'StackTrace', protoName: 'StackTrace')
    ..pPS(13, _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')
  PlatformLogPayload clone() => PlatformLogPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogPayload copyWith(void Function(PlatformLogPayload) updates) => super.copyWith((message) => updates(message as PlatformLogPayload)) as PlatformLogPayload;

  $pb.BuilderInfo get info_ => _i;

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

  /// Log severity level
  @$pb.TagNumber(1)
  $3.SeverityLevel get severity => $_getN(0);
  @$pb.TagNumber(1)
  set severity($3.SeverityLevel v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasSeverity() => $_has(0);
  @$pb.TagNumber(1)
  void clearSeverity() => $_clearField(1);

  /// Where the log occured, for example \"CORE\"
  @$pb.TagNumber(2)
  $core.String get namespace => $_getSZ(1);
  @$pb.TagNumber(2)
  set namespace($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasNamespace() => $_has(1);
  @$pb.TagNumber(2)
  void clearNamespace() => $_clearField(2);

  /// When the log occured
  @$pb.TagNumber(3)
  $3.DateTime get dateTime => $_getN(2);
  @$pb.TagNumber(3)
  set dateTime($3.DateTime v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasDateTime() => $_has(2);
  @$pb.TagNumber(3)
  void clearDateTime() => $_clearField(3);
  @$pb.TagNumber(3)
  $3.DateTime ensureDateTime() => $_ensure(2);

  /// Technical message of the log
  @$pb.TagNumber(4)
  $3.LabelStructure get techMessage => $_getN(3);
  @$pb.TagNumber(4)
  set techMessage($3.LabelStructure v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasTechMessage() => $_has(3);
  @$pb.TagNumber(4)
  void clearTechMessage() => $_clearField(4);
  @$pb.TagNumber(4)
  $3.LabelStructure ensureTechMessage() => $_ensure(3);

  /// User message of the log
  @$pb.TagNumber(5)
  $3.LabelStructure get userMessage => $_getN(4);
  @$pb.TagNumber(5)
  set userMessage($3.LabelStructure v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasUserMessage() => $_has(4);
  @$pb.TagNumber(5)
  void clearUserMessage() => $_clearField(5);
  @$pb.TagNumber(5)
  $3.LabelStructure ensureUserMessage() => $_ensure(4);

  /// Detailed elements of the log
  @$pb.TagNumber(6)
  $pb.PbList<$3.LabelStructure> get detailElements => $_getList(5);

  /// Correlation ID attached to the log
  @$pb.TagNumber(7)
  $core.String get correlationID => $_getSZ(6);
  @$pb.TagNumber(7)
  set correlationID($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasCorrelationID() => $_has(6);
  @$pb.TagNumber(7)
  void clearCorrelationID() => $_clearField(7);

  /// Context payload attached to the log
  @$pb.TagNumber(8)
  $core.String get contextPayload => $_getSZ(7);
  @$pb.TagNumber(8)
  set contextPayload($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasContextPayload() => $_has(7);
  @$pb.TagNumber(8)
  void clearContextPayload() => $_clearField(8);

  /// Type attached to the log, can be anything such as Item, Actor, Order...
  @$pb.TagNumber(9)
  $core.String get type => $_getSZ(8);
  @$pb.TagNumber(9)
  set type($core.String v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasType() => $_has(8);
  @$pb.TagNumber(9)
  void clearType() => $_clearField(9);

  /// Task attached to the log, can be anything such as Created, Notified, Find...
  @$pb.TagNumber(10)
  $core.String get task => $_getSZ(9);
  @$pb.TagNumber(10)
  set task($core.String v) { $_setString(9, v); }
  @$pb.TagNumber(10)
  $core.bool hasTask() => $_has(9);
  @$pb.TagNumber(10)
  void clearTask() => $_clearField(10);

  /// OriginalID attached to the log, can be the ID of an entity related to the log
  @$pb.TagNumber(11)
  $core.String get originalID => $_getSZ(10);
  @$pb.TagNumber(11)
  set originalID($core.String v) { $_setString(10, v); }
  @$pb.TagNumber(11)
  $core.bool hasOriginalID() => $_has(10);
  @$pb.TagNumber(11)
  void clearOriginalID() => $_clearField(11);

  /// In case the log is identified as an error, the stack trace ; otherwise can be left empty
  @$pb.TagNumber(12)
  $core.String get stackTrace => $_getSZ(11);
  @$pb.TagNumber(12)
  set stackTrace($core.String v) { $_setString(11, v); }
  @$pb.TagNumber(12)
  $core.bool hasStackTrace() => $_has(11);
  @$pb.TagNumber(12)
  void clearStackTrace() => $_clearField(12);

  /// Tags attached to the log
  @$pb.TagNumber(13)
  $pb.PbList<$core.String> get tags => $_getList(12);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLog', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'LastEventHeader', protoName: 'LastEventHeader', subBuilder: $3.EventHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<PlatformLogPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PlatformLogPayload.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')
  PlatformLog clone() => PlatformLog()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLog copyWith(void Function(PlatformLog) updates) => super.copyWith((message) => updates(message as PlatformLog)) as PlatformLog;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get lastEventHeader => $_getN(0);
  @$pb.TagNumber(1)
  set lastEventHeader($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasLastEventHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearLastEventHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureLastEventHeader() => $_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)
  PlatformLogPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PlatformLogPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PlatformLogPayload ensurePayload() => $_ensure(2);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogCreateRequest', 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<PlatformLogPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: PlatformLogPayload.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')
  PlatformLogCreateRequest clone() => PlatformLogCreateRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogCreateRequest copyWith(void Function(PlatformLogCreateRequest) updates) => super.copyWith((message) => updates(message as PlatformLogCreateRequest)) as PlatformLogCreateRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PlatformLogCreateRequest create() => PlatformLogCreateRequest._();
  PlatformLogCreateRequest createEmptyInstance() => create();
  static $pb.PbList<PlatformLogCreateRequest> createRepeated() => $pb.PbList<PlatformLogCreateRequest>();
  @$core.pragma('dart2js:noInline')
  static PlatformLogCreateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PlatformLogCreateRequest>(create);
  static PlatformLogCreateRequest? _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)
  PlatformLogPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(PlatformLogPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  PlatformLogPayload ensurePayload() => $_ensure(2);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogCreateResponse', 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')
  PlatformLogCreateResponse clone() => PlatformLogCreateResponse()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogCreateResponse copyWith(void Function(PlatformLogCreateResponse) updates) => super.copyWith((message) => updates(message as PlatformLogCreateResponse)) as PlatformLogCreateResponse;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PlatformLogCreateResponse create() => PlatformLogCreateResponse._();
  PlatformLogCreateResponse createEmptyInstance() => create();
  static $pb.PbList<PlatformLogCreateResponse> createRepeated() => $pb.PbList<PlatformLogCreateResponse>();
  @$core.pragma('dart2js:noInline')
  static PlatformLogCreateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PlatformLogCreateResponse>(create);
  static PlatformLogCreateResponse? _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);
}

/// Find
class PlatformLogFindRequest extends $pb.GeneratedMessage {
  factory PlatformLogFindRequest({
    $3.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$3.BlockFilter>? blockFilters,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (limitFilter != null) {
      $result.limitFilter = limitFilter;
    }
    if (queryContext != null) {
      $result.queryContext = queryContext;
    }
    if (blockFilters != null) {
      $result.blockFilters.addAll(blockFilters);
    }
    return $result;
  }
  PlatformLogFindRequest._() : super();
  factory PlatformLogFindRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogFindRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogFindRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
    ..aOS(4, _omitFieldNames ? '' : 'limitFilter', protoName: 'limitFilter')
    ..aOS(5, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
    ..pc<$3.BlockFilter>(6, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $3.BlockFilter.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')
  PlatformLogFindRequest clone() => PlatformLogFindRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogFindRequest copyWith(void Function(PlatformLogFindRequest) updates) => super.copyWith((message) => updates(message as PlatformLogFindRequest)) as PlatformLogFindRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  /// Number of maximum result
  @$pb.TagNumber(4)
  $core.String get limitFilter => $_getSZ(1);
  @$pb.TagNumber(4)
  set limitFilter($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(4)
  $core.bool hasLimitFilter() => $_has(1);
  @$pb.TagNumber(4)
  void clearLimitFilter() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get queryContext => $_getSZ(2);
  @$pb.TagNumber(5)
  set queryContext($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(5)
  $core.bool hasQueryContext() => $_has(2);
  @$pb.TagNumber(5)
  void clearQueryContext() => $_clearField(5);

  /// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
  @$pb.TagNumber(6)
  $pb.PbList<$3.BlockFilter> get blockFilters => $_getList(3);
}

class PlatformLogFindResult extends $pb.GeneratedMessage {
  factory PlatformLogFindResult({
    $3.ResultHeader? header,
    $core.Iterable<PlatformLog>? objects,
    $core.String? queryContext,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (objects != null) {
      $result.objects.addAll(objects);
    }
    if (queryContext != null) {
      $result.queryContext = queryContext;
    }
    return $result;
  }
  PlatformLogFindResult._() : super();
  factory PlatformLogFindResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogFindResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogFindResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResultHeader.create)
    ..pc<PlatformLog>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: PlatformLog.create)
    ..aOS(3, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $pb.PbList<PlatformLog> get objects => $_getList(1);

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogGetByIdsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
    ..pc<$3.EntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', 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')
  PlatformLogGetByIdsRequest clone() => PlatformLogGetByIdsRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogGetByIdsRequest copyWith(void Function(PlatformLogGetByIdsRequest) updates) => super.copyWith((message) => updates(message as PlatformLogGetByIdsRequest)) as PlatformLogGetByIdsRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$3.EntityID> get iDs => $_getList(1);
}

class PlatformLogGetByIdsResult extends $pb.GeneratedMessage {
  factory PlatformLogGetByIdsResult({
    $3.ResultHeader? header,
    $core.Iterable<PlatformLog>? objects,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (objects != null) {
      $result.objects.addAll(objects);
    }
    return $result;
  }
  PlatformLogGetByIdsResult._() : super();
  factory PlatformLogGetByIdsResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogGetByIdsResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogGetByIdsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResultHeader.create)
    ..pc<PlatformLog>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: PlatformLog.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')
  PlatformLogGetByIdsResult clone() => PlatformLogGetByIdsResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogGetByIdsResult copyWith(void Function(PlatformLogGetByIdsResult) updates) => super.copyWith((message) => updates(message as PlatformLogGetByIdsResult)) as PlatformLogGetByIdsResult;

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $pb.PbList<PlatformLog> get objects => $_getList(1);
}

class PlatformLogByMatchRequest extends $pb.GeneratedMessage {
  factory PlatformLogByMatchRequest({
    $3.QueryProjectHeader? header,
    $core.Iterable<$3.BlockFilter>? blockFilters,
    $core.Iterable<$3.MatchField>? matchFields,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (blockFilters != null) {
      $result.blockFilters.addAll(blockFilters);
    }
    if (matchFields != null) {
      $result.matchFields.addAll(matchFields);
    }
    return $result;
  }
  PlatformLogByMatchRequest._() : super();
  factory PlatformLogByMatchRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogByMatchRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogByMatchRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
    ..pc<$3.BlockFilter>(5, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $3.BlockFilter.create)
    ..pc<$3.MatchField>(6, _omitFieldNames ? '' : 'MatchFields', $pb.PbFieldType.PM, protoName: 'MatchFields', subBuilder: $3.MatchField.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')
  PlatformLogByMatchRequest clone() => PlatformLogByMatchRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogByMatchRequest copyWith(void Function(PlatformLogByMatchRequest) updates) => super.copyWith((message) => updates(message as PlatformLogByMatchRequest)) as PlatformLogByMatchRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(5)
  $pb.PbList<$3.BlockFilter> get blockFilters => $_getList(1);

  /// MatchField list structure, for FindMatching query
  @$pb.TagNumber(6)
  $pb.PbList<$3.MatchField> get matchFields => $_getList(2);
}

class PlatformLogByMatchResult extends $pb.GeneratedMessage {
  factory PlatformLogByMatchResult({
    $core.Iterable<$3.MatchFieldResult>? matchResults,
  }) {
    final $result = create();
    if (matchResults != null) {
      $result.matchResults.addAll(matchResults);
    }
    return $result;
  }
  PlatformLogByMatchResult._() : super();
  factory PlatformLogByMatchResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory PlatformLogByMatchResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlatformLogByMatchResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$3.MatchFieldResult>(2, _omitFieldNames ? '' : 'MatchResults', $pb.PbFieldType.PM, protoName: 'MatchResults', subBuilder: $3.MatchFieldResult.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')
  PlatformLogByMatchResult clone() => PlatformLogByMatchResult()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  PlatformLogByMatchResult copyWith(void Function(PlatformLogByMatchResult) updates) => super.copyWith((message) => updates(message as PlatformLogByMatchResult)) as PlatformLogByMatchResult;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(2)
  $pb.PbList<$3.MatchFieldResult> get matchResults => $_getList(0);
}


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