Skip to content

Commit 2f72203

Browse files
committed
rm duplicate message structure
1 parent ebd45e4 commit 2f72203

File tree

4 files changed

+0
-536
lines changed

4 files changed

+0
-536
lines changed

client/lib/generated/api/session.pb.dart

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -400,129 +400,6 @@ class CheckInOutResponse extends $pb.GeneratedMessage {
400400
void clearCheckedIn() => $_clearField(1);
401401
}
402402

403-
class CheckInOutRequest extends $pb.GeneratedMessage {
404-
factory CheckInOutRequest({
405-
$core.String? teamMemberId,
406-
$1.Location? location,
407-
}) {
408-
final result = create();
409-
if (teamMemberId != null) result.teamMemberId = teamMemberId;
410-
if (location != null) result.location = location;
411-
return result;
412-
}
413-
414-
CheckInOutRequest._();
415-
416-
factory CheckInOutRequest.fromBuffer($core.List<$core.int> data,
417-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
418-
create()..mergeFromBuffer(data, registry);
419-
factory CheckInOutRequest.fromJson($core.String json,
420-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
421-
create()..mergeFromJson(json, registry);
422-
423-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
424-
_omitMessageNames ? '' : 'CheckInOutRequest',
425-
package: const $pb.PackageName(_omitMessageNames ? '' : 'tk.api'),
426-
createEmptyInstance: create)
427-
..aOS(1, _omitFieldNames ? '' : 'teamMemberId')
428-
..aOM<$1.Location>(2, _omitFieldNames ? '' : 'location',
429-
subBuilder: $1.Location.create)
430-
..hasRequiredFields = false;
431-
432-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
433-
CheckInOutRequest clone() => deepCopy();
434-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
435-
CheckInOutRequest copyWith(void Function(CheckInOutRequest) updates) =>
436-
super.copyWith((message) => updates(message as CheckInOutRequest))
437-
as CheckInOutRequest;
438-
439-
@$core.override
440-
$pb.BuilderInfo get info_ => _i;
441-
442-
@$core.pragma('dart2js:noInline')
443-
static CheckInOutRequest create() => CheckInOutRequest._();
444-
@$core.override
445-
CheckInOutRequest createEmptyInstance() => create();
446-
@$core.pragma('dart2js:noInline')
447-
static CheckInOutRequest getDefault() => _defaultInstance ??=
448-
$pb.GeneratedMessage.$_defaultFor<CheckInOutRequest>(create);
449-
static CheckInOutRequest? _defaultInstance;
450-
451-
@$pb.TagNumber(1)
452-
$core.String get teamMemberId => $_getSZ(0);
453-
@$pb.TagNumber(1)
454-
set teamMemberId($core.String value) => $_setString(0, value);
455-
@$pb.TagNumber(1)
456-
$core.bool hasTeamMemberId() => $_has(0);
457-
@$pb.TagNumber(1)
458-
void clearTeamMemberId() => $_clearField(1);
459-
460-
@$pb.TagNumber(2)
461-
$1.Location get location => $_getN(1);
462-
@$pb.TagNumber(2)
463-
set location($1.Location value) => $_setField(2, value);
464-
@$pb.TagNumber(2)
465-
$core.bool hasLocation() => $_has(1);
466-
@$pb.TagNumber(2)
467-
void clearLocation() => $_clearField(2);
468-
@$pb.TagNumber(2)
469-
$1.Location ensureLocation() => $_ensure(1);
470-
}
471-
472-
class CheckInOutResponse extends $pb.GeneratedMessage {
473-
factory CheckInOutResponse({
474-
$core.bool? checkedIn,
475-
}) {
476-
final result = create();
477-
if (checkedIn != null) result.checkedIn = checkedIn;
478-
return result;
479-
}
480-
481-
CheckInOutResponse._();
482-
483-
factory CheckInOutResponse.fromBuffer($core.List<$core.int> data,
484-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
485-
create()..mergeFromBuffer(data, registry);
486-
factory CheckInOutResponse.fromJson($core.String json,
487-
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
488-
create()..mergeFromJson(json, registry);
489-
490-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
491-
_omitMessageNames ? '' : 'CheckInOutResponse',
492-
package: const $pb.PackageName(_omitMessageNames ? '' : 'tk.api'),
493-
createEmptyInstance: create)
494-
..aOB(1, _omitFieldNames ? '' : 'checkedIn')
495-
..hasRequiredFields = false;
496-
497-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
498-
CheckInOutResponse clone() => deepCopy();
499-
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
500-
CheckInOutResponse copyWith(void Function(CheckInOutResponse) updates) =>
501-
super.copyWith((message) => updates(message as CheckInOutResponse))
502-
as CheckInOutResponse;
503-
504-
@$core.override
505-
$pb.BuilderInfo get info_ => _i;
506-
507-
@$core.pragma('dart2js:noInline')
508-
static CheckInOutResponse create() => CheckInOutResponse._();
509-
@$core.override
510-
CheckInOutResponse createEmptyInstance() => create();
511-
@$core.pragma('dart2js:noInline')
512-
static CheckInOutResponse getDefault() => _defaultInstance ??=
513-
$pb.GeneratedMessage.$_defaultFor<CheckInOutResponse>(create);
514-
static CheckInOutResponse? _defaultInstance;
515-
516-
@$pb.TagNumber(1)
517-
$core.bool get checkedIn => $_getBF(0);
518-
@$pb.TagNumber(1)
519-
set checkedIn($core.bool value) => $_setBool(0, value);
520-
@$pb.TagNumber(1)
521-
$core.bool hasCheckedIn() => $_has(0);
522-
@$pb.TagNumber(1)
523-
void clearCheckedIn() => $_clearField(1);
524-
}
525-
526403
const $core.bool _omitFieldNames =
527404
$core.bool.fromEnvironment('protobuf.omit_field_names');
528405
const $core.bool _omitMessageNames =

0 commit comments

Comments
 (0)