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

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

class AppointmentByIdQuery extends $pb.GeneratedMessage {
  factory AppointmentByIdQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.QueryEntityID>? iDs,
    AppointmentQueryOptions? 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;
  }

  AppointmentByIdQuery._();

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

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

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

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

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

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

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

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

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

  AppointmentByIdResult._();

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

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

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

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

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

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

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

class AppointmentByFilterQuery extends $pb.GeneratedMessage {
  factory AppointmentByFilterQuery({
    $1.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    AppointmentQueryOptions? options,
    $1.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;
  }

  AppointmentByFilterQuery._();

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

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

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

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

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

  @$pb.TagNumber(1)
  $1.QueryProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.QueryProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.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<$1.BlockFilter> get blockFilters => $_getList(3);

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

  @$pb.TagNumber(8)
  $1.EntityType get usageContextEntity => $_getN(5);
  @$pb.TagNumber(8)
  set usageContextEntity($1.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 AppointmentByFilterResult extends $pb.GeneratedMessage {
  factory AppointmentByFilterResult({
    $1.ResultHeader? header,
    $core.Iterable<$3.Appointment>? 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;
  }

  AppointmentByFilterResult._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$3.Appointment> 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 AppointmentQueryOptions extends $pb.GeneratedMessage {
  factory AppointmentQueryOptions({
    $core.Iterable<$core.String>? only,
  }) {
    final result = create();
    if (only != null) result.only.addAll(only);
    return result;
  }

  AppointmentQueryOptions._();

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

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

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

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

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

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

class AppointmentByMatchQuery extends $pb.GeneratedMessage {
  factory AppointmentByMatchQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    $core.Iterable<$1.MatchField>? matchFields,
    $1.EntityType? usageContextEntity,
    $core.String? usageContextPath,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (blockFilters != null) result.blockFilters.addAll(blockFilters);
    if (matchFields != null) result.matchFields.addAll(matchFields);
    if (usageContextEntity != null) result.usageContextEntity = usageContextEntity;
    if (usageContextPath != null) result.usageContextPath = usageContextPath;
    return result;
  }

  AppointmentByMatchQuery._();

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

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

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

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

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

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

  /// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query
  @$pb.TagNumber(5)
  $pb.PbList<$1.BlockFilter> get blockFilters => $_getList(1);

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

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

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

class AppointmentByMatchResult extends $pb.GeneratedMessage {
  factory AppointmentByMatchResult({
    $core.Iterable<$1.MatchFieldResult>? matchResults,
  }) {
    final result = create();
    if (matchResults != null) result.matchResults.addAll(matchResults);
    return result;
  }

  AppointmentByMatchResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByMatchResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.MatchFieldResult>(2, _omitFieldNames ? '' : 'MatchResults', $pb.PbFieldType.PM, protoName: 'MatchResults', subBuilder: $1.MatchFieldResult.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class CrossFindAppointmentResult extends $pb.GeneratedMessage {
  factory CrossFindAppointmentResult({
    $core.Iterable<$3.Appointment>? objects,
    $1.ResultHeader? header,
    $core.String? queryContext,
  }) {
    final result = create();
    if (objects != null) result.objects.addAll(objects);
    if (header != null) result.header = header;
    if (queryContext != null) result.queryContext = queryContext;
    return result;
  }

  CrossFindAppointmentResult._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $1.ResultHeader get header => $_getN(1);
  @$pb.TagNumber(2)
  set header($1.ResultHeader value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasHeader() => $_has(1);
  @$pb.TagNumber(2)
  void clearHeader() => $_clearField(2);
  @$pb.TagNumber(2)
  $1.ResultHeader ensureHeader() => $_ensure(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);
}


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