You've already forked dart-core-sdk
Latest generation
This commit is contained in:
238
lib/site.pb.dart
238
lib/site.pb.dart
@@ -1990,11 +1990,13 @@ class SiteActor extends $pb.GeneratedMessage {
|
||||
$core.String? projectID,
|
||||
$core.String? actorID,
|
||||
$core.String? siteID,
|
||||
$2.AppointmentType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (siteID != null) result.siteID = siteID;
|
||||
if (type != null) result.type = type;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -2007,6 +2009,7 @@ class SiteActor extends $pb.GeneratedMessage {
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..aOS(3, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
|
||||
..e<$2.AppointmentType>(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -2053,6 +2056,15 @@ class SiteActor extends $pb.GeneratedMessage {
|
||||
$core.bool hasSiteID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearSiteID() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$2.AppointmentType get type => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set type($2.AppointmentType value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasType() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearType() => $_clearField(4);
|
||||
}
|
||||
|
||||
class GetBookingContextRequest extends $pb.GeneratedMessage {
|
||||
@@ -4165,6 +4177,232 @@ class GetBookingSegmentationsResponse extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$2.Segmentation> get segmentationChoices => $_getList(0);
|
||||
}
|
||||
|
||||
class GetMyBookingContextRequest extends $pb.GeneratedMessage {
|
||||
factory GetMyBookingContextRequest() => create();
|
||||
|
||||
GetMyBookingContextRequest._();
|
||||
|
||||
factory GetMyBookingContextRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetMyBookingContextRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMyBookingContextRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetMyBookingContextRequest clone() => GetMyBookingContextRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetMyBookingContextRequest copyWith(void Function(GetMyBookingContextRequest) updates) => super.copyWith((message) => updates(message as GetMyBookingContextRequest)) as GetMyBookingContextRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetMyBookingContextRequest create() => GetMyBookingContextRequest._();
|
||||
@$core.override
|
||||
GetMyBookingContextRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<GetMyBookingContextRequest> createRepeated() => $pb.PbList<GetMyBookingContextRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetMyBookingContextRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetMyBookingContextRequest>(create);
|
||||
static GetMyBookingContextRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class GetMyBookingContextResponse extends $pb.GeneratedMessage {
|
||||
factory GetMyBookingContextResponse({
|
||||
$core.Iterable<SiteBookingContext>? siteBookingContexts,
|
||||
}) {
|
||||
final result = create();
|
||||
if (siteBookingContexts != null) result.siteBookingContexts.addAll(siteBookingContexts);
|
||||
return result;
|
||||
}
|
||||
|
||||
GetMyBookingContextResponse._();
|
||||
|
||||
factory GetMyBookingContextResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetMyBookingContextResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMyBookingContextResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SiteBookingContext>(1, _omitFieldNames ? '' : 'SiteBookingContexts', $pb.PbFieldType.PM, protoName: 'SiteBookingContexts', subBuilder: SiteBookingContext.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetMyBookingContextResponse clone() => GetMyBookingContextResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetMyBookingContextResponse copyWith(void Function(GetMyBookingContextResponse) updates) => super.copyWith((message) => updates(message as GetMyBookingContextResponse)) as GetMyBookingContextResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetMyBookingContextResponse create() => GetMyBookingContextResponse._();
|
||||
@$core.override
|
||||
GetMyBookingContextResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetMyBookingContextResponse> createRepeated() => $pb.PbList<GetMyBookingContextResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetMyBookingContextResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetMyBookingContextResponse>(create);
|
||||
static GetMyBookingContextResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<SiteBookingContext> get siteBookingContexts => $_getList(0);
|
||||
}
|
||||
|
||||
class SiteBookingContext extends $pb.GeneratedMessage {
|
||||
factory SiteBookingContext({
|
||||
$core.String? siteID,
|
||||
$core.Iterable<SiteProjectBookingContext>? byProjects,
|
||||
}) {
|
||||
final result = create();
|
||||
if (siteID != null) result.siteID = siteID;
|
||||
if (byProjects != null) result.byProjects.addAll(byProjects);
|
||||
return result;
|
||||
}
|
||||
|
||||
SiteBookingContext._();
|
||||
|
||||
factory SiteBookingContext.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory SiteBookingContext.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SiteBookingContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
|
||||
..pc<SiteProjectBookingContext>(2, _omitFieldNames ? '' : 'ByProjects', $pb.PbFieldType.PM, protoName: 'ByProjects', subBuilder: SiteProjectBookingContext.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteBookingContext clone() => SiteBookingContext()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteBookingContext copyWith(void Function(SiteBookingContext) updates) => super.copyWith((message) => updates(message as SiteBookingContext)) as SiteBookingContext;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteBookingContext create() => SiteBookingContext._();
|
||||
@$core.override
|
||||
SiteBookingContext createEmptyInstance() => create();
|
||||
static $pb.PbList<SiteBookingContext> createRepeated() => $pb.PbList<SiteBookingContext>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteBookingContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SiteBookingContext>(create);
|
||||
static SiteBookingContext? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get siteID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set siteID($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasSiteID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearSiteID() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<SiteProjectBookingContext> get byProjects => $_getList(1);
|
||||
}
|
||||
|
||||
class SiteProjectBookingContext extends $pb.GeneratedMessage {
|
||||
factory SiteProjectBookingContext({
|
||||
$core.String? projectID,
|
||||
$core.Iterable<SiteProjectAptTypeBookingContext>? byAppointmentTypes,
|
||||
}) {
|
||||
final result = create();
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (byAppointmentTypes != null) result.byAppointmentTypes.addAll(byAppointmentTypes);
|
||||
return result;
|
||||
}
|
||||
|
||||
SiteProjectBookingContext._();
|
||||
|
||||
factory SiteProjectBookingContext.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory SiteProjectBookingContext.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SiteProjectBookingContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..pc<SiteProjectAptTypeBookingContext>(2, _omitFieldNames ? '' : 'ByAppointmentTypes', $pb.PbFieldType.PM, protoName: 'ByAppointmentTypes', subBuilder: SiteProjectAptTypeBookingContext.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteProjectBookingContext clone() => SiteProjectBookingContext()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteProjectBookingContext copyWith(void Function(SiteProjectBookingContext) updates) => super.copyWith((message) => updates(message as SiteProjectBookingContext)) as SiteProjectBookingContext;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteProjectBookingContext create() => SiteProjectBookingContext._();
|
||||
@$core.override
|
||||
SiteProjectBookingContext createEmptyInstance() => create();
|
||||
static $pb.PbList<SiteProjectBookingContext> createRepeated() => $pb.PbList<SiteProjectBookingContext>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteProjectBookingContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SiteProjectBookingContext>(create);
|
||||
static SiteProjectBookingContext? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set projectID($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProjectID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<SiteProjectAptTypeBookingContext> get byAppointmentTypes => $_getList(1);
|
||||
}
|
||||
|
||||
class SiteProjectAptTypeBookingContext extends $pb.GeneratedMessage {
|
||||
factory SiteProjectAptTypeBookingContext({
|
||||
$2.AppointmentType? appointmentType,
|
||||
$core.Iterable<$core.String>? actorIDs,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (actorIDs != null) result.actorIDs.addAll(actorIDs);
|
||||
return result;
|
||||
}
|
||||
|
||||
SiteProjectAptTypeBookingContext._();
|
||||
|
||||
factory SiteProjectAptTypeBookingContext.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory SiteProjectAptTypeBookingContext.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SiteProjectAptTypeBookingContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$2.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
||||
..pPS(2, _omitFieldNames ? '' : 'ActorIDs', protoName: 'ActorIDs')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteProjectAptTypeBookingContext clone() => SiteProjectAptTypeBookingContext()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SiteProjectAptTypeBookingContext copyWith(void Function(SiteProjectAptTypeBookingContext) updates) => super.copyWith((message) => updates(message as SiteProjectAptTypeBookingContext)) as SiteProjectAptTypeBookingContext;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteProjectAptTypeBookingContext create() => SiteProjectAptTypeBookingContext._();
|
||||
@$core.override
|
||||
SiteProjectAptTypeBookingContext createEmptyInstance() => create();
|
||||
static $pb.PbList<SiteProjectAptTypeBookingContext> createRepeated() => $pb.PbList<SiteProjectAptTypeBookingContext>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SiteProjectAptTypeBookingContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SiteProjectAptTypeBookingContext>(create);
|
||||
static SiteProjectAptTypeBookingContext? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.AppointmentType get appointmentType => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set appointmentType($2.AppointmentType value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAppointmentType() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAppointmentType() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$core.String> get actorIDs => $_getList(1);
|
||||
}
|
||||
|
||||
class InitBookerProfileRequest extends $pb.GeneratedMessage {
|
||||
factory InitBookerProfileRequest({
|
||||
$core.String? projectID,
|
||||
|
||||
Reference in New Issue
Block a user