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

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

class ExecutionflowByIdQuery extends $pb.GeneratedMessage {
  factory ExecutionflowByIdQuery({
    $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;
  }
  ExecutionflowByIdQuery._() : super();
  factory ExecutionflowByIdQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowByIdQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByIdQuery create() => ExecutionflowByIdQuery._();
  ExecutionflowByIdQuery createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowByIdQuery> createRepeated() => $pb.PbList<ExecutionflowByIdQuery>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowByIdQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowByIdQuery>(create);
  static ExecutionflowByIdQuery? _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 ExecutionflowByIdResult extends $pb.GeneratedMessage {
  factory ExecutionflowByIdResult({
    $3.ResultHeader? header,
    $core.Iterable<$78.Executionflow>? objects,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (objects != null) {
      $result.objects.addAll(objects);
    }
    return $result;
  }
  ExecutionflowByIdResult._() : super();
  factory ExecutionflowByIdResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowByIdResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

class ExecutionflowByFilterQuery extends $pb.GeneratedMessage {
  factory ExecutionflowByFilterQuery({
    $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;
  }
  ExecutionflowByFilterQuery._() : super();
  factory ExecutionflowByFilterQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowByFilterQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByFilterQuery create() => ExecutionflowByFilterQuery._();
  ExecutionflowByFilterQuery createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowByFilterQuery> createRepeated() => $pb.PbList<ExecutionflowByFilterQuery>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowByFilterQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowByFilterQuery>(create);
  static ExecutionflowByFilterQuery? _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 ExecutionflowByFilterResult extends $pb.GeneratedMessage {
  factory ExecutionflowByFilterResult({
    $3.ResultHeader? header,
    $core.Iterable<$78.Executionflow>? 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;
  }
  ExecutionflowByFilterResult._() : super();
  factory ExecutionflowByFilterResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowByFilterResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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


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