11 Commits

Author SHA1 Message Date
ci viz model
e74f78ff61 Release 1.13.2 2026-04-24 13:24:05 +00:00
ci viz model
bce826caff Latest generation 2026-04-20 07:20:44 +00:00
ci viz model
5892c1290a Latest generation 2026-04-13 12:27:33 +00:00
ci viz model
a588a4d07c Latest generation 2026-04-07 12:19:15 +00:00
ci viz model
546c1fb356 Latest generation 2026-04-02 08:30:35 +00:00
ci viz model
c32e13a2b9 Latest generation 2026-04-01 09:25:21 +00:00
ci viz model
21d4fdae03 Latest generation 2026-04-01 09:24:21 +00:00
ci viz model
f94a54a111 Latest generation 2026-03-31 14:59:45 +00:00
ci viz model
5cfc5300a9 Latest generation 2026-02-27 14:46:08 +00:00
ci viz model
8e1303b230 Latest generation 2026-02-23 15:47:08 +00:00
ci viz model
f71189ee89 Latest generation 2026-01-16 14:54:00 +00:00
43 changed files with 3705 additions and 3011 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.13.0-SNAPSHOT-251217184843
Lib version: 1.13.2

View File

@@ -22,12 +22,14 @@ 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);
}

View File

@@ -434,6 +434,7 @@ class Options {
static final kpiGroups = $pb.Extension<KPIGroups>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'kpiGroups', 50008, $pb.PbFieldType.OM, protoName: 'kpiGroups', defaultOrMaker: KPIGroups.getDefault, subBuilder: KPIGroups.create);
static final version = $pb.Extension<$core.int>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'version', 50009, $pb.PbFieldType.OU3);
static final entityRscType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityRscType', 50010, $pb.PbFieldType.OS, protoName: 'entityRscType');
static final entityProjectTypes = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityProjectTypes', 50011, $pb.PbFieldType.OS, protoName: 'entityProjectTypes');
static final messageType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageType', 50100, $pb.PbFieldType.OS, protoName: 'messageType');
static final payload = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'payload', 50101, $pb.PbFieldType.OB);
static final action = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'action', 50102, $pb.PbFieldType.OS);
@@ -447,6 +448,8 @@ class Options {
static final triggerNotEventFilters = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerNotEventFilters', 50111, $pb.PbFieldType.OS, protoName: 'triggerNotEventFilters');
static final windowMethod = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'windowMethod', 50112, $pb.PbFieldType.OS, protoName: 'windowMethod');
static final keyByExpression = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'keyByExpression', 50113, $pb.PbFieldType.OS, protoName: 'keyByExpression');
static final triggerMinStatusFilter = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerMinStatusFilter', 50114, $pb.PbFieldType.OS, protoName: 'triggerMinStatusFilter');
static final triggerMaxStatusFilter = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerMaxStatusFilter', 50115, $pb.PbFieldType.OS, protoName: 'triggerMaxStatusFilter');
static final metadata = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'metadata', 50200, $pb.PbFieldType.OB);
static final mapPath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'mapPath', 50201, $pb.PbFieldType.OS, protoName: 'mapPath');
static final language = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'language', 50202, $pb.PbFieldType.OB);
@@ -469,6 +472,7 @@ class Options {
static final mapTypePath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'mapTypePath', 50220, $pb.PbFieldType.OS, protoName: 'mapTypePath');
static final indexationSkip = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'indexationSkip', 50221, $pb.PbFieldType.OB, protoName: 'indexationSkip');
static final indexationLimit = $pb.Extension<$core.int>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'indexationLimit', 50222, $pb.PbFieldType.OU3, protoName: 'indexationLimit');
static final enrichmentSkippedPath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'enrichmentSkippedPath', 50223, $pb.PbFieldType.OS, protoName: 'enrichmentSkippedPath');
static final serviceType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'serviceType', 50300, $pb.PbFieldType.OS, protoName: 'serviceType');
static final k8sService = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'k8sService', 50301, $pb.PbFieldType.OS, protoName: 'k8sService');
static final roleManager = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'roleManager', 50304, $pb.PbFieldType.OB, protoName: 'roleManager');
@@ -480,6 +484,8 @@ 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 aliasType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'aliasType', 50408, $pb.PbFieldType.OS, protoName: 'aliasType');
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);
@@ -492,6 +498,7 @@ class Options {
registry.add(kpiGroups);
registry.add(version);
registry.add(entityRscType);
registry.add(entityProjectTypes);
registry.add(messageType);
registry.add(payload);
registry.add(action);
@@ -505,6 +512,8 @@ class Options {
registry.add(triggerNotEventFilters);
registry.add(windowMethod);
registry.add(keyByExpression);
registry.add(triggerMinStatusFilter);
registry.add(triggerMaxStatusFilter);
registry.add(metadata);
registry.add(mapPath);
registry.add(language);
@@ -527,6 +536,7 @@ class Options {
registry.add(mapTypePath);
registry.add(indexationSkip);
registry.add(indexationLimit);
registry.add(enrichmentSkippedPath);
registry.add(serviceType);
registry.add(k8sService);
registry.add(roleManager);
@@ -538,6 +548,8 @@ class Options {
registry.add(moduleID);
registry.add(tableName);
registry.add(customInput);
registry.add(tags);
registry.add(aliasType);
registry.add(value);
}
}

View File

@@ -125,124 +125,6 @@ class NextCounterResult extends $pb.GeneratedMessage {
void clearValue() => $_clearField(1);
}
class NextProjectCounterSiteRequest extends $pb.GeneratedMessage {
factory NextProjectCounterSiteRequest({
$1.RequestProjectHeader? header,
$core.String? actorID,
$core.String? key,
}) {
final result = create();
if (header != null) result.header = header;
if (actorID != null) result.actorID = actorID;
if (key != null) result.key = key;
return result;
}
NextProjectCounterSiteRequest._();
factory NextProjectCounterSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory NextProjectCounterSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextProjectCounterSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
..aOS(3, _omitFieldNames ? '' : 'Key', protoName: 'Key')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
NextProjectCounterSiteRequest clone() => NextProjectCounterSiteRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
NextProjectCounterSiteRequest copyWith(void Function(NextProjectCounterSiteRequest) updates) => super.copyWith((message) => updates(message as NextProjectCounterSiteRequest)) as NextProjectCounterSiteRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static NextProjectCounterSiteRequest create() => NextProjectCounterSiteRequest._();
@$core.override
NextProjectCounterSiteRequest createEmptyInstance() => create();
static $pb.PbList<NextProjectCounterSiteRequest> createRepeated() => $pb.PbList<NextProjectCounterSiteRequest>();
@$core.pragma('dart2js:noInline')
static NextProjectCounterSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NextProjectCounterSiteRequest>(create);
static NextProjectCounterSiteRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get actorID => $_getSZ(1);
@$pb.TagNumber(2)
set actorID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasActorID() => $_has(1);
@$pb.TagNumber(2)
void clearActorID() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get key => $_getSZ(2);
@$pb.TagNumber(3)
set key($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasKey() => $_has(2);
@$pb.TagNumber(3)
void clearKey() => $_clearField(3);
}
class NextCounterSiteResult extends $pb.GeneratedMessage {
factory NextCounterSiteResult({
$fixnum.Int64? value,
}) {
final result = create();
if (value != null) result.value = value;
return result;
}
NextCounterSiteResult._();
factory NextCounterSiteResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory NextCounterSiteResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextCounterSiteResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
NextCounterSiteResult clone() => NextCounterSiteResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
NextCounterSiteResult copyWith(void Function(NextCounterSiteResult) updates) => super.copyWith((message) => updates(message as NextCounterSiteResult)) as NextCounterSiteResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static NextCounterSiteResult create() => NextCounterSiteResult._();
@$core.override
NextCounterSiteResult createEmptyInstance() => create();
static $pb.PbList<NextCounterSiteResult> createRepeated() => $pb.PbList<NextCounterSiteResult>();
@$core.pragma('dart2js:noInline')
static NextCounterSiteResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NextCounterSiteResult>(create);
static NextCounterSiteResult? _defaultInstance;
@$pb.TagNumber(1)
$fixnum.Int64 get value => $_getI64(0);
@$pb.TagNumber(1)
set value($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => $_clearField(1);
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -36,20 +36,12 @@ class ProjectCountersServiceClient extends $grpc.Client {
return $createUnaryCall(_$next, request, options: options);
}
$grpc.ResponseFuture<$0.NextCounterSiteResult> nextSite($0.NextProjectCounterSiteRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$nextSite, request, options: options);
}
// method descriptors
static final _$next = $grpc.ClientMethod<$0.NextProjectCounterRequest, $0.NextCounterResult>(
'/vizapi.ProjectCountersService/Next',
($0.NextProjectCounterRequest value) => value.writeToBuffer(),
$0.NextCounterResult.fromBuffer);
static final _$nextSite = $grpc.ClientMethod<$0.NextProjectCounterSiteRequest, $0.NextCounterSiteResult>(
'/vizapi.ProjectCountersService/NextSite',
($0.NextProjectCounterSiteRequest value) => value.writeToBuffer(),
$0.NextCounterSiteResult.fromBuffer);
}
@$pb.GrpcServiceName('vizapi.ProjectCountersService')
@@ -64,13 +56,6 @@ abstract class ProjectCountersServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.NextProjectCounterRequest.fromBuffer(value),
($0.NextCounterResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.NextProjectCounterSiteRequest, $0.NextCounterSiteResult>(
'NextSite',
nextSite_Pre,
false,
false,
($core.List<$core.int> value) => $0.NextProjectCounterSiteRequest.fromBuffer(value),
($0.NextCounterSiteResult value) => value.writeToBuffer()));
}
$async.Future<$0.NextCounterResult> next_Pre($grpc.ServiceCall $call, $async.Future<$0.NextProjectCounterRequest> $request) async {
@@ -79,10 +64,4 @@ abstract class ProjectCountersServiceBase extends $grpc.Service {
$async.Future<$0.NextCounterResult> next($grpc.ServiceCall call, $0.NextProjectCounterRequest request);
$async.Future<$0.NextCounterSiteResult> nextSite_Pre($grpc.ServiceCall $call, $async.Future<$0.NextProjectCounterSiteRequest> $request) async {
return nextSite($call, await $request);
}
$async.Future<$0.NextCounterSiteResult> nextSite($grpc.ServiceCall call, $0.NextProjectCounterSiteRequest request);
}

View File

@@ -42,33 +42,3 @@ const NextCounterResult$json = {
final $typed_data.Uint8List nextCounterResultDescriptor = $convert.base64Decode(
'ChFOZXh0Q291bnRlclJlc3VsdBIUCgVWYWx1ZRgBIAEoA1IFVmFsdWU=');
@$core.Deprecated('Use nextProjectCounterSiteRequestDescriptor instead')
const NextProjectCounterSiteRequest$json = {
'1': 'NextProjectCounterSiteRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ActorID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ActorID'},
{'1': 'Key', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Key'},
],
'7': {},
};
/// Descriptor for `NextProjectCounterSiteRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List nextProjectCounterSiteRequestDescriptor = $convert.base64Decode(
'Ch1OZXh0UHJvamVjdENvdW50ZXJTaXRlUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUm'
'VxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISIQoHQWN0b3JJRBgCIAEoCUIH'
'+kIEcgIQAVIHQWN0b3JJRBImCgNLZXkYAyABKAlCFJJBCkoIImNsYWltcyL6QgRyAhABUgNLZX'
'k6HpJBGwoZ0gEGSGVhZGVy0gEHQWN0b3JJRNIBA0tleQ==');
@$core.Deprecated('Use nextCounterSiteResultDescriptor instead')
const NextCounterSiteResult$json = {
'1': 'NextCounterSiteResult',
'2': [
{'1': 'Value', '3': 1, '4': 1, '5': 3, '10': 'Value'},
],
};
/// Descriptor for `NextCounterSiteResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List nextCounterSiteResultDescriptor = $convert.base64Decode(
'ChVOZXh0Q291bnRlclNpdGVSZXN1bHQSFAoFVmFsdWUYASABKANSBVZhbHVl');

View File

@@ -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.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values);
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 void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(fieldBehavior);
}

View File

@@ -44,6 +44,29 @@ 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,
@@ -52,9 +75,12 @@ 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, 5);
static final $core.List<FieldBehavior?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 8);
static FieldBehavior? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldBehavior._(super.value, super.name);

View File

@@ -24,6 +24,9 @@ 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},
],
};
@@ -31,5 +34,6 @@ const FieldBehavior$json = {
final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode(
'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU'
'9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K'
'CUlNTVVUQUJMRRAF');
'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx'
'IOCgpJREVOVElGSUVSEAg=');

View File

@@ -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,9 +131,8 @@ enum HttpRule_Pattern {
///
/// This enables an HTTP REST to gRPC mapping as below:
///
/// HTTP | gRPC
/// -----|-----
/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
/// - HTTP: `GET /v1/messages/123456`
/// - gRPC: `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.
@@ -157,11 +156,9 @@ enum HttpRule_Pattern {
///
/// This enables a HTTP JSON to RPC mapping as below:
///
/// HTTP | gRPC
/// -----|-----
/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
/// "foo"))`
/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
/// - gRPC: `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.
@@ -191,10 +188,8 @@ enum HttpRule_Pattern {
/// representation of the JSON in the request body is determined by
/// protos JSON encoding:
///
/// HTTP | gRPC
/// -----|-----
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
/// "123456" message { text: "Hi!" })`
/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
/// - gRPC: `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
@@ -217,10 +212,8 @@ enum HttpRule_Pattern {
///
/// The following HTTP JSON to RPC mapping is enabled:
///
/// HTTP | gRPC
/// -----|-----
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
/// "123456" text: "Hi!")`
/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
/// - gRPC: `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
@@ -248,29 +241,32 @@ enum HttpRule_Pattern {
///
/// This enables the following two alternative HTTP JSON to RPC mappings:
///
/// 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/messages/123456`
/// - gRPC: `GetMessage(message_id: "123456")`
///
/// ## Rules for HTTP mapping
/// - HTTP: `GET /v1/users/me/messages/123456`
/// - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
///
/// 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 } ;
@@ -309,7 +305,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
@@ -324,15 +320,14 @@ enum HttpRule_Pattern {
/// specified in the service config will override any matching transcoding
/// configuration in the proto.
///
/// Example:
/// The following example selects a gRPC method and applies an `HttpRule` to it:
///
/// 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
@@ -437,7 +432,8 @@ 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)

View File

@@ -38,12 +38,15 @@ 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:
@@ -53,6 +56,7 @@ 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

View File

@@ -42,6 +42,10 @@ 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.
///
@@ -56,10 +60,13 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Example 4: Pack and unpack a message in Go
///
/// foo := &pb.Foo{...}
/// any, err := ptypes.MarshalAny(foo)
/// any, err := anypb.New(foo)
/// if err != nil {
/// ...
/// }
/// ...
/// foo := &pb.Foo{}
/// if err := ptypes.UnmarshalAny(any, foo); err != nil {
/// if err := any.UnmarshalTo(foo); err != nil {
/// ...
/// }
///
@@ -69,7 +76,6 @@ 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
@@ -159,7 +165,8 @@ 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.
/// type.googleapis.com. As of May 2023, there are no widely used type server
/// implementations and no plans to implement one.
///
/// Schemes other than `http`, `https` (or the empty scheme) might be
/// used with implementation specific semantics.

View File

@@ -28,6 +28,11 @@ 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,
@@ -37,6 +42,7 @@ 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;
@@ -46,6 +52,7 @@ 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;
}
@@ -62,6 +69,7 @@ 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
;
@@ -155,9 +163,24 @@ 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,
@@ -166,7 +189,10 @@ 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;
@@ -176,6 +202,7 @@ 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;
}
@@ -192,6 +219,7 @@ 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
;
@@ -267,14 +295,38 @@ 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
@@ -324,7 +376,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 inherting
/// see the effective `Storage.GetAcl` method after inheriting
/// documentation and annotations as follows:
///
/// service Storage {

View File

@@ -25,6 +25,7 @@ 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'},
],
};
@@ -35,7 +36,8 @@ final $typed_data.Uint8List apiDescriptor = $convert.base64Decode(
'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2'
'50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl'
'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3'
'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24Y'
'CCABKAlSB2VkaXRpb24=');
@$core.Deprecated('Use methodDescriptor instead')
const Method$json = {
@@ -47,7 +49,23 @@ 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', '10': 'syntax'},
{
'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',
},
],
};
@@ -57,8 +75,9 @@ final $typed_data.Uint8List methodDescriptor = $convert.base64Decode(
'5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh'
'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3'
'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo'
'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSLwoGc3ludGF4GAcgASgOMhcuZ2'
'9vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSMwoGc3ludGF4GAcgASgOMhcuZ2'
'9vZ2xlLnByb3RvYnVmLlN5bnRheEICGAFSBnN5bnRheBIcCgdlZGl0aW9uGAggASgJQgIYAVIH'
'ZWRpdGlvbg==');
@$core.Deprecated('Use mixinDescriptor instead')
const Mixin$json = {

View File

@@ -12,12 +12,15 @@
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({
@@ -110,12 +113,14 @@ 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;
}
@@ -129,6 +134,7 @@ 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.')
@@ -180,6 +186,11 @@ 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
@@ -192,6 +203,12 @@ 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.
@@ -200,11 +217,13 @@ 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;
}
@@ -217,6 +236,7 @@ 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
;
@@ -312,16 +332,36 @@ 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;
}
@@ -333,6 +373,9 @@ 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
;
@@ -371,8 +414,45 @@ 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(1);
$pb.PbList<CodeGeneratorResponse_File> get file => $_getList(4);
}

View File

@@ -10,3 +10,27 @@
// 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');

View File

@@ -37,6 +37,7 @@ 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'},
],
};
@@ -45,18 +46,24 @@ const CodeGeneratorRequest$json = {
final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode(
'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG'
'9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g'
'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJMCh'
'Bjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyLlZlcnNp'
'b25SD2NvbXBpbGVyVmVyc2lvbg==');
'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJcCh'
'dzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVz'
'Y3JpcHRvclByb3RvUhVzb3VyY2VGaWxlRGVzY3JpcHRvcnMSTAoQY29tcGlsZXJfdmVyc2lvbh'
'gDIAEoCzIhLmdvb2dsZS5wcm90b2J1Zi5jb21waWxlci5WZXJzaW9uUg9jb21waWxlclZlcnNp'
'b24=');
@$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')
@@ -66,13 +73,30 @@ 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(
'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEkgKBGZpbGUYDy'
'ADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZp'
'bGVSBGZpbGUaXQoERmlsZRISCgRuYW1lGAEgASgJUgRuYW1lEicKD2luc2VydGlvbl9wb2ludB'
'gCIAEoCVIOaW5zZXJ0aW9uUG9pbnQSGAoHY29udGVudBgPIAEoCVIHY29udGVudA==');
'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEi0KEnN1cHBvcn'
'RlZF9mZWF0dXJlcxgCIAEoBFIRc3VwcG9ydGVkRmVhdHVyZXMSJwoPbWluaW11bV9lZGl0aW9u'
'GAMgASgFUg5taW5pbXVtRWRpdGlvbhInCg9tYXhpbXVtX2VkaXRpb24YBCABKAVSDm1heGltdW'
'1FZGl0aW9uEkgKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdl'
'bmVyYXRvclJlc3BvbnNlLkZpbGVSBGZpbGUasQEKBEZpbGUSEgoEbmFtZRgBIAEoCVIEbmFtZR'
'InCg9pbnNlcnRpb25fcG9pbnQYAiABKAlSDmluc2VydGlvblBvaW50EhgKB2NvbnRlbnQYDyAB'
'KAlSB2NvbnRlbnQSUgoTZ2VuZXJhdGVkX2NvZGVfaW5mbxgQIAEoCzIiLmdvb2dsZS5wcm90b2'
'J1Zi5HZW5lcmF0ZWRDb2RlSW5mb1IRZ2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxG'
'RUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1'
'VQUE9SVFNfRURJVElPTlMQAg==');

File diff suppressed because it is too large Load Diff

View File

@@ -14,6 +14,99 @@ 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.
@@ -31,9 +124,10 @@ 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 in proto3. However, Proto3
/// Group type is deprecated and not supported after google.protobuf. However, Proto3
/// implementations should still be able to parse the group wire format and
/// treat group fields as unknown fields.
/// treat group fields as unknown fields. In Editions, the group wire format
/// can be enabled via the `message_encoding` feature.
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.
@@ -75,13 +169,16 @@ 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_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED');
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 $core.List<FieldDescriptorProto_Label> values = <FieldDescriptorProto_Label> [
LABEL_OPTIONAL,
LABEL_REQUIRED,
LABEL_REPEATED,
LABEL_REQUIRED,
];
static final $core.List<FieldDescriptorProto_Label?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
@@ -112,6 +209,12 @@ 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');
@@ -147,6 +250,58 @@ 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.
@@ -167,5 +322,175 @@ 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

View File

@@ -23,8 +23,6 @@ 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();

View File

@@ -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 that
/// variants, absence of any variant indicates an error.
/// list of values. A producer of value is expected to set one of these
/// variants. Absence of any variant indicates an error.
///
/// The JSON representation for `Value` is JSON value.
class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {

View File

@@ -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');

View File

@@ -69,8 +69,15 @@ 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()`.
///
/// Example 5: Compute Timestamp from current time in Python.
/// Instant now = Instant.now();
///
/// Timestamp timestamp =
/// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
/// .setNanos(now.getNano()).build();
///
/// Example 6: Compute Timestamp from current time in Python.
///
/// timestamp = Timestamp()
/// timestamp.GetCurrentTime()
@@ -84,8 +91,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 proto3 JSON serializer should always use UTC (as indicated by
/// "Z") when printing the Timestamp type and a proto3 JSON parser should be
/// is required. A ProtoJSON serializer should always use UTC (as indicated by
/// "Z") when printing the Timestamp type and a ProtoJSON 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
@@ -99,7 +106,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://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
/// ) to obtain a formatter capable of generating timestamps in this format.
class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
factory Timestamp({
@@ -140,9 +147,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 from 0001-01-01T00:00:00Z to
/// 9999-12-31T23:59:59Z inclusive.
/// 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).
@$pb.TagNumber(1)
$fixnum.Int64 get seconds => $_getI64(0);
@$pb.TagNumber(1)
@@ -152,9 +159,10 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
@$pb.TagNumber(1)
void clearSeconds() => $_clearField(1);
/// 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
/// 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
/// inclusive.
@$pb.TagNumber(2)
$core.int get nanos => $_getIZ(1);

View File

@@ -23,6 +23,11 @@ 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,
@@ -31,6 +36,7 @@ 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;
@@ -39,6 +45,7 @@ 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;
}
@@ -54,6 +61,7 @@ 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
;
@@ -117,9 +125,24 @@ 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,
@@ -281,6 +304,11 @@ 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,
@@ -288,6 +316,7 @@ 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;
@@ -295,6 +324,7 @@ 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;
}
@@ -309,6 +339,7 @@ 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
;
@@ -368,9 +399,24 @@ 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,
@@ -440,6 +486,10 @@ 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,

View File

@@ -20,13 +20,16 @@ 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, 1);
static final $core.List<Syntax?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static Syntax? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Syntax._(super.value, super.name);

View File

@@ -20,12 +20,14 @@ 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(
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQAQ==');
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQARITCg9TWU5UQV'
'hfRURJVElPTlMQAg==');
@$core.Deprecated('Use typeDescriptor instead')
const Type$json = {
@@ -37,6 +39,7 @@ 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'},
],
};
@@ -46,7 +49,8 @@ final $typed_data.Uint8List typeDescriptor = $convert.base64Decode(
'RvYnVmLkZpZWxkUgZmaWVsZHMSFgoGb25lb2ZzGAMgAygJUgZvbmVvZnMSMQoHb3B0aW9ucxgE'
'IAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSRQoOc291cmNlX2NvbnRleH'
'QYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dFINc291cmNlQ29udGV4dBIv'
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXg=');
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXgSGAoHZWRpdG'
'lvbhgHIAEoCVIHZWRpdGlvbg==');
@$core.Deprecated('Use fieldDescriptor instead')
const Field$json = {
@@ -130,6 +134,7 @@ 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'},
],
};
@@ -139,7 +144,8 @@ final $typed_data.Uint8List enumDescriptor = $convert.base64Decode(
'Byb3RvYnVmLkVudW1WYWx1ZVIJZW51bXZhbHVlEjEKB29wdGlvbnMYAyADKAsyFy5nb29nbGUu'
'cHJvdG9idWYuT3B0aW9uUgdvcHRpb25zEkUKDnNvdXJjZV9jb250ZXh0GAQgASgLMh4uZ29vZ2'
'xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRleHQSLwoGc3ludGF4GAUgASgO'
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24YBiABKAlSB2VkaX'
'Rpb24=');
@$core.Deprecated('Use enumValueDescriptor instead')
const EnumValue$json = {

View File

@@ -22,6 +22,9 @@ 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,
@@ -72,6 +75,9 @@ 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,
@@ -122,6 +128,9 @@ 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,
@@ -172,6 +181,9 @@ 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,
@@ -222,6 +234,9 @@ 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,
@@ -272,6 +287,9 @@ 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,
@@ -322,6 +340,9 @@ 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,
@@ -372,6 +393,9 @@ 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,
@@ -422,6 +446,9 @@ 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,

View File

@@ -32,7 +32,7 @@ export 'openapiv2.pbenum.dart';
/// info: {
/// title: "Echo API";
/// version: "1.0";
/// description: ";
/// description: "";
/// contact: {
/// name: "gRPC-Gateway project";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
@@ -40,7 +40,7 @@ export 'openapiv2.pbenum.dart';
/// };
/// license: {
/// name: "BSD 3-Clause License";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
/// };
/// };
/// schemes: HTTPS;
@@ -59,6 +59,7 @@ class Swagger extends $pb.GeneratedMessage {
$core.Iterable<$core.MapEntry<$core.String, Response>>? responses,
SecurityDefinitions? securityDefinitions,
$core.Iterable<SecurityRequirement>? security,
$core.Iterable<Tag>? tags,
ExternalDocumentation? externalDocs,
$core.Iterable<$core.MapEntry<$core.String, $0.Value>>? extensions,
}) {
@@ -73,6 +74,7 @@ class Swagger extends $pb.GeneratedMessage {
if (responses != null) result.responses.addEntries(responses);
if (securityDefinitions != null) result.securityDefinitions = securityDefinitions;
if (security != null) result.security.addAll(security);
if (tags != null) result.tags.addAll(tags);
if (externalDocs != null) result.externalDocs = externalDocs;
if (extensions != null) result.extensions.addEntries(extensions);
return result;
@@ -94,6 +96,7 @@ class Swagger extends $pb.GeneratedMessage {
..m<$core.String, Response>(10, _omitFieldNames ? '' : 'responses', entryClassName: 'Swagger.ResponsesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Response.create, valueDefaultOrMaker: Response.getDefault, packageName: const $pb.PackageName('grpc.gateway.protoc_gen_openapiv2.options'))
..aOM<SecurityDefinitions>(11, _omitFieldNames ? '' : 'securityDefinitions', subBuilder: SecurityDefinitions.create)
..pc<SecurityRequirement>(12, _omitFieldNames ? '' : 'security', $pb.PbFieldType.PM, subBuilder: SecurityRequirement.create)
..pc<Tag>(13, _omitFieldNames ? '' : 'tags', $pb.PbFieldType.PM, subBuilder: Tag.create)
..aOM<ExternalDocumentation>(14, _omitFieldNames ? '' : 'externalDocs', subBuilder: ExternalDocumentation.create)
..m<$core.String, $0.Value>(15, _omitFieldNames ? '' : 'extensions', entryClassName: 'Swagger.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
@@ -214,20 +217,28 @@ class Swagger extends $pb.GeneratedMessage {
@$pb.TagNumber(12)
$pb.PbList<SecurityRequirement> get security => $_getList(9);
/// A list of tags for API documentation control. Tags can be used for logical
/// grouping of operations by resources or any other qualifier.
@$pb.TagNumber(13)
$pb.PbList<Tag> get tags => $_getList(10);
/// Additional external documentation.
@$pb.TagNumber(14)
ExternalDocumentation get externalDocs => $_getN(10);
ExternalDocumentation get externalDocs => $_getN(11);
@$pb.TagNumber(14)
set externalDocs(ExternalDocumentation value) => $_setField(14, value);
@$pb.TagNumber(14)
$core.bool hasExternalDocs() => $_has(10);
$core.bool hasExternalDocs() => $_has(11);
@$pb.TagNumber(14)
void clearExternalDocs() => $_clearField(14);
@$pb.TagNumber(14)
ExternalDocumentation ensureExternalDocs() => $_ensure(10);
ExternalDocumentation ensureExternalDocs() => $_ensure(11);
/// 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(15)
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(11);
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(12);
}
/// `Operation` is a representation of OpenAPI v2 specification's Operation object.
@@ -269,6 +280,7 @@ 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);
@@ -283,6 +295,7 @@ 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;
}
@@ -304,6 +317,7 @@ 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
;
@@ -418,8 +432,174 @@ class Operation extends $pb.GeneratedMessage {
@$pb.TagNumber(12)
$pb.PbList<SecurityRequirement> get security => $_getList(10);
/// 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(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.
@@ -612,6 +792,9 @@ class Response extends $pb.GeneratedMessage {
@$pb.TagNumber(4)
$pb.PbMap<$core.String, $core.String> get examples => $_getMap(3);
/// 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(5)
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(4);
}
@@ -626,7 +809,7 @@ class Response extends $pb.GeneratedMessage {
/// info: {
/// title: "Echo API";
/// version: "1.0";
/// description: ";
/// description: "";
/// contact: {
/// name: "gRPC-Gateway project";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway";
@@ -634,7 +817,7 @@ class Response extends $pb.GeneratedMessage {
/// };
/// license: {
/// name: "BSD 3-Clause License";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
/// };
/// };
/// ...
@@ -759,6 +942,9 @@ class Info extends $pb.GeneratedMessage {
@$pb.TagNumber(6)
void clearVersion() => $_clearField(6);
/// 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(7)
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(6);
}
@@ -867,7 +1053,7 @@ class Contact extends $pb.GeneratedMessage {
/// ...
/// license: {
/// name: "BSD 3-Clause License";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt";
/// url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
/// };
/// ...
/// };
@@ -1124,34 +1310,263 @@ class Schema extends $pb.GeneratedMessage {
void clearExample() => $_clearField(6);
}
/// `JSONSchema` represents properties from JSON Schema taken, and as used, in
/// the OpenAPI v2 spec.
/// `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
///
/// This includes changes made by OpenAPI v2.
/// Example:
///
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
/// 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;
}
JSONSchema_FieldConfiguration._();
factory JSONSchema_FieldConfiguration.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory JSONSchema_FieldConfiguration.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
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
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
JSONSchema_FieldConfiguration clone() => JSONSchema_FieldConfiguration()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
JSONSchema_FieldConfiguration copyWith(void Function(JSONSchema_FieldConfiguration) updates) => super.copyWith((message) => updates(message as JSONSchema_FieldConfiguration)) as JSONSchema_FieldConfiguration;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static JSONSchema_FieldConfiguration create() => JSONSchema_FieldConfiguration._();
@$core.override
JSONSchema_FieldConfiguration createEmptyInstance() => create();
static $pb.PbList<JSONSchema_FieldConfiguration> createRepeated() => $pb.PbList<JSONSchema_FieldConfiguration>();
@$core.pragma('dart2js:noInline')
static JSONSchema_FieldConfiguration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<JSONSchema_FieldConfiguration>(create);
static JSONSchema_FieldConfiguration? _defaultInstance;
/// Alternative parameter name when used as path parameter. If set, this will
/// be used as the complete parameter name when this field is used as a path
/// parameter. Use this to avoid having auto generated path parameter names
/// for overlapping paths.
@$pb.TagNumber(47)
$core.String get pathParamName => $_getSZ(0);
@$pb.TagNumber(47)
set pathParamName($core.String value) => $_setString(0, value);
@$pb.TagNumber(47)
$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
/// the OpenAPI v2 spec.
///
/// See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
/// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
/// This includes changes made by OpenAPI v2.
///
/// Example:
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
///
/// message SimpleMessage {
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
/// json_schema: {
/// title: "SimpleMessage"
/// description: "A simple message."
/// required: ["id"]
/// }
/// };
/// See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
/// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
///
/// // Id represents the message identifier.
/// string id = 1; [
/// The unique identifier of the simple message.
/// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
/// {description: "The unique identifier of the simple message."
/// }];
/// }
/// Example:
///
/// message SimpleMessage {
/// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
/// json_schema: {
/// title: "SimpleMessage"
/// description: "A simple message."
/// required: ["id"]
/// }
/// };
///
/// // Id represents the message identifier.
/// string id = 1; [
/// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
/// description: "The unique identifier of the simple message."
/// }];
/// }
class JSONSchema extends $pb.GeneratedMessage {
factory JSONSchema({
$core.String? ref,
@@ -1178,6 +1593,8 @@ class JSONSchema extends $pb.GeneratedMessage {
$core.Iterable<JSONSchema_JSONSchemaSimpleTypes>? type,
$core.String? format,
$core.Iterable<$core.String>? enum_46,
$core.Iterable<$core.MapEntry<$core.String, $0.Value>>? extensions,
JSONSchema_FieldConfiguration? fieldConfiguration,
}) {
final result = create();
if (ref != null) result.ref = ref;
@@ -1204,6 +1621,8 @@ class JSONSchema extends $pb.GeneratedMessage {
if (type != null) result.type.addAll(type);
if (format != null) result.format = format;
if (enum_46 != null) result.enum_46.addAll(enum_46);
if (extensions != null) result.extensions.addEntries(extensions);
if (fieldConfiguration != null) result.fieldConfiguration = fieldConfiguration;
return result;
}
@@ -1237,6 +1656,8 @@ class JSONSchema extends $pb.GeneratedMessage {
..pc<JSONSchema_JSONSchemaSimpleTypes>(35, _omitFieldNames ? '' : 'type', $pb.PbFieldType.KE, valueOf: JSONSchema_JSONSchemaSimpleTypes.valueOf, enumValues: JSONSchema_JSONSchemaSimpleTypes.values, defaultEnumValue: JSONSchema_JSONSchemaSimpleTypes.UNKNOWN)
..aOS(36, _omitFieldNames ? '' : 'format')
..pPS(46, _omitFieldNames ? '' : 'enum')
..m<$core.String, $0.Value>(48, _omitFieldNames ? '' : 'extensions', entryClassName: 'JSONSchema.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<JSONSchema_FieldConfiguration>(1001, _omitFieldNames ? '' : 'fieldConfiguration', subBuilder: JSONSchema_FieldConfiguration.create)
..hasRequiredFields = false
;
@@ -1466,6 +1887,24 @@ class JSONSchema extends $pb.GeneratedMessage {
/// Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
@$pb.TagNumber(46)
$pb.PbList<$core.String> get enum_46 => $_getList(23);
/// 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(48)
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(24);
/// Additional field level properties used when generating the OpenAPI v2 file.
@$pb.TagNumber(1001)
JSONSchema_FieldConfiguration get fieldConfiguration => $_getN(25);
@$pb.TagNumber(1001)
set fieldConfiguration(JSONSchema_FieldConfiguration value) => $_setField(1001, value);
@$pb.TagNumber(1001)
$core.bool hasFieldConfiguration() => $_has(25);
@$pb.TagNumber(1001)
void clearFieldConfiguration() => $_clearField(1001);
@$pb.TagNumber(1001)
JSONSchema_FieldConfiguration ensureFieldConfiguration() => $_ensure(25);
}
/// `Tag` is a representation of OpenAPI v2 specification's Tag object.
@@ -1473,12 +1912,16 @@ class JSONSchema extends $pb.GeneratedMessage {
/// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject
class Tag extends $pb.GeneratedMessage {
factory Tag({
$core.String? name,
$core.String? description,
ExternalDocumentation? externalDocs,
$core.Iterable<$core.MapEntry<$core.String, $0.Value>>? extensions,
}) {
final result = create();
if (name != null) result.name = name;
if (description != null) result.description = description;
if (externalDocs != null) result.externalDocs = externalDocs;
if (extensions != null) result.extensions.addEntries(extensions);
return result;
}
@@ -1488,8 +1931,10 @@ class Tag extends $pb.GeneratedMessage {
factory Tag.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Tag', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.gateway.protoc_gen_openapiv2.options'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..aOS(2, _omitFieldNames ? '' : 'description')
..aOM<ExternalDocumentation>(3, _omitFieldNames ? '' : 'externalDocs', subBuilder: ExternalDocumentation.create)
..m<$core.String, $0.Value>(4, _omitFieldNames ? '' : 'extensions', entryClassName: 'Tag.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
;
@@ -1510,28 +1955,46 @@ class Tag extends $pb.GeneratedMessage {
static Tag getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Tag>(create);
static Tag? _defaultInstance;
/// The name of the tag. Use it to allow override of the name of a
/// global Tag object, then use that name to reference the tag throughout the
/// OpenAPI file.
@$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);
/// A short description for the tag. GFM syntax can be used for rich text
/// representation.
@$pb.TagNumber(2)
$core.String get description => $_getSZ(0);
$core.String get description => $_getSZ(1);
@$pb.TagNumber(2)
set description($core.String value) => $_setString(0, value);
set description($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasDescription() => $_has(0);
$core.bool hasDescription() => $_has(1);
@$pb.TagNumber(2)
void clearDescription() => $_clearField(2);
/// Additional external documentation for this tag.
@$pb.TagNumber(3)
ExternalDocumentation get externalDocs => $_getN(1);
ExternalDocumentation get externalDocs => $_getN(2);
@$pb.TagNumber(3)
set externalDocs(ExternalDocumentation value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasExternalDocs() => $_has(1);
$core.bool hasExternalDocs() => $_has(2);
@$pb.TagNumber(3)
void clearExternalDocs() => $_clearField(3);
@$pb.TagNumber(3)
ExternalDocumentation ensureExternalDocs() => $_ensure(1);
ExternalDocumentation ensureExternalDocs() => $_ensure(2);
/// 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(4)
$pb.PbMap<$core.String, $0.Value> get extensions => $_getMap(3);
}
/// `SecurityDefinitions` is a representation of OpenAPI v2 specification's
@@ -1746,6 +2209,9 @@ class SecurityScheme extends $pb.GeneratedMessage {
@$pb.TagNumber(8)
Scopes ensureScopes() => $_ensure(7);
/// 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);
}

View File

@@ -37,6 +37,29 @@ 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');

View File

@@ -45,6 +45,7 @@ const Swagger$json = {
{'1': 'responses', '3': 10, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry', '10': 'responses'},
{'1': 'security_definitions', '3': 11, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', '10': 'securityDefinitions'},
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
{'1': 'tags', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Tag', '10': 'tags'},
{'1': 'external_docs', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'extensions', '3': 15, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry', '10': 'extensions'},
],
@@ -52,7 +53,6 @@ const Swagger$json = {
'9': [
{'1': 8, '2': 9},
{'1': 9, '2': 10},
{'1': 13, '2': 14},
],
};
@@ -88,15 +88,16 @@ final $typed_data.Uint8List swaggerDescriptor = $convert.base64Decode(
'VjdXJpdHlfZGVmaW5pdGlvbnMYCyABKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVu'
'YXBpdjIub3B0aW9ucy5TZWN1cml0eURlZmluaXRpb25zUhNzZWN1cml0eURlZmluaXRpb25zEl'
'oKCHNlY3VyaXR5GAwgAygLMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
'dGlvbnMuU2VjdXJpdHlSZXF1aXJlbWVudFIIc2VjdXJpdHkSZQoNZXh0ZXJuYWxfZG9jcxgOIA'
'EoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLkV4dGVybmFs'
'RG9jdW1lbnRhdGlvblIMZXh0ZXJuYWxEb2NzEmIKCmV4dGVuc2lvbnMYDyADKAsyQi5ncnBjLm'
'dhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5Td2FnZ2VyLkV4dGVuc2lvbnNF'
'bnRyeVIKZXh0ZW5zaW9ucxpxCg5SZXNwb25zZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRJJCg'
'V2YWx1ZRgCIAEoCzIzLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
'LlJlc3BvbnNlUgV2YWx1ZToCOAEaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2'
'V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAFKBAgI'
'EAlKBAgJEApKBAgNEA4=');
'dGlvbnMuU2VjdXJpdHlSZXF1aXJlbWVudFIIc2VjdXJpdHkSQgoEdGFncxgNIAMoCzIuLmdycG'
'MuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlRhZ1IEdGFncxJlCg1leHRl'
'cm5hbF9kb2NzGA4gASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdG'
'lvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSYgoKZXh0ZW5zaW9ucxgP'
'IAMoCzJCLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlN3YWdnZX'
'IuRXh0ZW5zaW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgB'
'IAEoCVIDa2V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3Blbm'
'FwaXYyLm9wdGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoD'
'a2V5GAEgASgJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBX'
'ZhbHVlOgI4AUoECAgQCUoECAkQCg==');
@$core.Deprecated('Use operationDescriptor instead')
const Operation$json = {
@@ -114,6 +115,7 @@ 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': [
@@ -155,11 +157,63 @@ final $typed_data.Uint8List operationDescriptor = $convert.base64Decode(
'N1cml0eRgMIAMoCzI+LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
'LlNlY3VyaXR5UmVxdWlyZW1lbnRSCHNlY3VyaXR5EmQKCmV4dGVuc2lvbnMYDSADKAsyRC5ncn'
'BjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5PcGVyYXRpb24uRXh0ZW5z'
'aW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2'
'V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
'dGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgAS'
'gJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4'
'AUoECAgQCQ==');
'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');
@$core.Deprecated('Use headerDescriptor instead')
const Header$json = {
@@ -356,6 +410,45 @@ 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',
@@ -384,7 +477,10 @@ const JSONSchema$json = {
{'1': 'type', '3': 35, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', '10': 'type'},
{'1': 'format', '3': 36, '4': 1, '5': 9, '10': 'format'},
{'1': 'enum', '3': 46, '4': 3, '5': 9, '10': 'enum'},
{'1': 'field_configuration', '3': 1001, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration', '10': 'fieldConfiguration'},
{'1': 'extensions', '3': 48, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry', '10': 'extensions'},
],
'3': [JSONSchema_FieldConfiguration$json, JSONSchema_ExtensionsEntry$json],
'4': [JSONSchema_JSONSchemaSimpleTypes$json],
'9': [
{'1': 1, '2': 2},
@@ -403,6 +499,25 @@ const JSONSchema$json = {
],
};
@$core.Deprecated('Use jSONSchemaDescriptor instead')
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'},
],
};
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_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},
};
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_JSONSchemaSimpleTypes$json = {
'1': 'JSONSchemaSimpleTypes',
@@ -434,28 +549,50 @@ final $typed_data.Uint8List jSONSchemaDescriptor = $convert.base64Decode(
'JlZBgaIAMoCVIIcmVxdWlyZWQSFAoFYXJyYXkYIiADKAlSBWFycmF5El8KBHR5cGUYIyADKA4y'
'Sy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hLk'
'pTT05TY2hlbWFTaW1wbGVUeXBlc1IEdHlwZRIWCgZmb3JtYXQYJCABKAlSBmZvcm1hdBISCgRl'
'bnVtGC4gAygJUgRlbnVtIncKFUpTT05TY2hlbWFTaW1wbGVUeXBlcxILCgdVTktOT1dOEAASCQ'
'oFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEggKBE5VTEwQBBIKCgZOVU1CRVIQ'
'BRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQA0oECAQQBUoECBIQE0oECBMQFE'
'oECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKkoECCoQK0oECCsQLg==');
'bnVtGC4gAygJUgRlbnVtEnoKE2ZpZWxkX2NvbmZpZ3VyYXRpb24Y6QcgASgLMkguZ3JwYy5nYX'
'Rld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5GaWVsZENvbmZp'
'Z3VyYXRpb25SEmZpZWxkQ29uZmlndXJhdGlvbhJlCgpleHRlbnNpb25zGDAgAygLMkUuZ3JwYy'
'5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5FeHRlbnNp'
'b25zRW50cnlSCmV4dGVuc2lvbnMaXAoSRmllbGRDb25maWd1cmF0aW9uEiYKD3BhdGhfcGFyYW'
'1fbmFtZRgvIAEoCVINcGF0aFBhcmFtTmFtZRIeCgpkZXByZWNhdGVkGDEgASgIUgpkZXByZWNh'
'dGVkGlUKD0V4dGVuc2lvbnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIsCgV2YWx1ZRgCIAEoCz'
'IWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZVIFdmFsdWU6AjgBIncKFUpTT05TY2hlbWFTaW1wbGVU'
'eXBlcxILCgdVTktOT1dOEAASCQoFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEg'
'gKBE5VTEwQBBIKCgZOVU1CRVIQBRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQ'
'A0oECAQQBUoECBIQE0oECBMQFEoECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKk'
'oECCoQK0oECCsQLg==');
@$core.Deprecated('Use tagDescriptor instead')
const Tag$json = {
'1': 'Tag',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'external_docs', '3': 3, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'extensions', '3': 4, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry', '10': 'extensions'},
],
'9': [
{'1': 1, '2': 2},
'3': [Tag_ExtensionsEntry$json],
};
@$core.Deprecated('Use tagDescriptor instead')
const Tag_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 `Tag`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List tagDescriptor = $convert.base64Decode(
'CgNUYWcSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaXB0aW9uEmUKDWV4dGVybmFsX2RvY3'
'MYAyABKAsyQC5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5FeHRl'
'cm5hbERvY3VtZW50YXRpb25SDGV4dGVybmFsRG9jc0oECAEQAg==');
'CgNUYWcSEgoEbmFtZRgBIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgCIAEoCVILZGVzY3JpcH'
'Rpb24SZQoNZXh0ZXJuYWxfZG9jcxgDIAEoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29w'
'ZW5hcGl2Mi5vcHRpb25zLkV4dGVybmFsRG9jdW1lbnRhdGlvblIMZXh0ZXJuYWxEb2NzEl4KCm'
'V4dGVuc2lvbnMYBCADKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0'
'aW9ucy5UYWcuRXh0ZW5zaW9uc0VudHJ5UgpleHRlbnNpb25zGlUKD0V4dGVuc2lvbnNFbnRyeR'
'IQCgNrZXkYASABKAlSA2tleRIsCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1'
'ZVIFdmFsdWU6AjgB');
@$core.Deprecated('Use securityDefinitionsDescriptor instead')
const SecurityDefinitions$json = {

View File

@@ -1794,6 +1794,128 @@ class CopyProjectDashboardResult extends $pb.GeneratedMessage {
Dashboard ensureResult() => $_ensure(0);
}
class SetOwnerDashboardRequest extends $pb.GeneratedMessage {
factory SetOwnerDashboardRequest({
$1.RequestProjectHeader? header,
$core.String? dashboardID,
$core.String? userID,
}) {
final result = create();
if (header != null) result.header = header;
if (dashboardID != null) result.dashboardID = dashboardID;
if (userID != null) result.userID = userID;
return result;
}
SetOwnerDashboardRequest._();
factory SetOwnerDashboardRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SetOwnerDashboardRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetOwnerDashboardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'DashboardID', protoName: 'DashboardID')
..aOS(3, _omitFieldNames ? '' : 'UserID', protoName: 'UserID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SetOwnerDashboardRequest clone() => SetOwnerDashboardRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SetOwnerDashboardRequest copyWith(void Function(SetOwnerDashboardRequest) updates) => super.copyWith((message) => updates(message as SetOwnerDashboardRequest)) as SetOwnerDashboardRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SetOwnerDashboardRequest create() => SetOwnerDashboardRequest._();
@$core.override
SetOwnerDashboardRequest createEmptyInstance() => create();
static $pb.PbList<SetOwnerDashboardRequest> createRepeated() => $pb.PbList<SetOwnerDashboardRequest>();
@$core.pragma('dart2js:noInline')
static SetOwnerDashboardRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SetOwnerDashboardRequest>(create);
static SetOwnerDashboardRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
/// Identifier of the Dashboard
@$pb.TagNumber(2)
$core.String get dashboardID => $_getSZ(1);
@$pb.TagNumber(2)
set dashboardID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasDashboardID() => $_has(1);
@$pb.TagNumber(2)
void clearDashboardID() => $_clearField(2);
/// Identifier of the new owner of the Dashboard
@$pb.TagNumber(3)
$core.String get userID => $_getSZ(2);
@$pb.TagNumber(3)
set userID($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasUserID() => $_has(2);
@$pb.TagNumber(3)
void clearUserID() => $_clearField(3);
}
class SetOwnerDashboardResult extends $pb.GeneratedMessage {
factory SetOwnerDashboardResult({
Dashboard? result,
}) {
final result$ = create();
if (result != null) result$.result = result;
return result$;
}
SetOwnerDashboardResult._();
factory SetOwnerDashboardResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SetOwnerDashboardResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetOwnerDashboardResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<Dashboard>(1, _omitFieldNames ? '' : 'Result', protoName: 'Result', subBuilder: Dashboard.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SetOwnerDashboardResult clone() => SetOwnerDashboardResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SetOwnerDashboardResult copyWith(void Function(SetOwnerDashboardResult) updates) => super.copyWith((message) => updates(message as SetOwnerDashboardResult)) as SetOwnerDashboardResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SetOwnerDashboardResult create() => SetOwnerDashboardResult._();
@$core.override
SetOwnerDashboardResult createEmptyInstance() => create();
static $pb.PbList<SetOwnerDashboardResult> createRepeated() => $pb.PbList<SetOwnerDashboardResult>();
@$core.pragma('dart2js:noInline')
static SetOwnerDashboardResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SetOwnerDashboardResult>(create);
static SetOwnerDashboardResult? _defaultInstance;
@$pb.TagNumber(1)
Dashboard get result => $_getN(0);
@$pb.TagNumber(1)
set result(Dashboard value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasResult() => $_has(0);
@$pb.TagNumber(1)
void clearResult() => $_clearField(1);
@$pb.TagNumber(1)
Dashboard ensureResult() => $_ensure(0);
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -64,6 +64,10 @@ class DashboardServiceClient extends $grpc.Client {
return $createUnaryCall(_$copy, request, options: options);
}
$grpc.ResponseFuture<$0.SetOwnerDashboardResult> setOwner($0.SetOwnerDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$setOwner, request, options: options);
}
$grpc.ResponseFuture<$0.CreateProjectDashboardResult> createProject($0.CreateProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$createProject, request, options: options);
}
@@ -122,6 +126,10 @@ class DashboardServiceClient extends $grpc.Client {
'/vizapi.DashboardService/Copy',
($0.CopyDashboardRequest value) => value.writeToBuffer(),
$0.CopyDashboardResult.fromBuffer);
static final _$setOwner = $grpc.ClientMethod<$0.SetOwnerDashboardRequest, $0.SetOwnerDashboardResult>(
'/vizapi.DashboardService/SetOwner',
($0.SetOwnerDashboardRequest value) => value.writeToBuffer(),
$0.SetOwnerDashboardResult.fromBuffer);
static final _$createProject = $grpc.ClientMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
'/vizapi.DashboardService/CreateProject',
($0.CreateProjectDashboardRequest value) => value.writeToBuffer(),
@@ -209,6 +217,13 @@ abstract class DashboardServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.CopyDashboardRequest.fromBuffer(value),
($0.CopyDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetOwnerDashboardRequest, $0.SetOwnerDashboardResult>(
'SetOwner',
setOwner_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetOwnerDashboardRequest.fromBuffer(value),
($0.SetOwnerDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
'CreateProject',
createProject_Pre,
@@ -301,6 +316,12 @@ abstract class DashboardServiceBase extends $grpc.Service {
$async.Future<$0.CopyDashboardResult> copy($grpc.ServiceCall call, $0.CopyDashboardRequest request);
$async.Future<$0.SetOwnerDashboardResult> setOwner_Pre($grpc.ServiceCall $call, $async.Future<$0.SetOwnerDashboardRequest> $request) async {
return setOwner($call, await $request);
}
$async.Future<$0.SetOwnerDashboardResult> setOwner($grpc.ServiceCall call, $0.SetOwnerDashboardRequest request);
$async.Future<$0.CreateProjectDashboardResult> createProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateProjectDashboardRequest> $request) async {
return createProject($call, await $request);
}

View File

@@ -496,3 +496,38 @@ final $typed_data.Uint8List copyProjectDashboardResultDescriptor = $convert.base
'ChpDb3B5UHJvamVjdERhc2hib2FyZFJlc3VsdBIpCgZSZXN1bHQYASABKAsyES52aXphcGkuRG'
'FzaGJvYXJkUgZSZXN1bHQ6G5JBGAoWMhROZXcgY29waWVkIGRhc2hib2FyZA==');
@$core.Deprecated('Use setOwnerDashboardRequestDescriptor instead')
const SetOwnerDashboardRequest$json = {
'1': 'SetOwnerDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'UserID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'UserID'},
],
'7': {},
};
/// Descriptor for `SetOwnerDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerDashboardRequestDescriptor = $convert.base64Decode(
'ChhTZXRPd25lckRhc2hib2FyZFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEkkKC0Rhc2hib2FyZElEGAIgASgJQieS'
'QR0yG0lkZW50aWZpZXIgb2YgdGhlIERhc2hib2FyZPpCBHICEAFSC0Rhc2hib2FyZElEElAKBl'
'VzZXJJRBgDIAEoCUI4kkEuMixJZGVudGlmaWVyIG9mIHRoZSBuZXcgb3duZXIgb2YgdGhlIERh'
'c2hib2FyZPpCBHICEAFSBlVzZXJJRDpTkkFQCk4yK0luZm9ybWF0aW9uIHRvIHNldCB0aGUgb3'
'duZXIgb2YgYSBkYXNoYm9hcmTSAQZIZWFkZXLSAQtEYXNoYm9hcmRJRNIBB093bmVySUQ=');
@$core.Deprecated('Use setOwnerDashboardResultDescriptor instead')
const SetOwnerDashboardResult$json = {
'1': 'SetOwnerDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `SetOwnerDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerDashboardResultDescriptor = $convert.base64Decode(
'ChdTZXRPd25lckRhc2hib2FyZFJlc3VsdBIpCgZSZXN1bHQYASABKAsyES52aXphcGkuRGFzaG'
'JvYXJkUgZSZXN1bHQ6MZJBLgosMipSZXN1bHQgb2Ygc2V0dGluZyB0aGUgb3duZXIgb2YgYSBk'
'YXNoYm9hcmQ=');

View File

@@ -1,971 +0,0 @@
// This is a generated file - do not edit.
//
// Generated from viz-translations.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
import 'core/shared.pb.dart' as $1;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class Label extends $pb.GeneratedMessage {
factory Label({
$core.String? iD,
$core.String? projectID,
$core.String? context,
$core.String? label,
}) {
final result = create();
if (iD != null) result.iD = iD;
if (projectID != null) result.projectID = projectID;
if (context != null) result.context = context;
if (label != null) result.label = label;
return result;
}
Label._();
factory Label.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Label.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Label', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
..aOS(2, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..aOS(3, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(4, _omitFieldNames ? '' : 'Label', protoName: 'Label')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Label clone() => Label()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Label copyWith(void Function(Label) updates) => super.copyWith((message) => updates(message as Label)) as Label;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Label create() => Label._();
@$core.override
Label createEmptyInstance() => create();
static $pb.PbList<Label> createRepeated() => $pb.PbList<Label>();
@$core.pragma('dart2js:noInline')
static Label getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Label>(create);
static Label? _defaultInstance;
@$pb.TagNumber(1)
$core.String get iD => $_getSZ(0);
@$pb.TagNumber(1)
set iD($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasID() => $_has(0);
@$pb.TagNumber(1)
void clearID() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get projectID => $_getSZ(1);
@$pb.TagNumber(2)
set projectID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasProjectID() => $_has(1);
@$pb.TagNumber(2)
void clearProjectID() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get context => $_getSZ(2);
@$pb.TagNumber(3)
set context($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasContext() => $_has(2);
@$pb.TagNumber(3)
void clearContext() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get label => $_getSZ(3);
@$pb.TagNumber(4)
set label($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasLabel() => $_has(3);
@$pb.TagNumber(4)
void clearLabel() => $_clearField(4);
}
class LanguageCode extends $pb.GeneratedMessage {
factory LanguageCode({
$core.String? code,
}) {
final result = create();
if (code != null) result.code = code;
return result;
}
LanguageCode._();
factory LanguageCode.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory LanguageCode.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LanguageCode', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Code', protoName: 'Code')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
LanguageCode clone() => LanguageCode()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
LanguageCode copyWith(void Function(LanguageCode) updates) => super.copyWith((message) => updates(message as LanguageCode)) as LanguageCode;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static LanguageCode create() => LanguageCode._();
@$core.override
LanguageCode createEmptyInstance() => create();
static $pb.PbList<LanguageCode> createRepeated() => $pb.PbList<LanguageCode>();
@$core.pragma('dart2js:noInline')
static LanguageCode getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LanguageCode>(create);
static LanguageCode? _defaultInstance;
@$pb.TagNumber(1)
$core.String get code => $_getSZ(0);
@$pb.TagNumber(1)
set code($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearCode() => $_clearField(1);
}
class Translation extends $pb.GeneratedMessage {
factory Translation({
$core.String? labelID,
$core.String? languageCode,
$core.String? translation,
}) {
final result = create();
if (labelID != null) result.labelID = labelID;
if (languageCode != null) result.languageCode = languageCode;
if (translation != null) result.translation = translation;
return result;
}
Translation._();
factory Translation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Translation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Translation', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'LabelID', protoName: 'LabelID')
..aOS(2, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
..aOS(3, _omitFieldNames ? '' : 'Translation', protoName: 'Translation')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Translation clone() => Translation()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Translation copyWith(void Function(Translation) updates) => super.copyWith((message) => updates(message as Translation)) as Translation;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Translation create() => Translation._();
@$core.override
Translation createEmptyInstance() => create();
static $pb.PbList<Translation> createRepeated() => $pb.PbList<Translation>();
@$core.pragma('dart2js:noInline')
static Translation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Translation>(create);
static Translation? _defaultInstance;
@$pb.TagNumber(1)
$core.String get labelID => $_getSZ(0);
@$pb.TagNumber(1)
set labelID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasLabelID() => $_has(0);
@$pb.TagNumber(1)
void clearLabelID() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get languageCode => $_getSZ(1);
@$pb.TagNumber(2)
set languageCode($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasLanguageCode() => $_has(1);
@$pb.TagNumber(2)
void clearLanguageCode() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get translation => $_getSZ(2);
@$pb.TagNumber(3)
set translation($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasTranslation() => $_has(2);
@$pb.TagNumber(3)
void clearTranslation() => $_clearField(3);
}
class GetTranslationsRequest extends $pb.GeneratedMessage {
factory GetTranslationsRequest({
$1.RequestProjectHeader? header,
$core.String? context,
$core.String? label,
}) {
final result = create();
if (header != null) result.header = header;
if (context != null) result.context = context;
if (label != null) result.label = label;
return result;
}
GetTranslationsRequest._();
factory GetTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(3, _omitFieldNames ? '' : 'Label', protoName: 'Label')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetTranslationsRequest clone() => GetTranslationsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetTranslationsRequest copyWith(void Function(GetTranslationsRequest) updates) => super.copyWith((message) => updates(message as GetTranslationsRequest)) as GetTranslationsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetTranslationsRequest create() => GetTranslationsRequest._();
@$core.override
GetTranslationsRequest createEmptyInstance() => create();
static $pb.PbList<GetTranslationsRequest> createRepeated() => $pb.PbList<GetTranslationsRequest>();
@$core.pragma('dart2js:noInline')
static GetTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetTranslationsRequest>(create);
static GetTranslationsRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get context => $_getSZ(1);
@$pb.TagNumber(2)
set context($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasContext() => $_has(1);
@$pb.TagNumber(2)
void clearContext() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get label => $_getSZ(2);
@$pb.TagNumber(3)
set label($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasLabel() => $_has(2);
@$pb.TagNumber(3)
void clearLabel() => $_clearField(3);
}
class GetTranslationsResult extends $pb.GeneratedMessage {
factory GetTranslationsResult({
$core.Iterable<Translation>? translations,
}) {
final result = create();
if (translations != null) result.translations.addAll(translations);
return result;
}
GetTranslationsResult._();
factory GetTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..pc<Translation>(1, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: Translation.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetTranslationsResult clone() => GetTranslationsResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetTranslationsResult copyWith(void Function(GetTranslationsResult) updates) => super.copyWith((message) => updates(message as GetTranslationsResult)) as GetTranslationsResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetTranslationsResult create() => GetTranslationsResult._();
@$core.override
GetTranslationsResult createEmptyInstance() => create();
static $pb.PbList<GetTranslationsResult> createRepeated() => $pb.PbList<GetTranslationsResult>();
@$core.pragma('dart2js:noInline')
static GetTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetTranslationsResult>(create);
static GetTranslationsResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Translation> get translations => $_getList(0);
}
/// Message used to Put a translation for a label in the PutTranslationsRequest
class PutTranslationMessage extends $pb.GeneratedMessage {
factory PutTranslationMessage({
$core.String? languageCode,
$core.String? translation,
}) {
final result = create();
if (languageCode != null) result.languageCode = languageCode;
if (translation != null) result.translation = translation;
return result;
}
PutTranslationMessage._();
factory PutTranslationMessage.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory PutTranslationMessage.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutTranslationMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
..aOS(2, _omitFieldNames ? '' : 'Translation', protoName: 'Translation')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationMessage clone() => PutTranslationMessage()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationMessage copyWith(void Function(PutTranslationMessage) updates) => super.copyWith((message) => updates(message as PutTranslationMessage)) as PutTranslationMessage;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static PutTranslationMessage create() => PutTranslationMessage._();
@$core.override
PutTranslationMessage createEmptyInstance() => create();
static $pb.PbList<PutTranslationMessage> createRepeated() => $pb.PbList<PutTranslationMessage>();
@$core.pragma('dart2js:noInline')
static PutTranslationMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PutTranslationMessage>(create);
static PutTranslationMessage? _defaultInstance;
@$pb.TagNumber(1)
$core.String get languageCode => $_getSZ(0);
@$pb.TagNumber(1)
set languageCode($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasLanguageCode() => $_has(0);
@$pb.TagNumber(1)
void clearLanguageCode() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get translation => $_getSZ(1);
@$pb.TagNumber(2)
set translation($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTranslation() => $_has(1);
@$pb.TagNumber(2)
void clearTranslation() => $_clearField(2);
}
class PutTranslationsRequest extends $pb.GeneratedMessage {
factory PutTranslationsRequest({
$1.RequestProjectHeader? header,
$core.String? context,
$core.String? label,
$core.Iterable<PutTranslationMessage>? translations,
}) {
final result = create();
if (header != null) result.header = header;
if (context != null) result.context = context;
if (label != null) result.label = label;
if (translations != null) result.translations.addAll(translations);
return result;
}
PutTranslationsRequest._();
factory PutTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory PutTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(3, _omitFieldNames ? '' : 'Label', protoName: 'Label')
..pc<PutTranslationMessage>(4, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: PutTranslationMessage.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationsRequest clone() => PutTranslationsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationsRequest copyWith(void Function(PutTranslationsRequest) updates) => super.copyWith((message) => updates(message as PutTranslationsRequest)) as PutTranslationsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static PutTranslationsRequest create() => PutTranslationsRequest._();
@$core.override
PutTranslationsRequest createEmptyInstance() => create();
static $pb.PbList<PutTranslationsRequest> createRepeated() => $pb.PbList<PutTranslationsRequest>();
@$core.pragma('dart2js:noInline')
static PutTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PutTranslationsRequest>(create);
static PutTranslationsRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get context => $_getSZ(1);
@$pb.TagNumber(2)
set context($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasContext() => $_has(1);
@$pb.TagNumber(2)
void clearContext() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get label => $_getSZ(2);
@$pb.TagNumber(3)
set label($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasLabel() => $_has(2);
@$pb.TagNumber(3)
void clearLabel() => $_clearField(3);
@$pb.TagNumber(4)
$pb.PbList<PutTranslationMessage> get translations => $_getList(3);
}
class PutTranslationsResult extends $pb.GeneratedMessage {
factory PutTranslationsResult({
$core.Iterable<Translation>? translations,
}) {
final result = create();
if (translations != null) result.translations.addAll(translations);
return result;
}
PutTranslationsResult._();
factory PutTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory PutTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..pc<Translation>(1, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: Translation.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationsResult clone() => PutTranslationsResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
PutTranslationsResult copyWith(void Function(PutTranslationsResult) updates) => super.copyWith((message) => updates(message as PutTranslationsResult)) as PutTranslationsResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static PutTranslationsResult create() => PutTranslationsResult._();
@$core.override
PutTranslationsResult createEmptyInstance() => create();
static $pb.PbList<PutTranslationsResult> createRepeated() => $pb.PbList<PutTranslationsResult>();
@$core.pragma('dart2js:noInline')
static PutTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PutTranslationsResult>(create);
static PutTranslationsResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Translation> get translations => $_getList(0);
}
class DeleteTranslationsRequest extends $pb.GeneratedMessage {
factory DeleteTranslationsRequest({
$1.RequestProjectHeader? header,
$core.String? context,
$core.String? label,
}) {
final result = create();
if (header != null) result.header = header;
if (context != null) result.context = context;
if (label != null) result.label = label;
return result;
}
DeleteTranslationsRequest._();
factory DeleteTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(3, _omitFieldNames ? '' : 'Label', protoName: 'Label')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteTranslationsRequest clone() => DeleteTranslationsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteTranslationsRequest copyWith(void Function(DeleteTranslationsRequest) updates) => super.copyWith((message) => updates(message as DeleteTranslationsRequest)) as DeleteTranslationsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteTranslationsRequest create() => DeleteTranslationsRequest._();
@$core.override
DeleteTranslationsRequest createEmptyInstance() => create();
static $pb.PbList<DeleteTranslationsRequest> createRepeated() => $pb.PbList<DeleteTranslationsRequest>();
@$core.pragma('dart2js:noInline')
static DeleteTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteTranslationsRequest>(create);
static DeleteTranslationsRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get context => $_getSZ(1);
@$pb.TagNumber(2)
set context($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasContext() => $_has(1);
@$pb.TagNumber(2)
void clearContext() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get label => $_getSZ(2);
@$pb.TagNumber(3)
set label($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasLabel() => $_has(2);
@$pb.TagNumber(3)
void clearLabel() => $_clearField(3);
}
class DeleteTranslationsResult extends $pb.GeneratedMessage {
factory DeleteTranslationsResult() => create();
DeleteTranslationsResult._();
factory DeleteTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteTranslationsResult clone() => DeleteTranslationsResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteTranslationsResult copyWith(void Function(DeleteTranslationsResult) updates) => super.copyWith((message) => updates(message as DeleteTranslationsResult)) as DeleteTranslationsResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteTranslationsResult create() => DeleteTranslationsResult._();
@$core.override
DeleteTranslationsResult createEmptyInstance() => create();
static $pb.PbList<DeleteTranslationsResult> createRepeated() => $pb.PbList<DeleteTranslationsResult>();
@$core.pragma('dart2js:noInline')
static DeleteTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteTranslationsResult>(create);
static DeleteTranslationsResult? _defaultInstance;
}
class ListTranslationsRequest extends $pb.GeneratedMessage {
factory ListTranslationsRequest({
$1.RequestProjectHeader? header,
$core.String? languageCode,
}) {
final result = create();
if (header != null) result.header = header;
if (languageCode != null) result.languageCode = languageCode;
return result;
}
ListTranslationsRequest._();
factory ListTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListTranslationsRequest clone() => ListTranslationsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListTranslationsRequest copyWith(void Function(ListTranslationsRequest) updates) => super.copyWith((message) => updates(message as ListTranslationsRequest)) as ListTranslationsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListTranslationsRequest create() => ListTranslationsRequest._();
@$core.override
ListTranslationsRequest createEmptyInstance() => create();
static $pb.PbList<ListTranslationsRequest> createRepeated() => $pb.PbList<ListTranslationsRequest>();
@$core.pragma('dart2js:noInline')
static ListTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListTranslationsRequest>(create);
static ListTranslationsRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get languageCode => $_getSZ(1);
@$pb.TagNumber(2)
set languageCode($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasLanguageCode() => $_has(1);
@$pb.TagNumber(2)
void clearLanguageCode() => $_clearField(2);
}
/// Messages for the ListTranslationsResult
class TranslationContextResult extends $pb.GeneratedMessage {
factory TranslationContextResult({
$core.String? name,
$core.Iterable<TranslationLabelResult>? labels,
}) {
final result = create();
if (name != null) result.name = name;
if (labels != null) result.labels.addAll(labels);
return result;
}
TranslationContextResult._();
factory TranslationContextResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory TranslationContextResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranslationContextResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..pc<TranslationLabelResult>(2, _omitFieldNames ? '' : 'Labels', $pb.PbFieldType.PM, protoName: 'Labels', subBuilder: TranslationLabelResult.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
TranslationContextResult clone() => TranslationContextResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
TranslationContextResult copyWith(void Function(TranslationContextResult) updates) => super.copyWith((message) => updates(message as TranslationContextResult)) as TranslationContextResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static TranslationContextResult create() => TranslationContextResult._();
@$core.override
TranslationContextResult createEmptyInstance() => create();
static $pb.PbList<TranslationContextResult> createRepeated() => $pb.PbList<TranslationContextResult>();
@$core.pragma('dart2js:noInline')
static TranslationContextResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TranslationContextResult>(create);
static TranslationContextResult? _defaultInstance;
@$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);
@$pb.TagNumber(2)
$pb.PbList<TranslationLabelResult> get labels => $_getList(1);
}
class TranslationLabelResult extends $pb.GeneratedMessage {
factory TranslationLabelResult({
$core.String? name,
$core.String? translation,
}) {
final result = create();
if (name != null) result.name = name;
if (translation != null) result.translation = translation;
return result;
}
TranslationLabelResult._();
factory TranslationLabelResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory TranslationLabelResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranslationLabelResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOS(2, _omitFieldNames ? '' : 'Translation', protoName: 'Translation')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
TranslationLabelResult clone() => TranslationLabelResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
TranslationLabelResult copyWith(void Function(TranslationLabelResult) updates) => super.copyWith((message) => updates(message as TranslationLabelResult)) as TranslationLabelResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static TranslationLabelResult create() => TranslationLabelResult._();
@$core.override
TranslationLabelResult createEmptyInstance() => create();
static $pb.PbList<TranslationLabelResult> createRepeated() => $pb.PbList<TranslationLabelResult>();
@$core.pragma('dart2js:noInline')
static TranslationLabelResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TranslationLabelResult>(create);
static TranslationLabelResult? _defaultInstance;
@$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);
@$pb.TagNumber(2)
$core.String get translation => $_getSZ(1);
@$pb.TagNumber(2)
set translation($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTranslation() => $_has(1);
@$pb.TagNumber(2)
void clearTranslation() => $_clearField(2);
}
class ListTranslationsResult extends $pb.GeneratedMessage {
factory ListTranslationsResult({
$core.Iterable<TranslationContextResult>? contexts,
}) {
final result = create();
if (contexts != null) result.contexts.addAll(contexts);
return result;
}
ListTranslationsResult._();
factory ListTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..pc<TranslationContextResult>(1, _omitFieldNames ? '' : 'Contexts', $pb.PbFieldType.PM, protoName: 'Contexts', subBuilder: TranslationContextResult.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListTranslationsResult clone() => ListTranslationsResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ListTranslationsResult copyWith(void Function(ListTranslationsResult) updates) => super.copyWith((message) => updates(message as ListTranslationsResult)) as ListTranslationsResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListTranslationsResult create() => ListTranslationsResult._();
@$core.override
ListTranslationsResult createEmptyInstance() => create();
static $pb.PbList<ListTranslationsResult> createRepeated() => $pb.PbList<ListTranslationsResult>();
@$core.pragma('dart2js:noInline')
static ListTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListTranslationsResult>(create);
static ListTranslationsResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<TranslationContextResult> get contexts => $_getList(0);
}
class DeleteAllTranslationsRequest extends $pb.GeneratedMessage {
factory DeleteAllTranslationsRequest({
$1.RequestProjectHeader? header,
}) {
final result = create();
if (header != null) result.header = header;
return result;
}
DeleteAllTranslationsRequest._();
factory DeleteAllTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteAllTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteAllTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteAllTranslationsRequest clone() => DeleteAllTranslationsRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteAllTranslationsRequest copyWith(void Function(DeleteAllTranslationsRequest) updates) => super.copyWith((message) => updates(message as DeleteAllTranslationsRequest)) as DeleteAllTranslationsRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteAllTranslationsRequest create() => DeleteAllTranslationsRequest._();
@$core.override
DeleteAllTranslationsRequest createEmptyInstance() => create();
static $pb.PbList<DeleteAllTranslationsRequest> createRepeated() => $pb.PbList<DeleteAllTranslationsRequest>();
@$core.pragma('dart2js:noInline')
static DeleteAllTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteAllTranslationsRequest>(create);
static DeleteAllTranslationsRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
}
class DeleteAllTranslationsResult extends $pb.GeneratedMessage {
factory DeleteAllTranslationsResult() => create();
DeleteAllTranslationsResult._();
factory DeleteAllTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DeleteAllTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteAllTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteAllTranslationsResult clone() => DeleteAllTranslationsResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DeleteAllTranslationsResult copyWith(void Function(DeleteAllTranslationsResult) updates) => super.copyWith((message) => updates(message as DeleteAllTranslationsResult)) as DeleteAllTranslationsResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteAllTranslationsResult create() => DeleteAllTranslationsResult._();
@$core.override
DeleteAllTranslationsResult createEmptyInstance() => create();
static $pb.PbList<DeleteAllTranslationsResult> createRepeated() => $pb.PbList<DeleteAllTranslationsResult>();
@$core.pragma('dart2js:noInline')
static DeleteAllTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteAllTranslationsResult>(create);
static DeleteAllTranslationsResult? _defaultInstance;
}
class GetLanguagesRequest extends $pb.GeneratedMessage {
factory GetLanguagesRequest() => create();
GetLanguagesRequest._();
factory GetLanguagesRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetLanguagesRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLanguagesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetLanguagesRequest clone() => GetLanguagesRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetLanguagesRequest copyWith(void Function(GetLanguagesRequest) updates) => super.copyWith((message) => updates(message as GetLanguagesRequest)) as GetLanguagesRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetLanguagesRequest create() => GetLanguagesRequest._();
@$core.override
GetLanguagesRequest createEmptyInstance() => create();
static $pb.PbList<GetLanguagesRequest> createRepeated() => $pb.PbList<GetLanguagesRequest>();
@$core.pragma('dart2js:noInline')
static GetLanguagesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetLanguagesRequest>(create);
static GetLanguagesRequest? _defaultInstance;
}
class GetLanguagesResult extends $pb.GeneratedMessage {
factory GetLanguagesResult({
$core.Iterable<LanguageCode>? languages,
}) {
final result = create();
if (languages != null) result.languages.addAll(languages);
return result;
}
GetLanguagesResult._();
factory GetLanguagesResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetLanguagesResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLanguagesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..pc<LanguageCode>(1, _omitFieldNames ? '' : 'Languages', $pb.PbFieldType.PM, protoName: 'Languages', subBuilder: LanguageCode.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetLanguagesResult clone() => GetLanguagesResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetLanguagesResult copyWith(void Function(GetLanguagesResult) updates) => super.copyWith((message) => updates(message as GetLanguagesResult)) as GetLanguagesResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetLanguagesResult create() => GetLanguagesResult._();
@$core.override
GetLanguagesResult createEmptyInstance() => create();
static $pb.PbList<GetLanguagesResult> createRepeated() => $pb.PbList<GetLanguagesResult>();
@$core.pragma('dart2js:noInline')
static GetLanguagesResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetLanguagesResult>(create);
static GetLanguagesResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<LanguageCode> get languages => $_getList(0);
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,12 +0,0 @@
// This is a generated file - do not edit.
//
// Generated from viz-translations.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,172 +0,0 @@
// This is a generated file - do not edit.
//
// Generated from viz-translations.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:async' as $async;
import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'viz-translations.pb.dart' as $0;
export 'viz-translations.pb.dart';
@$pb.GrpcServiceName('vizapi.TranslationsService')
class TranslationsServiceClient extends $grpc.Client {
/// The hostname for this service.
static const $core.String defaultHost = '';
/// OAuth scopes needed for the client.
static const $core.List<$core.String> oauthScopes = [
'',
];
TranslationsServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.GetTranslationsResult> get($0.GetTranslationsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$get, request, options: options);
}
$grpc.ResponseFuture<$0.PutTranslationsResult> put($0.PutTranslationsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$put, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteTranslationsResult> delete($0.DeleteTranslationsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$delete, request, options: options);
}
$grpc.ResponseFuture<$0.ListTranslationsResult> list($0.ListTranslationsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$list, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteAllTranslationsResult> deleteAll($0.DeleteAllTranslationsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteAll, request, options: options);
}
$grpc.ResponseFuture<$0.GetLanguagesResult> getLanguages($0.GetLanguagesRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getLanguages, request, options: options);
}
// method descriptors
static final _$get = $grpc.ClientMethod<$0.GetTranslationsRequest, $0.GetTranslationsResult>(
'/vizapi.TranslationsService/Get',
($0.GetTranslationsRequest value) => value.writeToBuffer(),
$0.GetTranslationsResult.fromBuffer);
static final _$put = $grpc.ClientMethod<$0.PutTranslationsRequest, $0.PutTranslationsResult>(
'/vizapi.TranslationsService/Put',
($0.PutTranslationsRequest value) => value.writeToBuffer(),
$0.PutTranslationsResult.fromBuffer);
static final _$delete = $grpc.ClientMethod<$0.DeleteTranslationsRequest, $0.DeleteTranslationsResult>(
'/vizapi.TranslationsService/Delete',
($0.DeleteTranslationsRequest value) => value.writeToBuffer(),
$0.DeleteTranslationsResult.fromBuffer);
static final _$list = $grpc.ClientMethod<$0.ListTranslationsRequest, $0.ListTranslationsResult>(
'/vizapi.TranslationsService/List',
($0.ListTranslationsRequest value) => value.writeToBuffer(),
$0.ListTranslationsResult.fromBuffer);
static final _$deleteAll = $grpc.ClientMethod<$0.DeleteAllTranslationsRequest, $0.DeleteAllTranslationsResult>(
'/vizapi.TranslationsService/DeleteAll',
($0.DeleteAllTranslationsRequest value) => value.writeToBuffer(),
$0.DeleteAllTranslationsResult.fromBuffer);
static final _$getLanguages = $grpc.ClientMethod<$0.GetLanguagesRequest, $0.GetLanguagesResult>(
'/vizapi.TranslationsService/GetLanguages',
($0.GetLanguagesRequest value) => value.writeToBuffer(),
$0.GetLanguagesResult.fromBuffer);
}
@$pb.GrpcServiceName('vizapi.TranslationsService')
abstract class TranslationsServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.TranslationsService';
TranslationsServiceBase() {
$addMethod($grpc.ServiceMethod<$0.GetTranslationsRequest, $0.GetTranslationsResult>(
'Get',
get_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetTranslationsRequest.fromBuffer(value),
($0.GetTranslationsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.PutTranslationsRequest, $0.PutTranslationsResult>(
'Put',
put_Pre,
false,
false,
($core.List<$core.int> value) => $0.PutTranslationsRequest.fromBuffer(value),
($0.PutTranslationsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteTranslationsRequest, $0.DeleteTranslationsResult>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteTranslationsRequest.fromBuffer(value),
($0.DeleteTranslationsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListTranslationsRequest, $0.ListTranslationsResult>(
'List',
list_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListTranslationsRequest.fromBuffer(value),
($0.ListTranslationsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteAllTranslationsRequest, $0.DeleteAllTranslationsResult>(
'DeleteAll',
deleteAll_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteAllTranslationsRequest.fromBuffer(value),
($0.DeleteAllTranslationsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetLanguagesRequest, $0.GetLanguagesResult>(
'GetLanguages',
getLanguages_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetLanguagesRequest.fromBuffer(value),
($0.GetLanguagesResult value) => value.writeToBuffer()));
}
$async.Future<$0.GetTranslationsResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetTranslationsRequest> $request) async {
return get($call, await $request);
}
$async.Future<$0.GetTranslationsResult> get($grpc.ServiceCall call, $0.GetTranslationsRequest request);
$async.Future<$0.PutTranslationsResult> put_Pre($grpc.ServiceCall $call, $async.Future<$0.PutTranslationsRequest> $request) async {
return put($call, await $request);
}
$async.Future<$0.PutTranslationsResult> put($grpc.ServiceCall call, $0.PutTranslationsRequest request);
$async.Future<$0.DeleteTranslationsResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteTranslationsRequest> $request) async {
return delete($call, await $request);
}
$async.Future<$0.DeleteTranslationsResult> delete($grpc.ServiceCall call, $0.DeleteTranslationsRequest request);
$async.Future<$0.ListTranslationsResult> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListTranslationsRequest> $request) async {
return list($call, await $request);
}
$async.Future<$0.ListTranslationsResult> list($grpc.ServiceCall call, $0.ListTranslationsRequest request);
$async.Future<$0.DeleteAllTranslationsResult> deleteAll_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAllTranslationsRequest> $request) async {
return deleteAll($call, await $request);
}
$async.Future<$0.DeleteAllTranslationsResult> deleteAll($grpc.ServiceCall call, $0.DeleteAllTranslationsRequest request);
$async.Future<$0.GetLanguagesResult> getLanguages_Pre($grpc.ServiceCall $call, $async.Future<$0.GetLanguagesRequest> $request) async {
return getLanguages($call, await $request);
}
$async.Future<$0.GetLanguagesResult> getLanguages($grpc.ServiceCall call, $0.GetLanguagesRequest request);
}

View File

@@ -1,285 +0,0 @@
// This is a generated file - do not edit.
//
// Generated from viz-translations.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use labelDescriptor instead')
const Label$json = {
'1': 'Label',
'2': [
{'1': 'ID', '3': 1, '4': 1, '5': 9, '10': 'ID'},
{'1': 'ProjectID', '3': 2, '4': 1, '5': 9, '10': 'ProjectID'},
{'1': 'Context', '3': 3, '4': 1, '5': 9, '10': 'Context'},
{'1': 'Label', '3': 4, '4': 1, '5': 9, '10': 'Label'},
],
};
/// Descriptor for `Label`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List labelDescriptor = $convert.base64Decode(
'CgVMYWJlbBIOCgJJRBgBIAEoCVICSUQSHAoJUHJvamVjdElEGAIgASgJUglQcm9qZWN0SUQSGA'
'oHQ29udGV4dBgDIAEoCVIHQ29udGV4dBIUCgVMYWJlbBgEIAEoCVIFTGFiZWw=');
@$core.Deprecated('Use languageCodeDescriptor instead')
const LanguageCode$json = {
'1': 'LanguageCode',
'2': [
{'1': 'Code', '3': 1, '4': 1, '5': 9, '10': 'Code'},
],
};
/// Descriptor for `LanguageCode`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List languageCodeDescriptor = $convert.base64Decode(
'CgxMYW5ndWFnZUNvZGUSEgoEQ29kZRgBIAEoCVIEQ29kZQ==');
@$core.Deprecated('Use translationDescriptor instead')
const Translation$json = {
'1': 'Translation',
'2': [
{'1': 'LabelID', '3': 1, '4': 1, '5': 9, '10': 'LabelID'},
{'1': 'LanguageCode', '3': 2, '4': 1, '5': 9, '10': 'LanguageCode'},
{'1': 'Translation', '3': 3, '4': 1, '5': 9, '10': 'Translation'},
],
};
/// Descriptor for `Translation`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List translationDescriptor = $convert.base64Decode(
'CgtUcmFuc2xhdGlvbhIYCgdMYWJlbElEGAEgASgJUgdMYWJlbElEEiIKDExhbmd1YWdlQ29kZR'
'gCIAEoCVIMTGFuZ3VhZ2VDb2RlEiAKC1RyYW5zbGF0aW9uGAMgASgJUgtUcmFuc2xhdGlvbg==');
@$core.Deprecated('Use getTranslationsRequestDescriptor instead')
const GetTranslationsRequest$json = {
'1': 'GetTranslationsRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Context', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Context'},
{'1': 'Label', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Label'},
],
'7': {},
};
/// Descriptor for `GetTranslationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getTranslationsRequestDescriptor = $convert.base64Decode(
'ChZHZXRUcmFuc2xhdGlvbnNSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchIhCgdDb250ZXh0GAIgASgJQgf6QgRyAhAB'
'UgdDb250ZXh0Eh0KBUxhYmVsGAMgASgJQgf6QgRyAhABUgVMYWJlbDpQkkFNCksyLk1lc3NhZ2'
'UgcmVxdWVzdCBmb3IgdGhlIEdldFRyYW5zbGF0aW9ucyBtZXRob2TSAQZIZWFkZXLSAQdDb250'
'ZXh00gEFTGFiZWw=');
@$core.Deprecated('Use getTranslationsResultDescriptor instead')
const GetTranslationsResult$json = {
'1': 'GetTranslationsResult',
'2': [
{'1': 'Translations', '3': 1, '4': 3, '5': 11, '6': '.vizapi.Translation', '10': 'Translations'},
],
'7': {},
};
/// Descriptor for `GetTranslationsResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getTranslationsResultDescriptor = $convert.base64Decode(
'ChVHZXRUcmFuc2xhdGlvbnNSZXN1bHQSNwoMVHJhbnNsYXRpb25zGAEgAygLMhMudml6YXBpLl'
'RyYW5zbGF0aW9uUgxUcmFuc2xhdGlvbnM6NJJBMQovMi1NZXNzYWdlIHJlc3VsdCBmb3IgdGhl'
'IEdldFRyYW5zbGF0aW9ucyBtZXRob2Q=');
@$core.Deprecated('Use putTranslationMessageDescriptor instead')
const PutTranslationMessage$json = {
'1': 'PutTranslationMessage',
'2': [
{'1': 'LanguageCode', '3': 1, '4': 1, '5': 9, '10': 'LanguageCode'},
{'1': 'Translation', '3': 2, '4': 1, '5': 9, '10': 'Translation'},
],
};
/// Descriptor for `PutTranslationMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List putTranslationMessageDescriptor = $convert.base64Decode(
'ChVQdXRUcmFuc2xhdGlvbk1lc3NhZ2USIgoMTGFuZ3VhZ2VDb2RlGAEgASgJUgxMYW5ndWFnZU'
'NvZGUSIAoLVHJhbnNsYXRpb24YAiABKAlSC1RyYW5zbGF0aW9u');
@$core.Deprecated('Use putTranslationsRequestDescriptor instead')
const PutTranslationsRequest$json = {
'1': 'PutTranslationsRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Context', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Context'},
{'1': 'Label', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Label'},
{'1': 'Translations', '3': 4, '4': 3, '5': 11, '6': '.vizapi.PutTranslationMessage', '10': 'Translations'},
],
'7': {},
};
/// Descriptor for `PutTranslationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List putTranslationsRequestDescriptor = $convert.base64Decode(
'ChZQdXRUcmFuc2xhdGlvbnNSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchIhCgdDb250ZXh0GAIgASgJQgf6QgRyAhAB'
'UgdDb250ZXh0Eh0KBUxhYmVsGAMgASgJQgf6QgRyAhABUgVMYWJlbBJBCgxUcmFuc2xhdGlvbn'
'MYBCADKAsyHS52aXphcGkuUHV0VHJhbnNsYXRpb25NZXNzYWdlUgxUcmFuc2xhdGlvbnM6T5JB'
'TApKMi1NZXNzYWdlIHJlcXVlc3QgZm9yIHRoZSBQdXRUcmFuc2xhdGlvbiBtZXRob2TSAQZIZW'
'FkZXLSAQdDb250ZXh00gEFTGFiZWw=');
@$core.Deprecated('Use putTranslationsResultDescriptor instead')
const PutTranslationsResult$json = {
'1': 'PutTranslationsResult',
'2': [
{'1': 'Translations', '3': 1, '4': 3, '5': 11, '6': '.vizapi.Translation', '10': 'Translations'},
],
'7': {},
};
/// Descriptor for `PutTranslationsResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List putTranslationsResultDescriptor = $convert.base64Decode(
'ChVQdXRUcmFuc2xhdGlvbnNSZXN1bHQSNwoMVHJhbnNsYXRpb25zGAEgAygLMhMudml6YXBpLl'
'RyYW5zbGF0aW9uUgxUcmFuc2xhdGlvbnM6M5JBMAouMixNZXNzYWdlIHJlc3VsdCBmb3IgdGhl'
'IFB1dFRyYW5zbGF0aW9uIG1ldGhvZA==');
@$core.Deprecated('Use deleteTranslationsRequestDescriptor instead')
const DeleteTranslationsRequest$json = {
'1': 'DeleteTranslationsRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Context', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Context'},
{'1': 'Label', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Label'},
],
'7': {},
};
/// Descriptor for `DeleteTranslationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteTranslationsRequestDescriptor = $convert.base64Decode(
'ChlEZWxldGVUcmFuc2xhdGlvbnNSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX'
'N0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchIhCgdDb250ZXh0GAIgASgJQgf6QgRy'
'AhABUgdDb250ZXh0Eh0KBUxhYmVsGAMgASgJQgf6QgRyAhABUgVMYWJlbDpSkkFPCk0yME1lc3'
'NhZ2UgcmVxdWVzdCBmb3IgdGhlIERlbGV0ZVRyYW5zbGF0aW9uIG1ldGhvZNIBBkhlYWRlctIB'
'B0NvbnRleHTSAQVMYWJlbA==');
@$core.Deprecated('Use deleteTranslationsResultDescriptor instead')
const DeleteTranslationsResult$json = {
'1': 'DeleteTranslationsResult',
'7': {},
};
/// Descriptor for `DeleteTranslationsResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteTranslationsResultDescriptor = $convert.base64Decode(
'ChhEZWxldGVUcmFuc2xhdGlvbnNSZXN1bHQ6NpJBMwoxMi9NZXNzYWdlIHJlc3VsdCBmb3IgdG'
'hlIERlbGV0ZVRyYW5zbGF0aW9uIG1ldGhvZA==');
@$core.Deprecated('Use listTranslationsRequestDescriptor instead')
const ListTranslationsRequest$json = {
'1': 'ListTranslationsRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'LanguageCode', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'LanguageCode'},
],
'7': {},
};
/// Descriptor for `ListTranslationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listTranslationsRequestDescriptor = $convert.base64Decode(
'ChdMaXN0VHJhbnNsYXRpb25zUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF'
'Byb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISKwoMTGFuZ3VhZ2VDb2RlGAIgASgJQgf6'
'QgRyAhABUgxMYW5ndWFnZUNvZGU6TpJBSwpJMi9NZXNzYWdlIHJlcXVlc3QgZm9yIHRoZSBMaX'
'N0VHJhbnNsYXRpb25zIG1ldGhvZNIBBkhlYWRlctIBDExhbmd1YWdlQ29kZQ==');
@$core.Deprecated('Use translationContextResultDescriptor instead')
const TranslationContextResult$json = {
'1': 'TranslationContextResult',
'2': [
{'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'},
{'1': 'Labels', '3': 2, '4': 3, '5': 11, '6': '.vizapi.TranslationLabelResult', '10': 'Labels'},
],
};
/// Descriptor for `TranslationContextResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List translationContextResultDescriptor = $convert.base64Decode(
'ChhUcmFuc2xhdGlvbkNvbnRleHRSZXN1bHQSEgoETmFtZRgBIAEoCVIETmFtZRI2CgZMYWJlbH'
'MYAiADKAsyHi52aXphcGkuVHJhbnNsYXRpb25MYWJlbFJlc3VsdFIGTGFiZWxz');
@$core.Deprecated('Use translationLabelResultDescriptor instead')
const TranslationLabelResult$json = {
'1': 'TranslationLabelResult',
'2': [
{'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'},
{'1': 'Translation', '3': 2, '4': 1, '5': 9, '10': 'Translation'},
],
};
/// Descriptor for `TranslationLabelResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List translationLabelResultDescriptor = $convert.base64Decode(
'ChZUcmFuc2xhdGlvbkxhYmVsUmVzdWx0EhIKBE5hbWUYASABKAlSBE5hbWUSIAoLVHJhbnNsYX'
'Rpb24YAiABKAlSC1RyYW5zbGF0aW9u');
@$core.Deprecated('Use listTranslationsResultDescriptor instead')
const ListTranslationsResult$json = {
'1': 'ListTranslationsResult',
'2': [
{'1': 'Contexts', '3': 1, '4': 3, '5': 11, '6': '.vizapi.TranslationContextResult', '10': 'Contexts'},
],
'7': {},
};
/// Descriptor for `ListTranslationsResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listTranslationsResultDescriptor = $convert.base64Decode(
'ChZMaXN0VHJhbnNsYXRpb25zUmVzdWx0EjwKCENvbnRleHRzGAEgAygLMiAudml6YXBpLlRyYW'
'5zbGF0aW9uQ29udGV4dFJlc3VsdFIIQ29udGV4dHM6NZJBMgowMi5NZXNzYWdlIHJlc3VsdCBm'
'b3IgdGhlIExpc3RUcmFuc2xhdGlvbnMgbWV0aG9k');
@$core.Deprecated('Use deleteAllTranslationsRequestDescriptor instead')
const DeleteAllTranslationsRequest$json = {
'1': 'DeleteAllTranslationsRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
],
'7': {},
};
/// Descriptor for `DeleteAllTranslationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteAllTranslationsRequestDescriptor = $convert.base64Decode(
'ChxEZWxldGVBbGxUcmFuc2xhdGlvbnNSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZX'
'F1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlcjpEkkFBCj8yNE1lc3NhZ2UgcmVx'
'dWVzdCBmb3IgdGhlIERlbGV0ZUFsbFRyYW5zbGF0aW9ucyBtZXRob2TSAQZIZWFkZXI=');
@$core.Deprecated('Use deleteAllTranslationsResultDescriptor instead')
const DeleteAllTranslationsResult$json = {
'1': 'DeleteAllTranslationsResult',
'7': {},
};
/// Descriptor for `DeleteAllTranslationsResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteAllTranslationsResultDescriptor = $convert.base64Decode(
'ChtEZWxldGVBbGxUcmFuc2xhdGlvbnNSZXN1bHQ6OpJBNwo1MjNNZXNzYWdlIHJlc3VsdCBmb3'
'IgdGhlIERlbGV0ZUFsbFRyYW5zbGF0aW9ucyBtZXRob2Q=');
@$core.Deprecated('Use getLanguagesRequestDescriptor instead')
const GetLanguagesRequest$json = {
'1': 'GetLanguagesRequest',
'7': {},
};
/// Descriptor for `GetLanguagesRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getLanguagesRequestDescriptor = $convert.base64Decode(
'ChNHZXRMYW5ndWFnZXNSZXF1ZXN0OjKSQS8KLTIrTWVzc2FnZSByZXF1ZXN0IGZvciB0aGUgR2'
'V0TGFuZ3VhZ2VzIG1ldGhvZA==');
@$core.Deprecated('Use getLanguagesResultDescriptor instead')
const GetLanguagesResult$json = {
'1': 'GetLanguagesResult',
'2': [
{'1': 'Languages', '3': 1, '4': 3, '5': 11, '6': '.vizapi.LanguageCode', '10': 'Languages'},
],
'7': {},
};
/// Descriptor for `GetLanguagesResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getLanguagesResultDescriptor = $convert.base64Decode(
'ChJHZXRMYW5ndWFnZXNSZXN1bHQSMgoJTGFuZ3VhZ2VzGAEgAygLMhQudml6YXBpLkxhbmd1YW'
'dlQ29kZVIJTGFuZ3VhZ2VzOjGSQS4KLDIqTWVzc2FnZSByZXN1bHQgZm9yIHRoZSBHZXRMYW5n'
'dWFnZXMgbWV0aG9k');

File diff suppressed because it is too large Load Diff

View File

@@ -56,32 +56,16 @@ class ViewServiceClient extends $grpc.Client {
return $createUnaryCall(_$deleteViewsForProject, request, options: options);
}
$grpc.ResponseFuture<$0.SetOwnerViewResult> setOwner($0.SetOwnerViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$setOwner, request, options: options);
}
$grpc.ResponseFuture<$0.ExtractResult> extract($0.ExtractRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$extract, request, options: options);
}
$grpc.ResponseFuture<$0.GetProjectViewResult> getProject($0.GetProjectViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getProject, request, options: options);
}
$grpc.ResponseFuture<$0.CreateProjectViewResult> createProject($0.CreateProjectViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$createProject, request, options: options);
}
$grpc.ResponseFuture<$0.UpdateProjectViewResult> updateProject($0.UpdateProjectViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$updateProject, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteProjectViewResult> deleteProject($0.DeleteProjectViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteProject, request, options: options);
}
$grpc.ResponseFuture<$0.ListProjectViewResult> listProject($0.ListProjectViewRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$listProject, request, options: options);
}
$grpc.ResponseFuture<$0.ExtractProjectResult> extractProject($0.ExtractProjectRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$extractProject, request, options: options);
$grpc.ResponseFuture<$0.ExtractResult> crossExtract($0.CrossExtractRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$crossExtract, request, options: options);
}
// method descriptors
@@ -110,34 +94,18 @@ class ViewServiceClient extends $grpc.Client {
'/vizapi.ViewService/DeleteViewsForProject',
($0.DeleteViewsForProjectRequest value) => value.writeToBuffer(),
$0.DeleteViewsForProjectResult.fromBuffer);
static final _$setOwner = $grpc.ClientMethod<$0.SetOwnerViewRequest, $0.SetOwnerViewResult>(
'/vizapi.ViewService/SetOwner',
($0.SetOwnerViewRequest value) => value.writeToBuffer(),
$0.SetOwnerViewResult.fromBuffer);
static final _$extract = $grpc.ClientMethod<$0.ExtractRequest, $0.ExtractResult>(
'/vizapi.ViewService/Extract',
($0.ExtractRequest value) => value.writeToBuffer(),
$0.ExtractResult.fromBuffer);
static final _$getProject = $grpc.ClientMethod<$0.GetProjectViewRequest, $0.GetProjectViewResult>(
'/vizapi.ViewService/GetProject',
($0.GetProjectViewRequest value) => value.writeToBuffer(),
$0.GetProjectViewResult.fromBuffer);
static final _$createProject = $grpc.ClientMethod<$0.CreateProjectViewRequest, $0.CreateProjectViewResult>(
'/vizapi.ViewService/CreateProject',
($0.CreateProjectViewRequest value) => value.writeToBuffer(),
$0.CreateProjectViewResult.fromBuffer);
static final _$updateProject = $grpc.ClientMethod<$0.UpdateProjectViewRequest, $0.UpdateProjectViewResult>(
'/vizapi.ViewService/UpdateProject',
($0.UpdateProjectViewRequest value) => value.writeToBuffer(),
$0.UpdateProjectViewResult.fromBuffer);
static final _$deleteProject = $grpc.ClientMethod<$0.DeleteProjectViewRequest, $0.DeleteProjectViewResult>(
'/vizapi.ViewService/DeleteProject',
($0.DeleteProjectViewRequest value) => value.writeToBuffer(),
$0.DeleteProjectViewResult.fromBuffer);
static final _$listProject = $grpc.ClientMethod<$0.ListProjectViewRequest, $0.ListProjectViewResult>(
'/vizapi.ViewService/ListProject',
($0.ListProjectViewRequest value) => value.writeToBuffer(),
$0.ListProjectViewResult.fromBuffer);
static final _$extractProject = $grpc.ClientMethod<$0.ExtractProjectRequest, $0.ExtractProjectResult>(
'/vizapi.ViewService/ExtractProject',
($0.ExtractProjectRequest value) => value.writeToBuffer(),
$0.ExtractProjectResult.fromBuffer);
static final _$crossExtract = $grpc.ClientMethod<$0.CrossExtractRequest, $0.ExtractResult>(
'/vizapi.ViewService/CrossExtract',
($0.CrossExtractRequest value) => value.writeToBuffer(),
$0.ExtractResult.fromBuffer);
}
@$pb.GrpcServiceName('vizapi.ViewService')
@@ -187,6 +155,13 @@ abstract class ViewServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.DeleteViewsForProjectRequest.fromBuffer(value),
($0.DeleteViewsForProjectResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetOwnerViewRequest, $0.SetOwnerViewResult>(
'SetOwner',
setOwner_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetOwnerViewRequest.fromBuffer(value),
($0.SetOwnerViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ExtractRequest, $0.ExtractResult>(
'Extract',
extract_Pre,
@@ -194,48 +169,13 @@ abstract class ViewServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.ExtractRequest.fromBuffer(value),
($0.ExtractResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetProjectViewRequest, $0.GetProjectViewResult>(
'GetProject',
getProject_Pre,
$addMethod($grpc.ServiceMethod<$0.CrossExtractRequest, $0.ExtractResult>(
'CrossExtract',
crossExtract_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetProjectViewRequest.fromBuffer(value),
($0.GetProjectViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreateProjectViewRequest, $0.CreateProjectViewResult>(
'CreateProject',
createProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreateProjectViewRequest.fromBuffer(value),
($0.CreateProjectViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UpdateProjectViewRequest, $0.UpdateProjectViewResult>(
'UpdateProject',
updateProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.UpdateProjectViewRequest.fromBuffer(value),
($0.UpdateProjectViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteProjectViewRequest, $0.DeleteProjectViewResult>(
'DeleteProject',
deleteProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteProjectViewRequest.fromBuffer(value),
($0.DeleteProjectViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListProjectViewRequest, $0.ListProjectViewResult>(
'ListProject',
listProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListProjectViewRequest.fromBuffer(value),
($0.ListProjectViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ExtractProjectRequest, $0.ExtractProjectResult>(
'ExtractProject',
extractProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.ExtractProjectRequest.fromBuffer(value),
($0.ExtractProjectResult value) => value.writeToBuffer()));
($core.List<$core.int> value) => $0.CrossExtractRequest.fromBuffer(value),
($0.ExtractResult value) => value.writeToBuffer()));
}
$async.Future<$0.GetViewResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetViewRequest> $request) async {
@@ -274,46 +214,22 @@ abstract class ViewServiceBase extends $grpc.Service {
$async.Future<$0.DeleteViewsForProjectResult> deleteViewsForProject($grpc.ServiceCall call, $0.DeleteViewsForProjectRequest request);
$async.Future<$0.SetOwnerViewResult> setOwner_Pre($grpc.ServiceCall $call, $async.Future<$0.SetOwnerViewRequest> $request) async {
return setOwner($call, await $request);
}
$async.Future<$0.SetOwnerViewResult> setOwner($grpc.ServiceCall call, $0.SetOwnerViewRequest request);
$async.Future<$0.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$0.ExtractRequest> $request) async {
return extract($call, await $request);
}
$async.Future<$0.ExtractResult> extract($grpc.ServiceCall call, $0.ExtractRequest request);
$async.Future<$0.GetProjectViewResult> getProject_Pre($grpc.ServiceCall $call, $async.Future<$0.GetProjectViewRequest> $request) async {
return getProject($call, await $request);
$async.Future<$0.ExtractResult> crossExtract_Pre($grpc.ServiceCall $call, $async.Future<$0.CrossExtractRequest> $request) async {
return crossExtract($call, await $request);
}
$async.Future<$0.GetProjectViewResult> getProject($grpc.ServiceCall call, $0.GetProjectViewRequest request);
$async.Future<$0.CreateProjectViewResult> createProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateProjectViewRequest> $request) async {
return createProject($call, await $request);
}
$async.Future<$0.CreateProjectViewResult> createProject($grpc.ServiceCall call, $0.CreateProjectViewRequest request);
$async.Future<$0.UpdateProjectViewResult> updateProject_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateProjectViewRequest> $request) async {
return updateProject($call, await $request);
}
$async.Future<$0.UpdateProjectViewResult> updateProject($grpc.ServiceCall call, $0.UpdateProjectViewRequest request);
$async.Future<$0.DeleteProjectViewResult> deleteProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteProjectViewRequest> $request) async {
return deleteProject($call, await $request);
}
$async.Future<$0.DeleteProjectViewResult> deleteProject($grpc.ServiceCall call, $0.DeleteProjectViewRequest request);
$async.Future<$0.ListProjectViewResult> listProject_Pre($grpc.ServiceCall $call, $async.Future<$0.ListProjectViewRequest> $request) async {
return listProject($call, await $request);
}
$async.Future<$0.ListProjectViewResult> listProject($grpc.ServiceCall call, $0.ListProjectViewRequest request);
$async.Future<$0.ExtractProjectResult> extractProject_Pre($grpc.ServiceCall $call, $async.Future<$0.ExtractProjectRequest> $request) async {
return extractProject($call, await $request);
}
$async.Future<$0.ExtractProjectResult> extractProject($grpc.ServiceCall call, $0.ExtractProjectRequest request);
$async.Future<$0.ExtractResult> crossExtract($grpc.ServiceCall call, $0.CrossExtractRequest request);
}

View File

@@ -270,171 +270,6 @@ final $typed_data.Uint8List listViewResultDescriptor = $convert.base64Decode(
'ZpZXdCHpJBGzIZQWxsIGluZm9ybWF0aW9uIGluIGEgVmlld1IHUmVzdWx0czoUkkERCg8yDUxp'
'c3Qgb2YgVmlld3M=');
@$core.Deprecated('Use getProjectViewRequestDescriptor instead')
const GetProjectViewRequest$json = {
'1': 'GetProjectViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ViewID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {},
};
/// Descriptor for `GetProjectViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectViewRequestDescriptor = $convert.base64Decode(
'ChVHZXRQcm9qZWN0Vmlld1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm'
'9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjoKBlZpZXdJRBgCIAEoCUIikkEYMhZJZGVu'
'dGlmaWVyIG9mIHRoZSBWaWV3+kIEcgIQAVIGVmlld0lEOiiSQSUKIzIPSURzIG9mIHRoZSBWaW'
'V30gEGSGVhZGVy0gEGVmlld0lE');
@$core.Deprecated('Use getProjectViewResultDescriptor instead')
const GetProjectViewResult$json = {
'1': 'GetProjectViewResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.ComposedUserView', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `GetProjectViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectViewResultDescriptor = $convert.base64Decode(
'ChRHZXRQcm9qZWN0Vmlld1Jlc3VsdBIwCgZSZXN1bHQYASABKAsyGC52aXphcGkuQ29tcG9zZW'
'RVc2VyVmlld1IGUmVzdWx0OiWSQSIKIDIeQWxsIGluZm9ybWF0aW9uIGFib3V0IHRoZSBWaWV3');
@$core.Deprecated('Use createProjectViewRequestDescriptor instead')
const CreateProjectViewRequest$json = {
'1': 'CreateProjectViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'Payload', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
{'1': 'IsPrivate', '3': 7, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
],
'7': {},
};
/// Descriptor for `CreateProjectViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectViewRequestDescriptor = $convert.base64Decode(
'ChhDcmVhdGVQcm9qZWN0Vmlld1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjAKBE5hbWUYAiABKAlCHJJBEjIQTmFt'
'ZSBvZiB0aGUgVmlld/pCBHICEAFSBE5hbWUSQAoIU2NyZWVuSUQYAyABKAlCJJJBGjIYSWRlbn'
'RpZmllciBvZiB0aGUgU2NyZWVu+kIEcgIQAVIIU2NyZWVuSUQSMgoHUGF5bG9hZBgFIAEoCUIY'
'kkEVMhNDb250ZW50IG9mIHRoZSBWaWV3UgdQYXlsb2FkEjkKCUlzUHJpdmF0ZRgHIAEoCEIbkk'
'EYMhZWaXNpYmlsaXR5IG9mIHRoZSBWaWV3UglJc1ByaXZhdGU6RZJBQgpAMiNJbmZvcm1hdGlv'
'biB0aGF0IG5lZWRzIHRvIGJlIHN0b3JlZNIBBkhlYWRlctIBBE5hbWXSAQhTY3JlZW5JRA==');
@$core.Deprecated('Use createProjectViewResultDescriptor instead')
const CreateProjectViewResult$json = {
'1': 'CreateProjectViewResult',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {},
};
/// Descriptor for `CreateProjectViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectViewResultDescriptor = $convert.base64Decode(
'ChdDcmVhdGVQcm9qZWN0Vmlld1Jlc3VsdBIzCgZWaWV3SUQYASABKAlCG5JBGDIWSWRlbnRpZm'
'llciBvZiB0aGUgVmlld1IGVmlld0lEOh2SQRoKGDIWSUQgb2YgdGhlIGNyZWF0ZWQgVmlldw==');
@$core.Deprecated('Use updateProjectViewRequestDescriptor instead')
const UpdateProjectViewRequest$json = {
'1': 'UpdateProjectViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ViewID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
{'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'Payload', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
{'1': 'IsPrivate', '3': 8, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
],
'7': {},
};
/// Descriptor for `UpdateProjectViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectViewRequestDescriptor = $convert.base64Decode(
'ChhVcGRhdGVQcm9qZWN0Vmlld1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjoKBlZpZXdJRBgCIAEoCUIikkEYMhZJ'
'ZGVudGlmaWVyIG9mIHRoZSBWaWV3+kIEcgIQAVIGVmlld0lEEjAKBE5hbWUYAyABKAlCHJJBEj'
'IQTmFtZSBvZiB0aGUgVmlld/pCBHICEAFSBE5hbWUSQAoIU2NyZWVuSUQYBCABKAlCJJJBGjIY'
'SWRlbnRpZmllciBvZiB0aGUgU2NyZWVu+kIEcgIQAVIIU2NyZWVuSUQSOQoHUGF5bG9hZBgGIA'
'EoCUIfkkEVMhNDb250ZW50IG9mIHRoZSBWaWV3+kIEcgIQAVIHUGF5bG9hZBI5CglJc1ByaXZh'
'dGUYCCABKAhCG5JBGDIWVmlzaWJpbGl0eSBvZiB0aGUgVmlld1IJSXNQcml2YXRlOlmSQVYKVD'
'IkSW5mb3JtYXRpb24gdGhhdCBuZWVkcyB0byBiZSB1cGRhdGVk0gEGSGVhZGVy0gEGVmlld0lE'
'0gEETmFtZdIBCFNjcmVlbklE0gEHUGF5bG9hZA==');
@$core.Deprecated('Use updateProjectViewResultDescriptor instead')
const UpdateProjectViewResult$json = {
'1': 'UpdateProjectViewResult',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {},
};
/// Descriptor for `UpdateProjectViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectViewResultDescriptor = $convert.base64Decode(
'ChdVcGRhdGVQcm9qZWN0Vmlld1Jlc3VsdBIzCgZWaWV3SUQYASABKAlCG5JBGDIWSWRlbnRpZm'
'llciBvZiB0aGUgVmlld1IGVmlld0lEOhaSQRMKETIPVXBkYXRlZCBWaWV3IElE');
@$core.Deprecated('Use deleteProjectViewRequestDescriptor instead')
const DeleteProjectViewRequest$json = {
'1': 'DeleteProjectViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ViewID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {},
};
/// Descriptor for `DeleteProjectViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectViewRequestDescriptor = $convert.base64Decode(
'ChhEZWxldGVQcm9qZWN0Vmlld1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjoKBlZpZXdJRBgCIAEoCUIikkEYMhZJ'
'ZGVudGlmaWVyIG9mIHRoZSBWaWV3+kIEcgIQAVIGVmlld0lEOjaSQTMKMTIdSURzIG9mIHRoZS'
'BWaWV3IHRvIGJlIGRlbGV0ZWTSAQZIZWFkZXLSAQZWaWV3SUQ=');
@$core.Deprecated('Use deleteProjectViewResultDescriptor instead')
const DeleteProjectViewResult$json = {
'1': 'DeleteProjectViewResult',
};
/// Descriptor for `DeleteProjectViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectViewResultDescriptor = $convert.base64Decode(
'ChdEZWxldGVQcm9qZWN0Vmlld1Jlc3VsdA==');
@$core.Deprecated('Use listProjectViewRequestDescriptor instead')
const ListProjectViewRequest$json = {
'1': 'ListProjectViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ScreenID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
],
'7': {},
};
/// Descriptor for `ListProjectViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectViewRequestDescriptor = $convert.base64Decode(
'ChZMaXN0UHJvamVjdFZpZXdSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchI5CghTY3JlZW5JRBgCIAEoCUIdkkEaMhhJ'
'ZGVudGlmaWVyIG9mIHRoZSBTY3JlZW5SCFNjcmVlbklEOg6SQQsKCdIBBkhlYWRlcg==');
@$core.Deprecated('Use listProjectViewResultDescriptor instead')
const ListProjectViewResult$json = {
'1': 'ListProjectViewResult',
'2': [
{'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.vizapi.ComposedUserView', '8': {}, '10': 'Results'},
],
'7': {},
};
/// Descriptor for `ListProjectViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectViewResultDescriptor = $convert.base64Decode(
'ChVMaXN0UHJvamVjdFZpZXdSZXN1bHQSUgoHUmVzdWx0cxgBIAMoCzIYLnZpemFwaS5Db21wb3'
'NlZFVzZXJWaWV3Qh6SQRsyGUFsbCBpbmZvcm1hdGlvbiBpbiBhIFZpZXdSB1Jlc3VsdHM6FJJB'
'EQoPMg1MaXN0IG9mIFZpZXdz');
@$core.Deprecated('Use deleteViewsForProjectRequestDescriptor instead')
const DeleteViewsForProjectRequest$json = {
'1': 'DeleteViewsForProjectRequest',
@@ -581,6 +416,78 @@ final $typed_data.Uint8List extractRequestDescriptor = $convert.base64Decode(
'l6YXBpLkV4dHJhY3RDb2x1bW5Gb3JtYXRSBXZhbHVlOgI4ATo6kkE3CjXSAQZIZWFkZXLSAQZW'
'aWV3SUTSAQ1MaXN0U2VwYXJhdG9y0gEQRGVjaW1hbFNlcGFyYXRvcg==');
@$core.Deprecated('Use crossExtractRequestDescriptor instead')
const CrossExtractRequest$json = {
'1': 'CrossExtractRequest',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
{'1': 'BlockFilters', '3': 2, '4': 3, '5': 11, '6': '.api.BlockFilter', '8': {}, '10': 'BlockFilters'},
{'1': 'ListSeparator', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'ListSeparator'},
{'1': 'DecimalSeparator', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'DecimalSeparator'},
{'1': 'ColumnTranslationMaps', '3': 5, '4': 3, '5': 11, '6': '.vizapi.CrossExtractRequest.ColumnTranslationMapsEntry', '10': 'ColumnTranslationMaps'},
{'1': 'ColumnFormats', '3': 6, '4': 3, '5': 11, '6': '.vizapi.CrossExtractRequest.ColumnFormatsEntry', '10': 'ColumnFormats'},
{'1': 'TargetTimeZone', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'TargetTimeZone'},
{'1': 'DateFormat', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'DateFormat'},
{'1': 'NumberFormat', '3': 9, '4': 1, '5': 9, '8': {}, '10': 'NumberFormat'},
{'1': 'TimeFormat', '3': 10, '4': 1, '5': 14, '6': '.vizapi.TimeFormat', '8': {}, '10': 'TimeFormat'},
{'1': 'SearchTagProjects', '3': 11, '4': 3, '5': 9, '8': {}, '10': 'SearchTagProjects'},
{'1': 'SearchTagUsers', '3': 12, '4': 3, '5': 9, '8': {}, '10': 'SearchTagUsers'},
],
'3': [CrossExtractRequest_ColumnTranslationMapsEntry$json, CrossExtractRequest_ColumnFormatsEntry$json],
'7': {},
};
@$core.Deprecated('Use crossExtractRequestDescriptor instead')
const CrossExtractRequest_ColumnTranslationMapsEntry$json = {
'1': 'ColumnTranslationMapsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.vizapi.TranslationMap', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use crossExtractRequestDescriptor instead')
const CrossExtractRequest_ColumnFormatsEntry$json = {
'1': 'ColumnFormatsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.vizapi.ExtractColumnFormat', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `CrossExtractRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List crossExtractRequestDescriptor = $convert.base64Decode(
'ChNDcm9zc0V4dHJhY3RSZXF1ZXN0Eh8KBlZpZXdJRBgBIAEoCUIH+kIEcgIQAVIGVmlld0lEEl'
'8KDEJsb2NrRmlsdGVycxgCIAMoCzIQLmFwaS5CbG9ja0ZpbHRlckIpkkEmMiRCbG9ja0ZpbHRl'
'ciBzdHJ1Y3R1cmUgZm9yIEZpbmQgcXVlcnlSDEJsb2NrRmlsdGVycxJWCg1MaXN0U2VwYXJhdG'
'9yGAMgASgJQjCSQSYyJFNlcGFyYXRvciBmb3IgbGlzdCB0byB1c2UgaW4gdGhlIGNzdvpCBHIC'
'EAFSDUxpc3RTZXBhcmF0b3ISXwoQRGVjaW1hbFNlcGFyYXRvchgEIAEoCUIzkkEpMidTZXBhcm'
'F0b3IgZm9yIGRlY2ltYWwgdG8gdXNlIGluIHRoZSBjc3b6QgRyAhABUhBEZWNpbWFsU2VwYXJh'
'dG9yEmwKFUNvbHVtblRyYW5zbGF0aW9uTWFwcxgFIAMoCzI2LnZpemFwaS5Dcm9zc0V4dHJhY3'
'RSZXF1ZXN0LkNvbHVtblRyYW5zbGF0aW9uTWFwc0VudHJ5UhVDb2x1bW5UcmFuc2xhdGlvbk1h'
'cHMSVAoNQ29sdW1uRm9ybWF0cxgGIAMoCzIuLnZpemFwaS5Dcm9zc0V4dHJhY3RSZXF1ZXN0Lk'
'NvbHVtbkZvcm1hdHNFbnRyeVINQ29sdW1uRm9ybWF0cxKwAQoOVGFyZ2V0VGltZVpvbmUYByAB'
'KAlChwGSQXoyaFRhcmdldCB1c2VyIHRpbWUgem9uZSAgPGEgaHJlZj0naHR0cHM6Ly9lbi53aW'
'tpcGVkaWEub3JnL3dpa2kvTGlzdF9vZl90el9kYXRhYmFzZV90aW1lX3pvbmVzJz5mb3JtYXQ8'
'L2E+Sg4iRXVyb3BlL1BhcmlzIvpCB3IFEAHgAQFSDlRhcmdldFRpbWVab25lEocBCgpEYXRlRm'
'9ybWF0GAggASgJQmeSQWQyWUxhbmd1YWdlIGNvZGUgdG8gZm9ybWF0IGRhdGVzICA8YSBocmVm'
'PSdodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9JU09fNjM5Jz5mb3JtYXQ8L2E+SgciZW'
'4tVVMiUgpEYXRlRm9ybWF0EowBCgxOdW1iZXJGb3JtYXQYCSABKAlCaJJBZTJaTGFuZ3VhZ2Ug'
'Y29kZSB0byBmb3JtYXQgbnVtYmVycyA8YSBocmVmPSdodHRwczovL2VuLndpa2lwZWRpYS5vcm'
'cvd2lraS9JU09fNjM5Jz5mb3JtYXQ8L2E+SgciZW4tVVMiUgxOdW1iZXJGb3JtYXQSTwoKVGlt'
'ZUZvcm1hdBgKIAEoDjISLnZpemFwaS5UaW1lRm9ybWF0QhuSQRgyFkhvdXIgY2xvY2sgdGltZS'
'Bmb3JtYXRSClRpbWVGb3JtYXQSbQoRU2VhcmNoVGFnUHJvamVjdHMYCyADKAlCP5JBPDIgTGlz'
'dCBvZiBwcm9qZWN0SUQgdG8gc2VhcmNoIGludG9KGFsicHJvamVjdDEiLCAicHJvamVjdDIiXV'
'IRU2VhcmNoVGFnUHJvamVjdHMSYgoOU2VhcmNoVGFnVXNlcnMYDCADKAlCOpJBNzIdTGlzdCBv'
'ZiB1c2VySUQgdG8gc2VhcmNoIGludG9KFlsidXNlcklEMSIsICJ1c2VySUQyIl1SDlNlYXJjaF'
'RhZ1VzZXJzGmAKGkNvbHVtblRyYW5zbGF0aW9uTWFwc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5'
'EiwKBXZhbHVlGAIgASgLMhYudml6YXBpLlRyYW5zbGF0aW9uTWFwUgV2YWx1ZToCOAEaXQoSQ2'
'9sdW1uRm9ybWF0c0VudHJ5EhAKA2tleRgBIAEoBVIDa2V5EjEKBXZhbHVlGAIgASgLMhsudml6'
'YXBpLkV4dHJhY3RDb2x1bW5Gb3JtYXRSBXZhbHVlOgI4ATo6kkE3CjXSAQZIZWFkZXLSAQZWaW'
'V3SUTSAQ1MaXN0U2VwYXJhdG9y0gEQRGVjaW1hbFNlcGFyYXRvcg==');
@$core.Deprecated('Use extractResultDescriptor instead')
const ExtractResult$json = {
'1': 'ExtractResult',
@@ -595,86 +502,37 @@ final $typed_data.Uint8List extractResultDescriptor = $convert.base64Decode(
'Cg1FeHRyYWN0UmVzdWx0Eh4KCldvcmtmbG93SUQYASABKAlSCldvcmtmbG93SUQSFAoFUnVuSU'
'QYAiABKAlSBVJ1bklE');
@$core.Deprecated('Use extractProjectRequestDescriptor instead')
const ExtractProjectRequest$json = {
'1': 'ExtractProjectRequest',
@$core.Deprecated('Use setOwnerViewRequestDescriptor instead')
const SetOwnerViewRequest$json = {
'1': 'SetOwnerViewRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ViewID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
{'1': 'BlockFilters', '3': 3, '4': 3, '5': 11, '6': '.api.BlockFilter', '8': {}, '10': 'BlockFilters'},
{'1': 'ListSeparator', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ListSeparator'},
{'1': 'DecimalSeparator', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'DecimalSeparator'},
{'1': 'ColumnTranslationMaps', '3': 8, '4': 3, '5': 11, '6': '.vizapi.ExtractProjectRequest.ColumnTranslationMapsEntry', '10': 'ColumnTranslationMaps'},
{'1': 'ColumnFormats', '3': 9, '4': 3, '5': 11, '6': '.vizapi.ExtractProjectRequest.ColumnFormatsEntry', '10': 'ColumnFormats'},
{'1': 'TargetTimeZone', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'TargetTimeZone'},
{'1': 'DateFormat', '3': 11, '4': 1, '5': 9, '8': {}, '10': 'DateFormat'},
{'1': 'NumberFormat', '3': 12, '4': 1, '5': 9, '8': {}, '10': 'NumberFormat'},
{'1': 'TimeFormat', '3': 13, '4': 1, '5': 14, '6': '.vizapi.TimeFormat', '8': {}, '10': 'TimeFormat'},
{'1': 'UserID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'UserID'},
],
'3': [ExtractProjectRequest_ColumnTranslationMapsEntry$json, ExtractProjectRequest_ColumnFormatsEntry$json],
'7': {},
};
@$core.Deprecated('Use extractProjectRequestDescriptor instead')
const ExtractProjectRequest_ColumnTranslationMapsEntry$json = {
'1': 'ColumnTranslationMapsEntry',
/// Descriptor for `SetOwnerViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerViewRequestDescriptor = $convert.base64Decode(
'ChNTZXRPd25lclZpZXdSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UHJvam'
'VjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchI6CgZWaWV3SUQYAiABKAlCIpJBGDIWSWRlbnRp'
'ZmllciBvZiB0aGUgVmlld/pCBHICEAFSBlZpZXdJRBI6CgZVc2VySUQYAyABKAlCIpJBGDIWSW'
'RlbnRpZmllciBvZiB0aGUgVXNlcvpCBHICEAFSBlVzZXJJRDogkkEdChvSAQZIZWFkZXLSAQZW'
'aWV3SUTSAQZVc2VySUQ=');
@$core.Deprecated('Use setOwnerViewResultDescriptor instead')
const SetOwnerViewResult$json = {
'1': 'SetOwnerViewResult',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.vizapi.TranslationMap', '10': 'value'},
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {'7': true},
'7': {},
};
@$core.Deprecated('Use extractProjectRequestDescriptor instead')
const ExtractProjectRequest_ColumnFormatsEntry$json = {
'1': 'ColumnFormatsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.vizapi.ExtractColumnFormat', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `ExtractProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List extractProjectRequestDescriptor = $convert.base64Decode(
'ChVFeHRyYWN0UHJvamVjdFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm'
'9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEh8KBlZpZXdJRBgCIAEoCUIH+kIEcgIQAVIG'
'Vmlld0lEEl8KDEJsb2NrRmlsdGVycxgDIAMoCzIQLmFwaS5CbG9ja0ZpbHRlckIpkkEmMiRCbG'
'9ja0ZpbHRlciBzdHJ1Y3R1cmUgZm9yIEZpbmQgcXVlcnlSDEJsb2NrRmlsdGVycxJWCg1MaXN0'
'U2VwYXJhdG9yGAQgASgJQjCSQSYyJFNlcGFyYXRvciBmb3IgbGlzdCB0byB1c2UgaW4gdGhlIG'
'NzdvpCBHICEAFSDUxpc3RTZXBhcmF0b3ISXwoQRGVjaW1hbFNlcGFyYXRvchgFIAEoCUIzkkEp'
'MidTZXBhcmF0b3IgZm9yIGRlY2ltYWwgdG8gdXNlIGluIHRoZSBjc3b6QgRyAhABUhBEZWNpbW'
'FsU2VwYXJhdG9yEm4KFUNvbHVtblRyYW5zbGF0aW9uTWFwcxgIIAMoCzI4LnZpemFwaS5FeHRy'
'YWN0UHJvamVjdFJlcXVlc3QuQ29sdW1uVHJhbnNsYXRpb25NYXBzRW50cnlSFUNvbHVtblRyYW'
'5zbGF0aW9uTWFwcxJWCg1Db2x1bW5Gb3JtYXRzGAkgAygLMjAudml6YXBpLkV4dHJhY3RQcm9q'
'ZWN0UmVxdWVzdC5Db2x1bW5Gb3JtYXRzRW50cnlSDUNvbHVtbkZvcm1hdHMSsAEKDlRhcmdldF'
'RpbWVab25lGAogASgJQocBkkF6MmhUYXJnZXQgdXNlciB0aW1lIHpvbmUgIDxhIGhyZWY9J2h0'
'dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0xpc3Rfb2ZfdHpfZGF0YWJhc2VfdGltZV96b2'
'5lcyc+Zm9ybWF0PC9hPkoOIkV1cm9wZS9QYXJpcyL6QgdyBRAB4AEBUg5UYXJnZXRUaW1lWm9u'
'ZRKHAQoKRGF0ZUZvcm1hdBgLIAEoCUJnkkFkMllMYW5ndWFnZSBjb2RlIHRvIGZvcm1hdCBkYX'
'RlcyAgPGEgaHJlZj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzYzOSc+Zm9y'
'bWF0PC9hPkoHImVuLVVTIlIKRGF0ZUZvcm1hdBKMAQoMTnVtYmVyRm9ybWF0GAwgASgJQmiSQW'
'UyWkxhbmd1YWdlIGNvZGUgdG8gZm9ybWF0IG51bWJlcnMgPGEgaHJlZj0naHR0cHM6Ly9lbi53'
'aWtpcGVkaWEub3JnL3dpa2kvSVNPXzYzOSc+Zm9ybWF0PC9hPkoHImVuLVVTIlIMTnVtYmVyRm'
'9ybWF0Ek8KClRpbWVGb3JtYXQYDSABKA4yEi52aXphcGkuVGltZUZvcm1hdEIbkkEYMhZIb3Vy'
'IGNsb2NrIHRpbWUgZm9ybWF0UgpUaW1lRm9ybWF0GmAKGkNvbHVtblRyYW5zbGF0aW9uTWFwc0'
'VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZhbHVlGAIgASgLMhYudml6YXBpLlRyYW5zbGF0'
'aW9uTWFwUgV2YWx1ZToCOAEaXQoSQ29sdW1uRm9ybWF0c0VudHJ5EhAKA2tleRgBIAEoBVIDa2'
'V5EjEKBXZhbHVlGAIgASgLMhsudml6YXBpLkV4dHJhY3RDb2x1bW5Gb3JtYXRSBXZhbHVlOgI4'
'ATo6kkE3CjXSAQZIZWFkZXLSAQZWaWV3SUTSAQ1MaXN0U2VwYXJhdG9y0gEQRGVjaW1hbFNlcG'
'FyYXRvcg==');
@$core.Deprecated('Use extractProjectResultDescriptor instead')
const ExtractProjectResult$json = {
'1': 'ExtractProjectResult',
'2': [
{'1': 'WorkflowID', '3': 1, '4': 1, '5': 9, '10': 'WorkflowID'},
{'1': 'RunID', '3': 2, '4': 1, '5': 9, '10': 'RunID'},
],
};
/// Descriptor for `ExtractProjectResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List extractProjectResultDescriptor = $convert.base64Decode(
'ChRFeHRyYWN0UHJvamVjdFJlc3VsdBIeCgpXb3JrZmxvd0lEGAEgASgJUgpXb3JrZmxvd0lEEh'
'QKBVJ1bklEGAIgASgJUgVSdW5JRA==');
/// Descriptor for `SetOwnerViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerViewResultDescriptor = $convert.base64Decode(
'ChJTZXRPd25lclZpZXdSZXN1bHQSMwoGVmlld0lEGAEgASgJQhuSQRgyFklkZW50aWZpZXIgb2'
'YgdGhlIFZpZXdSBlZpZXdJRDoskkEpCicyJVJlc3VsdCBvZiBzZXR0aW5nIHRoZSBvd25lciBv'
'ZiBhIFZpZXc=');

View File

@@ -13,10 +13,10 @@ packages:
dependency: "direct main"
description:
name: async
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37
url: "https://pub.dev"
source: hosted
version: "2.13.0"
version: "2.13.1"
clock:
dependency: transitive
description:
@@ -101,10 +101,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
sha256: df0c643f44ad098eb37988027a8e2b2b5a031fd3977f06bbfd3a76637e8df739
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.18.2"
path:
dependency: transitive
description:
@@ -125,10 +125,10 @@ packages:
dependency: transitive
description:
name: source_span
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab"
url: "https://pub.dev"
source: hosted
version: "1.10.1"
version: "1.10.2"
string_scanner:
dependency: transitive
description:

View File

@@ -1,6 +1,6 @@
name: dart_viz_sdk
description: dart libs from visibility model proto files
version: 1.13.0-SNAPSHOT-251217184843
version: 1.13.2
homepage: ''
publish_to: ''
repository: ''