You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -14,8 +14,8 @@ import 'dart:core' as $core;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'source_context.pb.dart' as $91;
|
||||
import 'type.pb.dart' as $93;
|
||||
import 'type.pbenum.dart' as $93;
|
||||
import 'type.pb.dart' as $92;
|
||||
import 'type.pbenum.dart' as $92;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
@@ -32,11 +32,11 @@ class Api extends $pb.GeneratedMessage {
|
||||
factory Api({
|
||||
$core.String? name,
|
||||
$core.Iterable<Method>? methods,
|
||||
$core.Iterable<$93.Option>? options,
|
||||
$core.Iterable<$92.Option>? options,
|
||||
$core.String? version,
|
||||
$91.SourceContext? sourceContext,
|
||||
$core.Iterable<Mixin>? mixins,
|
||||
$93.Syntax? syntax,
|
||||
$92.Syntax? syntax,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (name != null) {
|
||||
@@ -69,11 +69,11 @@ class Api extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Api', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..pc<Method>(2, _omitFieldNames ? '' : 'methods', $pb.PbFieldType.PM, subBuilder: Method.create)
|
||||
..pc<$93.Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $93.Option.create)
|
||||
..pc<$92.Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $92.Option.create)
|
||||
..aOS(4, _omitFieldNames ? '' : 'version')
|
||||
..aOM<$91.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $91.SourceContext.create)
|
||||
..pc<Mixin>(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create)
|
||||
..e<$93.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $93.Syntax.SYNTAX_PROTO2, valueOf: $93.Syntax.valueOf, enumValues: $93.Syntax.values)
|
||||
..e<$92.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $92.Syntax.SYNTAX_PROTO2, valueOf: $92.Syntax.valueOf, enumValues: $92.Syntax.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -115,7 +115,7 @@ class Api extends $pb.GeneratedMessage {
|
||||
|
||||
/// Any metadata attached to the interface.
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$93.Option> get options => $_getList(2);
|
||||
$pb.PbList<$92.Option> get options => $_getList(2);
|
||||
|
||||
/// A version string for this interface. If specified, must have the form
|
||||
/// `major-version.minor-version`, as in `1.10`. If the minor version is
|
||||
@@ -164,9 +164,9 @@ class Api extends $pb.GeneratedMessage {
|
||||
|
||||
/// The source syntax of the service.
|
||||
@$pb.TagNumber(7)
|
||||
$93.Syntax get syntax => $_getN(6);
|
||||
$92.Syntax get syntax => $_getN(6);
|
||||
@$pb.TagNumber(7)
|
||||
set syntax($93.Syntax v) { $_setField(7, v); }
|
||||
set syntax($92.Syntax v) { $_setField(7, v); }
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasSyntax() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
@@ -181,8 +181,8 @@ class Method extends $pb.GeneratedMessage {
|
||||
$core.bool? requestStreaming,
|
||||
$core.String? responseTypeUrl,
|
||||
$core.bool? responseStreaming,
|
||||
$core.Iterable<$93.Option>? options,
|
||||
$93.Syntax? syntax,
|
||||
$core.Iterable<$92.Option>? options,
|
||||
$92.Syntax? syntax,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (name != null) {
|
||||
@@ -218,8 +218,8 @@ class Method extends $pb.GeneratedMessage {
|
||||
..aOB(3, _omitFieldNames ? '' : 'requestStreaming')
|
||||
..aOS(4, _omitFieldNames ? '' : 'responseTypeUrl')
|
||||
..aOB(5, _omitFieldNames ? '' : 'responseStreaming')
|
||||
..pc<$93.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $93.Option.create)
|
||||
..e<$93.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $93.Syntax.SYNTAX_PROTO2, valueOf: $93.Syntax.valueOf, enumValues: $93.Syntax.values)
|
||||
..pc<$92.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $92.Option.create)
|
||||
..e<$92.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $92.Syntax.SYNTAX_PROTO2, valueOf: $92.Syntax.valueOf, enumValues: $92.Syntax.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -296,13 +296,13 @@ class Method extends $pb.GeneratedMessage {
|
||||
|
||||
/// Any metadata attached to the method.
|
||||
@$pb.TagNumber(6)
|
||||
$pb.PbList<$93.Option> get options => $_getList(5);
|
||||
$pb.PbList<$92.Option> get options => $_getList(5);
|
||||
|
||||
/// The source syntax of this method.
|
||||
@$pb.TagNumber(7)
|
||||
$93.Syntax get syntax => $_getN(6);
|
||||
$92.Syntax get syntax => $_getN(6);
|
||||
@$pb.TagNumber(7)
|
||||
set syntax($93.Syntax v) { $_setField(7, v); }
|
||||
set syntax($92.Syntax v) { $_setField(7, v); }
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasSyntax() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
|
||||
@@ -13,7 +13,7 @@ import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import '../descriptor.pb.dart' as $92;
|
||||
import '../descriptor.pb.dart' as $93;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
@@ -118,7 +118,7 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$core.String>? fileToGenerate,
|
||||
$core.String? parameter,
|
||||
Version? compilerVersion,
|
||||
$core.Iterable<$92.FileDescriptorProto>? protoFile,
|
||||
$core.Iterable<$93.FileDescriptorProto>? protoFile,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (fileToGenerate != null) {
|
||||
@@ -143,7 +143,7 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
..pPS(1, _omitFieldNames ? '' : 'fileToGenerate')
|
||||
..aOS(2, _omitFieldNames ? '' : 'parameter')
|
||||
..aOM<Version>(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create)
|
||||
..pc<$92.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $92.FileDescriptorProto.create)
|
||||
..pc<$93.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $93.FileDescriptorProto.create)
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
@@ -210,7 +210,7 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
|
||||
/// Type names of fields and extensions in the FileDescriptorProto are always
|
||||
/// fully qualified.
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$92.FileDescriptorProto> get protoFile => $_getList(3);
|
||||
$pb.PbList<$93.FileDescriptorProto> get protoFile => $_getList(3);
|
||||
}
|
||||
|
||||
/// Represents a single generated file.
|
||||
|
||||
Reference in New Issue
Block a user