Files
dart-core-sdk/lib/site.pb.dart
2025-07-15 07:41:43 +00:00

2483 lines
113 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from site.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:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;
import 'repositoryShared.pb.dart' as $1;
import 'shared.pb.dart' as $3;
import 'site.pbenum.dart';
import 'slotbooking.pb.dart' as $2;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'site.pbenum.dart';
/// Message defining the structure of a Site.
class Site extends $pb.GeneratedMessage {
factory Site({
$core.String? iD,
$core.String? name,
$core.String? organisationID,
$core.bool? active,
$core.String? photoURI,
$1.Address? address,
$core.Iterable<$core.String>? phones,
$core.String? fax,
$core.Iterable<$2.Segmentation>? segmentations,
$core.Iterable<$2.ProjectAuthorisation>? authorisations,
$core.Iterable<$2.Unit>? units,
$core.Iterable<$2.OpeningRule>? openingRules,
$core.Iterable<$2.DurationRule>? durationRules,
$core.Iterable<$2.CapacityRule>? capacityRules,
$2.Instruction? instruction,
$core.Iterable<$2.Document>? instructionDocuments,
$core.Iterable<$2.CarrierInformation>? carrierInformation,
$core.int? roundedPeriodInMinutes,
$core.String? timeZone,
$core.Iterable<$core.String>? emails,
$core.String? defaultSiteLanguageISO6391,
SiteStatusEnum? status,
}) {
final result = create();
if (iD != null) result.iD = iD;
if (name != null) result.name = name;
if (organisationID != null) result.organisationID = organisationID;
if (active != null) result.active = active;
if (photoURI != null) result.photoURI = photoURI;
if (address != null) result.address = address;
if (phones != null) result.phones.addAll(phones);
if (fax != null) result.fax = fax;
if (segmentations != null) result.segmentations.addAll(segmentations);
if (authorisations != null) result.authorisations.addAll(authorisations);
if (units != null) result.units.addAll(units);
if (openingRules != null) result.openingRules.addAll(openingRules);
if (durationRules != null) result.durationRules.addAll(durationRules);
if (capacityRules != null) result.capacityRules.addAll(capacityRules);
if (instruction != null) result.instruction = instruction;
if (instructionDocuments != null) result.instructionDocuments.addAll(instructionDocuments);
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
if (roundedPeriodInMinutes != null) result.roundedPeriodInMinutes = roundedPeriodInMinutes;
if (timeZone != null) result.timeZone = timeZone;
if (emails != null) result.emails.addAll(emails);
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
if (status != null) result.status = status;
return result;
}
Site._();
factory Site.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Site.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Site', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOS(3, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
..aOB(4, _omitFieldNames ? '' : 'Active', protoName: 'Active')
..aOS(5, _omitFieldNames ? '' : 'PhotoURI', protoName: 'PhotoURI')
..aOM<$1.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create)
..pPS(7, _omitFieldNames ? '' : 'Phones', protoName: 'Phones')
..aOS(8, _omitFieldNames ? '' : 'Fax', protoName: 'Fax')
..pc<$2.Segmentation>(9, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $2.Segmentation.create)
..pc<$2.ProjectAuthorisation>(10, _omitFieldNames ? '' : 'Authorisations', $pb.PbFieldType.PM, protoName: 'Authorisations', subBuilder: $2.ProjectAuthorisation.create)
..pc<$2.Unit>(11, _omitFieldNames ? '' : 'Units', $pb.PbFieldType.PM, protoName: 'Units', subBuilder: $2.Unit.create)
..pc<$2.OpeningRule>(12, _omitFieldNames ? '' : 'OpeningRules', $pb.PbFieldType.PM, protoName: 'OpeningRules', subBuilder: $2.OpeningRule.create)
..pc<$2.DurationRule>(13, _omitFieldNames ? '' : 'DurationRules', $pb.PbFieldType.PM, protoName: 'DurationRules', subBuilder: $2.DurationRule.create)
..pc<$2.CapacityRule>(14, _omitFieldNames ? '' : 'CapacityRules', $pb.PbFieldType.PM, protoName: 'CapacityRules', subBuilder: $2.CapacityRule.create)
..aOM<$2.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $2.Instruction.create)
..pc<$2.Document>(16, _omitFieldNames ? '' : 'InstructionDocuments', $pb.PbFieldType.PM, protoName: 'InstructionDocuments', subBuilder: $2.Document.create)
..pc<$2.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformation.create)
..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes')
..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
..e<SiteStatusEnum>(22, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: SiteStatusEnum.SITE_STATUS_UNKNOWN, valueOf: SiteStatusEnum.valueOf, enumValues: SiteStatusEnum.values)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Site clone() => Site()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Site copyWith(void Function(Site) updates) => super.copyWith((message) => updates(message as Site)) as Site;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Site create() => Site._();
@$core.override
Site createEmptyInstance() => create();
static $pb.PbList<Site> createRepeated() => $pb.PbList<Site>();
@$core.pragma('dart2js:noInline')
static Site getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Site>(create);
static Site? _defaultInstance;
@$pb.TagNumber(1)
$core.String get iD => $_getSZ(0);
@$pb.TagNumber(1)
set iD($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasID() => $_has(0);
@$pb.TagNumber(1)
void clearID() => $_clearField(1);
/// Name of the Site
@$pb.TagNumber(2)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set name($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearName() => $_clearField(2);
/// Identifier for the organisation associated with the site.
@$pb.TagNumber(3)
$core.String get organisationID => $_getSZ(2);
@$pb.TagNumber(3)
set organisationID($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasOrganisationID() => $_has(2);
@$pb.TagNumber(3)
void clearOrganisationID() => $_clearField(3);
@$pb.TagNumber(4)
$core.bool get active => $_getBF(3);
@$pb.TagNumber(4)
set active($core.bool value) => $_setBool(3, value);
@$pb.TagNumber(4)
$core.bool hasActive() => $_has(3);
@$pb.TagNumber(4)
void clearActive() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get photoURI => $_getSZ(4);
@$pb.TagNumber(5)
set photoURI($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasPhotoURI() => $_has(4);
@$pb.TagNumber(5)
void clearPhotoURI() => $_clearField(5);
@$pb.TagNumber(6)
$1.Address get address => $_getN(5);
@$pb.TagNumber(6)
set address($1.Address value) => $_setField(6, value);
@$pb.TagNumber(6)
$core.bool hasAddress() => $_has(5);
@$pb.TagNumber(6)
void clearAddress() => $_clearField(6);
@$pb.TagNumber(6)
$1.Address ensureAddress() => $_ensure(5);
@$pb.TagNumber(7)
$pb.PbList<$core.String> get phones => $_getList(6);
@$pb.TagNumber(8)
$core.String get fax => $_getSZ(7);
@$pb.TagNumber(8)
set fax($core.String value) => $_setString(7, value);
@$pb.TagNumber(8)
$core.bool hasFax() => $_has(7);
@$pb.TagNumber(8)
void clearFax() => $_clearField(8);
/// List of Segmentations that segment the logistic site.
@$pb.TagNumber(9)
$pb.PbList<$2.Segmentation> get segmentations => $_getList(8);
/// List of allowed project and the constraints (interval time in which they can book an appointment) they are associated with.
@$pb.TagNumber(10)
$pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(9);
/// List of containment units which will be used to estimate the needed time to load or unload.
@$pb.TagNumber(11)
$pb.PbList<$2.Unit> get units => $_getList(10);
/// Definition of the opening rules. 2 opening rule definitions cannot overlap.
@$pb.TagNumber(12)
$pb.PbList<$2.OpeningRule> get openingRules => $_getList(11);
/// Definition of the booking slot duration rules.
@$pb.TagNumber(13)
$pb.PbList<$2.DurationRule> get durationRules => $_getList(12);
/// Definition of the capacity rules. 2 capacity rule can overlap and the more constraining one will be applied.
@$pb.TagNumber(14)
$pb.PbList<$2.CapacityRule> get capacityRules => $_getList(13);
@$pb.TagNumber(15)
$2.Instruction get instruction => $_getN(14);
@$pb.TagNumber(15)
set instruction($2.Instruction value) => $_setField(15, value);
@$pb.TagNumber(15)
$core.bool hasInstruction() => $_has(14);
@$pb.TagNumber(15)
void clearInstruction() => $_clearField(15);
@$pb.TagNumber(15)
$2.Instruction ensureInstruction() => $_ensure(14);
/// Set of instruction document, listing necessary equipment and such
@$pb.TagNumber(16)
$pb.PbList<$2.Document> get instructionDocuments => $_getList(15);
/// Set of required or optional information to ask when a slot is booked
@$pb.TagNumber(17)
$pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(16);
/// Defines the rounded value to define booking period
@$pb.TagNumber(18)
$core.int get roundedPeriodInMinutes => $_getIZ(17);
@$pb.TagNumber(18)
set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(17, value);
@$pb.TagNumber(18)
$core.bool hasRoundedPeriodInMinutes() => $_has(17);
@$pb.TagNumber(18)
void clearRoundedPeriodInMinutes() => $_clearField(18);
/// Site Time zone
@$pb.TagNumber(19)
$core.String get timeZone => $_getSZ(18);
@$pb.TagNumber(19)
set timeZone($core.String value) => $_setString(18, value);
@$pb.TagNumber(19)
$core.bool hasTimeZone() => $_has(18);
@$pb.TagNumber(19)
void clearTimeZone() => $_clearField(19);
/// Must be a valid email address
@$pb.TagNumber(20)
$pb.PbList<$core.String> get emails => $_getList(19);
/// Set the fallback language in case of missing translation
@$pb.TagNumber(21)
$core.String get defaultSiteLanguageISO6391 => $_getSZ(20);
@$pb.TagNumber(21)
set defaultSiteLanguageISO6391($core.String value) => $_setString(20, value);
@$pb.TagNumber(21)
$core.bool hasDefaultSiteLanguageISO6391() => $_has(20);
@$pb.TagNumber(21)
void clearDefaultSiteLanguageISO6391() => $_clearField(21);
@$pb.TagNumber(22)
SiteStatusEnum get status => $_getN(21);
@$pb.TagNumber(22)
set status(SiteStatusEnum value) => $_setField(22, value);
@$pb.TagNumber(22)
$core.bool hasStatus() => $_has(21);
@$pb.TagNumber(22)
void clearStatus() => $_clearField(22);
}
/// Create
class CreateSiteRequest extends $pb.GeneratedMessage {
factory CreateSiteRequest({
$3.RequestOrganisationHeader? header,
$core.String? siteID,
$core.String? siteName,
$core.String? email,
}) {
final result = create();
if (header != null) result.header = header;
if (siteID != null) result.siteID = siteID;
if (siteName != null) result.siteName = siteName;
if (email != null) result.email = email;
return result;
}
CreateSiteRequest._();
factory CreateSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreateSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
..aOS(2, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..aOS(3, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName')
..aOS(4, _omitFieldNames ? '' : 'Email', protoName: 'Email')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreateSiteRequest clone() => CreateSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreateSiteRequest copyWith(void Function(CreateSiteRequest) updates) => super.copyWith((message) => updates(message as CreateSiteRequest)) as CreateSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreateSiteRequest create() => CreateSiteRequest._();
@$core.override
CreateSiteRequest createEmptyInstance() => create();
static $pb.PbList<CreateSiteRequest> createRepeated() => $pb.PbList<CreateSiteRequest>();
@$core.pragma('dart2js:noInline')
static CreateSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateSiteRequest>(create);
static CreateSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestOrganisationHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestOrganisationHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
/// Identifier of the new Site
@$pb.TagNumber(2)
$core.String get siteID => $_getSZ(1);
@$pb.TagNumber(2)
set siteID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasSiteID() => $_has(1);
@$pb.TagNumber(2)
void clearSiteID() => $_clearField(2);
/// Name of the new Site, modifiable after creation
@$pb.TagNumber(3)
$core.String get siteName => $_getSZ(2);
@$pb.TagNumber(3)
set siteName($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasSiteName() => $_has(2);
@$pb.TagNumber(3)
void clearSiteName() => $_clearField(3);
/// Must be a valid email address from a user know to the platform
@$pb.TagNumber(4)
$core.String get email => $_getSZ(3);
@$pb.TagNumber(4)
set email($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasEmail() => $_has(3);
@$pb.TagNumber(4)
void clearEmail() => $_clearField(4);
}
class CreateSiteResponse extends $pb.GeneratedMessage {
factory CreateSiteResponse({
Site? site,
}) {
final result = create();
if (site != null) result.site = site;
return result;
}
CreateSiteResponse._();
factory CreateSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreateSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreateSiteResponse clone() => CreateSiteResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreateSiteResponse copyWith(void Function(CreateSiteResponse) updates) => super.copyWith((message) => updates(message as CreateSiteResponse)) as CreateSiteResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreateSiteResponse create() => CreateSiteResponse._();
@$core.override
CreateSiteResponse createEmptyInstance() => create();
static $pb.PbList<CreateSiteResponse> createRepeated() => $pb.PbList<CreateSiteResponse>();
@$core.pragma('dart2js:noInline')
static CreateSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateSiteResponse>(create);
static CreateSiteResponse? _defaultInstance;
@$pb.TagNumber(1)
Site get site => $_getN(0);
@$pb.TagNumber(1)
set site(Site value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasSite() => $_has(0);
@$pb.TagNumber(1)
void clearSite() => $_clearField(1);
@$pb.TagNumber(1)
Site ensureSite() => $_ensure(0);
}
/// Get
class GetSiteRequest extends $pb.GeneratedMessage {
factory GetSiteRequest({
$3.RequestSiteHeader? header,
}) {
final result = create();
if (header != null) result.header = header;
return result;
}
GetSiteRequest._();
factory GetSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetSiteRequest clone() => GetSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetSiteRequest copyWith(void Function(GetSiteRequest) updates) => super.copyWith((message) => updates(message as GetSiteRequest)) as GetSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetSiteRequest create() => GetSiteRequest._();
@$core.override
GetSiteRequest createEmptyInstance() => create();
static $pb.PbList<GetSiteRequest> createRepeated() => $pb.PbList<GetSiteRequest>();
@$core.pragma('dart2js:noInline')
static GetSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetSiteRequest>(create);
static GetSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
}
class GetSiteResponse extends $pb.GeneratedMessage {
factory GetSiteResponse({
Site? site,
}) {
final result = create();
if (site != null) result.site = site;
return result;
}
GetSiteResponse._();
factory GetSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetSiteResponse clone() => GetSiteResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetSiteResponse copyWith(void Function(GetSiteResponse) updates) => super.copyWith((message) => updates(message as GetSiteResponse)) as GetSiteResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetSiteResponse create() => GetSiteResponse._();
@$core.override
GetSiteResponse createEmptyInstance() => create();
static $pb.PbList<GetSiteResponse> createRepeated() => $pb.PbList<GetSiteResponse>();
@$core.pragma('dart2js:noInline')
static GetSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetSiteResponse>(create);
static GetSiteResponse? _defaultInstance;
@$pb.TagNumber(1)
Site get site => $_getN(0);
@$pb.TagNumber(1)
set site(Site value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasSite() => $_has(0);
@$pb.TagNumber(1)
void clearSite() => $_clearField(1);
@$pb.TagNumber(1)
Site ensureSite() => $_ensure(0);
}
/// List
class ListSiteRequest extends $pb.GeneratedMessage {
factory ListSiteRequest({
$3.RequestOrganisationHeader? header,
FilterSite? filter,
}) {
final result = create();
if (header != null) result.header = header;
if (filter != null) result.filter = filter;
return result;
}
ListSiteRequest._();
factory ListSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
..aOM<FilterSite>(2, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: FilterSite.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListSiteRequest clone() => ListSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListSiteRequest copyWith(void Function(ListSiteRequest) updates) => super.copyWith((message) => updates(message as ListSiteRequest)) as ListSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListSiteRequest create() => ListSiteRequest._();
@$core.override
ListSiteRequest createEmptyInstance() => create();
static $pb.PbList<ListSiteRequest> createRepeated() => $pb.PbList<ListSiteRequest>();
@$core.pragma('dart2js:noInline')
static ListSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListSiteRequest>(create);
static ListSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestOrganisationHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestOrganisationHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
FilterSite get filter => $_getN(1);
@$pb.TagNumber(2)
set filter(FilterSite value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasFilter() => $_has(1);
@$pb.TagNumber(2)
void clearFilter() => $_clearField(2);
@$pb.TagNumber(2)
FilterSite ensureFilter() => $_ensure(1);
}
class FilterSite extends $pb.GeneratedMessage {
factory FilterSite({
$core.String? label,
$core.String? phone,
$core.String? address,
$core.String? mail,
$core.String? city,
$core.int? limit,
}) {
final result = create();
if (label != null) result.label = label;
if (phone != null) result.phone = phone;
if (address != null) result.address = address;
if (mail != null) result.mail = mail;
if (city != null) result.city = city;
if (limit != null) result.limit = limit;
return result;
}
FilterSite._();
factory FilterSite.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FilterSite.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FilterSite', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Label', protoName: 'Label')
..aOS(2, _omitFieldNames ? '' : 'Phone', protoName: 'Phone')
..aOS(3, _omitFieldNames ? '' : 'Address', protoName: 'Address')
..aOS(4, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
..aOS(5, _omitFieldNames ? '' : 'City', protoName: 'City')
..a<$core.int>(6, _omitFieldNames ? '' : 'Limit', $pb.PbFieldType.O3, protoName: 'Limit')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FilterSite clone() => FilterSite()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FilterSite copyWith(void Function(FilterSite) updates) => super.copyWith((message) => updates(message as FilterSite)) as FilterSite;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FilterSite create() => FilterSite._();
@$core.override
FilterSite createEmptyInstance() => create();
static $pb.PbList<FilterSite> createRepeated() => $pb.PbList<FilterSite>();
@$core.pragma('dart2js:noInline')
static FilterSite getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FilterSite>(create);
static FilterSite? _defaultInstance;
@$pb.TagNumber(1)
$core.String get label => $_getSZ(0);
@$pb.TagNumber(1)
set label($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasLabel() => $_has(0);
@$pb.TagNumber(1)
void clearLabel() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get phone => $_getSZ(1);
@$pb.TagNumber(2)
set phone($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasPhone() => $_has(1);
@$pb.TagNumber(2)
void clearPhone() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get address => $_getSZ(2);
@$pb.TagNumber(3)
set address($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasAddress() => $_has(2);
@$pb.TagNumber(3)
void clearAddress() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get mail => $_getSZ(3);
@$pb.TagNumber(4)
set mail($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasMail() => $_has(3);
@$pb.TagNumber(4)
void clearMail() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get city => $_getSZ(4);
@$pb.TagNumber(5)
set city($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasCity() => $_has(4);
@$pb.TagNumber(5)
void clearCity() => $_clearField(5);
@$pb.TagNumber(6)
$core.int get limit => $_getIZ(5);
@$pb.TagNumber(6)
set limit($core.int value) => $_setSignedInt32(5, value);
@$pb.TagNumber(6)
$core.bool hasLimit() => $_has(5);
@$pb.TagNumber(6)
void clearLimit() => $_clearField(6);
}
class ListSiteResponse extends $pb.GeneratedMessage {
factory ListSiteResponse({
$core.Iterable<Site>? sites,
}) {
final result = create();
if (sites != null) result.sites.addAll(sites);
return result;
}
ListSiteResponse._();
factory ListSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<Site>(1, _omitFieldNames ? '' : 'Sites', $pb.PbFieldType.PM, protoName: 'Sites', subBuilder: Site.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListSiteResponse clone() => ListSiteResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListSiteResponse copyWith(void Function(ListSiteResponse) updates) => super.copyWith((message) => updates(message as ListSiteResponse)) as ListSiteResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListSiteResponse create() => ListSiteResponse._();
@$core.override
ListSiteResponse createEmptyInstance() => create();
static $pb.PbList<ListSiteResponse> createRepeated() => $pb.PbList<ListSiteResponse>();
@$core.pragma('dart2js:noInline')
static ListSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListSiteResponse>(create);
static ListSiteResponse? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Site> get sites => $_getList(0);
}
/// Update
class UpdateSiteRequest extends $pb.GeneratedMessage {
factory UpdateSiteRequest({
$3.RequestSiteHeader? header,
$core.String? name,
$core.bool? active,
$1.Address? address,
$core.Iterable<$core.String>? phones,
$core.String? fax,
$core.Iterable<$2.Segmentation>? segmentations,
$core.Iterable<$2.ProjectAuthorisation>? authorisations,
$core.Iterable<$2.Unit>? units,
$core.Iterable<$2.OpeningRule>? openingRules,
$core.Iterable<$2.DurationRule>? durationRules,
$core.Iterable<$2.CapacityRule>? capacityRules,
$2.Instruction? instruction,
$core.Iterable<$2.CarrierInformation>? carrierInformation,
$core.int? roundedPeriodInMinutes,
$core.String? timeZone,
$core.Iterable<$core.String>? emails,
$core.String? defaultSiteLanguageISO6391,
}) {
final result = create();
if (header != null) result.header = header;
if (name != null) result.name = name;
if (active != null) result.active = active;
if (address != null) result.address = address;
if (phones != null) result.phones.addAll(phones);
if (fax != null) result.fax = fax;
if (segmentations != null) result.segmentations.addAll(segmentations);
if (authorisations != null) result.authorisations.addAll(authorisations);
if (units != null) result.units.addAll(units);
if (openingRules != null) result.openingRules.addAll(openingRules);
if (durationRules != null) result.durationRules.addAll(durationRules);
if (capacityRules != null) result.capacityRules.addAll(capacityRules);
if (instruction != null) result.instruction = instruction;
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
if (roundedPeriodInMinutes != null) result.roundedPeriodInMinutes = roundedPeriodInMinutes;
if (timeZone != null) result.timeZone = timeZone;
if (emails != null) result.emails.addAll(emails);
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
return result;
}
UpdateSiteRequest._();
factory UpdateSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdateSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOB(4, _omitFieldNames ? '' : 'Active', protoName: 'Active')
..aOM<$1.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create)
..pPS(7, _omitFieldNames ? '' : 'Phones', protoName: 'Phones')
..aOS(8, _omitFieldNames ? '' : 'Fax', protoName: 'Fax')
..pc<$2.Segmentation>(9, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $2.Segmentation.create)
..pc<$2.ProjectAuthorisation>(10, _omitFieldNames ? '' : 'Authorisations', $pb.PbFieldType.PM, protoName: 'Authorisations', subBuilder: $2.ProjectAuthorisation.create)
..pc<$2.Unit>(11, _omitFieldNames ? '' : 'Units', $pb.PbFieldType.PM, protoName: 'Units', subBuilder: $2.Unit.create)
..pc<$2.OpeningRule>(12, _omitFieldNames ? '' : 'OpeningRules', $pb.PbFieldType.PM, protoName: 'OpeningRules', subBuilder: $2.OpeningRule.create)
..pc<$2.DurationRule>(13, _omitFieldNames ? '' : 'DurationRules', $pb.PbFieldType.PM, protoName: 'DurationRules', subBuilder: $2.DurationRule.create)
..pc<$2.CapacityRule>(14, _omitFieldNames ? '' : 'CapacityRules', $pb.PbFieldType.PM, protoName: 'CapacityRules', subBuilder: $2.CapacityRule.create)
..aOM<$2.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $2.Instruction.create)
..pc<$2.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformation.create)
..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes')
..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteRequest clone() => UpdateSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteRequest copyWith(void Function(UpdateSiteRequest) updates) => super.copyWith((message) => updates(message as UpdateSiteRequest)) as UpdateSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateSiteRequest create() => UpdateSiteRequest._();
@$core.override
UpdateSiteRequest createEmptyInstance() => create();
static $pb.PbList<UpdateSiteRequest> createRepeated() => $pb.PbList<UpdateSiteRequest>();
@$core.pragma('dart2js:noInline')
static UpdateSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSiteRequest>(create);
static UpdateSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
/// Name of the Site
@$pb.TagNumber(3)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(3)
set name($core.String value) => $_setString(1, value);
@$pb.TagNumber(3)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(3)
void clearName() => $_clearField(3);
@$pb.TagNumber(4)
$core.bool get active => $_getBF(2);
@$pb.TagNumber(4)
set active($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(4)
$core.bool hasActive() => $_has(2);
@$pb.TagNumber(4)
void clearActive() => $_clearField(4);
@$pb.TagNumber(6)
$1.Address get address => $_getN(3);
@$pb.TagNumber(6)
set address($1.Address value) => $_setField(6, value);
@$pb.TagNumber(6)
$core.bool hasAddress() => $_has(3);
@$pb.TagNumber(6)
void clearAddress() => $_clearField(6);
@$pb.TagNumber(6)
$1.Address ensureAddress() => $_ensure(3);
@$pb.TagNumber(7)
$pb.PbList<$core.String> get phones => $_getList(4);
@$pb.TagNumber(8)
$core.String get fax => $_getSZ(5);
@$pb.TagNumber(8)
set fax($core.String value) => $_setString(5, value);
@$pb.TagNumber(8)
$core.bool hasFax() => $_has(5);
@$pb.TagNumber(8)
void clearFax() => $_clearField(8);
/// List of Segmentations that segment the logistic site.
@$pb.TagNumber(9)
$pb.PbList<$2.Segmentation> get segmentations => $_getList(6);
/// List of allowed project and the constraints (interval time in which they can book an appointment) they are associated with.
@$pb.TagNumber(10)
$pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(7);
@$pb.TagNumber(11)
$pb.PbList<$2.Unit> get units => $_getList(8);
/// Definition of the opening rules. 2 opening rule definitions cannot overlap.
@$pb.TagNumber(12)
$pb.PbList<$2.OpeningRule> get openingRules => $_getList(9);
/// Definition of the booking slot duration rules.
@$pb.TagNumber(13)
$pb.PbList<$2.DurationRule> get durationRules => $_getList(10);
/// Definition of the capacity rules. 2 capacity rule can overlap and the more constraining one will be applied.
@$pb.TagNumber(14)
$pb.PbList<$2.CapacityRule> get capacityRules => $_getList(11);
@$pb.TagNumber(15)
$2.Instruction get instruction => $_getN(12);
@$pb.TagNumber(15)
set instruction($2.Instruction value) => $_setField(15, value);
@$pb.TagNumber(15)
$core.bool hasInstruction() => $_has(12);
@$pb.TagNumber(15)
void clearInstruction() => $_clearField(15);
@$pb.TagNumber(15)
$2.Instruction ensureInstruction() => $_ensure(12);
/// Set of required or optional information to ask when a slot is booked
@$pb.TagNumber(17)
$pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(13);
/// Defines the rounded value of periods in minutes, must be greater than 0.
@$pb.TagNumber(18)
$core.int get roundedPeriodInMinutes => $_getIZ(14);
@$pb.TagNumber(18)
set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(14, value);
@$pb.TagNumber(18)
$core.bool hasRoundedPeriodInMinutes() => $_has(14);
@$pb.TagNumber(18)
void clearRoundedPeriodInMinutes() => $_clearField(18);
/// Add Site Time zone
@$pb.TagNumber(19)
$core.String get timeZone => $_getSZ(15);
@$pb.TagNumber(19)
set timeZone($core.String value) => $_setString(15, value);
@$pb.TagNumber(19)
$core.bool hasTimeZone() => $_has(15);
@$pb.TagNumber(19)
void clearTimeZone() => $_clearField(19);
/// Must be a valid email address
@$pb.TagNumber(20)
$pb.PbList<$core.String> get emails => $_getList(16);
/// set the fallback language in case of missing translation
@$pb.TagNumber(21)
$core.String get defaultSiteLanguageISO6391 => $_getSZ(17);
@$pb.TagNumber(21)
set defaultSiteLanguageISO6391($core.String value) => $_setString(17, value);
@$pb.TagNumber(21)
$core.bool hasDefaultSiteLanguageISO6391() => $_has(17);
@$pb.TagNumber(21)
void clearDefaultSiteLanguageISO6391() => $_clearField(21);
}
class UpdateSiteResponse extends $pb.GeneratedMessage {
factory UpdateSiteResponse({
Site? site,
}) {
final result = create();
if (site != null) result.site = site;
return result;
}
UpdateSiteResponse._();
factory UpdateSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdateSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteResponse clone() => UpdateSiteResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteResponse copyWith(void Function(UpdateSiteResponse) updates) => super.copyWith((message) => updates(message as UpdateSiteResponse)) as UpdateSiteResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateSiteResponse create() => UpdateSiteResponse._();
@$core.override
UpdateSiteResponse createEmptyInstance() => create();
static $pb.PbList<UpdateSiteResponse> createRepeated() => $pb.PbList<UpdateSiteResponse>();
@$core.pragma('dart2js:noInline')
static UpdateSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSiteResponse>(create);
static UpdateSiteResponse? _defaultInstance;
@$pb.TagNumber(1)
Site get site => $_getN(0);
@$pb.TagNumber(1)
set site(Site value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasSite() => $_has(0);
@$pb.TagNumber(1)
void clearSite() => $_clearField(1);
@$pb.TagNumber(1)
Site ensureSite() => $_ensure(0);
}
/// Delete
class DeleteSiteRequest extends $pb.GeneratedMessage {
factory DeleteSiteRequest({
$3.RequestOrganisationHeader? header,
$core.String? iD,
}) {
final result = create();
if (header != null) result.header = header;
if (iD != null) result.iD = iD;
return result;
}
DeleteSiteRequest._();
factory DeleteSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteRequest clone() => DeleteSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteRequest copyWith(void Function(DeleteSiteRequest) updates) => super.copyWith((message) => updates(message as DeleteSiteRequest)) as DeleteSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteSiteRequest create() => DeleteSiteRequest._();
@$core.override
DeleteSiteRequest createEmptyInstance() => create();
static $pb.PbList<DeleteSiteRequest> createRepeated() => $pb.PbList<DeleteSiteRequest>();
@$core.pragma('dart2js:noInline')
static DeleteSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSiteRequest>(create);
static DeleteSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestOrganisationHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestOrganisationHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get iD => $_getSZ(1);
@$pb.TagNumber(2)
set iD($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasID() => $_has(1);
@$pb.TagNumber(2)
void clearID() => $_clearField(2);
}
class DeleteSiteResponse extends $pb.GeneratedMessage {
factory DeleteSiteResponse({
$3.WorkflowExecutionResult? workflowExecution,
}) {
final result = create();
if (workflowExecution != null) result.workflowExecution = workflowExecution;
return result;
}
DeleteSiteResponse._();
factory DeleteSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.WorkflowExecutionResult>(1, _omitFieldNames ? '' : 'WorkflowExecution', protoName: 'WorkflowExecution', subBuilder: $3.WorkflowExecutionResult.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteResponse clone() => DeleteSiteResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteResponse copyWith(void Function(DeleteSiteResponse) updates) => super.copyWith((message) => updates(message as DeleteSiteResponse)) as DeleteSiteResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteSiteResponse create() => DeleteSiteResponse._();
@$core.override
DeleteSiteResponse createEmptyInstance() => create();
static $pb.PbList<DeleteSiteResponse> createRepeated() => $pb.PbList<DeleteSiteResponse>();
@$core.pragma('dart2js:noInline')
static DeleteSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSiteResponse>(create);
static DeleteSiteResponse? _defaultInstance;
@$pb.TagNumber(1)
$3.WorkflowExecutionResult get workflowExecution => $_getN(0);
@$pb.TagNumber(1)
set workflowExecution($3.WorkflowExecutionResult value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasWorkflowExecution() => $_has(0);
@$pb.TagNumber(1)
void clearWorkflowExecution() => $_clearField(1);
@$pb.TagNumber(1)
$3.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0);
}
/// Upload photo
class UploadPhotoRequest extends $pb.GeneratedMessage {
factory UploadPhotoRequest({
$3.RequestSiteHeader? header,
$3.FileDataRequest? file,
}) {
final result = create();
if (header != null) result.header = header;
if (file != null) result.file = file;
return result;
}
UploadPhotoRequest._();
factory UploadPhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UploadPhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadPhotoRequest clone() => UploadPhotoRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadPhotoRequest copyWith(void Function(UploadPhotoRequest) updates) => super.copyWith((message) => updates(message as UploadPhotoRequest)) as UploadPhotoRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UploadPhotoRequest create() => UploadPhotoRequest._();
@$core.override
UploadPhotoRequest createEmptyInstance() => create();
static $pb.PbList<UploadPhotoRequest> createRepeated() => $pb.PbList<UploadPhotoRequest>();
@$core.pragma('dart2js:noInline')
static UploadPhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoRequest>(create);
static UploadPhotoRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$3.FileDataRequest get file => $_getN(1);
@$pb.TagNumber(2)
set file($3.FileDataRequest value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasFile() => $_has(1);
@$pb.TagNumber(2)
void clearFile() => $_clearField(2);
@$pb.TagNumber(2)
$3.FileDataRequest ensureFile() => $_ensure(1);
}
class UploadPhotoResponse extends $pb.GeneratedMessage {
factory UploadPhotoResponse({
$core.String? uRI,
}) {
final result = create();
if (uRI != null) result.uRI = uRI;
return result;
}
UploadPhotoResponse._();
factory UploadPhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UploadPhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadPhotoResponse clone() => UploadPhotoResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadPhotoResponse copyWith(void Function(UploadPhotoResponse) updates) => super.copyWith((message) => updates(message as UploadPhotoResponse)) as UploadPhotoResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UploadPhotoResponse create() => UploadPhotoResponse._();
@$core.override
UploadPhotoResponse createEmptyInstance() => create();
static $pb.PbList<UploadPhotoResponse> createRepeated() => $pb.PbList<UploadPhotoResponse>();
@$core.pragma('dart2js:noInline')
static UploadPhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoResponse>(create);
static UploadPhotoResponse? _defaultInstance;
@$pb.TagNumber(1)
$core.String get uRI => $_getSZ(0);
@$pb.TagNumber(1)
set uRI($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasURI() => $_has(0);
@$pb.TagNumber(1)
void clearURI() => $_clearField(1);
}
/// Delete photo
class DeletePhotoRequest extends $pb.GeneratedMessage {
factory DeletePhotoRequest({
$3.RequestSiteHeader? header,
}) {
final result = create();
if (header != null) result.header = header;
return result;
}
DeletePhotoRequest._();
factory DeletePhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeletePhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeletePhotoRequest clone() => DeletePhotoRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeletePhotoRequest copyWith(void Function(DeletePhotoRequest) updates) => super.copyWith((message) => updates(message as DeletePhotoRequest)) as DeletePhotoRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeletePhotoRequest create() => DeletePhotoRequest._();
@$core.override
DeletePhotoRequest createEmptyInstance() => create();
static $pb.PbList<DeletePhotoRequest> createRepeated() => $pb.PbList<DeletePhotoRequest>();
@$core.pragma('dart2js:noInline')
static DeletePhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoRequest>(create);
static DeletePhotoRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
}
class DeletePhotoResponse extends $pb.GeneratedMessage {
factory DeletePhotoResponse() => create();
DeletePhotoResponse._();
factory DeletePhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeletePhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeletePhotoResponse clone() => DeletePhotoResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeletePhotoResponse copyWith(void Function(DeletePhotoResponse) updates) => super.copyWith((message) => updates(message as DeletePhotoResponse)) as DeletePhotoResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeletePhotoResponse create() => DeletePhotoResponse._();
@$core.override
DeletePhotoResponse createEmptyInstance() => create();
static $pb.PbList<DeletePhotoResponse> createRepeated() => $pb.PbList<DeletePhotoResponse>();
@$core.pragma('dart2js:noInline')
static DeletePhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoResponse>(create);
static DeletePhotoResponse? _defaultInstance;
}
/// Upload document
class UploadInstructionDocumentRequest extends $pb.GeneratedMessage {
factory UploadInstructionDocumentRequest({
$3.RequestSiteHeader? header,
$3.FileDataRequest? file,
$core.String? docID,
$core.String? languageCodeISO6391,
$core.String? name,
$core.bool? ackRequired,
}) {
final result = create();
if (header != null) result.header = header;
if (file != null) result.file = file;
if (docID != null) result.docID = docID;
if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
if (name != null) result.name = name;
if (ackRequired != null) result.ackRequired = ackRequired;
return result;
}
UploadInstructionDocumentRequest._();
factory UploadInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UploadInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create)
..aOS(3, _omitFieldNames ? '' : 'DocID', protoName: 'DocID')
..aOS(4, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
..aOS(5, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOB(6, _omitFieldNames ? '' : 'AckRequired', protoName: 'AckRequired')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadInstructionDocumentRequest clone() => UploadInstructionDocumentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadInstructionDocumentRequest copyWith(void Function(UploadInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentRequest)) as UploadInstructionDocumentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UploadInstructionDocumentRequest create() => UploadInstructionDocumentRequest._();
@$core.override
UploadInstructionDocumentRequest createEmptyInstance() => create();
static $pb.PbList<UploadInstructionDocumentRequest> createRepeated() => $pb.PbList<UploadInstructionDocumentRequest>();
@$core.pragma('dart2js:noInline')
static UploadInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadInstructionDocumentRequest>(create);
static UploadInstructionDocumentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$3.FileDataRequest get file => $_getN(1);
@$pb.TagNumber(2)
set file($3.FileDataRequest value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasFile() => $_has(1);
@$pb.TagNumber(2)
void clearFile() => $_clearField(2);
@$pb.TagNumber(2)
$3.FileDataRequest ensureFile() => $_ensure(1);
@$pb.TagNumber(3)
$core.String get docID => $_getSZ(2);
@$pb.TagNumber(3)
set docID($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDocID() => $_has(2);
@$pb.TagNumber(3)
void clearDocID() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get languageCodeISO6391 => $_getSZ(3);
@$pb.TagNumber(4)
set languageCodeISO6391($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasLanguageCodeISO6391() => $_has(3);
@$pb.TagNumber(4)
void clearLanguageCodeISO6391() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get name => $_getSZ(4);
@$pb.TagNumber(5)
set name($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasName() => $_has(4);
@$pb.TagNumber(5)
void clearName() => $_clearField(5);
@$pb.TagNumber(6)
$core.bool get ackRequired => $_getBF(5);
@$pb.TagNumber(6)
set ackRequired($core.bool value) => $_setBool(5, value);
@$pb.TagNumber(6)
$core.bool hasAckRequired() => $_has(5);
@$pb.TagNumber(6)
void clearAckRequired() => $_clearField(6);
}
class UploadInstructionDocumentResponse extends $pb.GeneratedMessage {
factory UploadInstructionDocumentResponse({
$core.String? uRI,
}) {
final result = create();
if (uRI != null) result.uRI = uRI;
return result;
}
UploadInstructionDocumentResponse._();
factory UploadInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UploadInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadInstructionDocumentResponse clone() => UploadInstructionDocumentResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UploadInstructionDocumentResponse copyWith(void Function(UploadInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentResponse)) as UploadInstructionDocumentResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UploadInstructionDocumentResponse create() => UploadInstructionDocumentResponse._();
@$core.override
UploadInstructionDocumentResponse createEmptyInstance() => create();
static $pb.PbList<UploadInstructionDocumentResponse> createRepeated() => $pb.PbList<UploadInstructionDocumentResponse>();
@$core.pragma('dart2js:noInline')
static UploadInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadInstructionDocumentResponse>(create);
static UploadInstructionDocumentResponse? _defaultInstance;
@$pb.TagNumber(1)
$core.String get uRI => $_getSZ(0);
@$pb.TagNumber(1)
set uRI($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasURI() => $_has(0);
@$pb.TagNumber(1)
void clearURI() => $_clearField(1);
}
/// Delete document
class DeleteInstructionDocumentRequest extends $pb.GeneratedMessage {
factory DeleteInstructionDocumentRequest({
$3.RequestSiteHeader? header,
$core.String? docID,
$core.String? languageCodeISO6391,
}) {
final result = create();
if (header != null) result.header = header;
if (docID != null) result.docID = docID;
if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
return result;
}
DeleteInstructionDocumentRequest._();
factory DeleteInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..aOS(2, _omitFieldNames ? '' : 'DocID', protoName: 'DocID')
..aOS(3, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteInstructionDocumentRequest clone() => DeleteInstructionDocumentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteInstructionDocumentRequest copyWith(void Function(DeleteInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentRequest)) as DeleteInstructionDocumentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteInstructionDocumentRequest create() => DeleteInstructionDocumentRequest._();
@$core.override
DeleteInstructionDocumentRequest createEmptyInstance() => create();
static $pb.PbList<DeleteInstructionDocumentRequest> createRepeated() => $pb.PbList<DeleteInstructionDocumentRequest>();
@$core.pragma('dart2js:noInline')
static DeleteInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteInstructionDocumentRequest>(create);
static DeleteInstructionDocumentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get docID => $_getSZ(1);
@$pb.TagNumber(2)
set docID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasDocID() => $_has(1);
@$pb.TagNumber(2)
void clearDocID() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get languageCodeISO6391 => $_getSZ(2);
@$pb.TagNumber(3)
set languageCodeISO6391($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasLanguageCodeISO6391() => $_has(2);
@$pb.TagNumber(3)
void clearLanguageCodeISO6391() => $_clearField(3);
}
class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage {
factory DeleteInstructionDocumentResponse() => create();
DeleteInstructionDocumentResponse._();
factory DeleteInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteInstructionDocumentResponse clone() => DeleteInstructionDocumentResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteInstructionDocumentResponse copyWith(void Function(DeleteInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentResponse)) as DeleteInstructionDocumentResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteInstructionDocumentResponse create() => DeleteInstructionDocumentResponse._();
@$core.override
DeleteInstructionDocumentResponse createEmptyInstance() => create();
static $pb.PbList<DeleteInstructionDocumentResponse> createRepeated() => $pb.PbList<DeleteInstructionDocumentResponse>();
@$core.pragma('dart2js:noInline')
static DeleteInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteInstructionDocumentResponse>(create);
static DeleteInstructionDocumentResponse? _defaultInstance;
}
/// SuggestID
class SuggestSiteIDRequest extends $pb.GeneratedMessage {
factory SuggestSiteIDRequest({
$core.String? name,
$3.RequestOrganisationHeader? header,
}) {
final result = create();
if (name != null) result.name = name;
if (header != null) result.header = header;
return result;
}
SuggestSiteIDRequest._();
factory SuggestSiteIDRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SuggestSiteIDRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SuggestSiteIDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOM<$3.RequestOrganisationHeader>(3, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SuggestSiteIDRequest clone() => SuggestSiteIDRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SuggestSiteIDRequest copyWith(void Function(SuggestSiteIDRequest) updates) => super.copyWith((message) => updates(message as SuggestSiteIDRequest)) as SuggestSiteIDRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SuggestSiteIDRequest create() => SuggestSiteIDRequest._();
@$core.override
SuggestSiteIDRequest createEmptyInstance() => create();
static $pb.PbList<SuggestSiteIDRequest> createRepeated() => $pb.PbList<SuggestSiteIDRequest>();
@$core.pragma('dart2js:noInline')
static SuggestSiteIDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SuggestSiteIDRequest>(create);
static SuggestSiteIDRequest? _defaultInstance;
@$pb.TagNumber(2)
$core.String get name => $_getSZ(0);
@$pb.TagNumber(2)
set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(2)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(2)
void clearName() => $_clearField(2);
@$pb.TagNumber(3)
$3.RequestOrganisationHeader get header => $_getN(1);
@$pb.TagNumber(3)
set header($3.RequestOrganisationHeader value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasHeader() => $_has(1);
@$pb.TagNumber(3)
void clearHeader() => $_clearField(3);
@$pb.TagNumber(3)
$3.RequestOrganisationHeader ensureHeader() => $_ensure(1);
}
class SuggestSiteIDResult extends $pb.GeneratedMessage {
factory SuggestSiteIDResult({
$core.String? siteID,
}) {
final result = create();
if (siteID != null) result.siteID = siteID;
return result;
}
SuggestSiteIDResult._();
factory SuggestSiteIDResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SuggestSiteIDResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SuggestSiteIDResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SuggestSiteIDResult clone() => SuggestSiteIDResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SuggestSiteIDResult copyWith(void Function(SuggestSiteIDResult) updates) => super.copyWith((message) => updates(message as SuggestSiteIDResult)) as SuggestSiteIDResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SuggestSiteIDResult create() => SuggestSiteIDResult._();
@$core.override
SuggestSiteIDResult createEmptyInstance() => create();
static $pb.PbList<SuggestSiteIDResult> createRepeated() => $pb.PbList<SuggestSiteIDResult>();
@$core.pragma('dart2js:noInline')
static SuggestSiteIDResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SuggestSiteIDResult>(create);
static SuggestSiteIDResult? _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);
}
/// GetAvailableSlots
class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
factory GetAvailableSlotsRequest({
$3.RequestSiteHeader? header,
$2.AppointmentType? appointmentType,
$core.Iterable<$2.Commission>? commissions,
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
$core.String? startDate,
$core.String? endDate,
}) {
final result = create();
if (header != null) result.header = header;
if (appointmentType != null) result.appointmentType = appointmentType;
if (commissions != null) result.commissions.addAll(commissions);
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
if (startDate != null) result.startDate = startDate;
if (endDate != null) result.endDate = endDate;
return result;
}
GetAvailableSlotsRequest._();
factory GetAvailableSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetAvailableSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetAvailableSlotsRequest clone() => GetAvailableSlotsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetAvailableSlotsRequest copyWith(void Function(GetAvailableSlotsRequest) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsRequest)) as GetAvailableSlotsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetAvailableSlotsRequest create() => GetAvailableSlotsRequest._();
@$core.override
GetAvailableSlotsRequest createEmptyInstance() => create();
static $pb.PbList<GetAvailableSlotsRequest> createRepeated() => $pb.PbList<GetAvailableSlotsRequest>();
@$core.pragma('dart2js:noInline')
static GetAvailableSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsRequest>(create);
static GetAvailableSlotsRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
/// Type of appointment : Expedition / Reception / Both
@$pb.TagNumber(2)
$2.AppointmentType get appointmentType => $_getN(1);
@$pb.TagNumber(2)
set appointmentType($2.AppointmentType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasAppointmentType() => $_has(1);
@$pb.TagNumber(2)
void clearAppointmentType() => $_clearField(2);
/// List of the orders and projects for which the appointment is made, with the quantities
@$pb.TagNumber(3)
$pb.PbList<$2.Commission> get commissions => $_getList(2);
/// Set of segmentation constraining the slot booking
@$pb.TagNumber(4)
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
@$pb.TagNumber(5)
$core.String get startDate => $_getSZ(4);
@$pb.TagNumber(5)
set startDate($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasStartDate() => $_has(4);
@$pb.TagNumber(5)
void clearStartDate() => $_clearField(5);
@$pb.TagNumber(6)
$core.String get endDate => $_getSZ(5);
@$pb.TagNumber(6)
set endDate($core.String value) => $_setString(5, value);
@$pb.TagNumber(6)
$core.bool hasEndDate() => $_has(5);
@$pb.TagNumber(6)
void clearEndDate() => $_clearField(6);
}
class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
factory GetAvailableSlotsResponse({
$core.Iterable<$2.SlotGroup>? slotGroups,
$fixnum.Int64? estimatedNeededDurationInMinutes,
}) {
final result = create();
if (slotGroups != null) result.slotGroups.addAll(slotGroups);
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
return result;
}
GetAvailableSlotsResponse._();
factory GetAvailableSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetAvailableSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $2.SlotGroup.create)
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetAvailableSlotsResponse clone() => GetAvailableSlotsResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetAvailableSlotsResponse copyWith(void Function(GetAvailableSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsResponse)) as GetAvailableSlotsResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetAvailableSlotsResponse create() => GetAvailableSlotsResponse._();
@$core.override
GetAvailableSlotsResponse createEmptyInstance() => create();
static $pb.PbList<GetAvailableSlotsResponse> createRepeated() => $pb.PbList<GetAvailableSlotsResponse>();
@$core.pragma('dart2js:noInline')
static GetAvailableSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsResponse>(create);
static GetAvailableSlotsResponse? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<$2.SlotGroup> get slotGroups => $_getList(0);
@$pb.TagNumber(2)
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
@$pb.TagNumber(2)
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
@$pb.TagNumber(2)
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
@$pb.TagNumber(2)
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
}
/// BookAppointment
class BookAppointmentRequest extends $pb.GeneratedMessage {
factory BookAppointmentRequest({
$3.RequestSiteHeader? header,
$2.AppointmentType? appointmentType,
$core.Iterable<$2.Commission>? commissions,
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
$core.Iterable<$2.CarrierInformationWithValue>? carrierInformation,
$core.Iterable<$2.Slot>? slots,
$core.Iterable<$core.String>? emails,
$core.String? carrierID,
$core.String? carrierName,
}) {
final result = create();
if (header != null) result.header = header;
if (appointmentType != null) result.appointmentType = appointmentType;
if (commissions != null) result.commissions.addAll(commissions);
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
if (slots != null) result.slots.addAll(slots);
if (emails != null) result.emails.addAll(emails);
if (carrierID != null) result.carrierID = carrierID;
if (carrierName != null) result.carrierName = carrierName;
return result;
}
BookAppointmentRequest._();
factory BookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
..pc<$2.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
BookAppointmentRequest clone() => BookAppointmentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
BookAppointmentRequest copyWith(void Function(BookAppointmentRequest) updates) => super.copyWith((message) => updates(message as BookAppointmentRequest)) as BookAppointmentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BookAppointmentRequest create() => BookAppointmentRequest._();
@$core.override
BookAppointmentRequest createEmptyInstance() => create();
static $pb.PbList<BookAppointmentRequest> createRepeated() => $pb.PbList<BookAppointmentRequest>();
@$core.pragma('dart2js:noInline')
static BookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentRequest>(create);
static BookAppointmentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
/// Type of appointment : Expedition / Reception / Both
@$pb.TagNumber(2)
$2.AppointmentType get appointmentType => $_getN(1);
@$pb.TagNumber(2)
set appointmentType($2.AppointmentType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasAppointmentType() => $_has(1);
@$pb.TagNumber(2)
void clearAppointmentType() => $_clearField(2);
/// List of the orders and projects for which the appointment is made, with the quantities
@$pb.TagNumber(3)
$pb.PbList<$2.Commission> get commissions => $_getList(2);
/// Set of segmentation constraining the slot booking
@$pb.TagNumber(4)
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
/// Required carrierInformation, some can be obligatory
@$pb.TagNumber(5)
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(4);
/// The slot to book for the appointment
@$pb.TagNumber(6)
$pb.PbList<$2.Slot> get slots => $_getList(5);
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
/// User mails being notified on this appointment
@$pb.TagNumber(8)
$pb.PbList<$core.String> get emails => $_getList(6);
/// The carrier identifier who requests to book the appointment
@$pb.TagNumber(9)
$core.String get carrierID => $_getSZ(7);
@$pb.TagNumber(9)
set carrierID($core.String value) => $_setString(7, value);
@$pb.TagNumber(9)
$core.bool hasCarrierID() => $_has(7);
@$pb.TagNumber(9)
void clearCarrierID() => $_clearField(9);
/// The carrier name who requests to book the appointment
@$pb.TagNumber(10)
$core.String get carrierName => $_getSZ(8);
@$pb.TagNumber(10)
set carrierName($core.String value) => $_setString(8, value);
@$pb.TagNumber(10)
$core.bool hasCarrierName() => $_has(8);
@$pb.TagNumber(10)
void clearCarrierName() => $_clearField(10);
}
/// BookAppointment
class WMSBookAppointmentRequest extends $pb.GeneratedMessage {
factory WMSBookAppointmentRequest({
$3.RequestSiteHeader? header,
$2.AppointmentType? appointmentType,
$core.Iterable<$2.Commission>? commissions,
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
$core.Iterable<$2.CarrierInformationWithValue>? carrierInformation,
$core.Iterable<$2.Slot>? slots,
$core.Iterable<$core.String>? emails,
$core.String? carrierID,
$core.String? carrierName,
$core.String? timeZone,
}) {
final result = create();
if (header != null) result.header = header;
if (appointmentType != null) result.appointmentType = appointmentType;
if (commissions != null) result.commissions.addAll(commissions);
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
if (slots != null) result.slots.addAll(slots);
if (emails != null) result.emails.addAll(emails);
if (carrierID != null) result.carrierID = carrierID;
if (carrierName != null) result.carrierName = carrierName;
if (timeZone != null) result.timeZone = timeZone;
return result;
}
WMSBookAppointmentRequest._();
factory WMSBookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory WMSBookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
..pc<$2.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
..aOS(11, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
WMSBookAppointmentRequest clone() => WMSBookAppointmentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
WMSBookAppointmentRequest copyWith(void Function(WMSBookAppointmentRequest) updates) => super.copyWith((message) => updates(message as WMSBookAppointmentRequest)) as WMSBookAppointmentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static WMSBookAppointmentRequest create() => WMSBookAppointmentRequest._();
@$core.override
WMSBookAppointmentRequest createEmptyInstance() => create();
static $pb.PbList<WMSBookAppointmentRequest> createRepeated() => $pb.PbList<WMSBookAppointmentRequest>();
@$core.pragma('dart2js:noInline')
static WMSBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WMSBookAppointmentRequest>(create);
static WMSBookAppointmentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
/// Type of appointment : Expedition / Reception / Both
@$pb.TagNumber(2)
$2.AppointmentType get appointmentType => $_getN(1);
@$pb.TagNumber(2)
set appointmentType($2.AppointmentType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasAppointmentType() => $_has(1);
@$pb.TagNumber(2)
void clearAppointmentType() => $_clearField(2);
/// List of the orders and projects for which the appointment is made, with the quantities
@$pb.TagNumber(3)
$pb.PbList<$2.Commission> get commissions => $_getList(2);
/// Set of segmentation constraining the slot booking
@$pb.TagNumber(4)
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
/// Required carrierInformation, some can be obligatory
@$pb.TagNumber(5)
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(4);
/// The slot to book for the appointment
@$pb.TagNumber(6)
$pb.PbList<$2.Slot> get slots => $_getList(5);
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
/// User mails being notified on this appointment
@$pb.TagNumber(8)
$pb.PbList<$core.String> get emails => $_getList(6);
/// The carrier identifier who requests to book the appointment
@$pb.TagNumber(9)
$core.String get carrierID => $_getSZ(7);
@$pb.TagNumber(9)
set carrierID($core.String value) => $_setString(7, value);
@$pb.TagNumber(9)
$core.bool hasCarrierID() => $_has(7);
@$pb.TagNumber(9)
void clearCarrierID() => $_clearField(9);
/// The carrier name who requests to book the appointment
@$pb.TagNumber(10)
$core.String get carrierName => $_getSZ(8);
@$pb.TagNumber(10)
set carrierName($core.String value) => $_setString(8, value);
@$pb.TagNumber(10)
$core.bool hasCarrierName() => $_has(8);
@$pb.TagNumber(10)
void clearCarrierName() => $_clearField(10);
/// time zone, useful only if a WMS send a message
@$pb.TagNumber(11)
$core.String get timeZone => $_getSZ(9);
@$pb.TagNumber(11)
set timeZone($core.String value) => $_setString(9, value);
@$pb.TagNumber(11)
$core.bool hasTimeZone() => $_has(9);
@$pb.TagNumber(11)
void clearTimeZone() => $_clearField(11);
}
class BookAppointmentResponse extends $pb.GeneratedMessage {
factory BookAppointmentResponse({
$core.String? appointmentID,
}) {
final result = create();
if (appointmentID != null) result.appointmentID = appointmentID;
return result;
}
BookAppointmentResponse._();
factory BookAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BookAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
BookAppointmentResponse clone() => BookAppointmentResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
BookAppointmentResponse copyWith(void Function(BookAppointmentResponse) updates) => super.copyWith((message) => updates(message as BookAppointmentResponse)) as BookAppointmentResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BookAppointmentResponse create() => BookAppointmentResponse._();
@$core.override
BookAppointmentResponse createEmptyInstance() => create();
static $pb.PbList<BookAppointmentResponse> createRepeated() => $pb.PbList<BookAppointmentResponse>();
@$core.pragma('dart2js:noInline')
static BookAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentResponse>(create);
static BookAppointmentResponse? _defaultInstance;
@$pb.TagNumber(1)
$core.String get appointmentID => $_getSZ(0);
@$pb.TagNumber(1)
set appointmentID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasAppointmentID() => $_has(0);
@$pb.TagNumber(1)
void clearAppointmentID() => $_clearField(1);
}
/// CancelAppointment
class CancelAppointmentRequest extends $pb.GeneratedMessage {
factory CancelAppointmentRequest({
$3.RequestSiteHeader? header,
$core.String? appointmentID,
}) {
final result = create();
if (header != null) result.header = header;
if (appointmentID != null) result.appointmentID = appointmentID;
return result;
}
CancelAppointmentRequest._();
factory CancelAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CancelAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CancelAppointmentRequest clone() => CancelAppointmentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CancelAppointmentRequest copyWith(void Function(CancelAppointmentRequest) updates) => super.copyWith((message) => updates(message as CancelAppointmentRequest)) as CancelAppointmentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CancelAppointmentRequest create() => CancelAppointmentRequest._();
@$core.override
CancelAppointmentRequest createEmptyInstance() => create();
static $pb.PbList<CancelAppointmentRequest> createRepeated() => $pb.PbList<CancelAppointmentRequest>();
@$core.pragma('dart2js:noInline')
static CancelAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CancelAppointmentRequest>(create);
static CancelAppointmentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get appointmentID => $_getSZ(1);
@$pb.TagNumber(2)
set appointmentID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasAppointmentID() => $_has(1);
@$pb.TagNumber(2)
void clearAppointmentID() => $_clearField(2);
}
class CancelAppointmentResponse extends $pb.GeneratedMessage {
factory CancelAppointmentResponse({
$core.String? appointmentID,
}) {
final result = create();
if (appointmentID != null) result.appointmentID = appointmentID;
return result;
}
CancelAppointmentResponse._();
factory CancelAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CancelAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CancelAppointmentResponse clone() => CancelAppointmentResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CancelAppointmentResponse copyWith(void Function(CancelAppointmentResponse) updates) => super.copyWith((message) => updates(message as CancelAppointmentResponse)) as CancelAppointmentResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CancelAppointmentResponse create() => CancelAppointmentResponse._();
@$core.override
CancelAppointmentResponse createEmptyInstance() => create();
static $pb.PbList<CancelAppointmentResponse> createRepeated() => $pb.PbList<CancelAppointmentResponse>();
@$core.pragma('dart2js:noInline')
static CancelAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CancelAppointmentResponse>(create);
static CancelAppointmentResponse? _defaultInstance;
@$pb.TagNumber(1)
$core.String get appointmentID => $_getSZ(0);
@$pb.TagNumber(1)
set appointmentID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasAppointmentID() => $_has(0);
@$pb.TagNumber(1)
void clearAppointmentID() => $_clearField(1);
}
/// ListUserSites
class ListUserSitesRequest extends $pb.GeneratedMessage {
factory ListUserSitesRequest({
$core.Iterable<$core.String>? projectID,
}) {
final result = create();
if (projectID != null) result.projectID.addAll(projectID);
return result;
}
ListUserSitesRequest._();
factory ListUserSitesRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListUserSitesRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserSitesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pPS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListUserSitesRequest clone() => ListUserSitesRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListUserSitesRequest copyWith(void Function(ListUserSitesRequest) updates) => super.copyWith((message) => updates(message as ListUserSitesRequest)) as ListUserSitesRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListUserSitesRequest create() => ListUserSitesRequest._();
@$core.override
ListUserSitesRequest createEmptyInstance() => create();
static $pb.PbList<ListUserSitesRequest> createRepeated() => $pb.PbList<ListUserSitesRequest>();
@$core.pragma('dart2js:noInline')
static ListUserSitesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListUserSitesRequest>(create);
static ListUserSitesRequest? _defaultInstance;
/// TODO optional filter
@$pb.TagNumber(1)
$pb.PbList<$core.String> get projectID => $_getList(0);
}
class ListUserSitesResponse extends $pb.GeneratedMessage {
factory ListUserSitesResponse({
$core.Iterable<Site>? sites,
}) {
final result = create();
if (sites != null) result.sites.addAll(sites);
return result;
}
ListUserSitesResponse._();
factory ListUserSitesResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListUserSitesResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserSitesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<Site>(1, _omitFieldNames ? '' : 'Sites', $pb.PbFieldType.PM, protoName: 'Sites', subBuilder: Site.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListUserSitesResponse clone() => ListUserSitesResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListUserSitesResponse copyWith(void Function(ListUserSitesResponse) updates) => super.copyWith((message) => updates(message as ListUserSitesResponse)) as ListUserSitesResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListUserSitesResponse create() => ListUserSitesResponse._();
@$core.override
ListUserSitesResponse createEmptyInstance() => create();
static $pb.PbList<ListUserSitesResponse> createRepeated() => $pb.PbList<ListUserSitesResponse>();
@$core.pragma('dart2js:noInline')
static ListUserSitesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListUserSitesResponse>(create);
static ListUserSitesResponse? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Site> get sites => $_getList(0);
}
class UpdateSiteStatusRequest extends $pb.GeneratedMessage {
factory UpdateSiteStatusRequest({
$core.String? siteID,
SiteStatusEnum? status,
}) {
final result = create();
if (siteID != null) result.siteID = siteID;
if (status != null) result.status = status;
return result;
}
UpdateSiteStatusRequest._();
factory UpdateSiteStatusRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdateSiteStatusRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSiteStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..e<SiteStatusEnum>(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: SiteStatusEnum.SITE_STATUS_UNKNOWN, valueOf: SiteStatusEnum.valueOf, enumValues: SiteStatusEnum.values)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteStatusRequest clone() => UpdateSiteStatusRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteStatusRequest copyWith(void Function(UpdateSiteStatusRequest) updates) => super.copyWith((message) => updates(message as UpdateSiteStatusRequest)) as UpdateSiteStatusRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateSiteStatusRequest create() => UpdateSiteStatusRequest._();
@$core.override
UpdateSiteStatusRequest createEmptyInstance() => create();
static $pb.PbList<UpdateSiteStatusRequest> createRepeated() => $pb.PbList<UpdateSiteStatusRequest>();
@$core.pragma('dart2js:noInline')
static UpdateSiteStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSiteStatusRequest>(create);
static UpdateSiteStatusRequest? _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)
SiteStatusEnum get status => $_getN(1);
@$pb.TagNumber(2)
set status(SiteStatusEnum value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasStatus() => $_has(1);
@$pb.TagNumber(2)
void clearStatus() => $_clearField(2);
}
class UpdateSiteStatusResult extends $pb.GeneratedMessage {
factory UpdateSiteStatusResult({
SiteStatusEnum? status,
}) {
final result = create();
if (status != null) result.status = status;
return result;
}
UpdateSiteStatusResult._();
factory UpdateSiteStatusResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdateSiteStatusResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSiteStatusResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..e<SiteStatusEnum>(1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: SiteStatusEnum.SITE_STATUS_UNKNOWN, valueOf: SiteStatusEnum.valueOf, enumValues: SiteStatusEnum.values)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteStatusResult clone() => UpdateSiteStatusResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdateSiteStatusResult copyWith(void Function(UpdateSiteStatusResult) updates) => super.copyWith((message) => updates(message as UpdateSiteStatusResult)) as UpdateSiteStatusResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateSiteStatusResult create() => UpdateSiteStatusResult._();
@$core.override
UpdateSiteStatusResult createEmptyInstance() => create();
static $pb.PbList<UpdateSiteStatusResult> createRepeated() => $pb.PbList<UpdateSiteStatusResult>();
@$core.pragma('dart2js:noInline')
static UpdateSiteStatusResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSiteStatusResult>(create);
static UpdateSiteStatusResult? _defaultInstance;
@$pb.TagNumber(1)
SiteStatusEnum get status => $_getN(0);
@$pb.TagNumber(1)
set status(SiteStatusEnum value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasStatus() => $_has(0);
@$pb.TagNumber(1)
void clearStatus() => $_clearField(1);
}
class DeleteSiteInDBRequest extends $pb.GeneratedMessage {
factory DeleteSiteInDBRequest({
$core.String? siteID,
}) {
final result = create();
if (siteID != null) result.siteID = siteID;
return result;
}
DeleteSiteInDBRequest._();
factory DeleteSiteInDBRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteSiteInDBRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSiteInDBRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteInDBRequest clone() => DeleteSiteInDBRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteInDBRequest copyWith(void Function(DeleteSiteInDBRequest) updates) => super.copyWith((message) => updates(message as DeleteSiteInDBRequest)) as DeleteSiteInDBRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteSiteInDBRequest create() => DeleteSiteInDBRequest._();
@$core.override
DeleteSiteInDBRequest createEmptyInstance() => create();
static $pb.PbList<DeleteSiteInDBRequest> createRepeated() => $pb.PbList<DeleteSiteInDBRequest>();
@$core.pragma('dart2js:noInline')
static DeleteSiteInDBRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSiteInDBRequest>(create);
static DeleteSiteInDBRequest? _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);
}
class DeleteSiteInDBResult extends $pb.GeneratedMessage {
factory DeleteSiteInDBResult() => create();
DeleteSiteInDBResult._();
factory DeleteSiteInDBResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteSiteInDBResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSiteInDBResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteInDBResult clone() => DeleteSiteInDBResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteSiteInDBResult copyWith(void Function(DeleteSiteInDBResult) updates) => super.copyWith((message) => updates(message as DeleteSiteInDBResult)) as DeleteSiteInDBResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteSiteInDBResult create() => DeleteSiteInDBResult._();
@$core.override
DeleteSiteInDBResult createEmptyInstance() => create();
static $pb.PbList<DeleteSiteInDBResult> createRepeated() => $pb.PbList<DeleteSiteInDBResult>();
@$core.pragma('dart2js:noInline')
static DeleteSiteInDBResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSiteInDBResult>(create);
static DeleteSiteInDBResult? _defaultInstance;
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');