// // Generated code. Do not modify. // source: appointmentQuery.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 'appointment.pb.dart' as $76; import 'shared.pb.dart' as $3; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; class AppointmentByIdQuery extends $pb.GeneratedMessage { factory AppointmentByIdQuery({ $3.QuerySiteHeader? header, $core.Iterable<$3.EntityID>? iDs, }) { final $result = create(); if (header != null) { $result.header = header; } if (iDs != null) { $result.iDs.addAll(iDs); } return $result; } AppointmentByIdQuery._() : super(); factory AppointmentByIdQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByIdQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByIdQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.create) ..pc<$3.EntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', subBuilder: $3.EntityID.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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByIdQuery create() => AppointmentByIdQuery._(); AppointmentByIdQuery createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByIdQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByIdQuery? _defaultInstance; @$pb.TagNumber(1) $3.QuerySiteHeader get header => $_getN(0); @$pb.TagNumber(1) set header($3.QuerySiteHeader v) { $_setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) void clearHeader() => $_clearField(1); @$pb.TagNumber(1) $3.QuerySiteHeader ensureHeader() => $_ensure(0); @$pb.TagNumber(2) $pb.PbList<$3.EntityID> get iDs => $_getList(1); } class AppointmentByIdResult extends $pb.GeneratedMessage { factory AppointmentByIdResult({ $3.ResultHeader? header, $core.Iterable<$76.Appointment>? objects, }) { final $result = create(); if (header != null) { $result.header = header; } if (objects != null) { $result.objects.addAll(objects); } return $result; } AppointmentByIdResult._() : super(); factory AppointmentByIdResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByIdResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByIdResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResultHeader.create) ..pc<$76.Appointment>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $76.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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByIdResult create() => AppointmentByIdResult._(); AppointmentByIdResult createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByIdResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByIdResult? _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<$76.Appointment> get objects => $_getList(1); } class AppointmentByFilterQuery extends $pb.GeneratedMessage { factory AppointmentByFilterQuery({ $3.QuerySiteHeader? 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; } AppointmentByFilterQuery._() : super(); factory AppointmentByFilterQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByFilterQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByFilterQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.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('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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByFilterQuery create() => AppointmentByFilterQuery._(); AppointmentByFilterQuery createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByFilterQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByFilterQuery? _defaultInstance; @$pb.TagNumber(1) $3.QuerySiteHeader get header => $_getN(0); @$pb.TagNumber(1) set header($3.QuerySiteHeader v) { $_setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) void clearHeader() => $_clearField(1); @$pb.TagNumber(1) $3.QuerySiteHeader 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 AppointmentByFilterResult extends $pb.GeneratedMessage { factory AppointmentByFilterResult({ $3.ResultHeader? header, $core.Iterable<$76.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._() : super(); factory AppointmentByFilterResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByFilterResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByFilterResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResultHeader.create) ..pc<$76.Appointment>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $76.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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByFilterResult create() => AppointmentByFilterResult._(); AppointmentByFilterResult createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByFilterResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByFilterResult? _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<$76.Appointment> 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); } class AppointmentByMatchQuery extends $pb.GeneratedMessage { factory AppointmentByMatchQuery({ $3.QuerySiteHeader? 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; } AppointmentByMatchQuery._() : super(); factory AppointmentByMatchQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByMatchQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByMatchQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.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('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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByMatchQuery create() => AppointmentByMatchQuery._(); AppointmentByMatchQuery createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByMatchQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByMatchQuery? _defaultInstance; @$pb.TagNumber(1) $3.QuerySiteHeader get header => $_getN(0); @$pb.TagNumber(1) set header($3.QuerySiteHeader v) { $_setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) void clearHeader() => $_clearField(1); @$pb.TagNumber(1) $3.QuerySiteHeader ensureHeader() => $_ensure(0); /// 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(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 AppointmentByMatchResult extends $pb.GeneratedMessage { factory AppointmentByMatchResult({ $core.Iterable<$3.MatchFieldResult>? matchResults, }) { final $result = create(); if (matchResults != null) { $result.matchResults.addAll(matchResults); } return $result; } AppointmentByMatchResult._() : super(); factory AppointmentByMatchResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AppointmentByMatchResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByMatchResult', 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('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; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AppointmentByMatchResult create() => AppointmentByMatchResult._(); AppointmentByMatchResult createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AppointmentByMatchResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentByMatchResult? _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');