You've already forked dart-core-sdk
Release 1.12.3
This commit is contained in:
@@ -22,14 +22,12 @@ class Annotations {
|
||||
static final openapiv2Swagger = $pb.Extension<$0.Swagger>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'openapiv2Swagger', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Swagger.getDefault, subBuilder: $0.Swagger.create);
|
||||
static final openapiv2Operation = $pb.Extension<$0.Operation>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'openapiv2Operation', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Operation.getDefault, subBuilder: $0.Operation.create);
|
||||
static final openapiv2Schema = $pb.Extension<$0.Schema>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'openapiv2Schema', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Schema.getDefault, subBuilder: $0.Schema.create);
|
||||
static final openapiv2Enum = $pb.Extension<$0.EnumSchema>(_omitMessageNames ? '' : 'google.protobuf.EnumOptions', _omitFieldNames ? '' : 'openapiv2Enum', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.EnumSchema.getDefault, subBuilder: $0.EnumSchema.create);
|
||||
static final openapiv2Tag = $pb.Extension<$0.Tag>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'openapiv2Tag', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Tag.getDefault, subBuilder: $0.Tag.create);
|
||||
static final openapiv2Field = $pb.Extension<$0.JSONSchema>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'openapiv2Field', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.JSONSchema.getDefault, subBuilder: $0.JSONSchema.create);
|
||||
static void registerAllExtensions($pb.ExtensionRegistry registry) {
|
||||
registry.add(openapiv2Swagger);
|
||||
registry.add(openapiv2Operation);
|
||||
registry.add(openapiv2Schema);
|
||||
registry.add(openapiv2Enum);
|
||||
registry.add(openapiv2Tag);
|
||||
registry.add(openapiv2Field);
|
||||
}
|
||||
|
||||
@@ -5773,252 +5773,6 @@ class AppointmentCustomFieldsUpdatedResponse extends $pb.GeneratedMessage {
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
class AppointmentRedetectedPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentRedetectedPayload() => create();
|
||||
|
||||
AppointmentRedetectedPayload._();
|
||||
|
||||
factory AppointmentRedetectedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentRedetectedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedPayload clone() => AppointmentRedetectedPayload()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedPayload copyWith(void Function(AppointmentRedetectedPayload) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedPayload)) as AppointmentRedetectedPayload;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedPayload create() => AppointmentRedetectedPayload._();
|
||||
@$core.override
|
||||
AppointmentRedetectedPayload createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentRedetectedPayload> createRepeated() => $pb.PbList<AppointmentRedetectedPayload>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentRedetectedPayload>(create);
|
||||
static AppointmentRedetectedPayload? _defaultInstance;
|
||||
}
|
||||
|
||||
class AppointmentRedetectedEvent extends $pb.GeneratedMessage {
|
||||
factory AppointmentRedetectedEvent({
|
||||
$2.EventHeader? header,
|
||||
$2.EntityID? iD,
|
||||
AppointmentRedetectedPayload? payload,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentRedetectedEvent._();
|
||||
|
||||
factory AppointmentRedetectedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentRedetectedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.EventHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..aOM<AppointmentRedetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentRedetectedPayload.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedEvent clone() => AppointmentRedetectedEvent()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedEvent copyWith(void Function(AppointmentRedetectedEvent) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedEvent)) as AppointmentRedetectedEvent;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedEvent create() => AppointmentRedetectedEvent._();
|
||||
@$core.override
|
||||
AppointmentRedetectedEvent createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentRedetectedEvent> createRepeated() => $pb.PbList<AppointmentRedetectedEvent>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentRedetectedEvent>(create);
|
||||
static AppointmentRedetectedEvent? _defaultInstance;
|
||||
|
||||
/// option (postAggMethods) = ""; // Here are listed the post aggregation methods to call when event message is aggregated
|
||||
/// option (preAggMethods) = ""; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
@$pb.TagNumber(1)
|
||||
$2.EventHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.EventHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.EventHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentRedetectedPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentRedetectedPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPayload() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentRedetectedPayload ensurePayload() => $_ensure(2);
|
||||
}
|
||||
|
||||
class AppointmentRedetectedRequest extends $pb.GeneratedMessage {
|
||||
factory AppointmentRedetectedRequest({
|
||||
$2.RequestProjectHeader? header,
|
||||
$2.EntityID? iD,
|
||||
AppointmentRedetectedPayload? payload,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentRedetectedRequest._();
|
||||
|
||||
factory AppointmentRedetectedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentRedetectedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..aOM<AppointmentRedetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentRedetectedPayload.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedRequest clone() => AppointmentRedetectedRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedRequest copyWith(void Function(AppointmentRedetectedRequest) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedRequest)) as AppointmentRedetectedRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedRequest create() => AppointmentRedetectedRequest._();
|
||||
@$core.override
|
||||
AppointmentRedetectedRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentRedetectedRequest> createRepeated() => $pb.PbList<AppointmentRedetectedRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentRedetectedRequest>(create);
|
||||
static AppointmentRedetectedRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentRedetectedPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentRedetectedPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPayload() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentRedetectedPayload ensurePayload() => $_ensure(2);
|
||||
}
|
||||
|
||||
class AppointmentRedetectedResponse extends $pb.GeneratedMessage {
|
||||
factory AppointmentRedetectedResponse({
|
||||
$2.ResponseHeader? header,
|
||||
$2.EntityID? iD,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentRedetectedResponse._();
|
||||
|
||||
factory AppointmentRedetectedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentRedetectedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.ResponseHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedResponse clone() => AppointmentRedetectedResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentRedetectedResponse copyWith(void Function(AppointmentRedetectedResponse) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedResponse)) as AppointmentRedetectedResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedResponse create() => AppointmentRedetectedResponse._();
|
||||
@$core.override
|
||||
AppointmentRedetectedResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentRedetectedResponse> createRepeated() => $pb.PbList<AppointmentRedetectedResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentRedetectedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentRedetectedResponse>(create);
|
||||
static AppointmentRedetectedResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.ResponseHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.ResponseHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.ResponseHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -118,10 +118,6 @@ class AppointmentInputAPIClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$customFieldsUpdated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.AppointmentRedetectedResponse> redetected($0.AppointmentRedetectedRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$redetected, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$created = $grpc.ClientMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>(
|
||||
@@ -208,10 +204,6 @@ class AppointmentInputAPIClient extends $grpc.Client {
|
||||
'/api.AppointmentInputAPI/CustomFieldsUpdated',
|
||||
($0.AppointmentCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
|
||||
$0.AppointmentCustomFieldsUpdatedResponse.fromBuffer);
|
||||
static final _$redetected = $grpc.ClientMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>(
|
||||
'/api.AppointmentInputAPI/Redetected',
|
||||
($0.AppointmentRedetectedRequest value) => value.writeToBuffer(),
|
||||
$0.AppointmentRedetectedResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.AppointmentInputAPI')
|
||||
@@ -366,13 +358,6 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.AppointmentCustomFieldsUpdatedRequest.fromBuffer(value),
|
||||
($0.AppointmentCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>(
|
||||
'Redetected',
|
||||
redetected_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.AppointmentRedetectedRequest.fromBuffer(value),
|
||||
($0.AppointmentRedetectedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCreatedRequest> $request) async {
|
||||
@@ -501,10 +486,4 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.AppointmentCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.AppointmentCustomFieldsUpdatedRequest request);
|
||||
|
||||
$async.Future<$0.AppointmentRedetectedResponse> redetected_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentRedetectedRequest> $request) async {
|
||||
return redetected($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.AppointmentRedetectedResponse> redetected($grpc.ServiceCall call, $0.AppointmentRedetectedRequest request);
|
||||
|
||||
}
|
||||
|
||||
@@ -1520,67 +1520,3 @@ final $typed_data.Uint8List appointmentCustomFieldsUpdatedResponseDescriptor = $
|
||||
'syEy5hcGkuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJ'
|
||||
'RFICSUQ6GaK7GAhSZXNwb25zZbq7GAlTYW5pdGlzZWQ=');
|
||||
|
||||
@$core.Deprecated('Use appointmentRedetectedPayloadDescriptor instead')
|
||||
const AppointmentRedetectedPayload$json = {
|
||||
'1': 'AppointmentRedetectedPayload',
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentRedetectedPayload`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentRedetectedPayloadDescriptor = $convert.base64Decode(
|
||||
'ChxBcHBvaW50bWVudFJlZGV0ZWN0ZWRQYXlsb2FkOhuiuxgFRXZlbnSouxgBursYClJlZGV0ZW'
|
||||
'N0ZWQ=');
|
||||
|
||||
@$core.Deprecated('Use appointmentRedetectedEventDescriptor instead')
|
||||
const AppointmentRedetectedEvent$json = {
|
||||
'1': 'AppointmentRedetectedEvent',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
{'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentRedetectedPayload', '8': {}, '10': 'Payload'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentRedetectedEvent`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentRedetectedEventDescriptor = $convert.base64Decode(
|
||||
'ChpBcHBvaW50bWVudFJlZGV0ZWN0ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcGkuRXZlbn'
|
||||
'RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURCCPpC'
|
||||
'BYoBAhABUgJJRBJFCgdQYXlsb2FkGAMgASgLMiEuYXBpLkFwcG9pbnRtZW50UmVkZXRlY3RlZF'
|
||||
'BheWxvYWRCCPpCBYoBAhABUgdQYXlsb2FkOheiuxgFRXZlbnS6uxgKUmVkZXRlY3RlZA==');
|
||||
|
||||
@$core.Deprecated('Use appointmentRedetectedRequestDescriptor instead')
|
||||
const AppointmentRedetectedRequest$json = {
|
||||
'1': 'AppointmentRedetectedRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
{'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentRedetectedPayload', '8': {}, '10': 'Payload'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentRedetectedRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentRedetectedRequestDescriptor = $convert.base64Decode(
|
||||
'ChxBcHBvaW50bWVudFJlZGV0ZWN0ZWRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZX'
|
||||
'F1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFwaS5F'
|
||||
'bnRpdHlJREII+kIFigECEAFSAklEEkUKB1BheWxvYWQYAyABKAsyIS5hcGkuQXBwb2ludG1lbn'
|
||||
'RSZWRldGVjdGVkUGF5bG9hZEII+kIFigECEAFSB1BheWxvYWQ6NpJBGgoY0gEGSGVhZGVy0gEC'
|
||||
'SUTSAQdQYXlsb2FkorsYB1JlcXVlc3S6uxgKUmVkZXRlY3RlZA==');
|
||||
|
||||
@$core.Deprecated('Use appointmentRedetectedResponseDescriptor instead')
|
||||
const AppointmentRedetectedResponse$json = {
|
||||
'1': 'AppointmentRedetectedResponse',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentRedetectedResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentRedetectedResponseDescriptor = $convert.base64Decode(
|
||||
'Ch1BcHBvaW50bWVudFJlZGV0ZWN0ZWRSZXNwb25zZRIrCgZIZWFkZXIYASABKAsyEy5hcGkuUm'
|
||||
'VzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJRFICSUQ6GqK7'
|
||||
'GAhSZXNwb25zZbq7GApSZWRldGVjdGVk');
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@ final $typed_data.Uint8List claimCreatedEventDescriptor = $convert.base64Decode(
|
||||
'ChFDbGFpbUNyZWF0ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcGkuRXZlbnRIZWFkZXJCCP'
|
||||
'pCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURCCPpCBYoBAhABUgJJ'
|
||||
'RBI8CgdQYXlsb2FkGAMgASgLMhguYXBpLkNsYWltQ3JlYXRlZFBheWxvYWRCCPpCBYoBAhABUg'
|
||||
'dQYXlsb2FkOlOSQRoKGNIBBkhlYWRlctIBAklE0gEHUGF5bG9hZKK7GAVFdmVudLq7GAdDcmVh'
|
||||
'dGVkyrsYDWZpbGxEaXNwbGF5SUTauxgNY2hlY2tDcmVhdGlvbg==');
|
||||
'dQYXlsb2FkOkKSQRoKGNIBBkhlYWRlctIBAklE0gEHUGF5bG9hZKK7GAVFdmVudLq7GAdDcmVh'
|
||||
'dGVkyrsYDWZpbGxEaXNwbGF5SUQ=');
|
||||
|
||||
@$core.Deprecated('Use claimCreatedRequestDescriptor instead')
|
||||
const ClaimCreatedRequest$json = {
|
||||
|
||||
@@ -21,7 +21,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
export 'field_behavior.pbenum.dart';
|
||||
|
||||
class Field_behavior {
|
||||
static final fieldBehavior = $pb.Extension<FieldBehavior>.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.PE, check: $pb.getCheckFunction($pb.PbFieldType.PE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values);
|
||||
static final fieldBehavior = $pb.Extension<FieldBehavior>.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values);
|
||||
static void registerAllExtensions($pb.ExtensionRegistry registry) {
|
||||
registry.add(fieldBehavior);
|
||||
}
|
||||
|
||||
@@ -44,29 +44,6 @@ class FieldBehavior extends $pb.ProtobufEnum {
|
||||
/// This indicates that the field may be set once in a request to create a
|
||||
/// resource, but may not be changed thereafter.
|
||||
static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE');
|
||||
/// Denotes that a (repeated) field is an unordered list.
|
||||
/// This indicates that the service may provide the elements of the list
|
||||
/// in any arbitrary order, rather than the order the user originally
|
||||
/// provided. Additionally, the list's order may or may not be stable.
|
||||
static const FieldBehavior UNORDERED_LIST = FieldBehavior._(6, _omitEnumNames ? '' : 'UNORDERED_LIST');
|
||||
/// Denotes that this field returns a non-empty default value if not set.
|
||||
/// This indicates that if the user provides the empty value in a request,
|
||||
/// a non-empty value will be returned. The user will not be aware of what
|
||||
/// non-empty value to expect.
|
||||
static const FieldBehavior NON_EMPTY_DEFAULT = FieldBehavior._(7, _omitEnumNames ? '' : 'NON_EMPTY_DEFAULT');
|
||||
/// Denotes that the field in a resource (a message annotated with
|
||||
/// google.api.resource) is used in the resource name to uniquely identify the
|
||||
/// resource. For AIP-compliant APIs, this should only be applied to the
|
||||
/// `name` field on the resource.
|
||||
///
|
||||
/// This behavior should not be applied to references to other resources within
|
||||
/// the message.
|
||||
///
|
||||
/// The identifier field of resources often have different field behavior
|
||||
/// depending on the request it is embedded in (e.g. for Create methods name
|
||||
/// is optional and unused, while for Update methods it is required). Instead
|
||||
/// of method-specific annotations, only `IDENTIFIER` is required.
|
||||
static const FieldBehavior IDENTIFIER = FieldBehavior._(8, _omitEnumNames ? '' : 'IDENTIFIER');
|
||||
|
||||
static const $core.List<FieldBehavior> values = <FieldBehavior> [
|
||||
FIELD_BEHAVIOR_UNSPECIFIED,
|
||||
@@ -75,12 +52,9 @@ class FieldBehavior extends $pb.ProtobufEnum {
|
||||
OUTPUT_ONLY,
|
||||
INPUT_ONLY,
|
||||
IMMUTABLE,
|
||||
UNORDERED_LIST,
|
||||
NON_EMPTY_DEFAULT,
|
||||
IDENTIFIER,
|
||||
];
|
||||
|
||||
static final $core.List<FieldBehavior?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 8);
|
||||
static final $core.List<FieldBehavior?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 5);
|
||||
static FieldBehavior? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldBehavior._(super.value, super.name);
|
||||
|
||||
@@ -24,9 +24,6 @@ const FieldBehavior$json = {
|
||||
{'1': 'OUTPUT_ONLY', '2': 3},
|
||||
{'1': 'INPUT_ONLY', '2': 4},
|
||||
{'1': 'IMMUTABLE', '2': 5},
|
||||
{'1': 'UNORDERED_LIST', '2': 6},
|
||||
{'1': 'NON_EMPTY_DEFAULT', '2': 7},
|
||||
{'1': 'IDENTIFIER', '2': 8},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -34,6 +31,5 @@ const FieldBehavior$json = {
|
||||
final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode(
|
||||
'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU'
|
||||
'9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K'
|
||||
'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx'
|
||||
'IOCgpJREVOVElGSUVSEAg=');
|
||||
'CUlNTVVUQUJMRRAF');
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ enum HttpRule_Pattern {
|
||||
notSet
|
||||
}
|
||||
|
||||
/// gRPC Transcoding
|
||||
/// # gRPC Transcoding
|
||||
///
|
||||
/// gRPC Transcoding is a feature for mapping between a gRPC method and one or
|
||||
/// more HTTP REST endpoints. It allows developers to build a single API service
|
||||
@@ -131,8 +131,9 @@ enum HttpRule_Pattern {
|
||||
///
|
||||
/// This enables an HTTP REST to gRPC mapping as below:
|
||||
///
|
||||
/// - HTTP: `GET /v1/messages/123456`
|
||||
/// - gRPC: `GetMessage(name: "messages/123456")`
|
||||
/// HTTP | gRPC
|
||||
/// -----|-----
|
||||
/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
|
||||
///
|
||||
/// Any fields in the request message which are not bound by the path template
|
||||
/// automatically become HTTP query parameters if there is no HTTP request body.
|
||||
@@ -156,9 +157,11 @@ enum HttpRule_Pattern {
|
||||
///
|
||||
/// This enables a HTTP JSON to RPC mapping as below:
|
||||
///
|
||||
/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
|
||||
/// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
|
||||
/// SubMessage(subfield: "foo"))`
|
||||
/// HTTP | gRPC
|
||||
/// -----|-----
|
||||
/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
|
||||
/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
|
||||
/// "foo"))`
|
||||
///
|
||||
/// Note that fields which are mapped to URL query parameters must have a
|
||||
/// primitive type or a repeated primitive type or a non-repeated message type.
|
||||
@@ -188,8 +191,10 @@ enum HttpRule_Pattern {
|
||||
/// representation of the JSON in the request body is determined by
|
||||
/// protos JSON encoding:
|
||||
///
|
||||
/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
||||
/// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
|
||||
/// HTTP | gRPC
|
||||
/// -----|-----
|
||||
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
|
||||
/// "123456" message { text: "Hi!" })`
|
||||
///
|
||||
/// The special name `*` can be used in the body mapping to define that
|
||||
/// every field not bound by the path template should be mapped to the
|
||||
@@ -212,8 +217,10 @@ enum HttpRule_Pattern {
|
||||
///
|
||||
/// The following HTTP JSON to RPC mapping is enabled:
|
||||
///
|
||||
/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
||||
/// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
|
||||
/// HTTP | gRPC
|
||||
/// -----|-----
|
||||
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
|
||||
/// "123456" text: "Hi!")`
|
||||
///
|
||||
/// Note that when using `*` in the body mapping, it is not possible to
|
||||
/// have HTTP parameters, as all fields not bound by the path end in
|
||||
@@ -241,32 +248,29 @@ enum HttpRule_Pattern {
|
||||
///
|
||||
/// This enables the following two alternative HTTP JSON to RPC mappings:
|
||||
///
|
||||
/// - HTTP: `GET /v1/messages/123456`
|
||||
/// - gRPC: `GetMessage(message_id: "123456")`
|
||||
/// HTTP | gRPC
|
||||
/// -----|-----
|
||||
/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
||||
/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
||||
/// "123456")`
|
||||
///
|
||||
/// - HTTP: `GET /v1/users/me/messages/123456`
|
||||
/// - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
|
||||
///
|
||||
/// Rules for HTTP mapping
|
||||
/// ## Rules for HTTP mapping
|
||||
///
|
||||
/// 1. Leaf request fields (recursive expansion nested messages in the request
|
||||
/// message) are classified into three categories:
|
||||
/// - Fields referred by the path template. They are passed via the URL path.
|
||||
/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
|
||||
/// are passed via the HTTP
|
||||
/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
|
||||
/// request body.
|
||||
/// - All other fields are passed via the URL query parameters, and the
|
||||
/// parameter name is the field path in the request message. A repeated
|
||||
/// field can be represented as multiple query parameters under the same
|
||||
/// name.
|
||||
/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
|
||||
/// query parameter, all fields
|
||||
/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
|
||||
/// are passed via URL path and HTTP request body.
|
||||
/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
|
||||
/// request body, all
|
||||
/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
|
||||
/// fields are passed via URL path and URL query parameters.
|
||||
///
|
||||
/// Path template syntax
|
||||
/// ### Path template syntax
|
||||
///
|
||||
/// Template = "/" Segments [ Verb ] ;
|
||||
/// Segments = Segment { "/" Segment } ;
|
||||
@@ -305,7 +309,7 @@ enum HttpRule_Pattern {
|
||||
/// Document](https://developers.google.com/discovery/v1/reference/apis) as
|
||||
/// `{+var}`.
|
||||
///
|
||||
/// Using gRPC API Service Configuration
|
||||
/// ## Using gRPC API Service Configuration
|
||||
///
|
||||
/// gRPC API Service Configuration (service config) is a configuration language
|
||||
/// for configuring a gRPC service to become a user-facing product. The
|
||||
@@ -320,14 +324,15 @@ enum HttpRule_Pattern {
|
||||
/// specified in the service config will override any matching transcoding
|
||||
/// configuration in the proto.
|
||||
///
|
||||
/// The following example selects a gRPC method and applies an `HttpRule` to it:
|
||||
/// Example:
|
||||
///
|
||||
/// http:
|
||||
/// rules:
|
||||
/// # Selects a gRPC method and applies HttpRule to it.
|
||||
/// - selector: example.v1.Messaging.GetMessage
|
||||
/// get: /v1/messages/{message_id}/{sub.subfield}
|
||||
///
|
||||
/// Special notes
|
||||
/// ## Special notes
|
||||
///
|
||||
/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
|
||||
/// proto to JSON conversion must follow the [proto3
|
||||
@@ -432,8 +437,7 @@ class HttpRule extends $pb.GeneratedMessage {
|
||||
|
||||
/// Selects a method to which this rule applies.
|
||||
///
|
||||
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
/// details.
|
||||
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get selector => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
|
||||
@@ -38,15 +38,12 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
///
|
||||
/// // The raw HTTP body is bound to this field.
|
||||
/// google.api.HttpBody http_body = 2;
|
||||
///
|
||||
/// }
|
||||
///
|
||||
/// service ResourceService {
|
||||
/// rpc GetResource(GetResourceRequest)
|
||||
/// returns (google.api.HttpBody);
|
||||
/// rpc UpdateResource(google.api.HttpBody)
|
||||
/// returns (google.protobuf.Empty);
|
||||
///
|
||||
/// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
||||
/// rpc UpdateResource(google.api.HttpBody) returns
|
||||
/// (google.protobuf.Empty);
|
||||
/// }
|
||||
///
|
||||
/// Example with streaming methods:
|
||||
@@ -56,7 +53,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// returns (stream google.api.HttpBody);
|
||||
/// rpc UpdateCalendar(stream google.api.HttpBody)
|
||||
/// returns (stream google.api.HttpBody);
|
||||
///
|
||||
/// }
|
||||
///
|
||||
/// Use of this type only changes how the request and response bodies are
|
||||
|
||||
@@ -42,10 +42,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// if (any.is(Foo.class)) {
|
||||
/// foo = any.unpack(Foo.class);
|
||||
/// }
|
||||
/// // or ...
|
||||
/// if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
||||
/// foo = any.unpack(Foo.getDefaultInstance());
|
||||
/// }
|
||||
///
|
||||
/// Example 3: Pack and unpack a message in Python.
|
||||
///
|
||||
@@ -60,13 +56,10 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// Example 4: Pack and unpack a message in Go
|
||||
///
|
||||
/// foo := &pb.Foo{...}
|
||||
/// any, err := anypb.New(foo)
|
||||
/// if err != nil {
|
||||
/// ...
|
||||
/// }
|
||||
/// any, err := ptypes.MarshalAny(foo)
|
||||
/// ...
|
||||
/// foo := &pb.Foo{}
|
||||
/// if err := any.UnmarshalTo(foo); err != nil {
|
||||
/// if err := ptypes.UnmarshalAny(any, foo); err != nil {
|
||||
/// ...
|
||||
/// }
|
||||
///
|
||||
@@ -76,6 +69,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
||||
/// name "y.z".
|
||||
///
|
||||
///
|
||||
/// JSON
|
||||
/// ====
|
||||
/// The JSON representation of an `Any` value uses the regular
|
||||
@@ -165,8 +159,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
|
||||
///
|
||||
/// Note: this functionality is not currently available in the official
|
||||
/// protobuf release, and it is not used for type URLs beginning with
|
||||
/// type.googleapis.com. As of May 2023, there are no widely used type server
|
||||
/// implementations and no plans to implement one.
|
||||
/// type.googleapis.com.
|
||||
///
|
||||
/// Schemes other than `http`, `https` (or the empty scheme) might be
|
||||
/// used with implementation specific semantics.
|
||||
|
||||
@@ -28,11 +28,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// sometimes simply referred to as "APIs" in other contexts, such as the name of
|
||||
/// this message itself. See https://cloud.google.com/apis/design/glossary for
|
||||
/// detailed terminology.
|
||||
///
|
||||
/// New usages of this message as an alternative to ServiceDescriptorProto are
|
||||
/// strongly discouraged. This message does not reliability preserve all
|
||||
/// information necessary to model the schema and preserve semantics. Instead
|
||||
/// make use of FileDescriptorSet which preserves the necessary information.
|
||||
class Api extends $pb.GeneratedMessage {
|
||||
factory Api({
|
||||
$core.String? name,
|
||||
@@ -42,7 +37,6 @@ class Api extends $pb.GeneratedMessage {
|
||||
$1.SourceContext? sourceContext,
|
||||
$core.Iterable<Mixin>? mixins,
|
||||
$0.Syntax? syntax,
|
||||
$core.String? edition,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
@@ -52,7 +46,6 @@ class Api extends $pb.GeneratedMessage {
|
||||
if (sourceContext != null) result.sourceContext = sourceContext;
|
||||
if (mixins != null) result.mixins.addAll(mixins);
|
||||
if (syntax != null) result.syntax = syntax;
|
||||
if (edition != null) result.edition = edition;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -69,7 +62,6 @@ class Api extends $pb.GeneratedMessage {
|
||||
..aOM<$1.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $1.SourceContext.create)
|
||||
..pc<Mixin>(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create)
|
||||
..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values)
|
||||
..aOS(8, _omitFieldNames ? '' : 'edition')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -163,24 +155,9 @@ class Api extends $pb.GeneratedMessage {
|
||||
$core.bool hasSyntax() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearSyntax() => $_clearField(7);
|
||||
|
||||
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
||||
@$pb.TagNumber(8)
|
||||
$core.String get edition => $_getSZ(7);
|
||||
@$pb.TagNumber(8)
|
||||
set edition($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasEdition() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearEdition() => $_clearField(8);
|
||||
}
|
||||
|
||||
/// Method represents a method of an API interface.
|
||||
///
|
||||
/// New usages of this message as an alternative to MethodDescriptorProto are
|
||||
/// strongly discouraged. This message does not reliability preserve all
|
||||
/// information necessary to model the schema and preserve semantics. Instead
|
||||
/// make use of FileDescriptorSet which preserves the necessary information.
|
||||
class Method extends $pb.GeneratedMessage {
|
||||
factory Method({
|
||||
$core.String? name,
|
||||
@@ -189,10 +166,7 @@ class Method extends $pb.GeneratedMessage {
|
||||
$core.String? responseTypeUrl,
|
||||
$core.bool? responseStreaming,
|
||||
$core.Iterable<$0.Option>? options,
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
$0.Syntax? syntax,
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
$core.String? edition,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
@@ -202,7 +176,6 @@ class Method extends $pb.GeneratedMessage {
|
||||
if (responseStreaming != null) result.responseStreaming = responseStreaming;
|
||||
if (options != null) result.options.addAll(options);
|
||||
if (syntax != null) result.syntax = syntax;
|
||||
if (edition != null) result.edition = edition;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -219,7 +192,6 @@ class Method extends $pb.GeneratedMessage {
|
||||
..aOB(5, _omitFieldNames ? '' : 'responseStreaming')
|
||||
..pc<$0.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $0.Option.create)
|
||||
..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values)
|
||||
..aOS(8, _omitFieldNames ? '' : 'edition')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -295,38 +267,14 @@ class Method extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$0.Option> get options => $_getList(5);
|
||||
|
||||
/// The source syntax of this method.
|
||||
///
|
||||
/// This field should be ignored, instead the syntax should be inherited from
|
||||
/// Api. This is similar to Field and EnumValue.
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(7)
|
||||
$0.Syntax get syntax => $_getN(6);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(7)
|
||||
set syntax($0.Syntax value) => $_setField(7, value);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasSyntax() => $_has(6);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(7)
|
||||
void clearSyntax() => $_clearField(7);
|
||||
|
||||
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
||||
///
|
||||
/// This field should be ignored, instead the edition should be inherited from
|
||||
/// Api. This is similar to Field and EnumValue.
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(8)
|
||||
$core.String get edition => $_getSZ(7);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(8)
|
||||
set edition($core.String value) => $_setString(7, value);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasEdition() => $_has(7);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(8)
|
||||
void clearEdition() => $_clearField(8);
|
||||
}
|
||||
|
||||
/// Declares an API Interface to be included in this interface. The including
|
||||
@@ -376,7 +324,7 @@ class Method extends $pb.GeneratedMessage {
|
||||
/// The mixin construct implies that all methods in `AccessControl` are
|
||||
/// also declared with same name and request/response types in
|
||||
/// `Storage`. A documentation generator or annotation processor will
|
||||
/// see the effective `Storage.GetAcl` method after inheriting
|
||||
/// see the effective `Storage.GetAcl` method after inherting
|
||||
/// documentation and annotations as follows:
|
||||
///
|
||||
/// service Storage {
|
||||
|
||||
@@ -25,7 +25,6 @@ const Api$json = {
|
||||
{'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
|
||||
{'1': 'mixins', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Mixin', '10': 'mixins'},
|
||||
{'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
|
||||
{'1': 'edition', '3': 8, '4': 1, '5': 9, '10': 'edition'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -36,8 +35,7 @@ final $typed_data.Uint8List apiDescriptor = $convert.base64Decode(
|
||||
'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2'
|
||||
'50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl'
|
||||
'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3'
|
||||
'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24Y'
|
||||
'CCABKAlSB2VkaXRpb24=');
|
||||
'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
|
||||
|
||||
@$core.Deprecated('Use methodDescriptor instead')
|
||||
const Method$json = {
|
||||
@@ -49,23 +47,7 @@ const Method$json = {
|
||||
{'1': 'response_type_url', '3': 4, '4': 1, '5': 9, '10': 'responseTypeUrl'},
|
||||
{'1': 'response_streaming', '3': 5, '4': 1, '5': 8, '10': 'responseStreaming'},
|
||||
{'1': 'options', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
|
||||
{
|
||||
'1': 'syntax',
|
||||
'3': 7,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.google.protobuf.Syntax',
|
||||
'8': {'3': true},
|
||||
'10': 'syntax',
|
||||
},
|
||||
{
|
||||
'1': 'edition',
|
||||
'3': 8,
|
||||
'4': 1,
|
||||
'5': 9,
|
||||
'8': {'3': true},
|
||||
'10': 'edition',
|
||||
},
|
||||
{'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -75,9 +57,8 @@ final $typed_data.Uint8List methodDescriptor = $convert.base64Decode(
|
||||
'5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh'
|
||||
'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3'
|
||||
'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo'
|
||||
'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSMwoGc3ludGF4GAcgASgOMhcuZ2'
|
||||
'9vZ2xlLnByb3RvYnVmLlN5bnRheEICGAFSBnN5bnRheBIcCgdlZGl0aW9uGAggASgJQgIYAVIH'
|
||||
'ZWRpdGlvbg==');
|
||||
'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSLwoGc3ludGF4GAcgASgOMhcuZ2'
|
||||
'9vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
|
||||
|
||||
@$core.Deprecated('Use mixinDescriptor instead')
|
||||
const Mixin$json = {
|
||||
|
||||
@@ -12,15 +12,12 @@
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:fixnum/fixnum.dart' as $fixnum;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import '../descriptor.pb.dart' as $0;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
export 'plugin.pbenum.dart';
|
||||
|
||||
/// The version number of protocol compiler.
|
||||
class Version extends $pb.GeneratedMessage {
|
||||
factory Version({
|
||||
@@ -113,14 +110,12 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
$core.String? parameter,
|
||||
Version? compilerVersion,
|
||||
$core.Iterable<$0.FileDescriptorProto>? protoFile,
|
||||
$core.Iterable<$0.FileDescriptorProto>? sourceFileDescriptors,
|
||||
}) {
|
||||
final result = create();
|
||||
if (fileToGenerate != null) result.fileToGenerate.addAll(fileToGenerate);
|
||||
if (parameter != null) result.parameter = parameter;
|
||||
if (compilerVersion != null) result.compilerVersion = compilerVersion;
|
||||
if (protoFile != null) result.protoFile.addAll(protoFile);
|
||||
if (sourceFileDescriptors != null) result.sourceFileDescriptors.addAll(sourceFileDescriptors);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -134,7 +129,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
..aOS(2, _omitFieldNames ? '' : 'parameter')
|
||||
..aOM<Version>(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create)
|
||||
..pc<$0.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create)
|
||||
..pc<$0.FileDescriptorProto>(17, _omitFieldNames ? '' : 'sourceFileDescriptors', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create)
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
@@ -186,11 +180,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
/// they import. The files will appear in topological order, so each file
|
||||
/// appears before any file that imports it.
|
||||
///
|
||||
/// Note: the files listed in files_to_generate will include runtime-retention
|
||||
/// options only, but all other files will include source-retention options.
|
||||
/// The source_file_descriptors field below is available in case you need
|
||||
/// source-retention options for files_to_generate.
|
||||
///
|
||||
/// protoc guarantees that all proto_files will be written after
|
||||
/// the fields above, even though this is not technically guaranteed by the
|
||||
/// protobuf wire format. This theoretically could allow a plugin to stream
|
||||
@@ -203,12 +192,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
/// fully qualified.
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$0.FileDescriptorProto> get protoFile => $_getList(3);
|
||||
|
||||
/// File descriptors with all options, including source-retention options.
|
||||
/// These descriptors are only provided for the files listed in
|
||||
/// files_to_generate.
|
||||
@$pb.TagNumber(17)
|
||||
$pb.PbList<$0.FileDescriptorProto> get sourceFileDescriptors => $_getList(4);
|
||||
}
|
||||
|
||||
/// Represents a single generated file.
|
||||
@@ -217,13 +200,11 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage {
|
||||
$core.String? name,
|
||||
$core.String? insertionPoint,
|
||||
$core.String? content,
|
||||
$0.GeneratedCodeInfo? generatedCodeInfo,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (insertionPoint != null) result.insertionPoint = insertionPoint;
|
||||
if (content != null) result.content = content;
|
||||
if (generatedCodeInfo != null) result.generatedCodeInfo = generatedCodeInfo;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -236,7 +217,6 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage {
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'insertionPoint')
|
||||
..aOS(15, _omitFieldNames ? '' : 'content')
|
||||
..aOM<$0.GeneratedCodeInfo>(16, _omitFieldNames ? '' : 'generatedCodeInfo', subBuilder: $0.GeneratedCodeInfo.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -332,36 +312,16 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage {
|
||||
$core.bool hasContent() => $_has(2);
|
||||
@$pb.TagNumber(15)
|
||||
void clearContent() => $_clearField(15);
|
||||
|
||||
/// Information describing the file content being inserted. If an insertion
|
||||
/// point is used, this information will be appropriately offset and inserted
|
||||
/// into the code generation metadata for the generated files.
|
||||
@$pb.TagNumber(16)
|
||||
$0.GeneratedCodeInfo get generatedCodeInfo => $_getN(3);
|
||||
@$pb.TagNumber(16)
|
||||
set generatedCodeInfo($0.GeneratedCodeInfo value) => $_setField(16, value);
|
||||
@$pb.TagNumber(16)
|
||||
$core.bool hasGeneratedCodeInfo() => $_has(3);
|
||||
@$pb.TagNumber(16)
|
||||
void clearGeneratedCodeInfo() => $_clearField(16);
|
||||
@$pb.TagNumber(16)
|
||||
$0.GeneratedCodeInfo ensureGeneratedCodeInfo() => $_ensure(3);
|
||||
}
|
||||
|
||||
/// The plugin writes an encoded CodeGeneratorResponse to stdout.
|
||||
class CodeGeneratorResponse extends $pb.GeneratedMessage {
|
||||
factory CodeGeneratorResponse({
|
||||
$core.String? error,
|
||||
$fixnum.Int64? supportedFeatures,
|
||||
$core.int? minimumEdition,
|
||||
$core.int? maximumEdition,
|
||||
$core.Iterable<CodeGeneratorResponse_File>? file,
|
||||
}) {
|
||||
final result = create();
|
||||
if (error != null) result.error = error;
|
||||
if (supportedFeatures != null) result.supportedFeatures = supportedFeatures;
|
||||
if (minimumEdition != null) result.minimumEdition = minimumEdition;
|
||||
if (maximumEdition != null) result.maximumEdition = maximumEdition;
|
||||
if (file != null) result.file.addAll(file);
|
||||
return result;
|
||||
}
|
||||
@@ -373,9 +333,6 @@ class CodeGeneratorResponse extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'error')
|
||||
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'supportedFeatures', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..a<$core.int>(3, _omitFieldNames ? '' : 'minimumEdition', $pb.PbFieldType.O3)
|
||||
..a<$core.int>(4, _omitFieldNames ? '' : 'maximumEdition', $pb.PbFieldType.O3)
|
||||
..pc<CodeGeneratorResponse_File>(15, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: CodeGeneratorResponse_File.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
@@ -414,45 +371,8 @@ class CodeGeneratorResponse extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearError() => $_clearField(1);
|
||||
|
||||
/// A bitmask of supported features that the code generator supports.
|
||||
/// This is a bitwise "or" of values from the Feature enum.
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get supportedFeatures => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
set supportedFeatures($fixnum.Int64 value) => $_setInt64(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSupportedFeatures() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSupportedFeatures() => $_clearField(2);
|
||||
|
||||
/// The minimum edition this plugin supports. This will be treated as an
|
||||
/// Edition enum, but we want to allow unknown values. It should be specified
|
||||
/// according the edition enum value, *not* the edition number. Only takes
|
||||
/// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set.
|
||||
@$pb.TagNumber(3)
|
||||
$core.int get minimumEdition => $_getIZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set minimumEdition($core.int value) => $_setSignedInt32(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasMinimumEdition() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearMinimumEdition() => $_clearField(3);
|
||||
|
||||
/// The maximum edition this plugin supports. This will be treated as an
|
||||
/// Edition enum, but we want to allow unknown values. It should be specified
|
||||
/// according the edition enum value, *not* the edition number. Only takes
|
||||
/// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set.
|
||||
@$pb.TagNumber(4)
|
||||
$core.int get maximumEdition => $_getIZ(3);
|
||||
@$pb.TagNumber(4)
|
||||
set maximumEdition($core.int value) => $_setSignedInt32(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasMaximumEdition() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearMaximumEdition() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<CodeGeneratorResponse_File> get file => $_getList(4);
|
||||
$pb.PbList<CodeGeneratorResponse_File> get file => $_getList(1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -10,27 +10,3 @@
|
||||
// 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:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
/// Sync with code_generator.h.
|
||||
class CodeGeneratorResponse_Feature extends $pb.ProtobufEnum {
|
||||
static const CodeGeneratorResponse_Feature FEATURE_NONE = CodeGeneratorResponse_Feature._(0, _omitEnumNames ? '' : 'FEATURE_NONE');
|
||||
static const CodeGeneratorResponse_Feature FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse_Feature._(1, _omitEnumNames ? '' : 'FEATURE_PROTO3_OPTIONAL');
|
||||
static const CodeGeneratorResponse_Feature FEATURE_SUPPORTS_EDITIONS = CodeGeneratorResponse_Feature._(2, _omitEnumNames ? '' : 'FEATURE_SUPPORTS_EDITIONS');
|
||||
|
||||
static const $core.List<CodeGeneratorResponse_Feature> values = <CodeGeneratorResponse_Feature> [
|
||||
FEATURE_NONE,
|
||||
FEATURE_PROTO3_OPTIONAL,
|
||||
FEATURE_SUPPORTS_EDITIONS,
|
||||
];
|
||||
|
||||
static final $core.List<CodeGeneratorResponse_Feature?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static CodeGeneratorResponse_Feature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const CodeGeneratorResponse_Feature._(super.value, super.name);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
|
||||
@@ -37,7 +37,6 @@ const CodeGeneratorRequest$json = {
|
||||
{'1': 'file_to_generate', '3': 1, '4': 3, '5': 9, '10': 'fileToGenerate'},
|
||||
{'1': 'parameter', '3': 2, '4': 1, '5': 9, '10': 'parameter'},
|
||||
{'1': 'proto_file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'protoFile'},
|
||||
{'1': 'source_file_descriptors', '3': 17, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'sourceFileDescriptors'},
|
||||
{'1': 'compiler_version', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.compiler.Version', '10': 'compilerVersion'},
|
||||
],
|
||||
};
|
||||
@@ -46,24 +45,18 @@ const CodeGeneratorRequest$json = {
|
||||
final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode(
|
||||
'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG'
|
||||
'9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g'
|
||||
'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJcCh'
|
||||
'dzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVz'
|
||||
'Y3JpcHRvclByb3RvUhVzb3VyY2VGaWxlRGVzY3JpcHRvcnMSTAoQY29tcGlsZXJfdmVyc2lvbh'
|
||||
'gDIAEoCzIhLmdvb2dsZS5wcm90b2J1Zi5jb21waWxlci5WZXJzaW9uUg9jb21waWxlclZlcnNp'
|
||||
'b24=');
|
||||
'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJMCh'
|
||||
'Bjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyLlZlcnNp'
|
||||
'b25SD2NvbXBpbGVyVmVyc2lvbg==');
|
||||
|
||||
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
|
||||
const CodeGeneratorResponse$json = {
|
||||
'1': 'CodeGeneratorResponse',
|
||||
'2': [
|
||||
{'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'},
|
||||
{'1': 'supported_features', '3': 2, '4': 1, '5': 4, '10': 'supportedFeatures'},
|
||||
{'1': 'minimum_edition', '3': 3, '4': 1, '5': 5, '10': 'minimumEdition'},
|
||||
{'1': 'maximum_edition', '3': 4, '4': 1, '5': 5, '10': 'maximumEdition'},
|
||||
{'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.compiler.CodeGeneratorResponse.File', '10': 'file'},
|
||||
],
|
||||
'3': [CodeGeneratorResponse_File$json],
|
||||
'4': [CodeGeneratorResponse_Feature$json],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
|
||||
@@ -73,30 +66,13 @@ const CodeGeneratorResponse_File$json = {
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'insertion_point', '3': 2, '4': 1, '5': 9, '10': 'insertionPoint'},
|
||||
{'1': 'content', '3': 15, '4': 1, '5': 9, '10': 'content'},
|
||||
{'1': 'generated_code_info', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo', '10': 'generatedCodeInfo'},
|
||||
],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
|
||||
const CodeGeneratorResponse_Feature$json = {
|
||||
'1': 'Feature',
|
||||
'2': [
|
||||
{'1': 'FEATURE_NONE', '2': 0},
|
||||
{'1': 'FEATURE_PROTO3_OPTIONAL', '2': 1},
|
||||
{'1': 'FEATURE_SUPPORTS_EDITIONS', '2': 2},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CodeGeneratorResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List codeGeneratorResponseDescriptor = $convert.base64Decode(
|
||||
'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEi0KEnN1cHBvcn'
|
||||
'RlZF9mZWF0dXJlcxgCIAEoBFIRc3VwcG9ydGVkRmVhdHVyZXMSJwoPbWluaW11bV9lZGl0aW9u'
|
||||
'GAMgASgFUg5taW5pbXVtRWRpdGlvbhInCg9tYXhpbXVtX2VkaXRpb24YBCABKAVSDm1heGltdW'
|
||||
'1FZGl0aW9uEkgKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdl'
|
||||
'bmVyYXRvclJlc3BvbnNlLkZpbGVSBGZpbGUasQEKBEZpbGUSEgoEbmFtZRgBIAEoCVIEbmFtZR'
|
||||
'InCg9pbnNlcnRpb25fcG9pbnQYAiABKAlSDmluc2VydGlvblBvaW50EhgKB2NvbnRlbnQYDyAB'
|
||||
'KAlSB2NvbnRlbnQSUgoTZ2VuZXJhdGVkX2NvZGVfaW5mbxgQIAEoCzIiLmdvb2dsZS5wcm90b2'
|
||||
'J1Zi5HZW5lcmF0ZWRDb2RlSW5mb1IRZ2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxG'
|
||||
'RUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1'
|
||||
'VQUE9SVFNfRURJVElPTlMQAg==');
|
||||
'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEkgKBGZpbGUYDy'
|
||||
'ADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZp'
|
||||
'bGVSBGZpbGUaXQoERmlsZRISCgRuYW1lGAEgASgJUgRuYW1lEicKD2luc2VydGlvbl9wb2ludB'
|
||||
'gCIAEoCVIOaW5zZXJ0aW9uUG9pbnQSGAoHY29udGVudBgPIAEoCVIHY29udGVudA==');
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,99 +14,6 @@ import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
/// The full set of known editions.
|
||||
class Edition extends $pb.ProtobufEnum {
|
||||
/// A placeholder for an unknown edition value.
|
||||
static const Edition EDITION_UNKNOWN = Edition._(0, _omitEnumNames ? '' : 'EDITION_UNKNOWN');
|
||||
/// A placeholder edition for specifying default behaviors *before* a feature
|
||||
/// was first introduced. This is effectively an "infinite past".
|
||||
static const Edition EDITION_LEGACY = Edition._(900, _omitEnumNames ? '' : 'EDITION_LEGACY');
|
||||
/// Legacy syntax "editions". These pre-date editions, but behave much like
|
||||
/// distinct editions. These can't be used to specify the edition of proto
|
||||
/// files, but feature definitions must supply proto2/proto3 defaults for
|
||||
/// backwards compatibility.
|
||||
static const Edition EDITION_PROTO2 = Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2');
|
||||
static const Edition EDITION_PROTO3 = Edition._(999, _omitEnumNames ? '' : 'EDITION_PROTO3');
|
||||
/// Editions that have been released. The specific values are arbitrary and
|
||||
/// should not be depended on, but they will always be time-ordered for easy
|
||||
/// comparison.
|
||||
static const Edition EDITION_2023 = Edition._(1000, _omitEnumNames ? '' : 'EDITION_2023');
|
||||
static const Edition EDITION_2024 = Edition._(1001, _omitEnumNames ? '' : 'EDITION_2024');
|
||||
/// A placeholder edition for developing and testing unscheduled features.
|
||||
static const Edition EDITION_UNSTABLE = Edition._(9999, _omitEnumNames ? '' : 'EDITION_UNSTABLE');
|
||||
/// Placeholder editions for testing feature resolution. These should not be
|
||||
/// used or relied on outside of tests.
|
||||
static const Edition EDITION_1_TEST_ONLY = Edition._(1, _omitEnumNames ? '' : 'EDITION_1_TEST_ONLY');
|
||||
static const Edition EDITION_2_TEST_ONLY = Edition._(2, _omitEnumNames ? '' : 'EDITION_2_TEST_ONLY');
|
||||
static const Edition EDITION_99997_TEST_ONLY = Edition._(99997, _omitEnumNames ? '' : 'EDITION_99997_TEST_ONLY');
|
||||
static const Edition EDITION_99998_TEST_ONLY = Edition._(99998, _omitEnumNames ? '' : 'EDITION_99998_TEST_ONLY');
|
||||
static const Edition EDITION_99999_TEST_ONLY = Edition._(99999, _omitEnumNames ? '' : 'EDITION_99999_TEST_ONLY');
|
||||
/// Placeholder for specifying unbounded edition support. This should only
|
||||
/// ever be used by plugins that can expect to never require any changes to
|
||||
/// support a new edition.
|
||||
static const Edition EDITION_MAX = Edition._(2147483647, _omitEnumNames ? '' : 'EDITION_MAX');
|
||||
|
||||
static const $core.List<Edition> values = <Edition> [
|
||||
EDITION_UNKNOWN,
|
||||
EDITION_LEGACY,
|
||||
EDITION_PROTO2,
|
||||
EDITION_PROTO3,
|
||||
EDITION_2023,
|
||||
EDITION_2024,
|
||||
EDITION_UNSTABLE,
|
||||
EDITION_1_TEST_ONLY,
|
||||
EDITION_2_TEST_ONLY,
|
||||
EDITION_99997_TEST_ONLY,
|
||||
EDITION_99998_TEST_ONLY,
|
||||
EDITION_99999_TEST_ONLY,
|
||||
EDITION_MAX,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, Edition> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static Edition? valueOf($core.int value) => _byValue[value];
|
||||
|
||||
const Edition._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// Describes the 'visibility' of a symbol with respect to the proto import
|
||||
/// system. Symbols can only be imported when the visibility rules do not prevent
|
||||
/// it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
||||
/// on `message` and `enum` as they are the only types available to be referenced
|
||||
/// from other files.
|
||||
class SymbolVisibility extends $pb.ProtobufEnum {
|
||||
static const SymbolVisibility VISIBILITY_UNSET = SymbolVisibility._(0, _omitEnumNames ? '' : 'VISIBILITY_UNSET');
|
||||
static const SymbolVisibility VISIBILITY_LOCAL = SymbolVisibility._(1, _omitEnumNames ? '' : 'VISIBILITY_LOCAL');
|
||||
static const SymbolVisibility VISIBILITY_EXPORT = SymbolVisibility._(2, _omitEnumNames ? '' : 'VISIBILITY_EXPORT');
|
||||
|
||||
static const $core.List<SymbolVisibility> values = <SymbolVisibility> [
|
||||
VISIBILITY_UNSET,
|
||||
VISIBILITY_LOCAL,
|
||||
VISIBILITY_EXPORT,
|
||||
];
|
||||
|
||||
static final $core.List<SymbolVisibility?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static SymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const SymbolVisibility._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// The verification state of the extension range.
|
||||
class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum {
|
||||
/// All the extensions of the range must be declared.
|
||||
static const ExtensionRangeOptions_VerificationState DECLARATION = ExtensionRangeOptions_VerificationState._(0, _omitEnumNames ? '' : 'DECLARATION');
|
||||
static const ExtensionRangeOptions_VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState._(1, _omitEnumNames ? '' : 'UNVERIFIED');
|
||||
|
||||
static const $core.List<ExtensionRangeOptions_VerificationState> values = <ExtensionRangeOptions_VerificationState> [
|
||||
DECLARATION,
|
||||
UNVERIFIED,
|
||||
];
|
||||
|
||||
static final $core.List<ExtensionRangeOptions_VerificationState?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const ExtensionRangeOptions_VerificationState._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
|
||||
/// 0 is reserved for errors.
|
||||
/// Order is weird for historical reasons.
|
||||
@@ -124,10 +31,9 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
|
||||
static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL');
|
||||
static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING');
|
||||
/// Tag-delimited aggregate.
|
||||
/// Group type is deprecated and not supported after google.protobuf. However, Proto3
|
||||
/// Group type is deprecated and not supported in proto3. However, Proto3
|
||||
/// implementations should still be able to parse the group wire format and
|
||||
/// treat group fields as unknown fields. In Editions, the group wire format
|
||||
/// can be enabled via the `message_encoding` feature.
|
||||
/// treat group fields as unknown fields.
|
||||
static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP');
|
||||
static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE');
|
||||
/// New in version 2.
|
||||
@@ -169,16 +75,13 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
|
||||
class FieldDescriptorProto_Label extends $pb.ProtobufEnum {
|
||||
/// 0 is reserved for errors
|
||||
static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL');
|
||||
static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED');
|
||||
/// The required label is only allowed in google.protobuf. In proto3 and Editions
|
||||
/// it's explicitly prohibited. In Editions, the `field_presence` feature
|
||||
/// can be used to get this behavior.
|
||||
static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED');
|
||||
static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED');
|
||||
|
||||
static const $core.List<FieldDescriptorProto_Label> values = <FieldDescriptorProto_Label> [
|
||||
LABEL_OPTIONAL,
|
||||
LABEL_REPEATED,
|
||||
LABEL_REQUIRED,
|
||||
LABEL_REPEATED,
|
||||
];
|
||||
|
||||
static final $core.List<FieldDescriptorProto_Label?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
@@ -209,12 +112,6 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum {
|
||||
class FieldOptions_CType extends $pb.ProtobufEnum {
|
||||
/// Default mode.
|
||||
static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING');
|
||||
/// The option [ctype=CORD] may be applied to a non-repeated field of type
|
||||
/// "bytes". It indicates that in C++, the data should be stored in a Cord
|
||||
/// instead of a string. For very large strings, this may reduce memory
|
||||
/// fragmentation. It may also allow better performance when parsing from a
|
||||
/// Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
||||
/// alias the original buffer.
|
||||
static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD');
|
||||
static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE');
|
||||
|
||||
@@ -250,58 +147,6 @@ class FieldOptions_JSType extends $pb.ProtobufEnum {
|
||||
const FieldOptions_JSType._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
||||
class FieldOptions_OptionRetention extends $pb.ProtobufEnum {
|
||||
static const FieldOptions_OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention._(0, _omitEnumNames ? '' : 'RETENTION_UNKNOWN');
|
||||
static const FieldOptions_OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention._(1, _omitEnumNames ? '' : 'RETENTION_RUNTIME');
|
||||
static const FieldOptions_OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention._(2, _omitEnumNames ? '' : 'RETENTION_SOURCE');
|
||||
|
||||
static const $core.List<FieldOptions_OptionRetention> values = <FieldOptions_OptionRetention> [
|
||||
RETENTION_UNKNOWN,
|
||||
RETENTION_RUNTIME,
|
||||
RETENTION_SOURCE,
|
||||
];
|
||||
|
||||
static final $core.List<FieldOptions_OptionRetention?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FieldOptions_OptionRetention? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldOptions_OptionRetention._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// This indicates the types of entities that the field may apply to when used
|
||||
/// as an option. If it is unset, then the field may be freely used as an
|
||||
/// option on any kind of entity.
|
||||
class FieldOptions_OptionTargetType extends $pb.ProtobufEnum {
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType._(0, _omitEnumNames ? '' : 'TARGET_TYPE_UNKNOWN');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType._(1, _omitEnumNames ? '' : 'TARGET_TYPE_FILE');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType._(2, _omitEnumNames ? '' : 'TARGET_TYPE_EXTENSION_RANGE');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType._(3, _omitEnumNames ? '' : 'TARGET_TYPE_MESSAGE');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType._(4, _omitEnumNames ? '' : 'TARGET_TYPE_FIELD');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType._(5, _omitEnumNames ? '' : 'TARGET_TYPE_ONEOF');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType._(6, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType._(7, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM_ENTRY');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType._(8, _omitEnumNames ? '' : 'TARGET_TYPE_SERVICE');
|
||||
static const FieldOptions_OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType._(9, _omitEnumNames ? '' : 'TARGET_TYPE_METHOD');
|
||||
|
||||
static const $core.List<FieldOptions_OptionTargetType> values = <FieldOptions_OptionTargetType> [
|
||||
TARGET_TYPE_UNKNOWN,
|
||||
TARGET_TYPE_FILE,
|
||||
TARGET_TYPE_EXTENSION_RANGE,
|
||||
TARGET_TYPE_MESSAGE,
|
||||
TARGET_TYPE_FIELD,
|
||||
TARGET_TYPE_ONEOF,
|
||||
TARGET_TYPE_ENUM,
|
||||
TARGET_TYPE_ENUM_ENTRY,
|
||||
TARGET_TYPE_SERVICE,
|
||||
TARGET_TYPE_METHOD,
|
||||
];
|
||||
|
||||
static final $core.List<FieldOptions_OptionTargetType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 9);
|
||||
static FieldOptions_OptionTargetType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldOptions_OptionTargetType._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
||||
/// or neither? HTTP based RPC implementation may choose GET verb for safe
|
||||
/// methods, and PUT verb for idempotent methods instead of the default POST.
|
||||
@@ -322,175 +167,5 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum {
|
||||
const MethodOptions_IdempotencyLevel._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_FieldPresence extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence._(0, _omitEnumNames ? '' : 'FIELD_PRESENCE_UNKNOWN');
|
||||
static const FeatureSet_FieldPresence EXPLICIT = FeatureSet_FieldPresence._(1, _omitEnumNames ? '' : 'EXPLICIT');
|
||||
static const FeatureSet_FieldPresence IMPLICIT = FeatureSet_FieldPresence._(2, _omitEnumNames ? '' : 'IMPLICIT');
|
||||
static const FeatureSet_FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence._(3, _omitEnumNames ? '' : 'LEGACY_REQUIRED');
|
||||
|
||||
static const $core.List<FeatureSet_FieldPresence> values = <FeatureSet_FieldPresence> [
|
||||
FIELD_PRESENCE_UNKNOWN,
|
||||
EXPLICIT,
|
||||
IMPLICIT,
|
||||
LEGACY_REQUIRED,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_FieldPresence?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static FeatureSet_FieldPresence? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_FieldPresence._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_EnumType extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType._(0, _omitEnumNames ? '' : 'ENUM_TYPE_UNKNOWN');
|
||||
static const FeatureSet_EnumType OPEN = FeatureSet_EnumType._(1, _omitEnumNames ? '' : 'OPEN');
|
||||
static const FeatureSet_EnumType CLOSED = FeatureSet_EnumType._(2, _omitEnumNames ? '' : 'CLOSED');
|
||||
|
||||
static const $core.List<FeatureSet_EnumType> values = <FeatureSet_EnumType> [
|
||||
ENUM_TYPE_UNKNOWN,
|
||||
OPEN,
|
||||
CLOSED,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_EnumType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FeatureSet_EnumType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_EnumType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding._(0, _omitEnumNames ? '' : 'REPEATED_FIELD_ENCODING_UNKNOWN');
|
||||
static const FeatureSet_RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding._(1, _omitEnumNames ? '' : 'PACKED');
|
||||
static const FeatureSet_RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding._(2, _omitEnumNames ? '' : 'EXPANDED');
|
||||
|
||||
static const $core.List<FeatureSet_RepeatedFieldEncoding> values = <FeatureSet_RepeatedFieldEncoding> [
|
||||
REPEATED_FIELD_ENCODING_UNKNOWN,
|
||||
PACKED,
|
||||
EXPANDED,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_RepeatedFieldEncoding?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_RepeatedFieldEncoding._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_Utf8Validation extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation._(0, _omitEnumNames ? '' : 'UTF8_VALIDATION_UNKNOWN');
|
||||
static const FeatureSet_Utf8Validation VERIFY = FeatureSet_Utf8Validation._(2, _omitEnumNames ? '' : 'VERIFY');
|
||||
static const FeatureSet_Utf8Validation NONE = FeatureSet_Utf8Validation._(3, _omitEnumNames ? '' : 'NONE');
|
||||
|
||||
static const $core.List<FeatureSet_Utf8Validation> values = <FeatureSet_Utf8Validation> [
|
||||
UTF8_VALIDATION_UNKNOWN,
|
||||
VERIFY,
|
||||
NONE,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_Utf8Validation?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static FeatureSet_Utf8Validation? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_Utf8Validation._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_MessageEncoding extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding._(0, _omitEnumNames ? '' : 'MESSAGE_ENCODING_UNKNOWN');
|
||||
static const FeatureSet_MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding._(1, _omitEnumNames ? '' : 'LENGTH_PREFIXED');
|
||||
static const FeatureSet_MessageEncoding DELIMITED = FeatureSet_MessageEncoding._(2, _omitEnumNames ? '' : 'DELIMITED');
|
||||
|
||||
static const $core.List<FeatureSet_MessageEncoding> values = <FeatureSet_MessageEncoding> [
|
||||
MESSAGE_ENCODING_UNKNOWN,
|
||||
LENGTH_PREFIXED,
|
||||
DELIMITED,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_MessageEncoding?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FeatureSet_MessageEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_MessageEncoding._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_JsonFormat extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat._(0, _omitEnumNames ? '' : 'JSON_FORMAT_UNKNOWN');
|
||||
static const FeatureSet_JsonFormat ALLOW = FeatureSet_JsonFormat._(1, _omitEnumNames ? '' : 'ALLOW');
|
||||
static const FeatureSet_JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat._(2, _omitEnumNames ? '' : 'LEGACY_BEST_EFFORT');
|
||||
|
||||
static const $core.List<FeatureSet_JsonFormat> values = <FeatureSet_JsonFormat> [
|
||||
JSON_FORMAT_UNKNOWN,
|
||||
ALLOW,
|
||||
LEGACY_BEST_EFFORT,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_JsonFormat?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FeatureSet_JsonFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_JsonFormat._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_EnforceNamingStyle extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_EnforceNamingStyle ENFORCE_NAMING_STYLE_UNKNOWN = FeatureSet_EnforceNamingStyle._(0, _omitEnumNames ? '' : 'ENFORCE_NAMING_STYLE_UNKNOWN');
|
||||
static const FeatureSet_EnforceNamingStyle STYLE2024 = FeatureSet_EnforceNamingStyle._(1, _omitEnumNames ? '' : 'STYLE2024');
|
||||
static const FeatureSet_EnforceNamingStyle STYLE_LEGACY = FeatureSet_EnforceNamingStyle._(2, _omitEnumNames ? '' : 'STYLE_LEGACY');
|
||||
|
||||
static const $core.List<FeatureSet_EnforceNamingStyle> values = <FeatureSet_EnforceNamingStyle> [
|
||||
ENFORCE_NAMING_STYLE_UNKNOWN,
|
||||
STYLE2024,
|
||||
STYLE_LEGACY,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_EnforceNamingStyle?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FeatureSet_EnforceNamingStyle? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_EnforceNamingStyle._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FeatureSet_VisibilityFeature_DefaultSymbolVisibility extends $pb.ProtobufEnum {
|
||||
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(0, _omitEnumNames ? '' : 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN');
|
||||
/// Default pre-EDITION_2024, all UNSET visibility are export.
|
||||
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(1, _omitEnumNames ? '' : 'EXPORT_ALL');
|
||||
/// All top-level symbols default to export, nested default to local.
|
||||
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_TOP_LEVEL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(2, _omitEnumNames ? '' : 'EXPORT_TOP_LEVEL');
|
||||
/// All symbols default to local.
|
||||
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility LOCAL_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(3, _omitEnumNames ? '' : 'LOCAL_ALL');
|
||||
/// All symbols local by default. Nested types cannot be exported.
|
||||
/// With special case caveat for message { enum {} reserved 1 to max; }
|
||||
/// This is the recommended setting for new protos.
|
||||
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility STRICT = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(4, _omitEnumNames ? '' : 'STRICT');
|
||||
|
||||
static const $core.List<FeatureSet_VisibilityFeature_DefaultSymbolVisibility> values = <FeatureSet_VisibilityFeature_DefaultSymbolVisibility> [
|
||||
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN,
|
||||
EXPORT_ALL,
|
||||
EXPORT_TOP_LEVEL,
|
||||
LOCAL_ALL,
|
||||
STRICT,
|
||||
];
|
||||
|
||||
static final $core.List<FeatureSet_VisibilityFeature_DefaultSymbolVisibility?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
||||
static FeatureSet_VisibilityFeature_DefaultSymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// Represents the identified object's effect on the element in the original
|
||||
/// .proto file.
|
||||
class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum {
|
||||
/// There is no effect or the effect is indescribable.
|
||||
static const GeneratedCodeInfo_Annotation_Semantic NONE = GeneratedCodeInfo_Annotation_Semantic._(0, _omitEnumNames ? '' : 'NONE');
|
||||
/// The element is set or otherwise mutated.
|
||||
static const GeneratedCodeInfo_Annotation_Semantic SET = GeneratedCodeInfo_Annotation_Semantic._(1, _omitEnumNames ? '' : 'SET');
|
||||
/// An alias to the element is returned.
|
||||
static const GeneratedCodeInfo_Annotation_Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic._(2, _omitEnumNames ? '' : 'ALIAS');
|
||||
|
||||
static const $core.List<GeneratedCodeInfo_Annotation_Semantic> values = <GeneratedCodeInfo_Annotation_Semantic> [
|
||||
NONE,
|
||||
SET,
|
||||
ALIAS,
|
||||
];
|
||||
|
||||
static final $core.List<GeneratedCodeInfo_Annotation_Semantic?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const GeneratedCodeInfo_Annotation_Semantic._(super.value, super.name);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -23,6 +23,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// service Foo {
|
||||
/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||
/// }
|
||||
///
|
||||
/// The JSON representation for `Empty` is empty JSON object `{}`.
|
||||
class Empty extends $pb.GeneratedMessage {
|
||||
factory Empty() => create();
|
||||
|
||||
|
||||
@@ -83,8 +83,8 @@ enum Value_Kind {
|
||||
|
||||
/// `Value` represents a dynamically typed value which can be either
|
||||
/// null, a number, a string, a boolean, a recursive struct value, or a
|
||||
/// list of values. A producer of value is expected to set one of these
|
||||
/// variants. Absence of any variant indicates an error.
|
||||
/// list of values. A producer of value is expected to set one of that
|
||||
/// variants, absence of any variant indicates an error.
|
||||
///
|
||||
/// The JSON representation for `Value` is JSON value.
|
||||
class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
|
||||
|
||||
@@ -17,7 +17,7 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
/// `NullValue` is a singleton enumeration to represent the null value for the
|
||||
/// `Value` type union.
|
||||
///
|
||||
/// The JSON representation for `NullValue` is JSON `null`.
|
||||
/// The JSON representation for `NullValue` is JSON `null`.
|
||||
class NullValue extends $pb.ProtobufEnum {
|
||||
/// Null value.
|
||||
static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE');
|
||||
|
||||
@@ -69,15 +69,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
||||
/// .setNanos((int) ((millis % 1000) * 1000000)).build();
|
||||
///
|
||||
/// Example 5: Compute Timestamp from Java `Instant.now()`.
|
||||
///
|
||||
/// Instant now = Instant.now();
|
||||
///
|
||||
/// Timestamp timestamp =
|
||||
/// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
||||
/// .setNanos(now.getNano()).build();
|
||||
///
|
||||
/// Example 6: Compute Timestamp from current time in Python.
|
||||
/// Example 5: Compute Timestamp from current time in Python.
|
||||
///
|
||||
/// timestamp = Timestamp()
|
||||
/// timestamp.GetCurrentTime()
|
||||
@@ -91,8 +84,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
||||
/// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
||||
/// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
||||
/// is required. A ProtoJSON serializer should always use UTC (as indicated by
|
||||
/// "Z") when printing the Timestamp type and a ProtoJSON parser should be
|
||||
/// is required. A proto3 JSON serializer should always use UTC (as indicated by
|
||||
/// "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
||||
/// able to accept both UTC and other timezones (as indicated by an offset).
|
||||
///
|
||||
/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
||||
@@ -106,7 +99,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
||||
/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
||||
/// the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
||||
/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
||||
/// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
||||
/// ) to obtain a formatter capable of generating timestamps in this format.
|
||||
class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
|
||||
factory Timestamp({
|
||||
@@ -147,9 +140,9 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
|
||||
static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Timestamp>(create);
|
||||
static Timestamp? _defaultInstance;
|
||||
|
||||
/// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
||||
/// be between -62135596800 and 253402300799 inclusive (which corresponds to
|
||||
/// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
||||
/// Represents seconds of UTC time since Unix epoch
|
||||
/// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
||||
/// 9999-12-31T23:59:59Z inclusive.
|
||||
@$pb.TagNumber(1)
|
||||
$fixnum.Int64 get seconds => $_getI64(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -159,10 +152,9 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
|
||||
@$pb.TagNumber(1)
|
||||
void clearSeconds() => $_clearField(1);
|
||||
|
||||
/// Non-negative fractions of a second at nanosecond resolution. This field is
|
||||
/// the nanosecond portion of the duration, not an alternative to seconds.
|
||||
/// Negative second values with fractions must still have non-negative nanos
|
||||
/// values that count forward in time. Must be between 0 and 999,999,999
|
||||
/// Non-negative fractions of a second at nanosecond resolution. Negative
|
||||
/// second values with fractions must still have non-negative nanos values
|
||||
/// that count forward in time. Must be from 0 to 999,999,999
|
||||
/// inclusive.
|
||||
@$pb.TagNumber(2)
|
||||
$core.int get nanos => $_getIZ(1);
|
||||
|
||||
@@ -23,11 +23,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
export 'type.pbenum.dart';
|
||||
|
||||
/// A protocol buffer message type.
|
||||
///
|
||||
/// New usages of this message as an alternative to DescriptorProto are strongly
|
||||
/// discouraged. This message does not reliability preserve all information
|
||||
/// necessary to model the schema and preserve semantics. Instead make use of
|
||||
/// FileDescriptorSet which preserves the necessary information.
|
||||
class Type extends $pb.GeneratedMessage {
|
||||
factory Type({
|
||||
$core.String? name,
|
||||
@@ -36,7 +31,6 @@ class Type extends $pb.GeneratedMessage {
|
||||
$core.Iterable<Option>? options,
|
||||
$0.SourceContext? sourceContext,
|
||||
Syntax? syntax,
|
||||
$core.String? edition,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
@@ -45,7 +39,6 @@ class Type extends $pb.GeneratedMessage {
|
||||
if (options != null) result.options.addAll(options);
|
||||
if (sourceContext != null) result.sourceContext = sourceContext;
|
||||
if (syntax != null) result.syntax = syntax;
|
||||
if (edition != null) result.edition = edition;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -61,7 +54,6 @@ class Type extends $pb.GeneratedMessage {
|
||||
..pc<Option>(4, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
|
||||
..aOM<$0.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $0.SourceContext.create)
|
||||
..e<Syntax>(6, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values)
|
||||
..aOS(7, _omitFieldNames ? '' : 'edition')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -125,24 +117,9 @@ class Type extends $pb.GeneratedMessage {
|
||||
$core.bool hasSyntax() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearSyntax() => $_clearField(6);
|
||||
|
||||
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
||||
@$pb.TagNumber(7)
|
||||
$core.String get edition => $_getSZ(6);
|
||||
@$pb.TagNumber(7)
|
||||
set edition($core.String value) => $_setString(6, value);
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasEdition() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearEdition() => $_clearField(7);
|
||||
}
|
||||
|
||||
/// A single field of a message type.
|
||||
///
|
||||
/// New usages of this message as an alternative to FieldDescriptorProto are
|
||||
/// strongly discouraged. This message does not reliability preserve all
|
||||
/// information necessary to model the schema and preserve semantics. Instead
|
||||
/// make use of FileDescriptorSet which preserves the necessary information.
|
||||
class Field extends $pb.GeneratedMessage {
|
||||
factory Field({
|
||||
Field_Kind? kind,
|
||||
@@ -304,11 +281,6 @@ class Field extends $pb.GeneratedMessage {
|
||||
}
|
||||
|
||||
/// Enum type definition.
|
||||
///
|
||||
/// New usages of this message as an alternative to EnumDescriptorProto are
|
||||
/// strongly discouraged. This message does not reliability preserve all
|
||||
/// information necessary to model the schema and preserve semantics. Instead
|
||||
/// make use of FileDescriptorSet which preserves the necessary information.
|
||||
class Enum extends $pb.GeneratedMessage {
|
||||
factory Enum({
|
||||
$core.String? name,
|
||||
@@ -316,7 +288,6 @@ class Enum extends $pb.GeneratedMessage {
|
||||
$core.Iterable<Option>? options,
|
||||
$0.SourceContext? sourceContext,
|
||||
Syntax? syntax,
|
||||
$core.String? edition,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
@@ -324,7 +295,6 @@ class Enum extends $pb.GeneratedMessage {
|
||||
if (options != null) result.options.addAll(options);
|
||||
if (sourceContext != null) result.sourceContext = sourceContext;
|
||||
if (syntax != null) result.syntax = syntax;
|
||||
if (edition != null) result.edition = edition;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -339,7 +309,6 @@ class Enum extends $pb.GeneratedMessage {
|
||||
..pc<Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
|
||||
..aOM<$0.SourceContext>(4, _omitFieldNames ? '' : 'sourceContext', subBuilder: $0.SourceContext.create)
|
||||
..e<Syntax>(5, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values)
|
||||
..aOS(6, _omitFieldNames ? '' : 'edition')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -399,24 +368,9 @@ class Enum extends $pb.GeneratedMessage {
|
||||
$core.bool hasSyntax() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearSyntax() => $_clearField(5);
|
||||
|
||||
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get edition => $_getSZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
set edition($core.String value) => $_setString(5, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasEdition() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearEdition() => $_clearField(6);
|
||||
}
|
||||
|
||||
/// Enum value definition.
|
||||
///
|
||||
/// New usages of this message as an alternative to EnumValueDescriptorProto are
|
||||
/// strongly discouraged. This message does not reliability preserve all
|
||||
/// information necessary to model the schema and preserve semantics. Instead
|
||||
/// make use of FileDescriptorSet which preserves the necessary information.
|
||||
class EnumValue extends $pb.GeneratedMessage {
|
||||
factory EnumValue({
|
||||
$core.String? name,
|
||||
@@ -486,10 +440,6 @@ class EnumValue extends $pb.GeneratedMessage {
|
||||
|
||||
/// A protocol buffer option, which can be attached to a message, field,
|
||||
/// enumeration, etc.
|
||||
///
|
||||
/// New usages of this message as an alternative to FileOptions, MessageOptions,
|
||||
/// FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions
|
||||
/// are strongly discouraged.
|
||||
class Option extends $pb.GeneratedMessage {
|
||||
factory Option({
|
||||
$core.String? name,
|
||||
|
||||
@@ -20,16 +20,13 @@ class Syntax extends $pb.ProtobufEnum {
|
||||
static const Syntax SYNTAX_PROTO2 = Syntax._(0, _omitEnumNames ? '' : 'SYNTAX_PROTO2');
|
||||
/// Syntax `proto3`.
|
||||
static const Syntax SYNTAX_PROTO3 = Syntax._(1, _omitEnumNames ? '' : 'SYNTAX_PROTO3');
|
||||
/// Syntax `editions`.
|
||||
static const Syntax SYNTAX_EDITIONS = Syntax._(2, _omitEnumNames ? '' : 'SYNTAX_EDITIONS');
|
||||
|
||||
static const $core.List<Syntax> values = <Syntax> [
|
||||
SYNTAX_PROTO2,
|
||||
SYNTAX_PROTO3,
|
||||
SYNTAX_EDITIONS,
|
||||
];
|
||||
|
||||
static final $core.List<Syntax?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static final $core.List<Syntax?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static Syntax? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Syntax._(super.value, super.name);
|
||||
|
||||
@@ -20,14 +20,12 @@ const Syntax$json = {
|
||||
'2': [
|
||||
{'1': 'SYNTAX_PROTO2', '2': 0},
|
||||
{'1': 'SYNTAX_PROTO3', '2': 1},
|
||||
{'1': 'SYNTAX_EDITIONS', '2': 2},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Syntax`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List syntaxDescriptor = $convert.base64Decode(
|
||||
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQARITCg9TWU5UQV'
|
||||
'hfRURJVElPTlMQAg==');
|
||||
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQAQ==');
|
||||
|
||||
@$core.Deprecated('Use typeDescriptor instead')
|
||||
const Type$json = {
|
||||
@@ -39,7 +37,6 @@ const Type$json = {
|
||||
{'1': 'options', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
|
||||
{'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
|
||||
{'1': 'syntax', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
|
||||
{'1': 'edition', '3': 7, '4': 1, '5': 9, '10': 'edition'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -49,8 +46,7 @@ final $typed_data.Uint8List typeDescriptor = $convert.base64Decode(
|
||||
'RvYnVmLkZpZWxkUgZmaWVsZHMSFgoGb25lb2ZzGAMgAygJUgZvbmVvZnMSMQoHb3B0aW9ucxgE'
|
||||
'IAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSRQoOc291cmNlX2NvbnRleH'
|
||||
'QYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dFINc291cmNlQ29udGV4dBIv'
|
||||
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXgSGAoHZWRpdG'
|
||||
'lvbhgHIAEoCVIHZWRpdGlvbg==');
|
||||
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXg=');
|
||||
|
||||
@$core.Deprecated('Use fieldDescriptor instead')
|
||||
const Field$json = {
|
||||
@@ -134,7 +130,6 @@ const Enum$json = {
|
||||
{'1': 'options', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
|
||||
{'1': 'source_context', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
|
||||
{'1': 'syntax', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
|
||||
{'1': 'edition', '3': 6, '4': 1, '5': 9, '10': 'edition'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -144,8 +139,7 @@ final $typed_data.Uint8List enumDescriptor = $convert.base64Decode(
|
||||
'Byb3RvYnVmLkVudW1WYWx1ZVIJZW51bXZhbHVlEjEKB29wdGlvbnMYAyADKAsyFy5nb29nbGUu'
|
||||
'cHJvdG9idWYuT3B0aW9uUgdvcHRpb25zEkUKDnNvdXJjZV9jb250ZXh0GAQgASgLMh4uZ29vZ2'
|
||||
'xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRleHQSLwoGc3ludGF4GAUgASgO'
|
||||
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24YBiABKAlSB2VkaX'
|
||||
'Rpb24=');
|
||||
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
|
||||
|
||||
@$core.Deprecated('Use enumValueDescriptor instead')
|
||||
const EnumValue$json = {
|
||||
|
||||
@@ -22,9 +22,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
/// Wrapper message for `double`.
|
||||
///
|
||||
/// The JSON representation for `DoubleValue` is JSON number.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
|
||||
factory DoubleValue({
|
||||
$core.double? value,
|
||||
@@ -75,9 +72,6 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
|
||||
/// Wrapper message for `float`.
|
||||
///
|
||||
/// The JSON representation for `FloatValue` is JSON number.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
|
||||
factory FloatValue({
|
||||
$core.double? value,
|
||||
@@ -128,9 +122,6 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
|
||||
/// Wrapper message for `int64`.
|
||||
///
|
||||
/// The JSON representation for `Int64Value` is JSON string.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
|
||||
factory Int64Value({
|
||||
$fixnum.Int64? value,
|
||||
@@ -181,9 +172,6 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
|
||||
/// Wrapper message for `uint64`.
|
||||
///
|
||||
/// The JSON representation for `UInt64Value` is JSON string.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
|
||||
factory UInt64Value({
|
||||
$fixnum.Int64? value,
|
||||
@@ -234,9 +222,6 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
|
||||
/// Wrapper message for `int32`.
|
||||
///
|
||||
/// The JSON representation for `Int32Value` is JSON number.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
|
||||
factory Int32Value({
|
||||
$core.int? value,
|
||||
@@ -287,9 +272,6 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
|
||||
/// Wrapper message for `uint32`.
|
||||
///
|
||||
/// The JSON representation for `UInt32Value` is JSON number.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
|
||||
factory UInt32Value({
|
||||
$core.int? value,
|
||||
@@ -340,9 +322,6 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
|
||||
/// Wrapper message for `bool`.
|
||||
///
|
||||
/// The JSON representation for `BoolValue` is JSON `true` and `false`.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
|
||||
factory BoolValue({
|
||||
$core.bool? value,
|
||||
@@ -393,9 +372,6 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
|
||||
/// Wrapper message for `string`.
|
||||
///
|
||||
/// The JSON representation for `StringValue` is JSON string.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
|
||||
factory StringValue({
|
||||
$core.String? value,
|
||||
@@ -446,9 +422,6 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
|
||||
/// Wrapper message for `bytes`.
|
||||
///
|
||||
/// The JSON representation for `BytesValue` is JSON string.
|
||||
///
|
||||
/// Not recommended for use in new APIs, but still useful for legacy APIs and
|
||||
/// has no plan to be removed.
|
||||
class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
|
||||
factory BytesValue({
|
||||
$core.List<$core.int>? value,
|
||||
|
||||
@@ -40,7 +40,7 @@ export 'openapiv2.pbenum.dart';
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// schemes: HTTPS;
|
||||
@@ -280,7 +280,6 @@ class Operation extends $pb.GeneratedMessage {
|
||||
$core.bool? deprecated,
|
||||
$core.Iterable<SecurityRequirement>? security,
|
||||
$core.Iterable<$core.MapEntry<$core.String, $0.Value>>? extensions,
|
||||
Parameters? parameters,
|
||||
}) {
|
||||
final result = create();
|
||||
if (tags != null) result.tags.addAll(tags);
|
||||
@@ -295,7 +294,6 @@ class Operation extends $pb.GeneratedMessage {
|
||||
if (deprecated != null) result.deprecated = deprecated;
|
||||
if (security != null) result.security.addAll(security);
|
||||
if (extensions != null) result.extensions.addEntries(extensions);
|
||||
if (parameters != null) result.parameters = parameters;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -317,7 +315,6 @@ class Operation extends $pb.GeneratedMessage {
|
||||
..aOB(11, _omitFieldNames ? '' : 'deprecated')
|
||||
..pc<SecurityRequirement>(12, _omitFieldNames ? '' : 'security', $pb.PbFieldType.PM, subBuilder: SecurityRequirement.create)
|
||||
..m<$core.String, $0.Value>(13, _omitFieldNames ? '' : 'extensions', entryClassName: 'Operation.ExtensionsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $0.Value.create, valueDefaultOrMaker: $0.Value.getDefault, packageName: const $pb.PackageName('grpc.gateway.protoc_gen_openapiv2.options'))
|
||||
..aOM<Parameters>(14, _omitFieldNames ? '' : 'parameters', subBuilder: Parameters.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -437,169 +434,6 @@ class Operation extends $pb.GeneratedMessage {
|
||||
/// See: https://swagger.io/docs/specification/2-0/swagger-extensions/
|
||||
@$pb.TagNumber(13)
|
||||
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(11);
|
||||
|
||||
/// Custom parameters such as HTTP request headers.
|
||||
/// See: https://swagger.io/docs/specification/2-0/describing-parameters/
|
||||
/// and https://swagger.io/specification/v2/#parameter-object.
|
||||
@$pb.TagNumber(14)
|
||||
Parameters get parameters => $_getN(12);
|
||||
@$pb.TagNumber(14)
|
||||
set parameters(Parameters value) => $_setField(14, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasParameters() => $_has(12);
|
||||
@$pb.TagNumber(14)
|
||||
void clearParameters() => $_clearField(14);
|
||||
@$pb.TagNumber(14)
|
||||
Parameters ensureParameters() => $_ensure(12);
|
||||
}
|
||||
|
||||
/// `Parameters` is a representation of OpenAPI v2 specification's parameters object.
|
||||
/// Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only
|
||||
/// allow header parameters to be set here since we do not want users specifying custom non-header
|
||||
/// parameters beyond those inferred from the Protobuf schema.
|
||||
/// See: https://swagger.io/specification/v2/#parameter-object
|
||||
class Parameters extends $pb.GeneratedMessage {
|
||||
factory Parameters({
|
||||
$core.Iterable<HeaderParameter>? headers,
|
||||
}) {
|
||||
final result = create();
|
||||
if (headers != null) result.headers.addAll(headers);
|
||||
return result;
|
||||
}
|
||||
|
||||
Parameters._();
|
||||
|
||||
factory Parameters.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Parameters.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Parameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.gateway.protoc_gen_openapiv2.options'), createEmptyInstance: create)
|
||||
..pc<HeaderParameter>(1, _omitFieldNames ? '' : 'headers', $pb.PbFieldType.PM, subBuilder: HeaderParameter.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Parameters clone() => Parameters()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Parameters copyWith(void Function(Parameters) updates) => super.copyWith((message) => updates(message as Parameters)) as Parameters;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Parameters create() => Parameters._();
|
||||
@$core.override
|
||||
Parameters createEmptyInstance() => create();
|
||||
static $pb.PbList<Parameters> createRepeated() => $pb.PbList<Parameters>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Parameters getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Parameters>(create);
|
||||
static Parameters? _defaultInstance;
|
||||
|
||||
/// `Headers` is one or more HTTP header parameter.
|
||||
/// See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<HeaderParameter> get headers => $_getList(0);
|
||||
}
|
||||
|
||||
/// `HeaderParameter` a HTTP header parameter.
|
||||
/// See: https://swagger.io/specification/v2/#parameter-object
|
||||
class HeaderParameter extends $pb.GeneratedMessage {
|
||||
factory HeaderParameter({
|
||||
$core.String? name,
|
||||
$core.String? description,
|
||||
HeaderParameter_Type? type,
|
||||
$core.String? format,
|
||||
$core.bool? required,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (description != null) result.description = description;
|
||||
if (type != null) result.type = type;
|
||||
if (format != null) result.format = format;
|
||||
if (required != null) result.required = required;
|
||||
return result;
|
||||
}
|
||||
|
||||
HeaderParameter._();
|
||||
|
||||
factory HeaderParameter.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory HeaderParameter.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HeaderParameter', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.gateway.protoc_gen_openapiv2.options'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'description')
|
||||
..e<HeaderParameter_Type>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: HeaderParameter_Type.UNKNOWN, valueOf: HeaderParameter_Type.valueOf, enumValues: HeaderParameter_Type.values)
|
||||
..aOS(4, _omitFieldNames ? '' : 'format')
|
||||
..aOB(5, _omitFieldNames ? '' : 'required')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
HeaderParameter clone() => HeaderParameter()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
HeaderParameter copyWith(void Function(HeaderParameter) updates) => super.copyWith((message) => updates(message as HeaderParameter)) as HeaderParameter;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static HeaderParameter create() => HeaderParameter._();
|
||||
@$core.override
|
||||
HeaderParameter createEmptyInstance() => create();
|
||||
static $pb.PbList<HeaderParameter> createRepeated() => $pb.PbList<HeaderParameter>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static HeaderParameter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HeaderParameter>(create);
|
||||
static HeaderParameter? _defaultInstance;
|
||||
|
||||
/// `Name` is the header name.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get name => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set name($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasName() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearName() => $_clearField(1);
|
||||
|
||||
/// `Description` is a short description of the header.
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get description => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set description($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDescription() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDescription() => $_clearField(2);
|
||||
|
||||
/// `Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
|
||||
/// See: https://swagger.io/specification/v2/#parameterType.
|
||||
@$pb.TagNumber(3)
|
||||
HeaderParameter_Type get type => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set type(HeaderParameter_Type value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasType() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearType() => $_clearField(3);
|
||||
|
||||
/// `Format` The extending format for the previously mentioned type.
|
||||
@$pb.TagNumber(4)
|
||||
$core.String get format => $_getSZ(3);
|
||||
@$pb.TagNumber(4)
|
||||
set format($core.String value) => $_setString(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasFormat() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearFormat() => $_clearField(4);
|
||||
|
||||
/// `Required` indicates if the header is optional
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool get required => $_getBF(4);
|
||||
@$pb.TagNumber(5)
|
||||
set required($core.bool value) => $_setBool(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasRequired() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearRequired() => $_clearField(5);
|
||||
}
|
||||
|
||||
/// `Header` is a representation of OpenAPI v2 specification's Header object.
|
||||
@@ -817,7 +651,7 @@ class Response extends $pb.GeneratedMessage {
|
||||
/// };
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// };
|
||||
/// ...
|
||||
@@ -1053,7 +887,7 @@ class Contact extends $pb.GeneratedMessage {
|
||||
/// ...
|
||||
/// license: {
|
||||
/// name: "BSD 3-Clause License";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
|
||||
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
|
||||
/// };
|
||||
/// ...
|
||||
/// };
|
||||
@@ -1310,180 +1144,14 @@ class Schema extends $pb.GeneratedMessage {
|
||||
void clearExample() => $_clearField(6);
|
||||
}
|
||||
|
||||
/// `EnumSchema` is subset of fields from the OpenAPI v2 specification's Schema object.
|
||||
/// Only fields that are applicable to Enums are included
|
||||
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
|
||||
///
|
||||
/// Example:
|
||||
///
|
||||
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_enum) = {
|
||||
/// ...
|
||||
/// title: "MyEnum";
|
||||
/// description:"This is my nice enum";
|
||||
/// example: "ZERO";
|
||||
/// required: true;
|
||||
/// ...
|
||||
/// };
|
||||
class EnumSchema extends $pb.GeneratedMessage {
|
||||
factory EnumSchema({
|
||||
$core.String? description,
|
||||
$core.String? default_2,
|
||||
$core.String? title,
|
||||
$core.bool? required,
|
||||
$core.bool? readOnly,
|
||||
ExternalDocumentation? externalDocs,
|
||||
$core.String? example,
|
||||
$core.String? ref,
|
||||
$core.Iterable<$core.MapEntry<$core.String, $0.Value>>? extensions,
|
||||
}) {
|
||||
final result = create();
|
||||
if (description != null) result.description = description;
|
||||
if (default_2 != null) result.default_2 = default_2;
|
||||
if (title != null) result.title = title;
|
||||
if (required != null) result.required = required;
|
||||
if (readOnly != null) result.readOnly = readOnly;
|
||||
if (externalDocs != null) result.externalDocs = externalDocs;
|
||||
if (example != null) result.example = example;
|
||||
if (ref != null) result.ref = ref;
|
||||
if (extensions != null) result.extensions.addEntries(extensions);
|
||||
return result;
|
||||
}
|
||||
|
||||
EnumSchema._();
|
||||
|
||||
factory EnumSchema.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory EnumSchema.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumSchema', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.gateway.protoc_gen_openapiv2.options'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'description')
|
||||
..aOS(2, _omitFieldNames ? '' : 'default')
|
||||
..aOS(3, _omitFieldNames ? '' : 'title')
|
||||
..aOB(4, _omitFieldNames ? '' : 'required')
|
||||
..aOB(5, _omitFieldNames ? '' : 'readOnly')
|
||||
..aOM<ExternalDocumentation>(6, _omitFieldNames ? '' : 'externalDocs', subBuilder: ExternalDocumentation.create)
|
||||
..aOS(7, _omitFieldNames ? '' : 'example')
|
||||
..aOS(8, _omitFieldNames ? '' : 'ref')
|
||||
..m<$core.String, $0.Value>(9, _omitFieldNames ? '' : 'extensions', entryClassName: 'EnumSchema.ExtensionsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $0.Value.create, valueDefaultOrMaker: $0.Value.getDefault, packageName: const $pb.PackageName('grpc.gateway.protoc_gen_openapiv2.options'))
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnumSchema clone() => EnumSchema()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnumSchema copyWith(void Function(EnumSchema) updates) => super.copyWith((message) => updates(message as EnumSchema)) as EnumSchema;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnumSchema create() => EnumSchema._();
|
||||
@$core.override
|
||||
EnumSchema createEmptyInstance() => create();
|
||||
static $pb.PbList<EnumSchema> createRepeated() => $pb.PbList<EnumSchema>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnumSchema getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<EnumSchema>(create);
|
||||
static EnumSchema? _defaultInstance;
|
||||
|
||||
/// A short description of the schema.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get description => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set description($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasDescription() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearDescription() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get default_2 => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set default_2($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDefault_2() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDefault_2() => $_clearField(2);
|
||||
|
||||
/// The title of the schema.
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get title => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set title($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasTitle() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearTitle() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool get required => $_getBF(3);
|
||||
@$pb.TagNumber(4)
|
||||
set required($core.bool value) => $_setBool(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasRequired() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearRequired() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool get readOnly => $_getBF(4);
|
||||
@$pb.TagNumber(5)
|
||||
set readOnly($core.bool value) => $_setBool(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasReadOnly() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearReadOnly() => $_clearField(5);
|
||||
|
||||
/// Additional external documentation for this schema.
|
||||
@$pb.TagNumber(6)
|
||||
ExternalDocumentation get externalDocs => $_getN(5);
|
||||
@$pb.TagNumber(6)
|
||||
set externalDocs(ExternalDocumentation value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasExternalDocs() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearExternalDocs() => $_clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
ExternalDocumentation ensureExternalDocs() => $_ensure(5);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$core.String get example => $_getSZ(6);
|
||||
@$pb.TagNumber(7)
|
||||
set example($core.String value) => $_setString(6, value);
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasExample() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearExample() => $_clearField(7);
|
||||
|
||||
/// Ref is used to define an external reference to include in the message.
|
||||
/// This could be a fully qualified proto message reference, and that type must
|
||||
/// be imported into the protofile. If no message is identified, the Ref will
|
||||
/// be used verbatim in the output.
|
||||
/// For example:
|
||||
/// `ref: ".google.protobuf.Timestamp"`.
|
||||
@$pb.TagNumber(8)
|
||||
$core.String get ref => $_getSZ(7);
|
||||
@$pb.TagNumber(8)
|
||||
set ref($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasRef() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearRef() => $_clearField(8);
|
||||
|
||||
/// Custom properties that start with "x-" such as "x-foo" used to describe
|
||||
/// extra functionality that is not covered by the standard OpenAPI Specification.
|
||||
/// See: https://swagger.io/docs/specification/2-0/swagger-extensions/
|
||||
@$pb.TagNumber(9)
|
||||
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(8);
|
||||
}
|
||||
|
||||
/// 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file.
|
||||
/// These properties are not defined by OpenAPIv2, but they are used to control the generation.
|
||||
class JSONSchema_FieldConfiguration extends $pb.GeneratedMessage {
|
||||
factory JSONSchema_FieldConfiguration({
|
||||
$core.String? pathParamName,
|
||||
$core.bool? deprecated,
|
||||
}) {
|
||||
final result = create();
|
||||
if (pathParamName != null) result.pathParamName = pathParamName;
|
||||
if (deprecated != null) result.deprecated = deprecated;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1494,7 +1162,6 @@ class JSONSchema_FieldConfiguration extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JSONSchema.FieldConfiguration', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.gateway.protoc_gen_openapiv2.options'), createEmptyInstance: create)
|
||||
..aOS(47, _omitFieldNames ? '' : 'pathParamName')
|
||||
..aOB(49, _omitFieldNames ? '' : 'deprecated')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1527,17 +1194,6 @@ class JSONSchema_FieldConfiguration extends $pb.GeneratedMessage {
|
||||
$core.bool hasPathParamName() => $_has(0);
|
||||
@$pb.TagNumber(47)
|
||||
void clearPathParamName() => $_clearField(47);
|
||||
|
||||
/// Declares this field to be deprecated. Allows for the generated OpenAPI
|
||||
/// parameter to be marked as deprecated without affecting the proto field.
|
||||
@$pb.TagNumber(49)
|
||||
$core.bool get deprecated => $_getBF(1);
|
||||
@$pb.TagNumber(49)
|
||||
set deprecated($core.bool value) => $_setBool(1, value);
|
||||
@$pb.TagNumber(49)
|
||||
$core.bool hasDeprecated() => $_has(1);
|
||||
@$pb.TagNumber(49)
|
||||
void clearDeprecated() => $_clearField(49);
|
||||
}
|
||||
|
||||
/// `JSONSchema` represents properties from JSON Schema taken, and as used, in
|
||||
|
||||
@@ -37,29 +37,6 @@ class Scheme extends $pb.ProtobufEnum {
|
||||
const Scheme._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// `Type` is a supported HTTP header type.
|
||||
/// See https://swagger.io/specification/v2/#parameterType.
|
||||
class HeaderParameter_Type extends $pb.ProtobufEnum {
|
||||
static const HeaderParameter_Type UNKNOWN = HeaderParameter_Type._(0, _omitEnumNames ? '' : 'UNKNOWN');
|
||||
static const HeaderParameter_Type STRING = HeaderParameter_Type._(1, _omitEnumNames ? '' : 'STRING');
|
||||
static const HeaderParameter_Type NUMBER = HeaderParameter_Type._(2, _omitEnumNames ? '' : 'NUMBER');
|
||||
static const HeaderParameter_Type INTEGER = HeaderParameter_Type._(3, _omitEnumNames ? '' : 'INTEGER');
|
||||
static const HeaderParameter_Type BOOLEAN = HeaderParameter_Type._(4, _omitEnumNames ? '' : 'BOOLEAN');
|
||||
|
||||
static const $core.List<HeaderParameter_Type> values = <HeaderParameter_Type> [
|
||||
UNKNOWN,
|
||||
STRING,
|
||||
NUMBER,
|
||||
INTEGER,
|
||||
BOOLEAN,
|
||||
];
|
||||
|
||||
static final $core.List<HeaderParameter_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
||||
static HeaderParameter_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const HeaderParameter_Type._(super.value, super.name);
|
||||
}
|
||||
|
||||
class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum {
|
||||
static const JSONSchema_JSONSchemaSimpleTypes UNKNOWN = JSONSchema_JSONSchemaSimpleTypes._(0, _omitEnumNames ? '' : 'UNKNOWN');
|
||||
static const JSONSchema_JSONSchemaSimpleTypes ARRAY = JSONSchema_JSONSchemaSimpleTypes._(1, _omitEnumNames ? '' : 'ARRAY');
|
||||
|
||||
@@ -115,7 +115,6 @@ const Operation$json = {
|
||||
{'1': 'deprecated', '3': 11, '4': 1, '5': 8, '10': 'deprecated'},
|
||||
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
|
||||
{'1': 'extensions', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry', '10': 'extensions'},
|
||||
{'1': 'parameters', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Parameters', '10': 'parameters'},
|
||||
],
|
||||
'3': [Operation_ResponsesEntry$json, Operation_ExtensionsEntry$json],
|
||||
'9': [
|
||||
@@ -157,63 +156,11 @@ final $typed_data.Uint8List operationDescriptor = $convert.base64Decode(
|
||||
'N1cml0eRgMIAMoCzI+LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
|
||||
'LlNlY3VyaXR5UmVxdWlyZW1lbnRSCHNlY3VyaXR5EmQKCmV4dGVuc2lvbnMYDSADKAsyRC5ncn'
|
||||
'BjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5PcGVyYXRpb24uRXh0ZW5z'
|
||||
'aW9uc0VudHJ5UgpleHRlbnNpb25zElUKCnBhcmFtZXRlcnMYDiABKAsyNS5ncnBjLmdhdGV3YX'
|
||||
'kucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5QYXJhbWV0ZXJzUgpwYXJhbWV0ZXJzGnEK'
|
||||
'DlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy'
|
||||
'5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4'
|
||||
'ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi'
|
||||
'5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4AUoECAgQCQ==');
|
||||
|
||||
@$core.Deprecated('Use parametersDescriptor instead')
|
||||
const Parameters$json = {
|
||||
'1': 'Parameters',
|
||||
'2': [
|
||||
{'1': 'headers', '3': 1, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter', '10': 'headers'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Parameters`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List parametersDescriptor = $convert.base64Decode(
|
||||
'CgpQYXJhbWV0ZXJzElQKB2hlYWRlcnMYASADKAsyOi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl'
|
||||
'9vcGVuYXBpdjIub3B0aW9ucy5IZWFkZXJQYXJhbWV0ZXJSB2hlYWRlcnM=');
|
||||
|
||||
@$core.Deprecated('Use headerParameterDescriptor instead')
|
||||
const HeaderParameter$json = {
|
||||
'1': 'HeaderParameter',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
|
||||
{'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type', '10': 'type'},
|
||||
{'1': 'format', '3': 4, '4': 1, '5': 9, '10': 'format'},
|
||||
{'1': 'required', '3': 5, '4': 1, '5': 8, '10': 'required'},
|
||||
],
|
||||
'4': [HeaderParameter_Type$json],
|
||||
'9': [
|
||||
{'1': 6, '2': 7},
|
||||
{'1': 7, '2': 8},
|
||||
],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use headerParameterDescriptor instead')
|
||||
const HeaderParameter_Type$json = {
|
||||
'1': 'Type',
|
||||
'2': [
|
||||
{'1': 'UNKNOWN', '2': 0},
|
||||
{'1': 'STRING', '2': 1},
|
||||
{'1': 'NUMBER', '2': 2},
|
||||
{'1': 'INTEGER', '2': 3},
|
||||
{'1': 'BOOLEAN', '2': 4},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `HeaderParameter`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List headerParameterDescriptor = $convert.base64Decode(
|
||||
'Cg9IZWFkZXJQYXJhbWV0ZXISEgoEbmFtZRgBIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgCIA'
|
||||
'EoCVILZGVzY3JpcHRpb24SUwoEdHlwZRgDIAEoDjI/LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2Vu'
|
||||
'X29wZW5hcGl2Mi5vcHRpb25zLkhlYWRlclBhcmFtZXRlci5UeXBlUgR0eXBlEhYKBmZvcm1hdB'
|
||||
'gEIAEoCVIGZm9ybWF0EhoKCHJlcXVpcmVkGAUgASgIUghyZXF1aXJlZCJFCgRUeXBlEgsKB1VO'
|
||||
'S05PV04QABIKCgZTVFJJTkcQARIKCgZOVU1CRVIQAhILCgdJTlRFR0VSEAMSCwoHQk9PTEVBTh'
|
||||
'AESgQIBhAHSgQIBxAI');
|
||||
'aW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2'
|
||||
'V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
|
||||
'dGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgAS'
|
||||
'gJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4'
|
||||
'AUoECAgQCQ==');
|
||||
|
||||
@$core.Deprecated('Use headerDescriptor instead')
|
||||
const Header$json = {
|
||||
@@ -410,45 +357,6 @@ final $typed_data.Uint8List schemaDescriptor = $convert.base64Decode(
|
||||
'Lm9wdGlvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZR'
|
||||
'gGIAEoCVIHZXhhbXBsZUoECAQQBQ==');
|
||||
|
||||
@$core.Deprecated('Use enumSchemaDescriptor instead')
|
||||
const EnumSchema$json = {
|
||||
'1': 'EnumSchema',
|
||||
'2': [
|
||||
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
|
||||
{'1': 'default', '3': 2, '4': 1, '5': 9, '10': 'default'},
|
||||
{'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'},
|
||||
{'1': 'required', '3': 4, '4': 1, '5': 8, '10': 'required'},
|
||||
{'1': 'read_only', '3': 5, '4': 1, '5': 8, '10': 'readOnly'},
|
||||
{'1': 'external_docs', '3': 6, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
|
||||
{'1': 'example', '3': 7, '4': 1, '5': 9, '10': 'example'},
|
||||
{'1': 'ref', '3': 8, '4': 1, '5': 9, '10': 'ref'},
|
||||
{'1': 'extensions', '3': 9, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry', '10': 'extensions'},
|
||||
],
|
||||
'3': [EnumSchema_ExtensionsEntry$json],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use enumSchemaDescriptor instead')
|
||||
const EnumSchema_ExtensionsEntry$json = {
|
||||
'1': 'ExtensionsEntry',
|
||||
'2': [
|
||||
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
||||
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
|
||||
],
|
||||
'7': {'7': true},
|
||||
};
|
||||
|
||||
/// Descriptor for `EnumSchema`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List enumSchemaDescriptor = $convert.base64Decode(
|
||||
'CgpFbnVtU2NoZW1hEiAKC2Rlc2NyaXB0aW9uGAEgASgJUgtkZXNjcmlwdGlvbhIYCgdkZWZhdW'
|
||||
'x0GAIgASgJUgdkZWZhdWx0EhQKBXRpdGxlGAMgASgJUgV0aXRsZRIaCghyZXF1aXJlZBgEIAEo'
|
||||
'CFIIcmVxdWlyZWQSGwoJcmVhZF9vbmx5GAUgASgIUghyZWFkT25seRJlCg1leHRlcm5hbF9kb2'
|
||||
'NzGAYgASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuRXh0'
|
||||
'ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZRgHIAEoCVIHZXhhbX'
|
||||
'BsZRIQCgNyZWYYCCABKAlSA3JlZhJlCgpleHRlbnNpb25zGAkgAygLMkUuZ3JwYy5nYXRld2F5'
|
||||
'LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuRW51bVNjaGVtYS5FeHRlbnNpb25zRW50cn'
|
||||
'lSCmV4dGVuc2lvbnMaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZh'
|
||||
'bHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAE=');
|
||||
|
||||
@$core.Deprecated('Use jSONSchemaDescriptor instead')
|
||||
const JSONSchema$json = {
|
||||
'1': 'JSONSchema',
|
||||
@@ -504,7 +412,6 @@ const JSONSchema_FieldConfiguration$json = {
|
||||
'1': 'FieldConfiguration',
|
||||
'2': [
|
||||
{'1': 'path_param_name', '3': 47, '4': 1, '5': 9, '10': 'pathParamName'},
|
||||
{'1': 'deprecated', '3': 49, '4': 1, '5': 8, '10': 'deprecated'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -553,14 +460,13 @@ final $typed_data.Uint8List jSONSchemaDescriptor = $convert.base64Decode(
|
||||
'Rld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5GaWVsZENvbmZp'
|
||||
'Z3VyYXRpb25SEmZpZWxkQ29uZmlndXJhdGlvbhJlCgpleHRlbnNpb25zGDAgAygLMkUuZ3JwYy'
|
||||
'5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5FeHRlbnNp'
|
||||
'b25zRW50cnlSCmV4dGVuc2lvbnMaXAoSRmllbGRDb25maWd1cmF0aW9uEiYKD3BhdGhfcGFyYW'
|
||||
'1fbmFtZRgvIAEoCVINcGF0aFBhcmFtTmFtZRIeCgpkZXByZWNhdGVkGDEgASgIUgpkZXByZWNh'
|
||||
'dGVkGlUKD0V4dGVuc2lvbnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIsCgV2YWx1ZRgCIAEoCz'
|
||||
'IWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZVIFdmFsdWU6AjgBIncKFUpTT05TY2hlbWFTaW1wbGVU'
|
||||
'eXBlcxILCgdVTktOT1dOEAASCQoFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEg'
|
||||
'gKBE5VTEwQBBIKCgZOVU1CRVIQBRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQ'
|
||||
'A0oECAQQBUoECBIQE0oECBMQFEoECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKk'
|
||||
'oECCoQK0oECCsQLg==');
|
||||
'b25zRW50cnlSCmV4dGVuc2lvbnMaPAoSRmllbGRDb25maWd1cmF0aW9uEiYKD3BhdGhfcGFyYW'
|
||||
'1fbmFtZRgvIAEoCVINcGF0aFBhcmFtTmFtZRpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEg'
|
||||
'ASgJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOg'
|
||||
'I4ASJ3ChVKU09OU2NoZW1hU2ltcGxlVHlwZXMSCwoHVU5LTk9XThAAEgkKBUFSUkFZEAESCwoH'
|
||||
'Qk9PTEVBThACEgsKB0lOVEVHRVIQAxIICgROVUxMEAQSCgoGTlVNQkVSEAUSCgoGT0JKRUNUEA'
|
||||
'YSCgoGU1RSSU5HEAdKBAgBEAJKBAgCEANKBAgEEAVKBAgSEBNKBAgTEBRKBAgXEBhKBAgbEBxK'
|
||||
'BAgcEB1KBAgdEB5KBAgeECJKBAglECpKBAgqECtKBAgrEC4=');
|
||||
|
||||
@$core.Deprecated('Use tagDescriptor instead')
|
||||
const Tag$json = {
|
||||
|
||||
@@ -481,7 +481,6 @@ class Options {
|
||||
static final moduleID = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'moduleID', 50404, $pb.PbFieldType.OS, protoName: 'moduleID');
|
||||
static final tableName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'tableName', 50405, $pb.PbFieldType.OS, protoName: 'tableName');
|
||||
static final customInput = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'customInput', 50406, $pb.PbFieldType.OB, protoName: 'customInput');
|
||||
static final tags = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'tags', 50407, $pb.PbFieldType.OS);
|
||||
static final value = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.EnumValueOptions', _omitFieldNames ? '' : 'value', 50500, $pb.PbFieldType.OS);
|
||||
static void registerAllExtensions($pb.ExtensionRegistry registry) {
|
||||
registry.add(entityName);
|
||||
@@ -541,7 +540,6 @@ class Options {
|
||||
registry.add(moduleID);
|
||||
registry.add(tableName);
|
||||
registry.add(customInput);
|
||||
registry.add(tags);
|
||||
registry.add(value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ const OrderCreatedPayload$json = {
|
||||
{'1': 'ParentOrder', '3': 2, '4': 1, '5': 11, '6': '.api.ReferencedID', '10': 'ParentOrder'},
|
||||
{'1': 'LanguageCodeISO6391', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'LanguageCodeISO6391'},
|
||||
{'1': 'MetaData', '3': 4, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'},
|
||||
{'1': 'Buyer', '3': 5, '4': 1, '5': 11, '6': '.api.TradeTier', '10': 'Buyer'},
|
||||
{'1': 'Buyer', '3': 5, '4': 1, '5': 11, '6': '.api.TradeTier', '8': {}, '10': 'Buyer'},
|
||||
{'1': 'Seller', '3': 6, '4': 1, '5': 11, '6': '.api.TradeTier', '10': 'Seller'},
|
||||
{'1': 'ShipFrom', '3': 7, '4': 1, '5': 11, '6': '.api.TradeTier', '8': {}, '10': 'ShipFrom'},
|
||||
{'1': 'ShipTo', '3': 8, '4': 1, '5': 11, '6': '.api.TradeTier', '8': {}, '10': 'ShipTo'},
|
||||
@@ -45,19 +45,19 @@ final $typed_data.Uint8List orderCreatedPayloadDescriptor = $convert.base64Decod
|
||||
'YXRhGAQgAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEKXAZJBiAEyhQFNZXRhZGF0YSBhcmUgY2'
|
||||
'hhcmFjdGVyaXN0aWNzIHNwZWNpZmljIHRvIHRoZSBwcm9qZWN0LiBUaGV5IGNhbiBiZSBvZiBz'
|
||||
'ZXZlcmFsIGRhdGEgZm9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvciB0aW'
|
||||
'1lc3RhbXApwMEYAerBGANLZXlSCE1ldGFEYXRhEiQKBUJ1eWVyGAUgASgLMg4uYXBpLlRyYWRl'
|
||||
'VGllclIFQnV5ZXISJgoGU2VsbGVyGAYgASgLMg4uYXBpLlRyYWRlVGllclIGU2VsbGVyEk0KCF'
|
||||
'NoaXBGcm9tGAcgASgLMg4uYXBpLlRyYWRlVGllckIhkkEeMhxXaGVyZSB0byBzaGlwIHRoZSBv'
|
||||
'cmRlciBmcm9tUghTaGlwRnJvbRJPCgZTaGlwVG8YCCABKAsyDi5hcGkuVHJhZGVUaWVyQieSQR'
|
||||
'wyGldoZXJlIHRvIHNoaXAgdGhlIG9yZGVyIHRv+kIFigECEAFSBlNoaXBUbxJOCgdDYXJyaWVy'
|
||||
'GAkgASgLMg4uYXBpLlRyYWRlVGllckIkkkEhMh9EZWZpbml0aW9uIG9mIHRoZSBvcmRlciBjYX'
|
||||
'JyaWVyUgdDYXJyaWVyEkQKDkNhcnJpZXJTZXJ2aWNlGAwgASgJQhySQRkyF1R5cGUgb2YgY2Fy'
|
||||
'cmllciBzZXJ2aWNlUg5DYXJyaWVyU2VydmljZRJPChNSZXF1ZXN0ZWRNaWxlc3RvbmVzGAogAS'
|
||||
'gLMh0uYXBpLk9yZGVyUmVxdWVzdGVkTWlsZXN0b25lc1ITUmVxdWVzdGVkTWlsZXN0b25lcxJH'
|
||||
'CgVMaW5lcxgLIAMoCzIOLmFwaS5PcmRlckxpbmVCIZJBFDISTGluZXMgb2YgdGhlIG9yZGVy6s'
|
||||
'EYBkxpbmVJRFIFTGluZXM6cpJBNAoy0gEQQ3JlYXRpb25EYXRlVGltZdIBBlNoaXBUb9IBE0xh'
|
||||
'bmd1YWdlQ29kZUlTTzYzOTGiuxgFRXZlbnSouxgBursYB0NyZWF0ZWTKuxgfY29tcHV0ZUVxdW'
|
||||
'l2YWxlbnRMVkJhc2VRdWFudGl0eQ==');
|
||||
'1lc3RhbXApwMEYAerBGANLZXlSCE1ldGFEYXRhEi4KBUJ1eWVyGAUgASgLMg4uYXBpLlRyYWRl'
|
||||
'VGllckII+kIFigECEAFSBUJ1eWVyEiYKBlNlbGxlchgGIAEoCzIOLmFwaS5UcmFkZVRpZXJSBl'
|
||||
'NlbGxlchJNCghTaGlwRnJvbRgHIAEoCzIOLmFwaS5UcmFkZVRpZXJCIZJBHjIcV2hlcmUgdG8g'
|
||||
'c2hpcCB0aGUgb3JkZXIgZnJvbVIIU2hpcEZyb20STwoGU2hpcFRvGAggASgLMg4uYXBpLlRyYW'
|
||||
'RlVGllckInkkEcMhpXaGVyZSB0byBzaGlwIHRoZSBvcmRlciB0b/pCBYoBAhABUgZTaGlwVG8S'
|
||||
'TgoHQ2FycmllchgJIAEoCzIOLmFwaS5UcmFkZVRpZXJCJJJBITIfRGVmaW5pdGlvbiBvZiB0aG'
|
||||
'Ugb3JkZXIgY2FycmllclIHQ2FycmllchJECg5DYXJyaWVyU2VydmljZRgMIAEoCUIckkEZMhdU'
|
||||
'eXBlIG9mIGNhcnJpZXIgc2VydmljZVIOQ2FycmllclNlcnZpY2USTwoTUmVxdWVzdGVkTWlsZX'
|
||||
'N0b25lcxgKIAEoCzIdLmFwaS5PcmRlclJlcXVlc3RlZE1pbGVzdG9uZXNSE1JlcXVlc3RlZE1p'
|
||||
'bGVzdG9uZXMSRwoFTGluZXMYCyADKAsyDi5hcGkuT3JkZXJMaW5lQiGSQRQyEkxpbmVzIG9mIH'
|
||||
'RoZSBvcmRlcurBGAZMaW5lSURSBUxpbmVzOmSSQSYKJNIBEENyZWF0aW9uRGF0ZVRpbWXSAQVC'
|
||||
'dXllctIBBlNoaXBUb6K7GAVFdmVudKi7GAG6uxgHQ3JlYXRlZMq7GB9jb21wdXRlRXF1aXZhbG'
|
||||
'VudExWQmFzZVF1YW50aXR5');
|
||||
|
||||
@$core.Deprecated('Use orderCreatedEventDescriptor instead')
|
||||
const OrderCreatedEvent$json = {
|
||||
|
||||
@@ -36,7 +36,6 @@ class Role extends $pb.GeneratedMessage {
|
||||
$core.String? createdBy,
|
||||
$core.String? description,
|
||||
$core.Iterable<ExternalPermission>? externalPermissions,
|
||||
$core.Iterable<$1.RoleTag>? tags,
|
||||
}) {
|
||||
final result = create();
|
||||
if (iD != null) result.iD = iD;
|
||||
@@ -51,7 +50,6 @@ class Role extends $pb.GeneratedMessage {
|
||||
if (createdBy != null) result.createdBy = createdBy;
|
||||
if (description != null) result.description = description;
|
||||
if (externalPermissions != null) result.externalPermissions.addAll(externalPermissions);
|
||||
if (tags != null) result.tags.addAll(tags);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -73,7 +71,6 @@ class Role extends $pb.GeneratedMessage {
|
||||
..aOS(12, _omitFieldNames ? '' : 'CreatedBy', protoName: 'CreatedBy')
|
||||
..aOS(13, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
||||
..pc<ExternalPermission>(14, _omitFieldNames ? '' : 'ExternalPermissions', $pb.PbFieldType.PM, protoName: 'ExternalPermissions', subBuilder: ExternalPermission.create)
|
||||
..pc<$1.RoleTag>(15, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: $1.RoleTag.valueOf, enumValues: $1.RoleTag.values, defaultEnumValue: $1.RoleTag.ROLE_TAG_UNKNOWN)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -189,9 +186,6 @@ class Role extends $pb.GeneratedMessage {
|
||||
|
||||
@$pb.TagNumber(14)
|
||||
$pb.PbList<ExternalPermission> get externalPermissions => $_getList(11);
|
||||
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$1.RoleTag> get tags => $_getList(12);
|
||||
}
|
||||
|
||||
class ExternalPermission extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -59,7 +59,6 @@ const Role$json = {
|
||||
{'1': 'CreatedBy', '3': 12, '4': 1, '5': 9, '10': 'CreatedBy'},
|
||||
{'1': 'Description', '3': 13, '4': 1, '5': 9, '10': 'Description'},
|
||||
{'1': 'ExternalPermissions', '3': 14, '4': 3, '5': 11, '6': '.api.ExternalPermission', '10': 'ExternalPermissions'},
|
||||
{'1': 'Tags', '3': 15, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -75,7 +74,7 @@ final $typed_data.Uint8List roleDescriptor = $convert.base64Decode(
|
||||
'9JU09fODYwMSc+SVNPIDg2MDE8L2E+IGZvcm1hdIjCGAFSCUNyZWF0ZWRBdBIcCglDcmVhdGVk'
|
||||
'QnkYDCABKAlSCUNyZWF0ZWRCeRIgCgtEZXNjcmlwdGlvbhgNIAEoCVILRGVzY3JpcHRpb24SSQ'
|
||||
'oTRXh0ZXJuYWxQZXJtaXNzaW9ucxgOIAMoCzIXLmFwaS5FeHRlcm5hbFBlcm1pc3Npb25SE0V4'
|
||||
'dGVybmFsUGVybWlzc2lvbnMSIAoEVGFncxgPIAMoDjIMLmFwaS5Sb2xlVGFnUgRUYWdz');
|
||||
'dGVybmFsUGVybWlzc2lvbnM=');
|
||||
|
||||
@$core.Deprecated('Use externalPermissionDescriptor instead')
|
||||
const ExternalPermission$json = {
|
||||
|
||||
@@ -5416,7 +5416,6 @@ class Scope extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$core.String>? appliesOnIDs,
|
||||
$core.String? moduleID,
|
||||
$core.bool? mandatory,
|
||||
$core.Iterable<RoleTag>? tags,
|
||||
}) {
|
||||
final result = create();
|
||||
if (service != null) result.service = service;
|
||||
@@ -5428,7 +5427,6 @@ class Scope extends $pb.GeneratedMessage {
|
||||
if (appliesOnIDs != null) result.appliesOnIDs.addAll(appliesOnIDs);
|
||||
if (moduleID != null) result.moduleID = moduleID;
|
||||
if (mandatory != null) result.mandatory = mandatory;
|
||||
if (tags != null) result.tags.addAll(tags);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -5447,7 +5445,6 @@ class Scope extends $pb.GeneratedMessage {
|
||||
..pPS(7, _omitFieldNames ? '' : 'AppliesOnIDs', protoName: 'AppliesOnIDs')
|
||||
..aOS(8, _omitFieldNames ? '' : 'ModuleID', protoName: 'ModuleID')
|
||||
..aOB(9, _omitFieldNames ? '' : 'Mandatory', protoName: 'Mandatory')
|
||||
..pc<RoleTag>(10, _omitFieldNames ? '' : 'Tags', $pb.PbFieldType.KE, protoName: 'Tags', valueOf: RoleTag.valueOf, enumValues: RoleTag.values, defaultEnumValue: RoleTag.ROLE_TAG_UNKNOWN)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -5536,9 +5533,6 @@ class Scope extends $pb.GeneratedMessage {
|
||||
$core.bool hasMandatory() => $_has(8);
|
||||
@$pb.TagNumber(9)
|
||||
void clearMandatory() => $_clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<RoleTag> get tags => $_getList(9);
|
||||
}
|
||||
|
||||
class ClientAPI extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -512,23 +512,6 @@ class ResourceType extends $pb.ProtobufEnum {
|
||||
const ResourceType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class RoleTag extends $pb.ProtobufEnum {
|
||||
static const RoleTag ROLE_TAG_UNKNOWN = RoleTag._(0, _omitEnumNames ? '' : 'ROLE_TAG_UNKNOWN');
|
||||
static const RoleTag ROLE_TAG_PROJECT_ACTIVITY = RoleTag._(10, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_ACTIVITY');
|
||||
static const RoleTag ROLE_TAG_PROJECT_SITE = RoleTag._(20, _omitEnumNames ? '' : 'ROLE_TAG_PROJECT_SITE');
|
||||
|
||||
static const $core.List<RoleTag> values = <RoleTag> [
|
||||
ROLE_TAG_UNKNOWN,
|
||||
ROLE_TAG_PROJECT_ACTIVITY,
|
||||
ROLE_TAG_PROJECT_SITE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, RoleTag> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static RoleTag? valueOf($core.int value) => _byValue[value];
|
||||
|
||||
const RoleTag._(super.value, super.name);
|
||||
}
|
||||
|
||||
class PeriodUnit extends $pb.ProtobufEnum {
|
||||
static const PeriodUnit PERIOD_UNIT_UNDEFINED = PeriodUnit._(0, _omitEnumNames ? '' : 'PERIOD_UNIT_UNDEFINED');
|
||||
static const PeriodUnit PERIOD_UNIT_WORK_HOUR = PeriodUnit._(1, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_HOUR');
|
||||
@@ -553,17 +536,15 @@ class ExtractColumnFormat_type extends $pb.ProtobufEnum {
|
||||
static const ExtractColumnFormat_type DATE = ExtractColumnFormat_type._(1, _omitEnumNames ? '' : 'DATE');
|
||||
static const ExtractColumnFormat_type SUFFIX = ExtractColumnFormat_type._(2, _omitEnumNames ? '' : 'SUFFIX');
|
||||
static const ExtractColumnFormat_type NUMBER = ExtractColumnFormat_type._(3, _omitEnumNames ? '' : 'NUMBER');
|
||||
static const ExtractColumnFormat_type LOCAL_DATE = ExtractColumnFormat_type._(4, _omitEnumNames ? '' : 'LOCAL_DATE');
|
||||
|
||||
static const $core.List<ExtractColumnFormat_type> values = <ExtractColumnFormat_type> [
|
||||
UNKNOWN,
|
||||
DATE,
|
||||
SUFFIX,
|
||||
NUMBER,
|
||||
LOCAL_DATE,
|
||||
];
|
||||
|
||||
static final $core.List<ExtractColumnFormat_type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
||||
static final $core.List<ExtractColumnFormat_type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static ExtractColumnFormat_type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const ExtractColumnFormat_type._(super.value, super.name);
|
||||
|
||||
@@ -408,21 +408,6 @@ final $typed_data.Uint8List resourceTypeDescriptor = $convert.base64Decode(
|
||||
'VSQ0VfVFlQRV9DT05ORUNUSU9OEDISIAocUkVTT1VSQ0VfVFlQRV9BVFRBQ0hNRU5UVFlQRRA8'
|
||||
'EhsKF1JFU09VUkNFX1RZUEVfQ0xBSU1UWVBFEEY=');
|
||||
|
||||
@$core.Deprecated('Use roleTagDescriptor instead')
|
||||
const RoleTag$json = {
|
||||
'1': 'RoleTag',
|
||||
'2': [
|
||||
{'1': 'ROLE_TAG_UNKNOWN', '2': 0},
|
||||
{'1': 'ROLE_TAG_PROJECT_ACTIVITY', '2': 10},
|
||||
{'1': 'ROLE_TAG_PROJECT_SITE', '2': 20},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RoleTag`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List roleTagDescriptor = $convert.base64Decode(
|
||||
'CgdSb2xlVGFnEhQKEFJPTEVfVEFHX1VOS05PV04QABIdChlST0xFX1RBR19QUk9KRUNUX0FDVE'
|
||||
'lWSVRZEAoSGQoVUk9MRV9UQUdfUFJPSkVDVF9TSVRFEBQ=');
|
||||
|
||||
@$core.Deprecated('Use periodUnitDescriptor instead')
|
||||
const PeriodUnit$json = {
|
||||
'1': 'PeriodUnit',
|
||||
@@ -1721,7 +1706,6 @@ const ExtractColumnFormat_type$json = {
|
||||
{'1': 'DATE', '2': 1},
|
||||
{'1': 'SUFFIX', '2': 2},
|
||||
{'1': 'NUMBER', '2': 3},
|
||||
{'1': 'LOCAL_DATE', '2': 4},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1729,8 +1713,8 @@ const ExtractColumnFormat_type$json = {
|
||||
final $typed_data.Uint8List extractColumnFormatDescriptor = $convert.base64Decode(
|
||||
'ChNFeHRyYWN0Q29sdW1uRm9ybWF0EjEKBFR5cGUYASABKA4yHS5hcGkuRXh0cmFjdENvbHVtbk'
|
||||
'Zvcm1hdC50eXBlUgRUeXBlEhYKBkZvcm1hdBgCIAEoCVIGRm9ybWF0EjIKC0Rpc3BsYXlEYXRl'
|
||||
'GAMgASgOMhAuYXBpLkRpc3BsYXlEYXRlUgtEaXNwbGF5RGF0ZSJFCgR0eXBlEgsKB1VOS05PV0'
|
||||
'4QABIICgREQVRFEAESCgoGU1VGRklYEAISCgoGTlVNQkVSEAMSDgoKTE9DQUxfREFURRAE');
|
||||
'GAMgASgOMhAuYXBpLkRpc3BsYXlEYXRlUgtEaXNwbGF5RGF0ZSI1CgR0eXBlEgsKB1VOS05PV0'
|
||||
'4QABIICgREQVRFEAESCgoGU1VGRklYEAISCgoGTlVNQkVSEAM=');
|
||||
|
||||
@$core.Deprecated('Use extractQueryDescriptor instead')
|
||||
const ExtractQuery$json = {
|
||||
@@ -1855,7 +1839,6 @@ const Scope$json = {
|
||||
{'1': 'AppliesOnIDs', '3': 7, '4': 3, '5': 9, '10': 'AppliesOnIDs'},
|
||||
{'1': 'ModuleID', '3': 8, '4': 1, '5': 9, '10': 'ModuleID'},
|
||||
{'1': 'Mandatory', '3': 9, '4': 1, '5': 8, '10': 'Mandatory'},
|
||||
{'1': 'Tags', '3': 10, '4': 3, '5': 14, '6': '.api.RoleTag', '10': 'Tags'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
@@ -1868,8 +1851,7 @@ final $typed_data.Uint8List scopeDescriptor = $convert.base64Decode(
|
||||
'50UGVybWlzc2lvbnMYBSADKAsyDy5hcGkuUGVybWlzc2lvblIUVHJhbnNpZW50UGVybWlzc2lv'
|
||||
'bnMSFAoFUnNjSUQYBiABKAlSBVJzY0lEEiIKDEFwcGxpZXNPbklEcxgHIAMoCVIMQXBwbGllc0'
|
||||
'9uSURzEhoKCE1vZHVsZUlEGAggASgJUghNb2R1bGVJRBIcCglNYW5kYXRvcnkYCSABKAhSCU1h'
|
||||
'bmRhdG9yeRIgCgRUYWdzGAogAygOMgwuYXBpLlJvbGVUYWdSBFRhZ3M6D5JBDAoK0gEHU2Vydm'
|
||||
'ljZQ==');
|
||||
'bmRhdG9yeToPkkEMCgrSAQdTZXJ2aWNl');
|
||||
|
||||
@$core.Deprecated('Use clientAPIDescriptor instead')
|
||||
const ClientAPI$json = {
|
||||
|
||||
136
lib/site.pb.dart
136
lib/site.pb.dart
@@ -4885,142 +4885,6 @@ class InitBookerProfileResponse extends $pb.GeneratedMessage {
|
||||
void clearSiteID() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// CheckAppointmentEditable
|
||||
class CheckAppointmentEditableRequest extends $pb.GeneratedMessage {
|
||||
factory CheckAppointmentEditableRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? appointmentID,
|
||||
$core.String? actorID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
return result;
|
||||
}
|
||||
|
||||
CheckAppointmentEditableRequest._();
|
||||
|
||||
factory CheckAppointmentEditableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory CheckAppointmentEditableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckAppointmentEditableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..aOS(3, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentEditableRequest clone() => CheckAppointmentEditableRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentEditableRequest copyWith(void Function(CheckAppointmentEditableRequest) updates) => super.copyWith((message) => updates(message as CheckAppointmentEditableRequest)) as CheckAppointmentEditableRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentEditableRequest create() => CheckAppointmentEditableRequest._();
|
||||
@$core.override
|
||||
CheckAppointmentEditableRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<CheckAppointmentEditableRequest> createRepeated() => $pb.PbList<CheckAppointmentEditableRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentEditableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CheckAppointmentEditableRequest>(create);
|
||||
static CheckAppointmentEditableRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$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);
|
||||
|
||||
/// actor with which the siteID/project-depositID will be processed
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get actorID => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set actorID($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasActorID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearActorID() => $_clearField(3);
|
||||
}
|
||||
|
||||
class CheckAppointmentEditableResponse extends $pb.GeneratedMessage {
|
||||
factory CheckAppointmentEditableResponse({
|
||||
$3.ResponseHeader? header,
|
||||
$core.bool? isEditable,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (isEditable != null) result.isEditable = isEditable;
|
||||
return result;
|
||||
}
|
||||
|
||||
CheckAppointmentEditableResponse._();
|
||||
|
||||
factory CheckAppointmentEditableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory CheckAppointmentEditableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckAppointmentEditableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
|
||||
..aOB(3, _omitFieldNames ? '' : 'IsEditable', protoName: 'IsEditable')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentEditableResponse clone() => CheckAppointmentEditableResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentEditableResponse copyWith(void Function(CheckAppointmentEditableResponse) updates) => super.copyWith((message) => updates(message as CheckAppointmentEditableResponse)) as CheckAppointmentEditableResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentEditableResponse create() => CheckAppointmentEditableResponse._();
|
||||
@$core.override
|
||||
CheckAppointmentEditableResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<CheckAppointmentEditableResponse> createRepeated() => $pb.PbList<CheckAppointmentEditableResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentEditableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CheckAppointmentEditableResponse>(create);
|
||||
static CheckAppointmentEditableResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$3.ResponseHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(2)
|
||||
set header($3.ResponseHeader value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(2)
|
||||
void clearHeader() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$3.ResponseHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// bool IsModifiable = 1;
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool get isEditable => $_getBF(1);
|
||||
@$pb.TagNumber(3)
|
||||
set isEditable($core.bool value) => $_setBool(1, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasIsEditable() => $_has(1);
|
||||
@$pb.TagNumber(3)
|
||||
void clearIsEditable() => $_clearField(3);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -172,10 +172,6 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$getMyBookingContext, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.CheckAppointmentEditableResponse> checkAppointmentEditable($0.CheckAppointmentEditableRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$checkAppointmentEditable, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ListSettingsResponse> listSettings($0.ListSettingsRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$listSettings, request, options: options);
|
||||
}
|
||||
@@ -322,10 +318,6 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/GetMyBookingContext',
|
||||
($0.GetMyBookingContextRequest value) => value.writeToBuffer(),
|
||||
$0.GetMyBookingContextResponse.fromBuffer);
|
||||
static final _$checkAppointmentEditable = $grpc.ClientMethod<$0.CheckAppointmentEditableRequest, $0.CheckAppointmentEditableResponse>(
|
||||
'/api.SiteService/CheckAppointmentEditable',
|
||||
($0.CheckAppointmentEditableRequest value) => value.writeToBuffer(),
|
||||
$0.CheckAppointmentEditableResponse.fromBuffer);
|
||||
static final _$listSettings = $grpc.ClientMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
||||
'/api.SiteService/ListSettings',
|
||||
($0.ListSettingsRequest value) => value.writeToBuffer(),
|
||||
@@ -582,13 +574,6 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetMyBookingContextRequest.fromBuffer(value),
|
||||
($0.GetMyBookingContextResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.CheckAppointmentEditableRequest, $0.CheckAppointmentEditableResponse>(
|
||||
'CheckAppointmentEditable',
|
||||
checkAppointmentEditable_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CheckAppointmentEditableRequest.fromBuffer(value),
|
||||
($0.CheckAppointmentEditableResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
||||
'ListSettings',
|
||||
listSettings_Pre,
|
||||
@@ -808,12 +793,6 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.GetMyBookingContextResponse> getMyBookingContext($grpc.ServiceCall call, $0.GetMyBookingContextRequest request);
|
||||
|
||||
$async.Future<$0.CheckAppointmentEditableResponse> checkAppointmentEditable_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckAppointmentEditableRequest> $request) async {
|
||||
return checkAppointmentEditable($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CheckAppointmentEditableResponse> checkAppointmentEditable($grpc.ServiceCall call, $0.CheckAppointmentEditableRequest request);
|
||||
|
||||
$async.Future<$0.ListSettingsResponse> listSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.ListSettingsRequest> $request) async {
|
||||
return listSettings($call, await $request);
|
||||
}
|
||||
|
||||
@@ -1288,35 +1288,3 @@ final $typed_data.Uint8List initBookerProfileResponseDescriptor = $convert.base6
|
||||
'ChlJbml0Qm9va2VyUHJvZmlsZVJlc3BvbnNlEiYKDk9yZ2FuaXNhdGlvbklEGAEgASgJUg5Pcm'
|
||||
'dhbmlzYXRpb25JRBIWCgZTaXRlSUQYAiABKAlSBlNpdGVJRA==');
|
||||
|
||||
@$core.Deprecated('Use checkAppointmentEditableRequestDescriptor instead')
|
||||
const CheckAppointmentEditableRequest$json = {
|
||||
'1': 'CheckAppointmentEditableRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '10': 'AppointmentID'},
|
||||
{'1': 'ActorID', '3': 3, '4': 1, '5': 9, '10': 'ActorID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `CheckAppointmentEditableRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List checkAppointmentEditableRequestDescriptor = $convert.base64Decode(
|
||||
'Ch9DaGVja0FwcG9pbnRtZW50RWRpdGFibGVSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS'
|
||||
'5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchIkCg1BcHBvaW50bWVudElE'
|
||||
'GAIgASgJUg1BcHBvaW50bWVudElEEhgKB0FjdG9ySUQYAyABKAlSB0FjdG9ySUQ6HpJBGwoZ0g'
|
||||
'EGSGVhZGVy0gENQXBwb2ludG1lbnRJRA==');
|
||||
|
||||
@$core.Deprecated('Use checkAppointmentEditableResponseDescriptor instead')
|
||||
const CheckAppointmentEditableResponse$json = {
|
||||
'1': 'CheckAppointmentEditableResponse',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'},
|
||||
{'1': 'IsEditable', '3': 3, '4': 1, '5': 8, '10': 'IsEditable'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CheckAppointmentEditableResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List checkAppointmentEditableResponseDescriptor = $convert.base64Decode(
|
||||
'CiBDaGVja0FwcG9pbnRtZW50RWRpdGFibGVSZXNwb25zZRIrCgZIZWFkZXIYAiABKAsyEy5hcG'
|
||||
'kuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIeCgpJc0VkaXRhYmxlGAMgASgIUgpJc0VkaXRhYmxl');
|
||||
|
||||
|
||||
@@ -121,12 +121,12 @@ const Slot$json = {
|
||||
|
||||
/// Descriptor for `Slot`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List slotDescriptor = $convert.base64Decode(
|
||||
'CgRTbG90Eq0BCg1TdGFydERhdGVUaW1lGAEgASgJQoYB+kJgcl4yXF4yMFswLTldezJ9LSgwWz'
|
||||
'CgRTbG90EqgBCg1TdGFydERhdGVUaW1lGAEgASgJQoEB+kJgcl4yXF4yMFswLTldezJ9LSgwWz'
|
||||
'EtOV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSlUWzAxXVswLTldfDJbMC0zXTpb'
|
||||
'MC01XVswLTldOlswLTVdWzAtOV0kysIYCwoJCgEqEgRkYXRl2sIYEAoOCgEqEglsb2NhbGRhdG'
|
||||
'VSDVN0YXJ0RGF0ZVRpbWUSLAoRRHVyYXRpb25JblNlY29uZHMYAyABKARSEUR1cmF0aW9uSW5T'
|
||||
'ZWNvbmRzEkUKC0VuZERhdGVUaW1lGAQgASgJQiPKwhgLCgkKASoSBGRhdGXawhgQCg4KASoSCW'
|
||||
'xvY2FsZGF0ZVILRW5kRGF0ZVRpbWU=');
|
||||
'MC01XVswLTldOlswLTVdWzAtOV0kysIYCwoJCgEqEgRkYXRl2sIYCwoJCgEqEgRkYXRlUg1TdG'
|
||||
'FydERhdGVUaW1lEiwKEUR1cmF0aW9uSW5TZWNvbmRzGAMgASgEUhFEdXJhdGlvbkluU2Vjb25k'
|
||||
'cxJACgtFbmREYXRlVGltZRgEIAEoCUIeysIYCwoJCgEqEgRkYXRl2sIYCwoJCgEqEgRkYXRlUg'
|
||||
'tFbmREYXRlVGltZQ==');
|
||||
|
||||
@$core.Deprecated('Use segmentationDescriptor instead')
|
||||
const Segmentation$json = {
|
||||
@@ -507,7 +507,7 @@ const Commission$json = {
|
||||
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
|
||||
{'1': 'OrderID', '3': 2, '4': 1, '5': 9, '10': 'OrderID'},
|
||||
{'1': 'ExecutionflowID', '3': 5, '4': 1, '5': 9, '10': 'ExecutionflowID'},
|
||||
{'1': 'Quantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'Quantities'},
|
||||
{'1': 'Quantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '8': {}, '10': 'Quantities'},
|
||||
{'1': 'ActorID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ActorID'},
|
||||
],
|
||||
};
|
||||
@@ -516,8 +516,8 @@ const Commission$json = {
|
||||
final $typed_data.Uint8List commissionDescriptor = $convert.base64Decode(
|
||||
'CgpDb21taXNzaW9uEiUKCVByb2plY3RJRBgBIAEoCUIH+kIEcgIQAVIJUHJvamVjdElEEhgKB0'
|
||||
'9yZGVySUQYAiABKAlSB09yZGVySUQSKAoPRXhlY3V0aW9uZmxvd0lEGAUgASgJUg9FeGVjdXRp'
|
||||
'b25mbG93SUQSMwoKUXVhbnRpdGllcxgDIAMoCzITLmFwaS5RdWFudGl0eUJ5VW5pdFIKUXVhbn'
|
||||
'RpdGllcxIhCgdBY3RvcklEGAQgASgJQgf6QgRyAhABUgdBY3RvcklE');
|
||||
'b25mbG93SUQSPQoKUXVhbnRpdGllcxgDIAMoCzITLmFwaS5RdWFudGl0eUJ5VW5pdEII+kIFkg'
|
||||
'ECCAFSClF1YW50aXRpZXMSIQoHQWN0b3JJRBgEIAEoCUIH+kIEcgIQAVIHQWN0b3JJRA==');
|
||||
|
||||
@$core.Deprecated('Use wMSCommissionDescriptor instead')
|
||||
const WMSCommission$json = {
|
||||
|
||||
@@ -75,10 +75,6 @@ class StockQueryClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$findKPIData, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.ExtractResult> extract($1.ExtractQuery request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$extract, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$getByIds = $grpc.ClientMethod<$0.StockByIdQuery, $0.StockByIdResult>(
|
||||
@@ -117,10 +113,6 @@ class StockQueryClient extends $grpc.Client {
|
||||
'/api.StockQuery/FindKPIData',
|
||||
($2.FindKPIDataQuery value) => value.writeToBuffer(),
|
||||
$2.FindKPIDataResult.fromBuffer);
|
||||
static final _$extract = $grpc.ClientMethod<$1.ExtractQuery, $1.ExtractResult>(
|
||||
'/api.StockQuery/Extract',
|
||||
($1.ExtractQuery value) => value.writeToBuffer(),
|
||||
$1.ExtractResult.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.StockQuery')
|
||||
@@ -191,13 +183,6 @@ abstract class StockQueryServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $2.FindKPIDataQuery.fromBuffer(value),
|
||||
($2.FindKPIDataResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.ExtractQuery, $1.ExtractResult>(
|
||||
'Extract',
|
||||
extract_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.ExtractQuery.fromBuffer(value),
|
||||
($1.ExtractResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.StockByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$0.StockByIdQuery> $request) async {
|
||||
@@ -254,10 +239,4 @@ abstract class StockQueryServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$2.FindKPIDataResult> findKPIData($grpc.ServiceCall call, $2.FindKPIDataQuery request);
|
||||
|
||||
$async.Future<$1.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$1.ExtractQuery> $request) async {
|
||||
return extract($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.ExtractResult> extract($grpc.ServiceCall call, $1.ExtractQuery request);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user