Files
dart-core-sdk/lib/appointmentQuery.pb.dart
2025-04-28 11:35:10 +00:00

422 lines
19 KiB
Dart

//
// 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 $81;
import 'shared.pb.dart' as $35;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class AppointmentByIdQuery extends $pb.GeneratedMessage {
factory AppointmentByIdQuery({
$35.QueryProjectHeader? header,
$core.Iterable<$35.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<$35.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $35.QueryProjectHeader.create)
..pc<$35.EntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', subBuilder: $35.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')
AppointmentByIdQuery clone() => AppointmentByIdQuery()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<AppointmentByIdQuery> createRepeated() => $pb.PbList<AppointmentByIdQuery>();
@$core.pragma('dart2js:noInline')
static AppointmentByIdQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentByIdQuery>(create);
static AppointmentByIdQuery? _defaultInstance;
@$pb.TagNumber(1)
$35.QueryProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($35.QueryProjectHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$35.QueryProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$pb.PbList<$35.EntityID> get iDs => $_getList(1);
}
class AppointmentByIdResult extends $pb.GeneratedMessage {
factory AppointmentByIdResult({
$35.ResultHeader? header,
$core.Iterable<$81.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<$35.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $35.ResultHeader.create)
..pc<$81.Appointment>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $81.Appointment.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')
AppointmentByIdResult clone() => AppointmentByIdResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<AppointmentByIdResult> createRepeated() => $pb.PbList<AppointmentByIdResult>();
@$core.pragma('dart2js:noInline')
static AppointmentByIdResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentByIdResult>(create);
static AppointmentByIdResult? _defaultInstance;
@$pb.TagNumber(1)
$35.ResultHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($35.ResultHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$35.ResultHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$pb.PbList<$81.Appointment> get objects => $_getList(1);
}
class AppointmentByFilterQuery extends $pb.GeneratedMessage {
factory AppointmentByFilterQuery({
$35.QueryProjectHeader? header,
$core.String? limitFilter,
$core.String? queryContext,
$core.Iterable<$35.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<$35.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $35.QueryProjectHeader.create)
..aOS(4, _omitFieldNames ? '' : 'limitFilter', protoName: 'limitFilter')
..aOS(5, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
..pc<$35.BlockFilter>(6, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $35.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')
AppointmentByFilterQuery clone() => AppointmentByFilterQuery()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<AppointmentByFilterQuery> createRepeated() => $pb.PbList<AppointmentByFilterQuery>();
@$core.pragma('dart2js:noInline')
static AppointmentByFilterQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentByFilterQuery>(create);
static AppointmentByFilterQuery? _defaultInstance;
@$pb.TagNumber(1)
$35.QueryProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($35.QueryProjectHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$35.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<$35.BlockFilter> get blockFilters => $_getList(3);
}
class AppointmentByFilterResult extends $pb.GeneratedMessage {
factory AppointmentByFilterResult({
$35.ResultHeader? header,
$core.Iterable<$81.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<$35.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $35.ResultHeader.create)
..pc<$81.Appointment>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $81.Appointment.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')
AppointmentByFilterResult clone() => AppointmentByFilterResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<AppointmentByFilterResult> createRepeated() => $pb.PbList<AppointmentByFilterResult>();
@$core.pragma('dart2js:noInline')
static AppointmentByFilterResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentByFilterResult>(create);
static AppointmentByFilterResult? _defaultInstance;
@$pb.TagNumber(1)
$35.ResultHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($35.ResultHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$35.ResultHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$pb.PbList<$81.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({
$35.QueryProjectHeader? header,
$core.Iterable<$35.BlockFilter>? blockFilters,
$core.Iterable<$35.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<$35.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $35.QueryProjectHeader.create)
..pc<$35.BlockFilter>(5, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $35.BlockFilter.create)
..pc<$35.MatchField>(6, _omitFieldNames ? '' : 'MatchFields', $pb.PbFieldType.PM, protoName: 'MatchFields', subBuilder: $35.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')
AppointmentByMatchQuery clone() => AppointmentByMatchQuery()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<AppointmentByMatchQuery> createRepeated() => $pb.PbList<AppointmentByMatchQuery>();
@$core.pragma('dart2js:noInline')
static AppointmentByMatchQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentByMatchQuery>(create);
static AppointmentByMatchQuery? _defaultInstance;
@$pb.TagNumber(1)
$35.QueryProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($35.QueryProjectHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$35.QueryProjectHeader 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<$35.BlockFilter> get blockFilters => $_getList(1);
/// MatchField list structure, for FindMatching query
@$pb.TagNumber(6)
$pb.PbList<$35.MatchField> get matchFields => $_getList(2);
}
class AppointmentByMatchResult extends $pb.GeneratedMessage {
factory AppointmentByMatchResult({
$core.Iterable<$35.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<$35.MatchFieldResult>(2, _omitFieldNames ? '' : 'MatchResults', $pb.PbFieldType.PM, protoName: 'MatchResults', subBuilder: $35.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')
AppointmentByMatchResult clone() => AppointmentByMatchResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
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<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<$35.MatchFieldResult> get matchResults => $_getList(0);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');