// This is a generated file - do not edit.
//
// Generated from executionflowQuery.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 'executionflow.pb.dart' as $3;
import 'shared.pb.dart' as $2;

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

class ExecutionflowByIdQuery extends $pb.GeneratedMessage {
  factory ExecutionflowByIdQuery({
    $2.QueryProjectHeader? header,
    $core.Iterable<$2.QueryEntityID>? iDs,
    ExecutionflowQueryOptions? options,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iDs != null) result.iDs.addAll(iDs);
    if (options != null) result.options = options;
    return result;
  }

  ExecutionflowByIdQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowByIdQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$2.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.QueryProjectHeader.create)
    ..pc<$2.QueryEntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', subBuilder: $2.QueryEntityID.create)
    ..aOM<ExecutionflowQueryOptions>(3, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: ExecutionflowQueryOptions.create)
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByIdQuery create() => ExecutionflowByIdQuery._();
  @$core.override
  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)
  $2.QueryProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.QueryProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.QueryProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ExecutionflowQueryOptions get options => $_getN(2);
  @$pb.TagNumber(3)
  set options(ExecutionflowQueryOptions value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasOptions() => $_has(2);
  @$pb.TagNumber(3)
  void clearOptions() => $_clearField(3);
  @$pb.TagNumber(3)
  ExecutionflowQueryOptions ensureOptions() => $_ensure(2);
}

class ExecutionflowByIdResult extends $pb.GeneratedMessage {
  factory ExecutionflowByIdResult({
    $2.ResultHeader? header,
    $core.Iterable<$3.Executionflow>? objects,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (objects != null) result.objects.addAll(objects);
    return result;
  }

  ExecutionflowByIdResult._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByIdResult create() => ExecutionflowByIdResult._();
  @$core.override
  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)
  $2.ResultHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResultHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResultHeader ensureHeader() => $_ensure(0);

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

class ExecutionflowByFilterQuery extends $pb.GeneratedMessage {
  factory ExecutionflowByFilterQuery({
    $2.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$2.BlockFilter>? blockFilters,
    ExecutionflowQueryOptions? options,
    $2.EntityType? usageContextEntity,
    $core.String? usageContextPath,
  }) {
    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);
    if (options != null) result.options = options;
    if (usageContextEntity != null) result.usageContextEntity = usageContextEntity;
    if (usageContextPath != null) result.usageContextPath = usageContextPath;
    return result;
  }

  ExecutionflowByFilterQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowByFilterQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$2.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.QueryProjectHeader.create)
    ..aOS(4, _omitFieldNames ? '' : 'limitFilter', protoName: 'limitFilter')
    ..aOS(5, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
    ..pc<$2.BlockFilter>(6, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $2.BlockFilter.create)
    ..aOM<ExecutionflowQueryOptions>(7, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: ExecutionflowQueryOptions.create)
    ..e<$2.EntityType>(8, _omitFieldNames ? '' : 'UsageContextEntity', $pb.PbFieldType.OE, protoName: 'UsageContextEntity', defaultOrMaker: $2.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $2.EntityType.valueOf, enumValues: $2.EntityType.values)
    ..aOS(9, _omitFieldNames ? '' : 'UsageContextPath', protoName: 'UsageContextPath')
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByFilterQuery create() => ExecutionflowByFilterQuery._();
  @$core.override
  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)
  $2.QueryProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.QueryProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.QueryProjectHeader ensureHeader() => $_ensure(0);

  /// Number of maximum result
  @$pb.TagNumber(4)
  $core.String get limitFilter => $_getSZ(1);
  @$pb.TagNumber(4)
  set limitFilter($core.String value) => $_setString(1, value);
  @$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 value) => $_setString(2, value);
  @$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
  @$pb.TagNumber(6)
  $pb.PbList<$2.BlockFilter> get blockFilters => $_getList(3);

  @$pb.TagNumber(7)
  ExecutionflowQueryOptions get options => $_getN(4);
  @$pb.TagNumber(7)
  set options(ExecutionflowQueryOptions value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasOptions() => $_has(4);
  @$pb.TagNumber(7)
  void clearOptions() => $_clearField(7);
  @$pb.TagNumber(7)
  ExecutionflowQueryOptions ensureOptions() => $_ensure(4);

  @$pb.TagNumber(8)
  $2.EntityType get usageContextEntity => $_getN(5);
  @$pb.TagNumber(8)
  set usageContextEntity($2.EntityType value) => $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasUsageContextEntity() => $_has(5);
  @$pb.TagNumber(8)
  void clearUsageContextEntity() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.String get usageContextPath => $_getSZ(6);
  @$pb.TagNumber(9)
  set usageContextPath($core.String value) => $_setString(6, value);
  @$pb.TagNumber(9)
  $core.bool hasUsageContextPath() => $_has(6);
  @$pb.TagNumber(9)
  void clearUsageContextPath() => $_clearField(9);
}

class ExecutionflowByFilterResult extends $pb.GeneratedMessage {
  factory ExecutionflowByFilterResult({
    $2.ResultHeader? header,
    $core.Iterable<$3.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._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static ExecutionflowByFilterResult create() => ExecutionflowByFilterResult._();
  @$core.override
  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)
  $2.ResultHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($2.ResultHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ResultHeader ensureHeader() => $_ensure(0);

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

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

class ExecutionflowQueryOptions extends $pb.GeneratedMessage {
  factory ExecutionflowQueryOptions({
    $core.bool? truncateLines,
    $core.Iterable<$core.String>? only,
  }) {
    final result = create();
    if (truncateLines != null) result.truncateLines = truncateLines;
    if (only != null) result.only.addAll(only);
    return result;
  }

  ExecutionflowQueryOptions._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowQueryOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOB(1, _omitFieldNames ? '' : 'TruncateLines', protoName: 'TruncateLines')
    ..pPS(2, _omitFieldNames ? '' : 'Only', protoName: 'Only')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $core.bool get truncateLines => $_getBF(0);
  @$pb.TagNumber(1)
  set truncateLines($core.bool value) => $_setBool(0, value);
  @$pb.TagNumber(1)
  $core.bool hasTruncateLines() => $_has(0);
  @$pb.TagNumber(1)
  void clearTruncateLines() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get only => $_getList(1);
}


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