diff --git a/buf.gen.yaml b/buf.gen.yaml index 9d82d4238..532afde3c 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -4,7 +4,7 @@ managed: inputs: - directory: proto plugins: - - remote: buf.build/protocolbuffers/dart:v22.1.0 + - remote: buf.build/protocolbuffers/dart:v22.5.0 out: packages/celest_cloud/lib/src/proto include_imports: true include_wkt: true diff --git a/buf.lock b/buf.lock index 82a7eff1a..160f76fd5 100644 --- a/buf.lock +++ b/buf.lock @@ -2,11 +2,11 @@ version: v2 deps: - name: buf.build/bufbuild/protovalidate - commit: 0409229c37804d6187ee0806eb4eebce - digest: b5:795db9d3a6e066dc61d99ac651fa7f136171869abe2211ca272dd84aada7bc4583b9508249fa5b61300a5b1fe8b6dbf6edbc088aa0345d1ccb9fff705e3d48e9 + commit: 6c6e0d3c608e4549802254a2eee81bc8 + digest: b5:a7ca081f38656fc0f5aaa685cc111d3342876723851b47ca6b80cbb810cbb2380f8c444115c495ada58fa1f85eff44e68dc54a445761c195acdb5e8d9af675b6 - name: buf.build/celest-dev/cedar commit: 37266fb8032240bc887fea377784e864 digest: b5:d69e51c2a8a2e037c1f5fceb96f0420c4f6e8ae8d44d1de427380070d5f6119175dcaf2eb7c7d5385ebde266d60d500744953a8bf81881bbb02d9c0237766462 - name: buf.build/googleapis/googleapis - commit: 751cbe31638d43a9bfb6162cd2352e67 - digest: b5:51ba5c31f244fd74420f0e66d13f2b5dd6024dcfe1a29dc45bd8f6e61c1444c828b9add9e7dd25a4513ebbee8097a970e0712a2e2cd955c2d60cf8905204f51a + commit: 61b203b9a9164be9a834f58c37be6f62 + digest: b5:7811a98b35bd2e4ae5c3ac73c8b3d9ae429f3a790da15de188dc98fc2b77d6bb10e45711f14903af9553fa9821dff256054f2e4b7795789265bc476bec2f088c diff --git a/packages/celest_cloud/CHANGELOG.md b/packages/celest_cloud/CHANGELOG.md index 494f933f4..ee7278a09 100644 --- a/packages/celest_cloud/CHANGELOG.md +++ b/packages/celest_cloud/CHANGELOG.md @@ -1,6 +1,7 @@ # NEXT - chore: Fix lint errors +- chore: Update protobufs # 0.1.9 diff --git a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pb.dart b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pb.dart index e4fdcd02c..f4abc04cc 100644 --- a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pb.dart +++ b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pb.dart @@ -1,71 +1,68 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: buf/validate/validate.proto -// +// Generated from buf/validate/validate.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../google/protobuf/descriptor.pbenum.dart' as $10; -import '../../google/protobuf/duration.pb.dart' as $8; -import '../../google/protobuf/timestamp.pb.dart' as $9; +import '../../google/protobuf/descriptor.pbenum.dart' as $2; +import '../../google/protobuf/duration.pb.dart' as $0; +import '../../google/protobuf/timestamp.pb.dart' as $1; import 'validate.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'validate.pbenum.dart'; -/// `Constraint` represents a validation rule written in the Common Expression -/// Language (CEL) syntax. Each Constraint includes a unique identifier, an -/// optional error message, and the CEL expression to evaluate. For more -/// information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). +/// `Rule` represents a validation rule written in the Common Expression +/// Language (CEL) syntax. Each Rule includes a unique identifier, an +/// optional error message, and the CEL expression to evaluate. For more +/// information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/). /// -/// ```proto -/// message Foo { -/// option (buf.validate.message).cel = { -/// id: "foo.bar" -/// message: "bar must be greater than 0" -/// expression: "this.bar > 0" -/// }; -/// int32 bar = 1; -/// } -/// ``` -class Constraint extends $pb.GeneratedMessage { - factory Constraint({ +/// ```proto +/// message Foo { +/// option (buf.validate.message).cel = { +/// id: "foo.bar" +/// message: "bar must be greater than 0" +/// expression: "this.bar > 0" +/// }; +/// int32 bar = 1; +/// } +/// ``` +class Rule extends $pb.GeneratedMessage { + factory Rule({ $core.String? id, $core.String? message, $core.String? expression, }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (message != null) { - $result.message = message; - } - if (expression != null) { - $result.expression = expression; - } - return $result; + final result = create(); + if (id != null) result.id = id; + if (message != null) result.message = message; + if (expression != null) result.expression = expression; + return result; } - Constraint._() : super(); - factory Constraint.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Constraint.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Rule._(); + + factory Rule.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Rule.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Constraint', + _omitMessageNames ? '' : 'Rule', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') @@ -73,52 +70,44 @@ class Constraint extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'expression') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Constraint clone() => Constraint()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Constraint copyWith(void Function(Constraint) updates) => - super.copyWith((message) => updates(message as Constraint)) as Constraint; + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + Rule clone() => Rule()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + Rule copyWith(void Function(Rule) updates) => + super.copyWith((message) => updates(message as Rule)) as Rule; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static Constraint create() => Constraint._(); - Constraint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static Rule create() => Rule._(); + @$core.override + Rule createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Constraint getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); - static Constraint? _defaultInstance; + static Rule getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Rule? _defaultInstance; - /// `id` is a string that serves as a machine-readable name for this Constraint. + /// `id` is a string that serves as a machine-readable name for this Rule. /// It should be unique within its scope, which could be either a message or a field. @$pb.TagNumber(1) $core.String get id => $_getSZ(0); @$pb.TagNumber(1) - set id($core.String v) { - $_setString(0, v); - } - + set id($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasId() => $_has(0); @$pb.TagNumber(1) void clearId() => $_clearField(1); /// `message` is an optional field that provides a human-readable error message - /// for this Constraint when the CEL expression evaluates to false. If a + /// for this Rule when the CEL expression evaluates to false. If a /// non-empty message is provided, any strings resulting from the CEL /// expression evaluation are ignored. @$pb.TagNumber(2) $core.String get message => $_getSZ(1); @$pb.TagNumber(2) - set message($core.String v) { - $_setString(1, v); - } - + set message($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasMessage() => $_has(1); @$pb.TagNumber(2) @@ -131,194 +120,263 @@ class Constraint extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get expression => $_getSZ(2); @$pb.TagNumber(3) - set expression($core.String v) { - $_setString(2, v); - } - + set expression($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasExpression() => $_has(2); @$pb.TagNumber(3) void clearExpression() => $_clearField(3); } -/// MessageConstraints represents validation rules that are applied to the entire message. -/// It includes disabling options and a list of Constraint messages representing Common Expression Language (CEL) validation rules. -class MessageConstraints extends $pb.GeneratedMessage { - factory MessageConstraints({ - $core.bool? disabled, - $core.Iterable? cel, +/// MessageRules represents validation rules that are applied to the entire message. +/// It includes disabling options and a list of Rule messages representing Common Expression Language (CEL) validation rules. +class MessageRules extends $pb.GeneratedMessage { + factory MessageRules({ + $core.Iterable? cel, + $core.Iterable? oneof, }) { - final $result = create(); - if (disabled != null) { - $result.disabled = disabled; - } - if (cel != null) { - $result.cel.addAll(cel); - } - return $result; + final result = create(); + if (cel != null) result.cel.addAll(cel); + if (oneof != null) result.oneof.addAll(oneof); + return result; } - MessageConstraints._() : super(); - factory MessageConstraints.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MessageConstraints.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MessageRules._(); + + factory MessageRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MessageRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MessageConstraints', + _omitMessageNames ? '' : 'MessageRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'disabled') - ..pc(3, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, - subBuilder: Constraint.create) + ..pc(3, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, + subBuilder: Rule.create) + ..pc( + 4, _omitFieldNames ? '' : 'oneof', $pb.PbFieldType.PM, + subBuilder: MessageOneofRule.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MessageConstraints clone() => MessageConstraints()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MessageConstraints copyWith(void Function(MessageConstraints) updates) => - super.copyWith((message) => updates(message as MessageConstraints)) - as MessageConstraints; + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MessageRules clone() => MessageRules()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MessageRules copyWith(void Function(MessageRules) updates) => + super.copyWith((message) => updates(message as MessageRules)) + as MessageRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static MessageConstraints create() => MessageConstraints._(); - MessageConstraints createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static MessageRules create() => MessageRules._(); + @$core.override + MessageRules createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MessageConstraints getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); - static MessageConstraints? _defaultInstance; + static MessageRules getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MessageRules? _defaultInstance; - /// `disabled` is a boolean flag that, when set to true, nullifies any validation rules for this message. - /// This includes any fields within the message that would otherwise support validation. + /// `cel` is a repeated field of type Rule. Each Rule specifies a validation rule to be applied to this message. + /// These rules are written in Common Expression Language (CEL) syntax. For more information, + /// [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/). /// - /// ```proto - /// message MyMessage { - /// // validation will be bypassed for this message - /// option (buf.validate.message).disabled = true; - /// } - /// ``` - @$pb.TagNumber(1) - $core.bool get disabled => $_getBF(0); - @$pb.TagNumber(1) - set disabled($core.bool v) { - $_setBool(0, v); + /// + /// ```proto + /// message MyMessage { + /// // The field `foo` must be greater than 42. + /// option (buf.validate.message).cel = { + /// id: "my_message.value", + /// message: "value must be greater than 42", + /// expression: "this.foo > 42", + /// }; + /// optional int32 foo = 1; + /// } + /// ``` + @$pb.TagNumber(3) + $pb.PbList get cel => $_getList(0); + + /// `oneof` is a repeated field of type MessageOneofRule that specifies a list of fields + /// of which at most one can be present. If `required` is also specified, then exactly one + /// of the specified fields _must_ be present. + /// + /// This will enforce oneof-like constraints with a few features not provided by + /// actual Protobuf oneof declarations: + /// 1. Repeated and map fields are allowed in this validation. In a Protobuf oneof, + /// only scalar fields are allowed. + /// 2. Fields with implicit presence are allowed. In a Protobuf oneof, all member + /// fields have explicit presence. This means that, for the purpose of determining + /// how many fields are set, explicitly setting such a field to its zero value is + /// effectively the same as not setting it at all. + /// 3. This will always generate validation errors for a message unmarshalled from + /// serialized data that sets more than one field. With a Protobuf oneof, when + /// multiple fields are present in the serialized form, earlier values are usually + /// silently ignored when unmarshalling, with only the last field being set when + /// unmarshalling completes. + /// + /// Note that adding a field to a `oneof` will also set the IGNORE_IF_ZERO_VALUE on the fields. This means + /// only the field that is set will be validated and the unset fields are not validated according to the field rules. + /// This behavior can be overridden by setting `ignore` against a field. + /// + /// ```proto + /// message MyMessage { + /// // Only one of `field1` or `field2` _can_ be present in this message. + /// option (buf.validate.message).oneof = { fields: ["field1", "field2"] }; + /// // Exactly one of `field3` or `field4` _must_ be present in this message. + /// option (buf.validate.message).oneof = { fields: ["field3", "field4"], required: true }; + /// string field1 = 1; + /// bytes field2 = 2; + /// bool field3 = 3; + /// int32 field4 = 4; + /// } + /// ``` + @$pb.TagNumber(4) + $pb.PbList get oneof => $_getList(1); +} + +class MessageOneofRule extends $pb.GeneratedMessage { + factory MessageOneofRule({ + $core.Iterable<$core.String>? fields, + $core.bool? required, + }) { + final result = create(); + if (fields != null) result.fields.addAll(fields); + if (required != null) result.required = required; + return result; } + MessageOneofRule._(); + + factory MessageOneofRule.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MessageOneofRule.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MessageOneofRule', + package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), + createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'fields') + ..aOB(2, _omitFieldNames ? '' : 'required') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MessageOneofRule clone() => MessageOneofRule()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MessageOneofRule copyWith(void Function(MessageOneofRule) updates) => + super.copyWith((message) => updates(message as MessageOneofRule)) + as MessageOneofRule; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MessageOneofRule create() => MessageOneofRule._(); + @$core.override + MessageOneofRule createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MessageOneofRule getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MessageOneofRule? _defaultInstance; + + /// A list of field names to include in the oneof. All field names must be + /// defined in the message. At least one field must be specified, and + /// duplicates are not permitted. @$pb.TagNumber(1) - $core.bool hasDisabled() => $_has(0); - @$pb.TagNumber(1) - void clearDisabled() => $_clearField(1); + $pb.PbList<$core.String> get fields => $_getList(0); - /// `cel` is a repeated field of type Constraint. Each Constraint specifies a validation rule to be applied to this message. - /// These constraints are written in Common Expression Language (CEL) syntax. For more information on - /// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). - /// - /// - /// ```proto - /// message MyMessage { - /// // The field `foo` must be greater than 42. - /// option (buf.validate.message).cel = { - /// id: "my_message.value", - /// message: "value must be greater than 42", - /// expression: "this.foo > 42", - /// }; - /// optional int32 foo = 1; - /// } - /// ``` - @$pb.TagNumber(3) - $pb.PbList get cel => $_getList(1); + /// If true, one of the fields specified _must_ be set. + @$pb.TagNumber(2) + $core.bool get required => $_getBF(1); + @$pb.TagNumber(2) + set required($core.bool value) => $_setBool(1, value); + @$pb.TagNumber(2) + $core.bool hasRequired() => $_has(1); + @$pb.TagNumber(2) + void clearRequired() => $_clearField(2); } -/// The `OneofConstraints` message type enables you to manage constraints for +/// The `OneofRules` message type enables you to manage rules for /// oneof fields in your protobuf messages. -class OneofConstraints extends $pb.GeneratedMessage { - factory OneofConstraints({ +class OneofRules extends $pb.GeneratedMessage { + factory OneofRules({ $core.bool? required, }) { - final $result = create(); - if (required != null) { - $result.required = required; - } - return $result; + final result = create(); + if (required != null) result.required = required; + return result; } - OneofConstraints._() : super(); - factory OneofConstraints.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OneofConstraints.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OneofRules._(); + + factory OneofRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OneofRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'OneofConstraints', + _omitMessageNames ? '' : 'OneofRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'required') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OneofConstraints clone() => OneofConstraints()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OneofConstraints copyWith(void Function(OneofConstraints) updates) => - super.copyWith((message) => updates(message as OneofConstraints)) - as OneofConstraints; + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + OneofRules clone() => OneofRules()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + OneofRules copyWith(void Function(OneofRules) updates) => + super.copyWith((message) => updates(message as OneofRules)) as OneofRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static OneofConstraints create() => OneofConstraints._(); - OneofConstraints createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static OneofRules create() => OneofRules._(); + @$core.override + OneofRules createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static OneofConstraints getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); - static OneofConstraints? _defaultInstance; + static OneofRules getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OneofRules? _defaultInstance; - /// If `required` is true, exactly one field of the oneof must be present. A - /// validation error is returned if no fields in the oneof are present. The - /// field itself may still be a default value; further constraints - /// should be placed on the fields themselves to ensure they are valid values, - /// such as `min_len` or `gt`. + /// If `required` is true, exactly one field of the oneof must be set. A + /// validation error is returned if no fields in the oneof are set. Further rules + /// should be placed on the fields themselves to ensure they are valid values, + /// such as `min_len` or `gt`. /// - /// ```proto - /// message MyMessage { - /// oneof value { - /// // Either `a` or `b` must be set. If `a` is set, it must also be - /// // non-empty; whereas if `b` is set, it can still be an empty string. - /// option (buf.validate.oneof).required = true; - /// string a = 1 [(buf.validate.field).string.min_len = 1]; - /// string b = 2; - /// } - /// } - /// ``` + /// ```proto + /// message MyMessage { + /// oneof value { + /// // Either `a` or `b` must be set. If `a` is set, it must also be + /// // non-empty; whereas if `b` is set, it can still be an empty string. + /// option (buf.validate.oneof).required = true; + /// string a = 1 [(buf.validate.field).string.min_len = 1]; + /// string b = 2; + /// } + /// } + /// ``` @$pb.TagNumber(1) $core.bool get required => $_getBF(0); @$pb.TagNumber(1) - set required($core.bool v) { - $_setBool(0, v); - } - + set required($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasRequired() => $_has(0); @$pb.TagNumber(1) void clearRequired() => $_clearField(1); } -enum FieldConstraints_Type { +enum FieldRules_Type { float, double_2, int32, @@ -343,10 +401,10 @@ enum FieldConstraints_Type { notSet } -/// FieldConstraints encapsulates the rules for each type of field. Depending on +/// FieldRules encapsulates the rules for each type of field. Depending on /// the field, the correct set should be used to ensure proper validations. -class FieldConstraints extends $pb.GeneratedMessage { - factory FieldConstraints({ +class FieldRules extends $pb.GeneratedMessage { + factory FieldRules({ FloatRules? float, DoubleRules? double_2, Int32Rules? int32, @@ -368,120 +426,73 @@ class FieldConstraints extends $pb.GeneratedMessage { AnyRules? any, DurationRules? duration, TimestampRules? timestamp, - $core.Iterable? cel, + $core.Iterable? cel, $core.bool? required, Ignore? ignore, }) { - final $result = create(); - if (float != null) { - $result.float = float; - } - if (double_2 != null) { - $result.double_2 = double_2; - } - if (int32 != null) { - $result.int32 = int32; - } - if (int64 != null) { - $result.int64 = int64; - } - if (uint32 != null) { - $result.uint32 = uint32; - } - if (uint64 != null) { - $result.uint64 = uint64; - } - if (sint32 != null) { - $result.sint32 = sint32; - } - if (sint64 != null) { - $result.sint64 = sint64; - } - if (fixed32 != null) { - $result.fixed32 = fixed32; - } - if (fixed64 != null) { - $result.fixed64 = fixed64; - } - if (sfixed32 != null) { - $result.sfixed32 = sfixed32; - } - if (sfixed64 != null) { - $result.sfixed64 = sfixed64; - } - if (bool_13 != null) { - $result.bool_13 = bool_13; - } - if (string != null) { - $result.string = string; - } - if (bytes != null) { - $result.bytes = bytes; - } - if (enum_16 != null) { - $result.enum_16 = enum_16; - } - if (repeated != null) { - $result.repeated = repeated; - } - if (map != null) { - $result.map = map; - } - if (any != null) { - $result.any = any; - } - if (duration != null) { - $result.duration = duration; - } - if (timestamp != null) { - $result.timestamp = timestamp; - } - if (cel != null) { - $result.cel.addAll(cel); - } - if (required != null) { - $result.required = required; - } - if (ignore != null) { - $result.ignore = ignore; - } - return $result; - } - FieldConstraints._() : super(); - factory FieldConstraints.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldConstraints.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, FieldConstraints_Type> - _FieldConstraints_TypeByTag = { - 1: FieldConstraints_Type.float, - 2: FieldConstraints_Type.double_2, - 3: FieldConstraints_Type.int32, - 4: FieldConstraints_Type.int64, - 5: FieldConstraints_Type.uint32, - 6: FieldConstraints_Type.uint64, - 7: FieldConstraints_Type.sint32, - 8: FieldConstraints_Type.sint64, - 9: FieldConstraints_Type.fixed32, - 10: FieldConstraints_Type.fixed64, - 11: FieldConstraints_Type.sfixed32, - 12: FieldConstraints_Type.sfixed64, - 13: FieldConstraints_Type.bool_13, - 14: FieldConstraints_Type.string, - 15: FieldConstraints_Type.bytes, - 16: FieldConstraints_Type.enum_16, - 18: FieldConstraints_Type.repeated, - 19: FieldConstraints_Type.map, - 20: FieldConstraints_Type.any, - 21: FieldConstraints_Type.duration, - 22: FieldConstraints_Type.timestamp, - 0: FieldConstraints_Type.notSet + final result = create(); + if (float != null) result.float = float; + if (double_2 != null) result.double_2 = double_2; + if (int32 != null) result.int32 = int32; + if (int64 != null) result.int64 = int64; + if (uint32 != null) result.uint32 = uint32; + if (uint64 != null) result.uint64 = uint64; + if (sint32 != null) result.sint32 = sint32; + if (sint64 != null) result.sint64 = sint64; + if (fixed32 != null) result.fixed32 = fixed32; + if (fixed64 != null) result.fixed64 = fixed64; + if (sfixed32 != null) result.sfixed32 = sfixed32; + if (sfixed64 != null) result.sfixed64 = sfixed64; + if (bool_13 != null) result.bool_13 = bool_13; + if (string != null) result.string = string; + if (bytes != null) result.bytes = bytes; + if (enum_16 != null) result.enum_16 = enum_16; + if (repeated != null) result.repeated = repeated; + if (map != null) result.map = map; + if (any != null) result.any = any; + if (duration != null) result.duration = duration; + if (timestamp != null) result.timestamp = timestamp; + if (cel != null) result.cel.addAll(cel); + if (required != null) result.required = required; + if (ignore != null) result.ignore = ignore; + return result; + } + + FieldRules._(); + + factory FieldRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, FieldRules_Type> _FieldRules_TypeByTag = { + 1: FieldRules_Type.float, + 2: FieldRules_Type.double_2, + 3: FieldRules_Type.int32, + 4: FieldRules_Type.int64, + 5: FieldRules_Type.uint32, + 6: FieldRules_Type.uint64, + 7: FieldRules_Type.sint32, + 8: FieldRules_Type.sint64, + 9: FieldRules_Type.fixed32, + 10: FieldRules_Type.fixed64, + 11: FieldRules_Type.sfixed32, + 12: FieldRules_Type.sfixed64, + 13: FieldRules_Type.bool_13, + 14: FieldRules_Type.string, + 15: FieldRules_Type.bytes, + 16: FieldRules_Type.enum_16, + 18: FieldRules_Type.repeated, + 19: FieldRules_Type.map, + 20: FieldRules_Type.any, + 21: FieldRules_Type.duration, + 22: FieldRules_Type.timestamp, + 0: FieldRules_Type.notSet }; static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'FieldConstraints', + _omitMessageNames ? '' : 'FieldRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) ..oo(0, [ @@ -549,49 +560,41 @@ class FieldConstraints extends $pb.GeneratedMessage { subBuilder: DurationRules.create) ..aOM(22, _omitFieldNames ? '' : 'timestamp', subBuilder: TimestampRules.create) - ..pc(23, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, - subBuilder: Constraint.create) + ..pc(23, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, + subBuilder: Rule.create) ..aOB(25, _omitFieldNames ? '' : 'required') ..e(27, _omitFieldNames ? '' : 'ignore', $pb.PbFieldType.OE, defaultOrMaker: Ignore.IGNORE_UNSPECIFIED, valueOf: Ignore.valueOf, enumValues: Ignore.values); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldConstraints clone() => FieldConstraints()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldConstraints copyWith(void Function(FieldConstraints) updates) => - super.copyWith((message) => updates(message as FieldConstraints)) - as FieldConstraints; + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + FieldRules clone() => FieldRules()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + FieldRules copyWith(void Function(FieldRules) updates) => + super.copyWith((message) => updates(message as FieldRules)) as FieldRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static FieldConstraints create() => FieldConstraints._(); - FieldConstraints createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static FieldRules create() => FieldRules._(); + @$core.override + FieldRules createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static FieldConstraints getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); - static FieldConstraints? _defaultInstance; + static FieldRules getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FieldRules? _defaultInstance; - FieldConstraints_Type whichType() => - _FieldConstraints_TypeByTag[$_whichOneof(0)]!; + FieldRules_Type whichType() => _FieldRules_TypeByTag[$_whichOneof(0)]!; void clearType() => $_clearField($_whichOneof(0)); /// Scalar Field Types @$pb.TagNumber(1) FloatRules get float => $_getN(0); @$pb.TagNumber(1) - set float(FloatRules v) { - $_setField(1, v); - } - + set float(FloatRules value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasFloat() => $_has(0); @$pb.TagNumber(1) @@ -602,10 +605,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(2) DoubleRules get double_2 => $_getN(1); @$pb.TagNumber(2) - set double_2(DoubleRules v) { - $_setField(2, v); - } - + set double_2(DoubleRules value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasDouble_2() => $_has(1); @$pb.TagNumber(2) @@ -616,10 +616,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(3) Int32Rules get int32 => $_getN(2); @$pb.TagNumber(3) - set int32(Int32Rules v) { - $_setField(3, v); - } - + set int32(Int32Rules value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasInt32() => $_has(2); @$pb.TagNumber(3) @@ -630,10 +627,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(4) Int64Rules get int64 => $_getN(3); @$pb.TagNumber(4) - set int64(Int64Rules v) { - $_setField(4, v); - } - + set int64(Int64Rules value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasInt64() => $_has(3); @$pb.TagNumber(4) @@ -644,10 +638,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(5) UInt32Rules get uint32 => $_getN(4); @$pb.TagNumber(5) - set uint32(UInt32Rules v) { - $_setField(5, v); - } - + set uint32(UInt32Rules value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasUint32() => $_has(4); @$pb.TagNumber(5) @@ -658,10 +649,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(6) UInt64Rules get uint64 => $_getN(5); @$pb.TagNumber(6) - set uint64(UInt64Rules v) { - $_setField(6, v); - } - + set uint64(UInt64Rules value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasUint64() => $_has(5); @$pb.TagNumber(6) @@ -672,10 +660,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(7) SInt32Rules get sint32 => $_getN(6); @$pb.TagNumber(7) - set sint32(SInt32Rules v) { - $_setField(7, v); - } - + set sint32(SInt32Rules value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasSint32() => $_has(6); @$pb.TagNumber(7) @@ -686,10 +671,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(8) SInt64Rules get sint64 => $_getN(7); @$pb.TagNumber(8) - set sint64(SInt64Rules v) { - $_setField(8, v); - } - + set sint64(SInt64Rules value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasSint64() => $_has(7); @$pb.TagNumber(8) @@ -700,10 +682,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(9) Fixed32Rules get fixed32 => $_getN(8); @$pb.TagNumber(9) - set fixed32(Fixed32Rules v) { - $_setField(9, v); - } - + set fixed32(Fixed32Rules value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasFixed32() => $_has(8); @$pb.TagNumber(9) @@ -714,10 +693,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(10) Fixed64Rules get fixed64 => $_getN(9); @$pb.TagNumber(10) - set fixed64(Fixed64Rules v) { - $_setField(10, v); - } - + set fixed64(Fixed64Rules value) => $_setField(10, value); @$pb.TagNumber(10) $core.bool hasFixed64() => $_has(9); @$pb.TagNumber(10) @@ -728,10 +704,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(11) SFixed32Rules get sfixed32 => $_getN(10); @$pb.TagNumber(11) - set sfixed32(SFixed32Rules v) { - $_setField(11, v); - } - + set sfixed32(SFixed32Rules value) => $_setField(11, value); @$pb.TagNumber(11) $core.bool hasSfixed32() => $_has(10); @$pb.TagNumber(11) @@ -742,10 +715,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(12) SFixed64Rules get sfixed64 => $_getN(11); @$pb.TagNumber(12) - set sfixed64(SFixed64Rules v) { - $_setField(12, v); - } - + set sfixed64(SFixed64Rules value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasSfixed64() => $_has(11); @$pb.TagNumber(12) @@ -756,10 +726,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(13) BoolRules get bool_13 => $_getN(12); @$pb.TagNumber(13) - set bool_13(BoolRules v) { - $_setField(13, v); - } - + set bool_13(BoolRules value) => $_setField(13, value); @$pb.TagNumber(13) $core.bool hasBool_13() => $_has(12); @$pb.TagNumber(13) @@ -770,10 +737,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(14) StringRules get string => $_getN(13); @$pb.TagNumber(14) - set string(StringRules v) { - $_setField(14, v); - } - + set string(StringRules value) => $_setField(14, value); @$pb.TagNumber(14) $core.bool hasString() => $_has(13); @$pb.TagNumber(14) @@ -784,10 +748,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(15) BytesRules get bytes => $_getN(14); @$pb.TagNumber(15) - set bytes(BytesRules v) { - $_setField(15, v); - } - + set bytes(BytesRules value) => $_setField(15, value); @$pb.TagNumber(15) $core.bool hasBytes() => $_has(14); @$pb.TagNumber(15) @@ -799,10 +760,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(16) EnumRules get enum_16 => $_getN(15); @$pb.TagNumber(16) - set enum_16(EnumRules v) { - $_setField(16, v); - } - + set enum_16(EnumRules value) => $_setField(16, value); @$pb.TagNumber(16) $core.bool hasEnum_16() => $_has(15); @$pb.TagNumber(16) @@ -813,10 +771,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(18) RepeatedRules get repeated => $_getN(16); @$pb.TagNumber(18) - set repeated(RepeatedRules v) { - $_setField(18, v); - } - + set repeated(RepeatedRules value) => $_setField(18, value); @$pb.TagNumber(18) $core.bool hasRepeated() => $_has(16); @$pb.TagNumber(18) @@ -827,10 +782,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(19) MapRules get map => $_getN(17); @$pb.TagNumber(19) - set map(MapRules v) { - $_setField(19, v); - } - + set map(MapRules value) => $_setField(19, value); @$pb.TagNumber(19) $core.bool hasMap() => $_has(17); @$pb.TagNumber(19) @@ -842,10 +794,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(20) AnyRules get any => $_getN(18); @$pb.TagNumber(20) - set any(AnyRules v) { - $_setField(20, v); - } - + set any(AnyRules value) => $_setField(20, value); @$pb.TagNumber(20) $core.bool hasAny() => $_has(18); @$pb.TagNumber(20) @@ -856,10 +805,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(21) DurationRules get duration => $_getN(19); @$pb.TagNumber(21) - set duration(DurationRules v) { - $_setField(21, v); - } - + set duration(DurationRules value) => $_setField(21, value); @$pb.TagNumber(21) $core.bool hasDuration() => $_has(19); @$pb.TagNumber(21) @@ -870,10 +816,7 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(22) TimestampRules get timestamp => $_getN(20); @$pb.TagNumber(22) - set timestamp(TimestampRules v) { - $_setField(22, v); - } - + set timestamp(TimestampRules value) => $_setField(22, value); @$pb.TagNumber(22) $core.bool hasTimestamp() => $_has(20); @$pb.TagNumber(22) @@ -881,154 +824,176 @@ class FieldConstraints extends $pb.GeneratedMessage { @$pb.TagNumber(22) TimestampRules ensureTimestamp() => $_ensure(20); - /// `cel` is a repeated field used to represent a textual expression - /// in the Common Expression Language (CEL) syntax. For more information on - /// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). + /// `cel` is a repeated field used to represent a textual expression + /// in the Common Expression Language (CEL) syntax. For more information, + /// [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/). /// - /// ```proto - /// message MyMessage { - /// // The field `value` must be greater than 42. - /// optional int32 value = 1 [(buf.validate.field).cel = { - /// id: "my_message.value", - /// message: "value must be greater than 42", - /// expression: "this > 42", - /// }]; - /// } - /// ``` + /// ```proto + /// message MyMessage { + /// // The field `value` must be greater than 42. + /// optional int32 value = 1 [(buf.validate.field).cel = { + /// id: "my_message.value", + /// message: "value must be greater than 42", + /// expression: "this > 42", + /// }]; + /// } + /// ``` @$pb.TagNumber(23) - $pb.PbList get cel => $_getList(21); + $pb.PbList get cel => $_getList(21); - /// If `required` is true, the field must be populated. A populated field can be - /// described as "serialized in the wire format," which includes: + /// If `required` is true, the field must be set. A validation error is returned + /// if the field is not set. + /// + /// ```proto + /// syntax="proto3"; + /// + /// message FieldsWithPresence { + /// // Requires any string to be set, including the empty string. + /// optional string link = 1 [ + /// (buf.validate.field).required = true + /// ]; + /// // Requires true or false to be set. + /// optional bool disabled = 2 [ + /// (buf.validate.field).required = true + /// ]; + /// // Requires a message to be set, including the empty message. + /// SomeMessage msg = 4 [ + /// (buf.validate.field).required = true + /// ]; + /// } + /// ``` /// - /// - the following "nullable" fields must be explicitly set to be considered populated: - /// - singular message fields (whose fields may be unpopulated/default values) - /// - member fields of a oneof (may be their default value) - /// - proto3 optional fields (may be their default value) - /// - proto2 scalar fields (both optional and required) - /// - proto3 scalar fields must be non-zero to be considered populated - /// - repeated and map fields must be non-empty to be considered populated + /// All fields in the example above track presence. By default, Protovalidate + /// ignores rules on those fields if no value is set. `required` ensures that + /// the fields are set and valid. /// - /// ```proto - /// message MyMessage { - /// // The field `value` must be set to a non-null value. - /// optional MyOtherMessage value = 1 [(buf.validate.field).required = true]; - /// } - /// ``` + /// Fields that don't track presence are always validated by Protovalidate, + /// whether they are set or not. It is not necessary to add `required`: + /// + /// ```proto + /// syntax="proto3"; + /// + /// message FieldsWithoutPresence { + /// // `string.email` always applies, even to an empty string. + /// string link = 1 [ + /// (buf.validate.field).string.email = true + /// ]; + /// // `repeated.min_items` always applies, even to an empty list. + /// repeated string labels = 4 [ + /// (buf.validate.field).repeated.min_items = 1 + /// ]; + /// } + /// ``` + /// + /// To learn which fields track presence, see the + /// [Field Presence cheat sheet](https://protobuf.dev/programming-guides/field_presence/#cheat). + /// + /// Note: While field rules can be applied to repeated items, map keys, and map + /// values, the elements are always considered to be set. Consequently, + /// specifying `repeated.items.required` is redundant. @$pb.TagNumber(25) $core.bool get required => $_getBF(22); @$pb.TagNumber(25) - set required($core.bool v) { - $_setBool(22, v); - } - + set required($core.bool value) => $_setBool(22, value); @$pb.TagNumber(25) $core.bool hasRequired() => $_has(22); @$pb.TagNumber(25) void clearRequired() => $_clearField(25); - /// Skip validation on the field if its value matches the specified criteria. - /// See Ignore enum for details. + /// Ignore validation rules on the field if its value matches the specified + /// criteria. See the `Ignore` enum for details. /// - /// ```proto - /// message UpdateRequest { - /// // The uri rule only applies if the field is populated and not an empty - /// // string. - /// optional string url = 1 [ - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE, - /// (buf.validate.field).string.uri = true, - /// ]; - /// } - /// ``` + /// ```proto + /// message UpdateRequest { + /// // The uri rule only applies if the field is not an empty string. + /// string url = 1 [ + /// (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, + /// (buf.validate.field).string.uri = true + /// ]; + /// } + /// ``` @$pb.TagNumber(27) Ignore get ignore => $_getN(23); @$pb.TagNumber(27) - set ignore(Ignore v) { - $_setField(27, v); - } - + set ignore(Ignore value) => $_setField(27, value); @$pb.TagNumber(27) $core.bool hasIgnore() => $_has(23); @$pb.TagNumber(27) void clearIgnore() => $_clearField(27); } -/// PredefinedConstraints are custom constraints that can be re-used with +/// PredefinedRules are custom rules that can be re-used with /// multiple fields. -class PredefinedConstraints extends $pb.GeneratedMessage { - factory PredefinedConstraints({ - $core.Iterable? cel, +class PredefinedRules extends $pb.GeneratedMessage { + factory PredefinedRules({ + $core.Iterable? cel, }) { - final $result = create(); - if (cel != null) { - $result.cel.addAll(cel); - } - return $result; + final result = create(); + if (cel != null) result.cel.addAll(cel); + return result; } - PredefinedConstraints._() : super(); - factory PredefinedConstraints.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PredefinedConstraints.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PredefinedRules._(); + + factory PredefinedRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PredefinedRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'PredefinedConstraints', + _omitMessageNames ? '' : 'PredefinedRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, - subBuilder: Constraint.create) + ..pc(1, _omitFieldNames ? '' : 'cel', $pb.PbFieldType.PM, + subBuilder: Rule.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PredefinedConstraints clone() => - PredefinedConstraints()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PredefinedConstraints copyWith( - void Function(PredefinedConstraints) updates) => - super.copyWith((message) => updates(message as PredefinedConstraints)) - as PredefinedConstraints; + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PredefinedRules clone() => PredefinedRules()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PredefinedRules copyWith(void Function(PredefinedRules) updates) => + super.copyWith((message) => updates(message as PredefinedRules)) + as PredefinedRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static PredefinedConstraints create() => PredefinedConstraints._(); - PredefinedConstraints createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static PredefinedRules create() => PredefinedRules._(); + @$core.override + PredefinedRules createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PredefinedConstraints getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); - static PredefinedConstraints? _defaultInstance; + static PredefinedRules getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static PredefinedRules? _defaultInstance; - /// `cel` is a repeated field used to represent a textual expression - /// in the Common Expression Language (CEL) syntax. For more information on - /// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md). + /// `cel` is a repeated field used to represent a textual expression + /// in the Common Expression Language (CEL) syntax. For more information, + /// [see our documentation](https://buf.build/docs/protovalidate/schemas/predefined-rules/). /// - /// ```proto - /// message MyMessage { - /// // The field `value` must be greater than 42. - /// optional int32 value = 1 [(buf.validate.predefined).cel = { - /// id: "my_message.value", - /// message: "value must be greater than 42", - /// expression: "this > 42", - /// }]; - /// } - /// ``` + /// ```proto + /// message MyMessage { + /// // The field `value` must be greater than 42. + /// optional int32 value = 1 [(buf.validate.predefined).cel = { + /// id: "my_message.value", + /// message: "value must be greater than 42", + /// expression: "this > 42", + /// }]; + /// } + /// ``` @$pb.TagNumber(1) - $pb.PbList get cel => $_getList(0); + $pb.PbList get cel => $_getList(0); } enum FloatRules_LessThan { lt, lte, notSet } enum FloatRules_GreaterThan { gt, gte, notSet } -/// FloatRules describes the constraints applied to `float` values. These +/// FloatRules describes the rules applied to `float` values. These /// rules may also be applied to the `google.protobuf.FloatValue` Well-Known-Type. class FloatRules extends $pb.GeneratedMessage { factory FloatRules({ @@ -1042,43 +1007,27 @@ class FloatRules extends $pb.GeneratedMessage { $core.bool? finite, $core.Iterable<$core.double>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (finite != null) { - $result.finite = finite; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - FloatRules._() : super(); - factory FloatRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FloatRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (finite != null) result.finite = finite; + if (example != null) result.example.addAll(example); + return result; + } + + FloatRules._(); + + factory FloatRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FloatRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, FloatRules_LessThan> _FloatRules_LessThanByTag = { @@ -1109,20 +1058,18 @@ class FloatRules extends $pb.GeneratedMessage { ..p<$core.double>(9, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PF) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FloatRules clone() => FloatRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FloatRules copyWith(void Function(FloatRules) updates) => super.copyWith((message) => updates(message as FloatRules)) as FloatRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FloatRules create() => FloatRules._(); + @$core.override FloatRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -1138,154 +1085,139 @@ class FloatRules extends $pb.GeneratedMessage { _FloatRules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must equal 42.0 - /// float value = 1 [(buf.validate.field).float.const = 42.0]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// // value must equal 42.0 + /// float value = 1 [(buf.validate.field).float.const = 42.0]; + /// } + /// ``` @$pb.TagNumber(1) $core.double get const_1 => $_getN(0); @$pb.TagNumber(1) - set const_1($core.double v) { - $_setFloat(0, v); - } - + set const_1($core.double value) => $_setFloat(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must be less than 10.0 - /// float value = 1 [(buf.validate.field).float.lt = 10.0]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// // value must be less than 10.0 + /// float value = 1 [(buf.validate.field).float.lt = 10.0]; + /// } + /// ``` @$pb.TagNumber(2) $core.double get lt => $_getN(1); @$pb.TagNumber(2) - set lt($core.double v) { - $_setFloat(1, v); - } - + set lt($core.double value) => $_setFloat(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must be less than or equal to 10.0 - /// float value = 1 [(buf.validate.field).float.lte = 10.0]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// // value must be less than or equal to 10.0 + /// float value = 1 [(buf.validate.field).float.lte = 10.0]; + /// } + /// ``` @$pb.TagNumber(3) $core.double get lte => $_getN(2); @$pb.TagNumber(3) - set lte($core.double v) { - $_setFloat(2, v); - } - + set lte($core.double value) => $_setFloat(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must be greater than 5.0 [float.gt] - /// float value = 1 [(buf.validate.field).float.gt = 5.0]; + /// ```proto + /// message MyFloat { + /// // value must be greater than 5.0 [float.gt] + /// float value = 1 [(buf.validate.field).float.gt = 5.0]; /// - /// // value must be greater than 5 and less than 10.0 [float.gt_lt] - /// float other_value = 2 [(buf.validate.field).float = { gt: 5.0, lt: 10.0 }]; + /// // value must be greater than 5 and less than 10.0 [float.gt_lt] + /// float other_value = 2 [(buf.validate.field).float = { gt: 5.0, lt: 10.0 }]; /// - /// // value must be greater than 10 or less than 5.0 [float.gt_lt_exclusive] - /// float another_value = 3 [(buf.validate.field).float = { gt: 10.0, lt: 5.0 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5.0 [float.gt_lt_exclusive] + /// float another_value = 3 [(buf.validate.field).float = { gt: 10.0, lt: 5.0 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.double get gt => $_getN(3); @$pb.TagNumber(4) - set gt($core.double v) { - $_setFloat(3, v); - } - + set gt($core.double value) => $_setFloat(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must be greater than or equal to 5.0 [float.gte] - /// float value = 1 [(buf.validate.field).float.gte = 5.0]; + /// ```proto + /// message MyFloat { + /// // value must be greater than or equal to 5.0 [float.gte] + /// float value = 1 [(buf.validate.field).float.gte = 5.0]; /// - /// // value must be greater than or equal to 5.0 and less than 10.0 [float.gte_lt] - /// float other_value = 2 [(buf.validate.field).float = { gte: 5.0, lt: 10.0 }]; + /// // value must be greater than or equal to 5.0 and less than 10.0 [float.gte_lt] + /// float other_value = 2 [(buf.validate.field).float = { gte: 5.0, lt: 10.0 }]; /// - /// // value must be greater than or equal to 10.0 or less than 5.0 [float.gte_lt_exclusive] - /// float another_value = 3 [(buf.validate.field).float = { gte: 10.0, lt: 5.0 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10.0 or less than 5.0 [float.gte_lt_exclusive] + /// float another_value = 3 [(buf.validate.field).float = { gte: 10.0, lt: 5.0 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.double get gte => $_getN(4); @$pb.TagNumber(5) - set gte($core.double v) { - $_setFloat(4, v); - } - + set gte($core.double value) => $_setFloat(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message - /// is generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message + /// is generated. /// - /// ```proto - /// message MyFloat { - /// // value must be in list [1.0, 2.0, 3.0] - /// float value = 1 [(buf.validate.field).float = { in: [1.0, 2.0, 3.0] }]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// // value must be in list [1.0, 2.0, 3.0] + /// float value = 1 [(buf.validate.field).float = { in: [1.0, 2.0, 3.0] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.double> get in_6 => $_getList(5); - /// `in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyFloat { - /// // value must not be in list [1.0, 2.0, 3.0] - /// float value = 1 [(buf.validate.field).float = { not_in: [1.0, 2.0, 3.0] }]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// // value must not be in list [1.0, 2.0, 3.0] + /// float value = 1 [(buf.validate.field).float = { not_in: [1.0, 2.0, 3.0] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.double> get notIn => $_getList(6); @@ -1294,27 +1226,24 @@ class FloatRules extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get finite => $_getBF(7); @$pb.TagNumber(8) - set finite($core.bool v) { - $_setBool(7, v); - } - + set finite($core.bool value) => $_setBool(7, value); @$pb.TagNumber(8) $core.bool hasFinite() => $_has(7); @$pb.TagNumber(8) void clearFinite() => $_clearField(8); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyFloat { - /// float value = 1 [ - /// (buf.validate.field).float.example = 1.0, - /// (buf.validate.field).float.example = "Infinity" - /// ]; - /// } - /// ``` + /// ```proto + /// message MyFloat { + /// float value = 1 [ + /// (buf.validate.field).float.example = 1.0, + /// (buf.validate.field).float.example = inf + /// ]; + /// } + /// ``` @$pb.TagNumber(9) $pb.PbList<$core.double> get example => $_getList(8); } @@ -1323,7 +1252,7 @@ enum DoubleRules_LessThan { lt, lte, notSet } enum DoubleRules_GreaterThan { gt, gte, notSet } -/// DoubleRules describes the constraints applied to `double` values. These +/// DoubleRules describes the rules applied to `double` values. These /// rules may also be applied to the `google.protobuf.DoubleValue` Well-Known-Type. class DoubleRules extends $pb.GeneratedMessage { factory DoubleRules({ @@ -1337,43 +1266,27 @@ class DoubleRules extends $pb.GeneratedMessage { $core.bool? finite, $core.Iterable<$core.double>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (finite != null) { - $result.finite = finite; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - DoubleRules._() : super(); - factory DoubleRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DoubleRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (finite != null) result.finite = finite; + if (example != null) result.example.addAll(example); + return result; + } + + DoubleRules._(); + + factory DoubleRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DoubleRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, DoubleRules_LessThan> _DoubleRules_LessThanByTag = { @@ -1404,21 +1317,19 @@ class DoubleRules extends $pb.GeneratedMessage { ..p<$core.double>(9, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PD) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DoubleRules clone() => DoubleRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DoubleRules copyWith(void Function(DoubleRules) updates) => super.copyWith((message) => updates(message as DoubleRules)) as DoubleRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DoubleRules create() => DoubleRules._(); + @$core.override DoubleRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -1434,154 +1345,139 @@ class DoubleRules extends $pb.GeneratedMessage { _DoubleRules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must equal 42.0 - /// double value = 1 [(buf.validate.field).double.const = 42.0]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// // value must equal 42.0 + /// double value = 1 [(buf.validate.field).double.const = 42.0]; + /// } + /// ``` @$pb.TagNumber(1) $core.double get const_1 => $_getN(0); @$pb.TagNumber(1) - set const_1($core.double v) { - $_setDouble(0, v); - } - + set const_1($core.double value) => $_setDouble(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified - /// value, an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must be less than 10.0 - /// double value = 1 [(buf.validate.field).double.lt = 10.0]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// // value must be less than 10.0 + /// double value = 1 [(buf.validate.field).double.lt = 10.0]; + /// } + /// ``` @$pb.TagNumber(2) $core.double get lt => $_getN(1); @$pb.TagNumber(2) - set lt($core.double v) { - $_setDouble(1, v); - } - + set lt($core.double value) => $_setDouble(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified value - /// (field <= value). If the field value is greater than the specified value, - /// an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified value + /// (field <= value). If the field value is greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must be less than or equal to 10.0 - /// double value = 1 [(buf.validate.field).double.lte = 10.0]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// // value must be less than or equal to 10.0 + /// double value = 1 [(buf.validate.field).double.lte = 10.0]; + /// } + /// ``` @$pb.TagNumber(3) $core.double get lte => $_getN(2); @$pb.TagNumber(3) - set lte($core.double v) { - $_setDouble(2, v); - } - + set lte($core.double value) => $_setDouble(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or `lte`, - /// the range is reversed, and the field value must be outside the specified - /// range. If the field value doesn't meet the required conditions, an error - /// message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or `lte`, + /// the range is reversed, and the field value must be outside the specified + /// range. If the field value doesn't meet the required conditions, an error + /// message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must be greater than 5.0 [double.gt] - /// double value = 1 [(buf.validate.field).double.gt = 5.0]; + /// ```proto + /// message MyDouble { + /// // value must be greater than 5.0 [double.gt] + /// double value = 1 [(buf.validate.field).double.gt = 5.0]; /// - /// // value must be greater than 5 and less than 10.0 [double.gt_lt] - /// double other_value = 2 [(buf.validate.field).double = { gt: 5.0, lt: 10.0 }]; + /// // value must be greater than 5 and less than 10.0 [double.gt_lt] + /// double other_value = 2 [(buf.validate.field).double = { gt: 5.0, lt: 10.0 }]; /// - /// // value must be greater than 10 or less than 5.0 [double.gt_lt_exclusive] - /// double another_value = 3 [(buf.validate.field).double = { gt: 10.0, lt: 5.0 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5.0 [double.gt_lt_exclusive] + /// double another_value = 3 [(buf.validate.field).double = { gt: 10.0, lt: 5.0 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.double get gt => $_getN(3); @$pb.TagNumber(4) - set gt($core.double v) { - $_setDouble(3, v); - } - + set gt($core.double value) => $_setDouble(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must be greater than or equal to 5.0 [double.gte] - /// double value = 1 [(buf.validate.field).double.gte = 5.0]; + /// ```proto + /// message MyDouble { + /// // value must be greater than or equal to 5.0 [double.gte] + /// double value = 1 [(buf.validate.field).double.gte = 5.0]; /// - /// // value must be greater than or equal to 5.0 and less than 10.0 [double.gte_lt] - /// double other_value = 2 [(buf.validate.field).double = { gte: 5.0, lt: 10.0 }]; + /// // value must be greater than or equal to 5.0 and less than 10.0 [double.gte_lt] + /// double other_value = 2 [(buf.validate.field).double = { gte: 5.0, lt: 10.0 }]; /// - /// // value must be greater than or equal to 10.0 or less than 5.0 [double.gte_lt_exclusive] - /// double another_value = 3 [(buf.validate.field).double = { gte: 10.0, lt: 5.0 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10.0 or less than 5.0 [double.gte_lt_exclusive] + /// double another_value = 3 [(buf.validate.field).double = { gte: 10.0, lt: 5.0 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.double get gte => $_getN(4); @$pb.TagNumber(5) - set gte($core.double v) { - $_setDouble(4, v); - } - + set gte($core.double value) => $_setDouble(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyDouble { - /// // value must be in list [1.0, 2.0, 3.0] - /// double value = 1 [(buf.validate.field).double = { in: [1.0, 2.0, 3.0] }]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// // value must be in list [1.0, 2.0, 3.0] + /// double value = 1 [(buf.validate.field).double = { in: [1.0, 2.0, 3.0] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.double> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyDouble { - /// // value must not be in list [1.0, 2.0, 3.0] - /// double value = 1 [(buf.validate.field).double = { not_in: [1.0, 2.0, 3.0] }]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// // value must not be in list [1.0, 2.0, 3.0] + /// double value = 1 [(buf.validate.field).double = { not_in: [1.0, 2.0, 3.0] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.double> get notIn => $_getList(6); @@ -1590,27 +1486,24 @@ class DoubleRules extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get finite => $_getBF(7); @$pb.TagNumber(8) - set finite($core.bool v) { - $_setBool(7, v); - } - + set finite($core.bool value) => $_setBool(7, value); @$pb.TagNumber(8) $core.bool hasFinite() => $_has(7); @$pb.TagNumber(8) void clearFinite() => $_clearField(8); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyDouble { - /// double value = 1 [ - /// (buf.validate.field).double.example = 1.0, - /// (buf.validate.field).double.example = "Infinity" - /// ]; - /// } - /// ``` + /// ```proto + /// message MyDouble { + /// double value = 1 [ + /// (buf.validate.field).double.example = 1.0, + /// (buf.validate.field).double.example = inf + /// ]; + /// } + /// ``` @$pb.TagNumber(9) $pb.PbList<$core.double> get example => $_getList(8); } @@ -1619,7 +1512,7 @@ enum Int32Rules_LessThan { lt, lte, notSet } enum Int32Rules_GreaterThan { gt, gte, notSet } -/// Int32Rules describes the constraints applied to `int32` values. These +/// Int32Rules describes the rules applied to `int32` values. These /// rules may also be applied to the `google.protobuf.Int32Value` Well-Known-Type. class Int32Rules extends $pb.GeneratedMessage { factory Int32Rules({ @@ -1632,40 +1525,26 @@ class Int32Rules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - Int32Rules._() : super(); - factory Int32Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Int32Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + Int32Rules._(); + + factory Int32Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Int32Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Int32Rules_LessThan> _Int32Rules_LessThanByTag = { @@ -1695,20 +1574,18 @@ class Int32Rules extends $pb.GeneratedMessage { ..p<$core.int>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.P3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int32Rules clone() => Int32Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int32Rules copyWith(void Function(Int32Rules) updates) => super.copyWith((message) => updates(message as Int32Rules)) as Int32Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int32Rules create() => Int32Rules._(); + @$core.override Int32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -1724,169 +1601,154 @@ class Int32Rules extends $pb.GeneratedMessage { _Int32Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must equal 42 - /// int32 value = 1 [(buf.validate.field).int32.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// // value must equal 42 + /// int32 value = 1 [(buf.validate.field).int32.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setSignedInt32(0, v); - } - + set const_1($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field - /// < value). If the field value is equal to or greater than the specified - /// value, an error message is generated. + /// `lt` requires the field value to be less than the specified value (field + /// < value). If the field value is equal to or greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must be less than 10 - /// int32 value = 1 [(buf.validate.field).int32.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// // value must be less than 10 + /// int32 value = 1 [(buf.validate.field).int32.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) - set lt($core.int v) { - $_setSignedInt32(1, v); - } - + set lt($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must be less than or equal to 10 - /// int32 value = 1 [(buf.validate.field).int32.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// // value must be less than or equal to 10 + /// int32 value = 1 [(buf.validate.field).int32.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) - set lte($core.int v) { - $_setSignedInt32(2, v); - } - + set lte($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must be greater than 5 [int32.gt] - /// int32 value = 1 [(buf.validate.field).int32.gt = 5]; + /// ```proto + /// message MyInt32 { + /// // value must be greater than 5 [int32.gt] + /// int32 value = 1 [(buf.validate.field).int32.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [int32.gt_lt] - /// int32 other_value = 2 [(buf.validate.field).int32 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [int32.gt_lt] + /// int32 other_value = 2 [(buf.validate.field).int32 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [int32.gt_lt_exclusive] - /// int32 another_value = 3 [(buf.validate.field).int32 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [int32.gt_lt_exclusive] + /// int32 another_value = 3 [(buf.validate.field).int32 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) - set gt($core.int v) { - $_setSignedInt32(3, v); - } - + set gt($core.int value) => $_setSignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified value - /// (exclusive). If the value of `gte` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified value + /// (exclusive). If the value of `gte` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must be greater than or equal to 5 [int32.gte] - /// int32 value = 1 [(buf.validate.field).int32.gte = 5]; + /// ```proto + /// message MyInt32 { + /// // value must be greater than or equal to 5 [int32.gte] + /// int32 value = 1 [(buf.validate.field).int32.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [int32.gte_lt] - /// int32 other_value = 2 [(buf.validate.field).int32 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [int32.gte_lt] + /// int32 other_value = 2 [(buf.validate.field).int32 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [int32.gte_lt_exclusive] - /// int32 another_value = 3 [(buf.validate.field).int32 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [int32.gte_lt_exclusive] + /// int32 another_value = 3 [(buf.validate.field).int32 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) - set gte($core.int v) { - $_setSignedInt32(4, v); - } - + set gte($core.int value) => $_setSignedInt32(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyInt32 { - /// // value must be in list [1, 2, 3] - /// int32 value = 1 [(buf.validate.field).int32 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// // value must be in list [1, 2, 3] + /// int32 value = 1 [(buf.validate.field).int32 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.int> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error message - /// is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error message + /// is generated. /// - /// ```proto - /// message MyInt32 { - /// // value must not be in list [1, 2, 3] - /// int32 value = 1 [(buf.validate.field).int32 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// // value must not be in list [1, 2, 3] + /// int32 value = 1 [(buf.validate.field).int32 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.int> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyInt32 { - /// int32 value = 1 [ - /// (buf.validate.field).int32.example = 1, - /// (buf.validate.field).int32.example = -10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyInt32 { + /// int32 value = 1 [ + /// (buf.validate.field).int32.example = 1, + /// (buf.validate.field).int32.example = -10 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.int> get example => $_getList(7); } @@ -1895,7 +1757,7 @@ enum Int64Rules_LessThan { lt, lte, notSet } enum Int64Rules_GreaterThan { gt, gte, notSet } -/// Int64Rules describes the constraints applied to `int64` values. These +/// Int64Rules describes the rules applied to `int64` values. These /// rules may also be applied to the `google.protobuf.Int64Value` Well-Known-Type. class Int64Rules extends $pb.GeneratedMessage { factory Int64Rules({ @@ -1908,40 +1770,26 @@ class Int64Rules extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? notIn, $core.Iterable<$fixnum.Int64>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - Int64Rules._() : super(); - factory Int64Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Int64Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + Int64Rules._(); + + factory Int64Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Int64Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Int64Rules_LessThan> _Int64Rules_LessThanByTag = { @@ -1971,20 +1819,18 @@ class Int64Rules extends $pb.GeneratedMessage { ..p<$fixnum.Int64>(9, _omitFieldNames ? '' : 'example', $pb.PbFieldType.P6) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int64Rules clone() => Int64Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int64Rules copyWith(void Function(Int64Rules) updates) => super.copyWith((message) => updates(message as Int64Rules)) as Int64Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int64Rules create() => Int64Rules._(); + @$core.override Int64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2000,169 +1846,154 @@ class Int64Rules extends $pb.GeneratedMessage { _Int64Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must equal 42 - /// int64 value = 1 [(buf.validate.field).int64.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// // value must equal 42 + /// int64 value = 1 [(buf.validate.field).int64.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) - set const_1($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set const_1($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must be less than 10 - /// int64 value = 1 [(buf.validate.field).int64.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// // value must be less than 10 + /// int64 value = 1 [(buf.validate.field).int64.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) - set lt($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set lt($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must be less than or equal to 10 - /// int64 value = 1 [(buf.validate.field).int64.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// // value must be less than or equal to 10 + /// int64 value = 1 [(buf.validate.field).int64.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) - set lte($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lte($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must be greater than 5 [int64.gt] - /// int64 value = 1 [(buf.validate.field).int64.gt = 5]; + /// ```proto + /// message MyInt64 { + /// // value must be greater than 5 [int64.gt] + /// int64 value = 1 [(buf.validate.field).int64.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [int64.gt_lt] - /// int64 other_value = 2 [(buf.validate.field).int64 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [int64.gt_lt] + /// int64 other_value = 2 [(buf.validate.field).int64 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [int64.gt_lt_exclusive] - /// int64 another_value = 3 [(buf.validate.field).int64 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [int64.gt_lt_exclusive] + /// int64 another_value = 3 [(buf.validate.field).int64 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) - set gt($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set gt($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must be greater than or equal to 5 [int64.gte] - /// int64 value = 1 [(buf.validate.field).int64.gte = 5]; + /// ```proto + /// message MyInt64 { + /// // value must be greater than or equal to 5 [int64.gte] + /// int64 value = 1 [(buf.validate.field).int64.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [int64.gte_lt] - /// int64 other_value = 2 [(buf.validate.field).int64 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [int64.gte_lt] + /// int64 other_value = 2 [(buf.validate.field).int64 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [int64.gte_lt_exclusive] - /// int64 another_value = 3 [(buf.validate.field).int64 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [int64.gte_lt_exclusive] + /// int64 another_value = 3 [(buf.validate.field).int64 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) - set gte($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set gte($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyInt64 { - /// // value must be in list [1, 2, 3] - /// int64 value = 1 [(buf.validate.field).int64 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// // value must be in list [1, 2, 3] + /// int64 value = 1 [(buf.validate.field).int64 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$fixnum.Int64> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyInt64 { - /// // value must not be in list [1, 2, 3] - /// int64 value = 1 [(buf.validate.field).int64 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// // value must not be in list [1, 2, 3] + /// int64 value = 1 [(buf.validate.field).int64 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$fixnum.Int64> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyInt64 { - /// int64 value = 1 [ - /// (buf.validate.field).int64.example = 1, - /// (buf.validate.field).int64.example = -10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyInt64 { + /// int64 value = 1 [ + /// (buf.validate.field).int64.example = 1, + /// (buf.validate.field).int64.example = -10 + /// ]; + /// } + /// ``` @$pb.TagNumber(9) $pb.PbList<$fixnum.Int64> get example => $_getList(7); } @@ -2171,7 +2002,7 @@ enum UInt32Rules_LessThan { lt, lte, notSet } enum UInt32Rules_GreaterThan { gt, gte, notSet } -/// UInt32Rules describes the constraints applied to `uint32` values. These +/// UInt32Rules describes the rules applied to `uint32` values. These /// rules may also be applied to the `google.protobuf.UInt32Value` Well-Known-Type. class UInt32Rules extends $pb.GeneratedMessage { factory UInt32Rules({ @@ -2184,40 +2015,26 @@ class UInt32Rules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - UInt32Rules._() : super(); - factory UInt32Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UInt32Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + UInt32Rules._(); + + factory UInt32Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UInt32Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, UInt32Rules_LessThan> _UInt32Rules_LessThanByTag = { @@ -2247,21 +2064,19 @@ class UInt32Rules extends $pb.GeneratedMessage { ..p<$core.int>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PU3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt32Rules clone() => UInt32Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt32Rules copyWith(void Function(UInt32Rules) updates) => super.copyWith((message) => updates(message as UInt32Rules)) as UInt32Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt32Rules create() => UInt32Rules._(); + @$core.override UInt32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2277,169 +2092,154 @@ class UInt32Rules extends $pb.GeneratedMessage { _UInt32Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must equal 42 - /// uint32 value = 1 [(buf.validate.field).uint32.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// // value must equal 42 + /// uint32 value = 1 [(buf.validate.field).uint32.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setUnsignedInt32(0, v); - } - + set const_1($core.int value) => $_setUnsignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must be less than 10 - /// uint32 value = 1 [(buf.validate.field).uint32.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// // value must be less than 10 + /// uint32 value = 1 [(buf.validate.field).uint32.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) - set lt($core.int v) { - $_setUnsignedInt32(1, v); - } - + set lt($core.int value) => $_setUnsignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must be less than or equal to 10 - /// uint32 value = 1 [(buf.validate.field).uint32.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// // value must be less than or equal to 10 + /// uint32 value = 1 [(buf.validate.field).uint32.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) - set lte($core.int v) { - $_setUnsignedInt32(2, v); - } - + set lte($core.int value) => $_setUnsignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must be greater than 5 [uint32.gt] - /// uint32 value = 1 [(buf.validate.field).uint32.gt = 5]; + /// ```proto + /// message MyUInt32 { + /// // value must be greater than 5 [uint32.gt] + /// uint32 value = 1 [(buf.validate.field).uint32.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [uint32.gt_lt] - /// uint32 other_value = 2 [(buf.validate.field).uint32 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [uint32.gt_lt] + /// uint32 other_value = 2 [(buf.validate.field).uint32 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [uint32.gt_lt_exclusive] - /// uint32 another_value = 3 [(buf.validate.field).uint32 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [uint32.gt_lt_exclusive] + /// uint32 another_value = 3 [(buf.validate.field).uint32 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) - set gt($core.int v) { - $_setUnsignedInt32(3, v); - } - + set gt($core.int value) => $_setUnsignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must be greater than or equal to 5 [uint32.gte] - /// uint32 value = 1 [(buf.validate.field).uint32.gte = 5]; + /// ```proto + /// message MyUInt32 { + /// // value must be greater than or equal to 5 [uint32.gte] + /// uint32 value = 1 [(buf.validate.field).uint32.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [uint32.gte_lt] - /// uint32 other_value = 2 [(buf.validate.field).uint32 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [uint32.gte_lt] + /// uint32 other_value = 2 [(buf.validate.field).uint32 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [uint32.gte_lt_exclusive] - /// uint32 another_value = 3 [(buf.validate.field).uint32 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [uint32.gte_lt_exclusive] + /// uint32 another_value = 3 [(buf.validate.field).uint32 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) - set gte($core.int v) { - $_setUnsignedInt32(4, v); - } - + set gte($core.int value) => $_setUnsignedInt32(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must be in list [1, 2, 3] - /// uint32 value = 1 [(buf.validate.field).uint32 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// // value must be in list [1, 2, 3] + /// uint32 value = 1 [(buf.validate.field).uint32 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.int> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyUInt32 { - /// // value must not be in list [1, 2, 3] - /// uint32 value = 1 [(buf.validate.field).uint32 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// // value must not be in list [1, 2, 3] + /// uint32 value = 1 [(buf.validate.field).uint32 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.int> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyUInt32 { - /// uint32 value = 1 [ - /// (buf.validate.field).uint32.example = 1, - /// (buf.validate.field).uint32.example = 10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyUInt32 { + /// uint32 value = 1 [ + /// (buf.validate.field).uint32.example = 1, + /// (buf.validate.field).uint32.example = 10 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.int> get example => $_getList(7); } @@ -2448,7 +2248,7 @@ enum UInt64Rules_LessThan { lt, lte, notSet } enum UInt64Rules_GreaterThan { gt, gte, notSet } -/// UInt64Rules describes the constraints applied to `uint64` values. These +/// UInt64Rules describes the rules applied to `uint64` values. These /// rules may also be applied to the `google.protobuf.UInt64Value` Well-Known-Type. class UInt64Rules extends $pb.GeneratedMessage { factory UInt64Rules({ @@ -2461,40 +2261,26 @@ class UInt64Rules extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? notIn, $core.Iterable<$fixnum.Int64>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - UInt64Rules._() : super(); - factory UInt64Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UInt64Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + UInt64Rules._(); + + factory UInt64Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UInt64Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, UInt64Rules_LessThan> _UInt64Rules_LessThanByTag = { @@ -2529,21 +2315,19 @@ class UInt64Rules extends $pb.GeneratedMessage { ..p<$fixnum.Int64>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PU6) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt64Rules clone() => UInt64Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt64Rules copyWith(void Function(UInt64Rules) updates) => super.copyWith((message) => updates(message as UInt64Rules)) as UInt64Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt64Rules create() => UInt64Rules._(); + @$core.override UInt64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2559,169 +2343,154 @@ class UInt64Rules extends $pb.GeneratedMessage { _UInt64Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must equal 42 - /// uint64 value = 1 [(buf.validate.field).uint64.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// // value must equal 42 + /// uint64 value = 1 [(buf.validate.field).uint64.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) - set const_1($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set const_1($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must be less than 10 - /// uint64 value = 1 [(buf.validate.field).uint64.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// // value must be less than 10 + /// uint64 value = 1 [(buf.validate.field).uint64.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) - set lt($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set lt($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must be less than or equal to 10 - /// uint64 value = 1 [(buf.validate.field).uint64.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// // value must be less than or equal to 10 + /// uint64 value = 1 [(buf.validate.field).uint64.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) - set lte($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lte($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must be greater than 5 [uint64.gt] - /// uint64 value = 1 [(buf.validate.field).uint64.gt = 5]; + /// ```proto + /// message MyUInt64 { + /// // value must be greater than 5 [uint64.gt] + /// uint64 value = 1 [(buf.validate.field).uint64.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [uint64.gt_lt] - /// uint64 other_value = 2 [(buf.validate.field).uint64 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [uint64.gt_lt] + /// uint64 other_value = 2 [(buf.validate.field).uint64 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [uint64.gt_lt_exclusive] - /// uint64 another_value = 3 [(buf.validate.field).uint64 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [uint64.gt_lt_exclusive] + /// uint64 another_value = 3 [(buf.validate.field).uint64 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) - set gt($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set gt($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must be greater than or equal to 5 [uint64.gte] - /// uint64 value = 1 [(buf.validate.field).uint64.gte = 5]; + /// ```proto + /// message MyUInt64 { + /// // value must be greater than or equal to 5 [uint64.gte] + /// uint64 value = 1 [(buf.validate.field).uint64.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [uint64.gte_lt] - /// uint64 other_value = 2 [(buf.validate.field).uint64 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [uint64.gte_lt] + /// uint64 other_value = 2 [(buf.validate.field).uint64 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [uint64.gte_lt_exclusive] - /// uint64 another_value = 3 [(buf.validate.field).uint64 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [uint64.gte_lt_exclusive] + /// uint64 another_value = 3 [(buf.validate.field).uint64 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) - set gte($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set gte($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must be in list [1, 2, 3] - /// uint64 value = 1 [(buf.validate.field).uint64 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// // value must be in list [1, 2, 3] + /// uint64 value = 1 [(buf.validate.field).uint64 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$fixnum.Int64> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyUInt64 { - /// // value must not be in list [1, 2, 3] - /// uint64 value = 1 [(buf.validate.field).uint64 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// // value must not be in list [1, 2, 3] + /// uint64 value = 1 [(buf.validate.field).uint64 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$fixnum.Int64> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyUInt64 { - /// uint64 value = 1 [ - /// (buf.validate.field).uint64.example = 1, - /// (buf.validate.field).uint64.example = -10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyUInt64 { + /// uint64 value = 1 [ + /// (buf.validate.field).uint64.example = 1, + /// (buf.validate.field).uint64.example = -10 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$fixnum.Int64> get example => $_getList(7); } @@ -2730,7 +2499,7 @@ enum SInt32Rules_LessThan { lt, lte, notSet } enum SInt32Rules_GreaterThan { gt, gte, notSet } -/// SInt32Rules describes the constraints applied to `sint32` values. +/// SInt32Rules describes the rules applied to `sint32` values. class SInt32Rules extends $pb.GeneratedMessage { factory SInt32Rules({ $core.int? const_1, @@ -2742,40 +2511,26 @@ class SInt32Rules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - SInt32Rules._() : super(); - factory SInt32Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SInt32Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + SInt32Rules._(); + + factory SInt32Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SInt32Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, SInt32Rules_LessThan> _SInt32Rules_LessThanByTag = { @@ -2805,21 +2560,19 @@ class SInt32Rules extends $pb.GeneratedMessage { ..p<$core.int>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PS3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SInt32Rules clone() => SInt32Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SInt32Rules copyWith(void Function(SInt32Rules) updates) => super.copyWith((message) => updates(message as SInt32Rules)) as SInt32Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SInt32Rules create() => SInt32Rules._(); + @$core.override SInt32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2835,169 +2588,154 @@ class SInt32Rules extends $pb.GeneratedMessage { _SInt32Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must equal 42 - /// sint32 value = 1 [(buf.validate.field).sint32.const = 42]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// // value must equal 42 + /// sint32 value = 1 [(buf.validate.field).sint32.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setSignedInt32(0, v); - } - + set const_1($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field - /// < value). If the field value is equal to or greater than the specified - /// value, an error message is generated. + /// `lt` requires the field value to be less than the specified value (field + /// < value). If the field value is equal to or greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must be less than 10 - /// sint32 value = 1 [(buf.validate.field).sint32.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// // value must be less than 10 + /// sint32 value = 1 [(buf.validate.field).sint32.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) - set lt($core.int v) { - $_setSignedInt32(1, v); - } - + set lt($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must be less than or equal to 10 - /// sint32 value = 1 [(buf.validate.field).sint32.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// // value must be less than or equal to 10 + /// sint32 value = 1 [(buf.validate.field).sint32.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) - set lte($core.int v) { - $_setSignedInt32(2, v); - } - + set lte($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must be greater than 5 [sint32.gt] - /// sint32 value = 1 [(buf.validate.field).sint32.gt = 5]; + /// ```proto + /// message MySInt32 { + /// // value must be greater than 5 [sint32.gt] + /// sint32 value = 1 [(buf.validate.field).sint32.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [sint32.gt_lt] - /// sint32 other_value = 2 [(buf.validate.field).sint32 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [sint32.gt_lt] + /// sint32 other_value = 2 [(buf.validate.field).sint32 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [sint32.gt_lt_exclusive] - /// sint32 another_value = 3 [(buf.validate.field).sint32 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [sint32.gt_lt_exclusive] + /// sint32 another_value = 3 [(buf.validate.field).sint32 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) - set gt($core.int v) { - $_setSignedInt32(3, v); - } - + set gt($core.int value) => $_setSignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must be greater than or equal to 5 [sint32.gte] - /// sint32 value = 1 [(buf.validate.field).sint32.gte = 5]; + /// ```proto + /// message MySInt32 { + /// // value must be greater than or equal to 5 [sint32.gte] + /// sint32 value = 1 [(buf.validate.field).sint32.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [sint32.gte_lt] - /// sint32 other_value = 2 [(buf.validate.field).sint32 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [sint32.gte_lt] + /// sint32 other_value = 2 [(buf.validate.field).sint32 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [sint32.gte_lt_exclusive] - /// sint32 another_value = 3 [(buf.validate.field).sint32 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [sint32.gte_lt_exclusive] + /// sint32 another_value = 3 [(buf.validate.field).sint32 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) - set gte($core.int v) { - $_setSignedInt32(4, v); - } - + set gte($core.int value) => $_setSignedInt32(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MySInt32 { - /// // value must be in list [1, 2, 3] - /// sint32 value = 1 [(buf.validate.field).sint32 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// // value must be in list [1, 2, 3] + /// sint32 value = 1 [(buf.validate.field).sint32 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.int> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MySInt32 { - /// // value must not be in list [1, 2, 3] - /// sint32 value = 1 [(buf.validate.field).sint32 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// // value must not be in list [1, 2, 3] + /// sint32 value = 1 [(buf.validate.field).sint32 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.int> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MySInt32 { - /// sint32 value = 1 [ - /// (buf.validate.field).sint32.example = 1, - /// (buf.validate.field).sint32.example = -10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MySInt32 { + /// sint32 value = 1 [ + /// (buf.validate.field).sint32.example = 1, + /// (buf.validate.field).sint32.example = -10 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.int> get example => $_getList(7); } @@ -3006,7 +2744,7 @@ enum SInt64Rules_LessThan { lt, lte, notSet } enum SInt64Rules_GreaterThan { gt, gte, notSet } -/// SInt64Rules describes the constraints applied to `sint64` values. +/// SInt64Rules describes the rules applied to `sint64` values. class SInt64Rules extends $pb.GeneratedMessage { factory SInt64Rules({ $fixnum.Int64? const_1, @@ -3018,40 +2756,26 @@ class SInt64Rules extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? notIn, $core.Iterable<$fixnum.Int64>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - SInt64Rules._() : super(); - factory SInt64Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SInt64Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + SInt64Rules._(); + + factory SInt64Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SInt64Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, SInt64Rules_LessThan> _SInt64Rules_LessThanByTag = { @@ -3086,21 +2810,19 @@ class SInt64Rules extends $pb.GeneratedMessage { ..p<$fixnum.Int64>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PS6) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SInt64Rules clone() => SInt64Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SInt64Rules copyWith(void Function(SInt64Rules) updates) => super.copyWith((message) => updates(message as SInt64Rules)) as SInt64Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SInt64Rules create() => SInt64Rules._(); + @$core.override SInt64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -3116,169 +2838,154 @@ class SInt64Rules extends $pb.GeneratedMessage { _SInt64Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must equal 42 - /// sint64 value = 1 [(buf.validate.field).sint64.const = 42]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// // value must equal 42 + /// sint64 value = 1 [(buf.validate.field).sint64.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) - set const_1($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set const_1($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field - /// < value). If the field value is equal to or greater than the specified - /// value, an error message is generated. + /// `lt` requires the field value to be less than the specified value (field + /// < value). If the field value is equal to or greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must be less than 10 - /// sint64 value = 1 [(buf.validate.field).sint64.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// // value must be less than 10 + /// sint64 value = 1 [(buf.validate.field).sint64.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) - set lt($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set lt($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must be less than or equal to 10 - /// sint64 value = 1 [(buf.validate.field).sint64.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// // value must be less than or equal to 10 + /// sint64 value = 1 [(buf.validate.field).sint64.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) - set lte($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lte($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must be greater than 5 [sint64.gt] - /// sint64 value = 1 [(buf.validate.field).sint64.gt = 5]; + /// ```proto + /// message MySInt64 { + /// // value must be greater than 5 [sint64.gt] + /// sint64 value = 1 [(buf.validate.field).sint64.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [sint64.gt_lt] - /// sint64 other_value = 2 [(buf.validate.field).sint64 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [sint64.gt_lt] + /// sint64 other_value = 2 [(buf.validate.field).sint64 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [sint64.gt_lt_exclusive] - /// sint64 another_value = 3 [(buf.validate.field).sint64 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [sint64.gt_lt_exclusive] + /// sint64 another_value = 3 [(buf.validate.field).sint64 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) - set gt($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set gt($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must be greater than or equal to 5 [sint64.gte] - /// sint64 value = 1 [(buf.validate.field).sint64.gte = 5]; + /// ```proto + /// message MySInt64 { + /// // value must be greater than or equal to 5 [sint64.gte] + /// sint64 value = 1 [(buf.validate.field).sint64.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [sint64.gte_lt] - /// sint64 other_value = 2 [(buf.validate.field).sint64 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [sint64.gte_lt] + /// sint64 other_value = 2 [(buf.validate.field).sint64 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [sint64.gte_lt_exclusive] - /// sint64 another_value = 3 [(buf.validate.field).sint64 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [sint64.gte_lt_exclusive] + /// sint64 another_value = 3 [(buf.validate.field).sint64 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) - set gte($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set gte($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message - /// is generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message + /// is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must be in list [1, 2, 3] - /// sint64 value = 1 [(buf.validate.field).sint64 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// // value must be in list [1, 2, 3] + /// sint64 value = 1 [(buf.validate.field).sint64 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$fixnum.Int64> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MySInt64 { - /// // value must not be in list [1, 2, 3] - /// sint64 value = 1 [(buf.validate.field).sint64 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// // value must not be in list [1, 2, 3] + /// sint64 value = 1 [(buf.validate.field).sint64 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$fixnum.Int64> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MySInt64 { - /// sint64 value = 1 [ - /// (buf.validate.field).sint64.example = 1, - /// (buf.validate.field).sint64.example = -10 - /// ]; - /// } - /// ``` + /// ```proto + /// message MySInt64 { + /// sint64 value = 1 [ + /// (buf.validate.field).sint64.example = 1, + /// (buf.validate.field).sint64.example = -10 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$fixnum.Int64> get example => $_getList(7); } @@ -3287,7 +2994,7 @@ enum Fixed32Rules_LessThan { lt, lte, notSet } enum Fixed32Rules_GreaterThan { gt, gte, notSet } -/// Fixed32Rules describes the constraints applied to `fixed32` values. +/// Fixed32Rules describes the rules applied to `fixed32` values. class Fixed32Rules extends $pb.GeneratedMessage { factory Fixed32Rules({ $core.int? const_1, @@ -3299,40 +3006,26 @@ class Fixed32Rules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - Fixed32Rules._() : super(); - factory Fixed32Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Fixed32Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + Fixed32Rules._(); + + factory Fixed32Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Fixed32Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Fixed32Rules_LessThan> _Fixed32Rules_LessThanByTag = { @@ -3362,21 +3055,19 @@ class Fixed32Rules extends $pb.GeneratedMessage { ..p<$core.int>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PF3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Fixed32Rules clone() => Fixed32Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Fixed32Rules copyWith(void Function(Fixed32Rules) updates) => super.copyWith((message) => updates(message as Fixed32Rules)) as Fixed32Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Fixed32Rules create() => Fixed32Rules._(); + @$core.override Fixed32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3393,169 +3084,154 @@ class Fixed32Rules extends $pb.GeneratedMessage { _Fixed32Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. - /// If the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. + /// If the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must equal 42 - /// fixed32 value = 1 [(buf.validate.field).fixed32.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// // value must equal 42 + /// fixed32 value = 1 [(buf.validate.field).fixed32.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setUnsignedInt32(0, v); - } - + set const_1($core.int value) => $_setUnsignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must be less than 10 - /// fixed32 value = 1 [(buf.validate.field).fixed32.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// // value must be less than 10 + /// fixed32 value = 1 [(buf.validate.field).fixed32.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) - set lt($core.int v) { - $_setUnsignedInt32(1, v); - } - + set lt($core.int value) => $_setUnsignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must be less than or equal to 10 - /// fixed32 value = 1 [(buf.validate.field).fixed32.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// // value must be less than or equal to 10 + /// fixed32 value = 1 [(buf.validate.field).fixed32.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) - set lte($core.int v) { - $_setUnsignedInt32(2, v); - } - + set lte($core.int value) => $_setUnsignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must be greater than 5 [fixed32.gt] - /// fixed32 value = 1 [(buf.validate.field).fixed32.gt = 5]; + /// ```proto + /// message MyFixed32 { + /// // value must be greater than 5 [fixed32.gt] + /// fixed32 value = 1 [(buf.validate.field).fixed32.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [fixed32.gt_lt] - /// fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [fixed32.gt_lt] + /// fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [fixed32.gt_lt_exclusive] - /// fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [fixed32.gt_lt_exclusive] + /// fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) - set gt($core.int v) { - $_setUnsignedInt32(3, v); - } - + set gt($core.int value) => $_setUnsignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must be greater than or equal to 5 [fixed32.gte] - /// fixed32 value = 1 [(buf.validate.field).fixed32.gte = 5]; + /// ```proto + /// message MyFixed32 { + /// // value must be greater than or equal to 5 [fixed32.gte] + /// fixed32 value = 1 [(buf.validate.field).fixed32.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [fixed32.gte_lt] - /// fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [fixed32.gte_lt] + /// fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [fixed32.gte_lt_exclusive] - /// fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [fixed32.gte_lt_exclusive] + /// fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) - set gte($core.int v) { - $_setUnsignedInt32(4, v); - } - + set gte($core.int value) => $_setUnsignedInt32(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message - /// is generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message + /// is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must be in list [1, 2, 3] - /// fixed32 value = 1 [(buf.validate.field).fixed32 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// // value must be in list [1, 2, 3] + /// fixed32 value = 1 [(buf.validate.field).fixed32 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.int> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyFixed32 { - /// // value must not be in list [1, 2, 3] - /// fixed32 value = 1 [(buf.validate.field).fixed32 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// // value must not be in list [1, 2, 3] + /// fixed32 value = 1 [(buf.validate.field).fixed32 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.int> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyFixed32 { - /// fixed32 value = 1 [ - /// (buf.validate.field).fixed32.example = 1, - /// (buf.validate.field).fixed32.example = 2 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyFixed32 { + /// fixed32 value = 1 [ + /// (buf.validate.field).fixed32.example = 1, + /// (buf.validate.field).fixed32.example = 2 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.int> get example => $_getList(7); } @@ -3564,7 +3240,7 @@ enum Fixed64Rules_LessThan { lt, lte, notSet } enum Fixed64Rules_GreaterThan { gt, gte, notSet } -/// Fixed64Rules describes the constraints applied to `fixed64` values. +/// Fixed64Rules describes the rules applied to `fixed64` values. class Fixed64Rules extends $pb.GeneratedMessage { factory Fixed64Rules({ $fixnum.Int64? const_1, @@ -3576,40 +3252,26 @@ class Fixed64Rules extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? notIn, $core.Iterable<$fixnum.Int64>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - Fixed64Rules._() : super(); - factory Fixed64Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Fixed64Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + Fixed64Rules._(); + + factory Fixed64Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Fixed64Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Fixed64Rules_LessThan> _Fixed64Rules_LessThanByTag = { @@ -3644,21 +3306,19 @@ class Fixed64Rules extends $pb.GeneratedMessage { ..p<$fixnum.Int64>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PF6) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Fixed64Rules clone() => Fixed64Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Fixed64Rules copyWith(void Function(Fixed64Rules) updates) => super.copyWith((message) => updates(message as Fixed64Rules)) as Fixed64Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Fixed64Rules create() => Fixed64Rules._(); + @$core.override Fixed64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3675,169 +3335,154 @@ class Fixed64Rules extends $pb.GeneratedMessage { _Fixed64Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must equal 42 - /// fixed64 value = 1 [(buf.validate.field).fixed64.const = 42]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// // value must equal 42 + /// fixed64 value = 1 [(buf.validate.field).fixed64.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) - set const_1($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set const_1($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must be less than 10 - /// fixed64 value = 1 [(buf.validate.field).fixed64.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// // value must be less than 10 + /// fixed64 value = 1 [(buf.validate.field).fixed64.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) - set lt($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set lt($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must be less than or equal to 10 - /// fixed64 value = 1 [(buf.validate.field).fixed64.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// // value must be less than or equal to 10 + /// fixed64 value = 1 [(buf.validate.field).fixed64.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) - set lte($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lte($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must be greater than 5 [fixed64.gt] - /// fixed64 value = 1 [(buf.validate.field).fixed64.gt = 5]; + /// ```proto + /// message MyFixed64 { + /// // value must be greater than 5 [fixed64.gt] + /// fixed64 value = 1 [(buf.validate.field).fixed64.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [fixed64.gt_lt] - /// fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [fixed64.gt_lt] + /// fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [fixed64.gt_lt_exclusive] - /// fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [fixed64.gt_lt_exclusive] + /// fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) - set gt($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set gt($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must be greater than or equal to 5 [fixed64.gte] - /// fixed64 value = 1 [(buf.validate.field).fixed64.gte = 5]; + /// ```proto + /// message MyFixed64 { + /// // value must be greater than or equal to 5 [fixed64.gte] + /// fixed64 value = 1 [(buf.validate.field).fixed64.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [fixed64.gte_lt] - /// fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [fixed64.gte_lt] + /// fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [fixed64.gte_lt_exclusive] - /// fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [fixed64.gte_lt_exclusive] + /// fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) - set gte($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set gte($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must be in list [1, 2, 3] - /// fixed64 value = 1 [(buf.validate.field).fixed64 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// // value must be in list [1, 2, 3] + /// fixed64 value = 1 [(buf.validate.field).fixed64 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$fixnum.Int64> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MyFixed64 { - /// // value must not be in list [1, 2, 3] - /// fixed64 value = 1 [(buf.validate.field).fixed64 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// // value must not be in list [1, 2, 3] + /// fixed64 value = 1 [(buf.validate.field).fixed64 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$fixnum.Int64> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyFixed64 { - /// fixed64 value = 1 [ - /// (buf.validate.field).fixed64.example = 1, - /// (buf.validate.field).fixed64.example = 2 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyFixed64 { + /// fixed64 value = 1 [ + /// (buf.validate.field).fixed64.example = 1, + /// (buf.validate.field).fixed64.example = 2 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$fixnum.Int64> get example => $_getList(7); } @@ -3846,7 +3491,7 @@ enum SFixed32Rules_LessThan { lt, lte, notSet } enum SFixed32Rules_GreaterThan { gt, gte, notSet } -/// SFixed32Rules describes the constraints applied to `fixed32` values. +/// SFixed32Rules describes the rules applied to `fixed32` values. class SFixed32Rules extends $pb.GeneratedMessage { factory SFixed32Rules({ $core.int? const_1, @@ -3858,40 +3503,26 @@ class SFixed32Rules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - SFixed32Rules._() : super(); - factory SFixed32Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SFixed32Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + SFixed32Rules._(); + + factory SFixed32Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SFixed32Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, SFixed32Rules_LessThan> _SFixed32Rules_LessThanByTag = { @@ -3921,21 +3552,19 @@ class SFixed32Rules extends $pb.GeneratedMessage { ..p<$core.int>(8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PSF3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SFixed32Rules clone() => SFixed32Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SFixed32Rules copyWith(void Function(SFixed32Rules) updates) => super.copyWith((message) => updates(message as SFixed32Rules)) as SFixed32Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SFixed32Rules create() => SFixed32Rules._(); + @$core.override SFixed32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3952,169 +3581,154 @@ class SFixed32Rules extends $pb.GeneratedMessage { _SFixed32Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must equal 42 - /// sfixed32 value = 1 [(buf.validate.field).sfixed32.const = 42]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// // value must equal 42 + /// sfixed32 value = 1 [(buf.validate.field).sfixed32.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setSignedInt32(0, v); - } - + set const_1($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must be less than 10 - /// sfixed32 value = 1 [(buf.validate.field).sfixed32.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// // value must be less than 10 + /// sfixed32 value = 1 [(buf.validate.field).sfixed32.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) - set lt($core.int v) { - $_setSignedInt32(1, v); - } - + set lt($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must be less than or equal to 10 - /// sfixed32 value = 1 [(buf.validate.field).sfixed32.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// // value must be less than or equal to 10 + /// sfixed32 value = 1 [(buf.validate.field).sfixed32.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) - set lte($core.int v) { - $_setSignedInt32(2, v); - } - + set lte($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must be greater than 5 [sfixed32.gt] - /// sfixed32 value = 1 [(buf.validate.field).sfixed32.gt = 5]; + /// ```proto + /// message MySFixed32 { + /// // value must be greater than 5 [sfixed32.gt] + /// sfixed32 value = 1 [(buf.validate.field).sfixed32.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [sfixed32.gt_lt] - /// sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [sfixed32.gt_lt] + /// sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [sfixed32.gt_lt_exclusive] - /// sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [sfixed32.gt_lt_exclusive] + /// sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) - set gt($core.int v) { - $_setSignedInt32(3, v); - } - + set gt($core.int value) => $_setSignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must be greater than or equal to 5 [sfixed32.gte] - /// sfixed32 value = 1 [(buf.validate.field).sfixed32.gte = 5]; + /// ```proto + /// message MySFixed32 { + /// // value must be greater than or equal to 5 [sfixed32.gte] + /// sfixed32 value = 1 [(buf.validate.field).sfixed32.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [sfixed32.gte_lt] - /// sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [sfixed32.gte_lt] + /// sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [sfixed32.gte_lt_exclusive] - /// sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [sfixed32.gte_lt_exclusive] + /// sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) - set gte($core.int v) { - $_setSignedInt32(4, v); - } - + set gte($core.int value) => $_setSignedInt32(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must be in list [1, 2, 3] - /// sfixed32 value = 1 [(buf.validate.field).sfixed32 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// // value must be in list [1, 2, 3] + /// sfixed32 value = 1 [(buf.validate.field).sfixed32 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$core.int> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MySFixed32 { - /// // value must not be in list [1, 2, 3] - /// sfixed32 value = 1 [(buf.validate.field).sfixed32 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// // value must not be in list [1, 2, 3] + /// sfixed32 value = 1 [(buf.validate.field).sfixed32 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$core.int> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MySFixed32 { - /// sfixed32 value = 1 [ - /// (buf.validate.field).sfixed32.example = 1, - /// (buf.validate.field).sfixed32.example = 2 - /// ]; - /// } - /// ``` + /// ```proto + /// message MySFixed32 { + /// sfixed32 value = 1 [ + /// (buf.validate.field).sfixed32.example = 1, + /// (buf.validate.field).sfixed32.example = 2 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.int> get example => $_getList(7); } @@ -4123,7 +3737,7 @@ enum SFixed64Rules_LessThan { lt, lte, notSet } enum SFixed64Rules_GreaterThan { gt, gte, notSet } -/// SFixed64Rules describes the constraints applied to `fixed64` values. +/// SFixed64Rules describes the rules applied to `fixed64` values. class SFixed64Rules extends $pb.GeneratedMessage { factory SFixed64Rules({ $fixnum.Int64? const_1, @@ -4135,40 +3749,26 @@ class SFixed64Rules extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? notIn, $core.Iterable<$fixnum.Int64>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_6 != null) { - $result.in_6.addAll(in_6); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - SFixed64Rules._() : super(); - factory SFixed64Rules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SFixed64Rules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_6 != null) result.in_6.addAll(in_6); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + SFixed64Rules._(); + + factory SFixed64Rules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SFixed64Rules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, SFixed64Rules_LessThan> _SFixed64Rules_LessThanByTag = { @@ -4204,21 +3804,19 @@ class SFixed64Rules extends $pb.GeneratedMessage { 8, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PSF6) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SFixed64Rules clone() => SFixed64Rules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SFixed64Rules copyWith(void Function(SFixed64Rules) updates) => super.copyWith((message) => updates(message as SFixed64Rules)) as SFixed64Rules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SFixed64Rules create() => SFixed64Rules._(); + @$core.override SFixed64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4235,196 +3833,179 @@ class SFixed64Rules extends $pb.GeneratedMessage { _SFixed64Rules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must equal 42 - /// sfixed64 value = 1 [(buf.validate.field).sfixed64.const = 42]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// // value must equal 42 + /// sfixed64 value = 1 [(buf.validate.field).sfixed64.const = 42]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) - set const_1($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set const_1($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `lt` requires the field value to be less than the specified value (field < - /// value). If the field value is equal to or greater than the specified value, - /// an error message is generated. + /// `lt` requires the field value to be less than the specified value (field < + /// value). If the field value is equal to or greater than the specified value, + /// an error message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must be less than 10 - /// sfixed64 value = 1 [(buf.validate.field).sfixed64.lt = 10]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// // value must be less than 10 + /// sfixed64 value = 1 [(buf.validate.field).sfixed64.lt = 10]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) - set lt($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set lt($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => $_clearField(2); - /// `lte` requires the field value to be less than or equal to the specified - /// value (field <= value). If the field value is greater than the specified - /// value, an error message is generated. + /// `lte` requires the field value to be less than or equal to the specified + /// value (field <= value). If the field value is greater than the specified + /// value, an error message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must be less than or equal to 10 - /// sfixed64 value = 1 [(buf.validate.field).sfixed64.lte = 10]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// // value must be less than or equal to 10 + /// sfixed64 value = 1 [(buf.validate.field).sfixed64.lte = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) - set lte($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set lte($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => $_clearField(3); - /// `gt` requires the field value to be greater than the specified value - /// (exclusive). If the value of `gt` is larger than a specified `lt` or - /// `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the field value to be greater than the specified value + /// (exclusive). If the value of `gt` is larger than a specified `lt` or + /// `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must be greater than 5 [sfixed64.gt] - /// sfixed64 value = 1 [(buf.validate.field).sfixed64.gt = 5]; + /// ```proto + /// message MySFixed64 { + /// // value must be greater than 5 [sfixed64.gt] + /// sfixed64 value = 1 [(buf.validate.field).sfixed64.gt = 5]; /// - /// // value must be greater than 5 and less than 10 [sfixed64.gt_lt] - /// sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gt: 5, lt: 10 }]; + /// // value must be greater than 5 and less than 10 [sfixed64.gt_lt] + /// sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gt: 5, lt: 10 }]; /// - /// // value must be greater than 10 or less than 5 [sfixed64.gt_lt_exclusive] - /// sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gt: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than 10 or less than 5 [sfixed64.gt_lt_exclusive] + /// sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gt: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) - set gt($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set gt($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => $_clearField(4); - /// `gte` requires the field value to be greater than or equal to the specified - /// value (exclusive). If the value of `gte` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gte` requires the field value to be greater than or equal to the specified + /// value (exclusive). If the value of `gte` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must be greater than or equal to 5 [sfixed64.gte] - /// sfixed64 value = 1 [(buf.validate.field).sfixed64.gte = 5]; + /// ```proto + /// message MySFixed64 { + /// // value must be greater than or equal to 5 [sfixed64.gte] + /// sfixed64 value = 1 [(buf.validate.field).sfixed64.gte = 5]; /// - /// // value must be greater than or equal to 5 and less than 10 [sfixed64.gte_lt] - /// sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gte: 5, lt: 10 }]; + /// // value must be greater than or equal to 5 and less than 10 [sfixed64.gte_lt] + /// sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gte: 5, lt: 10 }]; /// - /// // value must be greater than or equal to 10 or less than 5 [sfixed64.gte_lt_exclusive] - /// sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gte: 10, lt: 5 }]; - /// } - /// ``` + /// // value must be greater than or equal to 10 or less than 5 [sfixed64.gte_lt_exclusive] + /// sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gte: 10, lt: 5 }]; + /// } + /// ``` @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) - set gte($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set gte($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => $_clearField(5); - /// `in` requires the field value to be equal to one of the specified values. - /// If the field value isn't one of the specified values, an error message is - /// generated. + /// `in` requires the field value to be equal to one of the specified values. + /// If the field value isn't one of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must be in list [1, 2, 3] - /// sfixed64 value = 1 [(buf.validate.field).sfixed64 = { in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// // value must be in list [1, 2, 3] + /// sfixed64 value = 1 [(buf.validate.field).sfixed64 = { in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(6) $pb.PbList<$fixnum.Int64> get in_6 => $_getList(5); - /// `not_in` requires the field value to not be equal to any of the specified - /// values. If the field value is one of the specified values, an error - /// message is generated. + /// `not_in` requires the field value to not be equal to any of the specified + /// values. If the field value is one of the specified values, an error + /// message is generated. /// - /// ```proto - /// message MySFixed64 { - /// // value must not be in list [1, 2, 3] - /// sfixed64 value = 1 [(buf.validate.field).sfixed64 = { not_in: [1, 2, 3] }]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// // value must not be in list [1, 2, 3] + /// sfixed64 value = 1 [(buf.validate.field).sfixed64 = { not_in: [1, 2, 3] }]; + /// } + /// ``` @$pb.TagNumber(7) $pb.PbList<$fixnum.Int64> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MySFixed64 { - /// sfixed64 value = 1 [ - /// (buf.validate.field).sfixed64.example = 1, - /// (buf.validate.field).sfixed64.example = 2 - /// ]; - /// } - /// ``` + /// ```proto + /// message MySFixed64 { + /// sfixed64 value = 1 [ + /// (buf.validate.field).sfixed64.example = 1, + /// (buf.validate.field).sfixed64.example = 2 + /// ]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$fixnum.Int64> get example => $_getList(7); } -/// BoolRules describes the constraints applied to `bool` values. These rules +/// BoolRules describes the rules applied to `bool` values. These rules /// may also be applied to the `google.protobuf.BoolValue` Well-Known-Type. class BoolRules extends $pb.GeneratedMessage { factory BoolRules({ $core.bool? const_1, $core.Iterable<$core.bool>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (example != null) result.example.addAll(example); + return result; } - BoolRules._() : super(); - factory BoolRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BoolRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + BoolRules._(); + + factory BoolRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory BoolRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BoolRules', @@ -4434,20 +4015,18 @@ class BoolRules extends $pb.GeneratedMessage { ..p<$core.bool>(2, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PB) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BoolRules clone() => BoolRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BoolRules copyWith(void Function(BoolRules) updates) => super.copyWith((message) => updates(message as BoolRules)) as BoolRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BoolRules create() => BoolRules._(); + @$core.override BoolRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -4455,39 +4034,36 @@ class BoolRules extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BoolRules? _defaultInstance; - /// `const` requires the field value to exactly match the specified boolean value. - /// If the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified boolean value. + /// If the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyBool { - /// // value must equal true - /// bool value = 1 [(buf.validate.field).bool.const = true]; - /// } - /// ``` + /// ```proto + /// message MyBool { + /// // value must equal true + /// bool value = 1 [(buf.validate.field).bool.const = true]; + /// } + /// ``` @$pb.TagNumber(1) $core.bool get const_1 => $_getBF(0); @$pb.TagNumber(1) - set const_1($core.bool v) { - $_setBool(0, v); - } - + set const_1($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyBool { - /// bool value = 1 [ - /// (buf.validate.field).bool.example = 1, - /// (buf.validate.field).bool.example = 2 - /// ]; - /// } - /// ``` + /// ```proto + /// message MyBool { + /// bool value = 1 [ + /// (buf.validate.field).bool.example = 1, + /// (buf.validate.field).bool.example = 2 + /// ]; + /// } + /// ``` @$pb.TagNumber(2) $pb.PbList<$core.bool> get example => $_getList(1); } @@ -4514,7 +4090,7 @@ enum StringRules_WellKnown { notSet } -/// StringRules describes the constraints applied to `string` values These +/// StringRules describes the rules applied to `string` values These /// rules may also be applied to the `google.protobuf.StringValue` Well-Known-Type. class StringRules extends $pb.GeneratedMessage { factory StringRules({ @@ -4553,118 +4129,52 @@ class StringRules extends $pb.GeneratedMessage { $core.bool? tuuid, $core.Iterable<$core.String>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (minLen != null) { - $result.minLen = minLen; - } - if (maxLen != null) { - $result.maxLen = maxLen; - } - if (minBytes != null) { - $result.minBytes = minBytes; - } - if (maxBytes != null) { - $result.maxBytes = maxBytes; - } - if (pattern != null) { - $result.pattern = pattern; - } - if (prefix != null) { - $result.prefix = prefix; - } - if (suffix != null) { - $result.suffix = suffix; - } - if (contains != null) { - $result.contains = contains; - } - if (in_10 != null) { - $result.in_10.addAll(in_10); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (email != null) { - $result.email = email; - } - if (hostname != null) { - $result.hostname = hostname; - } - if (ip != null) { - $result.ip = ip; - } - if (ipv4 != null) { - $result.ipv4 = ipv4; - } - if (ipv6 != null) { - $result.ipv6 = ipv6; - } - if (uri != null) { - $result.uri = uri; - } - if (uriRef != null) { - $result.uriRef = uriRef; - } - if (len != null) { - $result.len = len; - } - if (lenBytes != null) { - $result.lenBytes = lenBytes; - } - if (address != null) { - $result.address = address; - } - if (uuid != null) { - $result.uuid = uuid; - } - if (notContains != null) { - $result.notContains = notContains; - } - if (wellKnownRegex != null) { - $result.wellKnownRegex = wellKnownRegex; - } - if (strict != null) { - $result.strict = strict; - } - if (ipWithPrefixlen != null) { - $result.ipWithPrefixlen = ipWithPrefixlen; - } - if (ipv4WithPrefixlen != null) { - $result.ipv4WithPrefixlen = ipv4WithPrefixlen; - } - if (ipv6WithPrefixlen != null) { - $result.ipv6WithPrefixlen = ipv6WithPrefixlen; - } - if (ipPrefix != null) { - $result.ipPrefix = ipPrefix; - } - if (ipv4Prefix != null) { - $result.ipv4Prefix = ipv4Prefix; - } - if (ipv6Prefix != null) { - $result.ipv6Prefix = ipv6Prefix; - } - if (hostAndPort != null) { - $result.hostAndPort = hostAndPort; - } - if (tuuid != null) { - $result.tuuid = tuuid; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - StringRules._() : super(); - factory StringRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StringRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (minLen != null) result.minLen = minLen; + if (maxLen != null) result.maxLen = maxLen; + if (minBytes != null) result.minBytes = minBytes; + if (maxBytes != null) result.maxBytes = maxBytes; + if (pattern != null) result.pattern = pattern; + if (prefix != null) result.prefix = prefix; + if (suffix != null) result.suffix = suffix; + if (contains != null) result.contains = contains; + if (in_10 != null) result.in_10.addAll(in_10); + if (notIn != null) result.notIn.addAll(notIn); + if (email != null) result.email = email; + if (hostname != null) result.hostname = hostname; + if (ip != null) result.ip = ip; + if (ipv4 != null) result.ipv4 = ipv4; + if (ipv6 != null) result.ipv6 = ipv6; + if (uri != null) result.uri = uri; + if (uriRef != null) result.uriRef = uriRef; + if (len != null) result.len = len; + if (lenBytes != null) result.lenBytes = lenBytes; + if (address != null) result.address = address; + if (uuid != null) result.uuid = uuid; + if (notContains != null) result.notContains = notContains; + if (wellKnownRegex != null) result.wellKnownRegex = wellKnownRegex; + if (strict != null) result.strict = strict; + if (ipWithPrefixlen != null) result.ipWithPrefixlen = ipWithPrefixlen; + if (ipv4WithPrefixlen != null) result.ipv4WithPrefixlen = ipv4WithPrefixlen; + if (ipv6WithPrefixlen != null) result.ipv6WithPrefixlen = ipv6WithPrefixlen; + if (ipPrefix != null) result.ipPrefix = ipPrefix; + if (ipv4Prefix != null) result.ipv4Prefix = ipv4Prefix; + if (ipv6Prefix != null) result.ipv6Prefix = ipv6Prefix; + if (hostAndPort != null) result.hostAndPort = hostAndPort; + if (tuuid != null) result.tuuid = tuuid; + if (example != null) result.example.addAll(example); + return result; + } + + StringRules._(); + + factory StringRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory StringRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, StringRules_WellKnown> _StringRules_WellKnownByTag = { @@ -4761,21 +4271,19 @@ class StringRules extends $pb.GeneratedMessage { ..pPS(34, _omitFieldNames ? '' : 'example') ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StringRules clone() => StringRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StringRules copyWith(void Function(StringRules) updates) => super.copyWith((message) => updates(message as StringRules)) as StringRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StringRules create() => StringRules._(); + @$core.override StringRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -4787,91 +4295,79 @@ class StringRules extends $pb.GeneratedMessage { _StringRules_WellKnownByTag[$_whichOneof(0)]!; void clearWellKnown() => $_clearField($_whichOneof(0)); - /// `const` requires the field value to exactly match the specified value. If - /// the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified value. If + /// the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyString { - /// // value must equal `hello` - /// string value = 1 [(buf.validate.field).string.const = "hello"]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must equal `hello` + /// string value = 1 [(buf.validate.field).string.const = "hello"]; + /// } + /// ``` @$pb.TagNumber(1) $core.String get const_1 => $_getSZ(0); @$pb.TagNumber(1) - set const_1($core.String v) { - $_setString(0, v); - } - + set const_1($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `min_len` specifies that the field value must have at least the specified - /// number of characters (Unicode code points), which may differ from the number - /// of bytes in the string. If the field value contains fewer characters, an error - /// message will be generated. + /// `min_len` specifies that the field value must have at least the specified + /// number of characters (Unicode code points), which may differ from the number + /// of bytes in the string. If the field value contains fewer characters, an error + /// message will be generated. /// - /// ```proto - /// message MyString { - /// // value length must be at least 3 characters - /// string value = 1 [(buf.validate.field).string.min_len = 3]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value length must be at least 3 characters + /// string value = 1 [(buf.validate.field).string.min_len = 3]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get minLen => $_getI64(1); @$pb.TagNumber(2) - set minLen($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set minLen($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasMinLen() => $_has(1); @$pb.TagNumber(2) void clearMinLen() => $_clearField(2); - /// `max_len` specifies that the field value must have no more than the specified - /// number of characters (Unicode code points), which may differ from the - /// number of bytes in the string. If the field value contains more characters, - /// an error message will be generated. + /// `max_len` specifies that the field value must have no more than the specified + /// number of characters (Unicode code points), which may differ from the + /// number of bytes in the string. If the field value contains more characters, + /// an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value length must be at most 10 characters - /// string value = 1 [(buf.validate.field).string.max_len = 10]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value length must be at most 10 characters + /// string value = 1 [(buf.validate.field).string.max_len = 10]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get maxLen => $_getI64(2); @$pb.TagNumber(3) - set maxLen($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set maxLen($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasMaxLen() => $_has(2); @$pb.TagNumber(3) void clearMaxLen() => $_clearField(3); - /// `min_bytes` specifies that the field value must have at least the specified - /// number of bytes. If the field value contains fewer bytes, an error message - /// will be generated. + /// `min_bytes` specifies that the field value must have at least the specified + /// number of bytes. If the field value contains fewer bytes, an error message + /// will be generated. /// - /// ```proto - /// message MyString { - /// // value length must be at least 4 bytes - /// string value = 1 [(buf.validate.field).string.min_bytes = 4]; - /// } + /// ```proto + /// message MyString { + /// // value length must be at least 4 bytes + /// string value = 1 [(buf.validate.field).string.min_bytes = 4]; + /// } /// - /// ``` + /// ``` @$pb.TagNumber(4) $fixnum.Int64 get minBytes => $_getI64(3); @$pb.TagNumber(4) - set minBytes($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set minBytes($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(4) $core.bool hasMinBytes() => $_has(3); @$pb.TagNumber(4) @@ -4890,33 +4386,27 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(5) $fixnum.Int64 get maxBytes => $_getI64(4); @$pb.TagNumber(5) - set maxBytes($fixnum.Int64 v) { - $_setInt64(4, v); - } - + set maxBytes($fixnum.Int64 value) => $_setInt64(4, value); @$pb.TagNumber(5) $core.bool hasMaxBytes() => $_has(4); @$pb.TagNumber(5) void clearMaxBytes() => $_clearField(5); - /// `pattern` specifies that the field value must match the specified - /// regular expression (RE2 syntax), with the expression provided without any - /// delimiters. If the field value doesn't match the regular expression, an - /// error message will be generated. + /// `pattern` specifies that the field value must match the specified + /// regular expression (RE2 syntax), with the expression provided without any + /// delimiters. If the field value doesn't match the regular expression, an + /// error message will be generated. /// - /// ```proto - /// message MyString { - /// // value does not match regex pattern `^[a-zA-Z]//$` - /// string value = 1 [(buf.validate.field).string.pattern = "^[a-zA-Z]//$"]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value does not match regex pattern `^[a-zA-Z]//$` + /// string value = 1 [(buf.validate.field).string.pattern = "^[a-zA-Z]//$"]; + /// } + /// ``` @$pb.TagNumber(6) $core.String get pattern => $_getSZ(5); @$pb.TagNumber(6) - set pattern($core.String v) { - $_setString(5, v); - } - + set pattern($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasPattern() => $_has(5); @$pb.TagNumber(6) @@ -4936,10 +4426,7 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.String get prefix => $_getSZ(6); @$pb.TagNumber(7) - set prefix($core.String v) { - $_setString(6, v); - } - + set prefix($core.String value) => $_setString(6, value); @$pb.TagNumber(7) $core.bool hasPrefix() => $_has(6); @$pb.TagNumber(7) @@ -4958,10 +4445,7 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get suffix => $_getSZ(7); @$pb.TagNumber(8) - set suffix($core.String v) { - $_setString(7, v); - } - + set suffix($core.String value) => $_setString(7, value); @$pb.TagNumber(8) $core.bool hasSuffix() => $_has(7); @$pb.TagNumber(8) @@ -4980,25 +4464,22 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get contains => $_getSZ(8); @$pb.TagNumber(9) - set contains($core.String v) { - $_setString(8, v); - } - + set contains($core.String value) => $_setString(8, value); @$pb.TagNumber(9) $core.bool hasContains() => $_has(8); @$pb.TagNumber(9) void clearContains() => $_clearField(9); - /// `in` specifies that the field value must be equal to one of the specified - /// values. If the field value isn't one of the specified values, an error - /// message will be generated. + /// `in` specifies that the field value must be equal to one of the specified + /// values. If the field value isn't one of the specified values, an error + /// message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be in list ["apple", "banana"] - /// string value = 1 [(buf.validate.field).string.in = "apple", (buf.validate.field).string.in = "banana"]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be in list ["apple", "banana"] + /// string value = 1 [(buf.validate.field).string.in = "apple", (buf.validate.field).string.in = "banana"]; + /// } + /// ``` @$pb.TagNumber(10) $pb.PbList<$core.String> get in_10 => $_getList(9); @@ -5014,254 +4495,246 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(11) $pb.PbList<$core.String> get notIn => $_getList(10); - /// `email` specifies that the field value must be a valid email address - /// (addr-spec only) as defined by [RFC 5322](https://datatracker.ietf.org/doc/html/rfc5322#section-3.4.1). - /// If the field value isn't a valid email address, an error message will be generated. + /// `email` specifies that the field value must be a valid email address, for + /// example "foo@example.com". /// - /// ```proto - /// message MyString { - /// // value must be a valid email address - /// string value = 1 [(buf.validate.field).string.email = true]; - /// } - /// ``` + /// Conforms to the definition for a valid email address from the [HTML standard](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address). + /// Note that this standard willfully deviates from [RFC 5322](https://datatracker.ietf.org/doc/html/rfc5322), + /// which allows many unexpected forms of email addresses and will easily match + /// a typographical error. + /// + /// If the field value isn't a valid email address, an error message will be generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid email address + /// string value = 1 [(buf.validate.field).string.email = true]; + /// } + /// ``` @$pb.TagNumber(12) $core.bool get email => $_getBF(11); @$pb.TagNumber(12) - set email($core.bool v) { - $_setBool(11, v); - } - + set email($core.bool value) => $_setBool(11, value); @$pb.TagNumber(12) $core.bool hasEmail() => $_has(11); @$pb.TagNumber(12) void clearEmail() => $_clearField(12); - /// `hostname` specifies that the field value must be a valid - /// hostname as defined by [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034#section-3.5). This constraint doesn't support - /// internationalized domain names (IDNs). If the field value isn't a - /// valid hostname, an error message will be generated. + /// `hostname` specifies that the field value must be a valid hostname, for + /// example "foo.example.com". /// - /// ```proto - /// message MyString { - /// // value must be a valid hostname - /// string value = 1 [(buf.validate.field).string.hostname = true]; - /// } - /// ``` + /// A valid hostname follows the rules below: + /// - The name consists of one or more labels, separated by a dot ("."). + /// - Each label can be 1 to 63 alphanumeric characters. + /// - A label can contain hyphens ("-"), but must not start or end with a hyphen. + /// - The right-most label must not be digits only. + /// - The name can have a trailing dot—for example, "foo.example.com.". + /// - The name can be 253 characters at most, excluding the optional trailing dot. + /// + /// If the field value isn't a valid hostname, an error message will be generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid hostname + /// string value = 1 [(buf.validate.field).string.hostname = true]; + /// } + /// ``` @$pb.TagNumber(13) $core.bool get hostname => $_getBF(12); @$pb.TagNumber(13) - set hostname($core.bool v) { - $_setBool(12, v); - } - + set hostname($core.bool value) => $_setBool(12, value); @$pb.TagNumber(13) $core.bool hasHostname() => $_has(12); @$pb.TagNumber(13) void clearHostname() => $_clearField(13); - /// `ip` specifies that the field value must be a valid IP - /// (v4 or v6) address, without surrounding square brackets for IPv6 addresses. - /// If the field value isn't a valid IP address, an error message will be - /// generated. + /// `ip` specifies that the field value must be a valid IP (v4 or v6) address. /// - /// ```proto - /// message MyString { - /// // value must be a valid IP address - /// string value = 1 [(buf.validate.field).string.ip = true]; - /// } - /// ``` + /// IPv4 addresses are expected in the dotted decimal format—for example, "192.168.5.21". + /// IPv6 addresses are expected in their text representation—for example, "::1", + /// or "2001:0DB8:ABCD:0012::0". + /// + /// Both formats are well-defined in the internet standard [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986). + /// Zone identifiers for IPv6 addresses (for example, "fe80::a%en1") are supported. + /// + /// If the field value isn't a valid IP address, an error message will be + /// generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid IP address + /// string value = 1 [(buf.validate.field).string.ip = true]; + /// } + /// ``` @$pb.TagNumber(14) $core.bool get ip => $_getBF(13); @$pb.TagNumber(14) - set ip($core.bool v) { - $_setBool(13, v); - } - + set ip($core.bool value) => $_setBool(13, value); @$pb.TagNumber(14) $core.bool hasIp() => $_has(13); @$pb.TagNumber(14) void clearIp() => $_clearField(14); - /// `ipv4` specifies that the field value must be a valid IPv4 - /// address. If the field value isn't a valid IPv4 address, an error message - /// will be generated. + /// `ipv4` specifies that the field value must be a valid IPv4 address—for + /// example "192.168.5.21". If the field value isn't a valid IPv4 address, an + /// error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv4 address - /// string value = 1 [(buf.validate.field).string.ipv4 = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid IPv4 address + /// string value = 1 [(buf.validate.field).string.ipv4 = true]; + /// } + /// ``` @$pb.TagNumber(15) $core.bool get ipv4 => $_getBF(14); @$pb.TagNumber(15) - set ipv4($core.bool v) { - $_setBool(14, v); - } - + set ipv4($core.bool value) => $_setBool(14, value); @$pb.TagNumber(15) $core.bool hasIpv4() => $_has(14); @$pb.TagNumber(15) void clearIpv4() => $_clearField(15); - /// `ipv6` specifies that the field value must be a valid - /// IPv6 address, without surrounding square brackets. If the field value is - /// not a valid IPv6 address, an error message will be generated. + /// `ipv6` specifies that the field value must be a valid IPv6 address—for + /// example "::1", or "d7a:115c:a1e0:ab12:4843:cd96:626b:430b". If the field + /// value is not a valid IPv6 address, an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv6 address - /// string value = 1 [(buf.validate.field).string.ipv6 = true]; - /// } - /// ``` - @$pb.TagNumber(16) + /// ```proto + /// message MyString { + /// // value must be a valid IPv6 address + /// string value = 1 [(buf.validate.field).string.ipv6 = true]; + /// } + /// ``` + @$pb.TagNumber(16) $core.bool get ipv6 => $_getBF(15); @$pb.TagNumber(16) - set ipv6($core.bool v) { - $_setBool(15, v); - } - + set ipv6($core.bool value) => $_setBool(15, value); @$pb.TagNumber(16) $core.bool hasIpv6() => $_has(15); @$pb.TagNumber(16) void clearIpv6() => $_clearField(16); - /// `uri` specifies that the field value must be a valid URI as defined by - /// [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3). + /// `uri` specifies that the field value must be a valid URI, for example + /// "https://example.com/foo/bar?baz=quux#frag". /// - /// If the field value isn't a valid URI, an error message will be generated. + /// URI is defined in the internet standard [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986). + /// Zone Identifiers in IPv6 address literals are supported ([RFC 6874](https://datatracker.ietf.org/doc/html/rfc6874)). /// - /// ```proto - /// message MyString { - /// // value must be a valid URI - /// string value = 1 [(buf.validate.field).string.uri = true]; - /// } - /// ``` + /// If the field value isn't a valid URI, an error message will be generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid URI + /// string value = 1 [(buf.validate.field).string.uri = true]; + /// } + /// ``` @$pb.TagNumber(17) $core.bool get uri => $_getBF(16); @$pb.TagNumber(17) - set uri($core.bool v) { - $_setBool(16, v); - } - + set uri($core.bool value) => $_setBool(16, value); @$pb.TagNumber(17) $core.bool hasUri() => $_has(16); @$pb.TagNumber(17) void clearUri() => $_clearField(17); - /// `uri_ref` specifies that the field value must be a valid URI Reference as - /// defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-4.1). + /// `uri_ref` specifies that the field value must be a valid URI Reference—either + /// a URI such as "https://example.com/foo/bar?baz=quux#frag", or a Relative + /// Reference such as "./foo/bar?query". /// - /// A URI Reference is either a [URI](https://datatracker.ietf.org/doc/html/rfc3986#section-3), - /// or a [Relative Reference](https://datatracker.ietf.org/doc/html/rfc3986#section-4.2). + /// URI, URI Reference, and Relative Reference are defined in the internet + /// standard [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986). Zone + /// Identifiers in IPv6 address literals are supported ([RFC 6874](https://datatracker.ietf.org/doc/html/rfc6874)). /// - /// If the field value isn't a valid URI Reference, an error message will be - /// generated. + /// If the field value isn't a valid URI Reference, an error message will be + /// generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid URI Reference - /// string value = 1 [(buf.validate.field).string.uri_ref = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid URI Reference + /// string value = 1 [(buf.validate.field).string.uri_ref = true]; + /// } + /// ``` @$pb.TagNumber(18) $core.bool get uriRef => $_getBF(17); @$pb.TagNumber(18) - set uriRef($core.bool v) { - $_setBool(17, v); - } - + set uriRef($core.bool value) => $_setBool(17, value); @$pb.TagNumber(18) $core.bool hasUriRef() => $_has(17); @$pb.TagNumber(18) void clearUriRef() => $_clearField(18); - /// `len` dictates that the field value must have the specified - /// number of characters (Unicode code points), which may differ from the number - /// of bytes in the string. If the field value does not meet the specified - /// length, an error message will be generated. + /// `len` dictates that the field value must have the specified + /// number of characters (Unicode code points), which may differ from the number + /// of bytes in the string. If the field value does not meet the specified + /// length, an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value length must be 5 characters - /// string value = 1 [(buf.validate.field).string.len = 5]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value length must be 5 characters + /// string value = 1 [(buf.validate.field).string.len = 5]; + /// } + /// ``` @$pb.TagNumber(19) $fixnum.Int64 get len => $_getI64(18); @$pb.TagNumber(19) - set len($fixnum.Int64 v) { - $_setInt64(18, v); - } - + set len($fixnum.Int64 value) => $_setInt64(18, value); @$pb.TagNumber(19) $core.bool hasLen() => $_has(18); @$pb.TagNumber(19) void clearLen() => $_clearField(19); - /// `len_bytes` dictates that the field value must have the specified number of - /// bytes. If the field value does not match the specified length in bytes, - /// an error message will be generated. + /// `len_bytes` dictates that the field value must have the specified number of + /// bytes. If the field value does not match the specified length in bytes, + /// an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value length must be 6 bytes - /// string value = 1 [(buf.validate.field).string.len_bytes = 6]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value length must be 6 bytes + /// string value = 1 [(buf.validate.field).string.len_bytes = 6]; + /// } + /// ``` @$pb.TagNumber(20) $fixnum.Int64 get lenBytes => $_getI64(19); @$pb.TagNumber(20) - set lenBytes($fixnum.Int64 v) { - $_setInt64(19, v); - } - + set lenBytes($fixnum.Int64 value) => $_setInt64(19, value); @$pb.TagNumber(20) $core.bool hasLenBytes() => $_has(19); @$pb.TagNumber(20) void clearLenBytes() => $_clearField(20); - /// `address` specifies that the field value must be either a valid hostname - /// as defined by [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034#section-3.5) - /// (which doesn't support internationalized domain names or IDNs) or a valid - /// IP (v4 or v6). If the field value isn't a valid hostname or IP, an error - /// message will be generated. + /// `address` specifies that the field value must be either a valid hostname + /// (for example, "example.com"), or a valid IP (v4 or v6) address (for example, + /// "192.168.0.1", or "::1"). If the field value isn't a valid hostname or IP, + /// an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid hostname, or ip address - /// string value = 1 [(buf.validate.field).string.address = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid hostname, or ip address + /// string value = 1 [(buf.validate.field).string.address = true]; + /// } + /// ``` @$pb.TagNumber(21) $core.bool get address => $_getBF(20); @$pb.TagNumber(21) - set address($core.bool v) { - $_setBool(20, v); - } - + set address($core.bool value) => $_setBool(20, value); @$pb.TagNumber(21) $core.bool hasAddress() => $_has(20); @$pb.TagNumber(21) void clearAddress() => $_clearField(21); - /// `uuid` specifies that the field value must be a valid UUID as defined by - /// [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2). If the - /// field value isn't a valid UUID, an error message will be generated. + /// `uuid` specifies that the field value must be a valid UUID as defined by + /// [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2). If the + /// field value isn't a valid UUID, an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid UUID - /// string value = 1 [(buf.validate.field).string.uuid = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid UUID + /// string value = 1 [(buf.validate.field).string.uuid = true]; + /// } + /// ``` @$pb.TagNumber(22) $core.bool get uuid => $_getBF(21); @$pb.TagNumber(22) - set uuid($core.bool v) { - $_setBool(21, v); - } - + set uuid($core.bool value) => $_setBool(21, value); @$pb.TagNumber(22) $core.bool hasUuid() => $_has(21); @$pb.TagNumber(22) @@ -5280,267 +4753,255 @@ class StringRules extends $pb.GeneratedMessage { @$pb.TagNumber(23) $core.String get notContains => $_getSZ(22); @$pb.TagNumber(23) - set notContains($core.String v) { - $_setString(22, v); - } - + set notContains($core.String value) => $_setString(22, value); @$pb.TagNumber(23) $core.bool hasNotContains() => $_has(22); @$pb.TagNumber(23) void clearNotContains() => $_clearField(23); - /// `well_known_regex` specifies a common well-known pattern - /// defined as a regex. If the field value doesn't match the well-known - /// regex, an error message will be generated. + /// `well_known_regex` specifies a common well-known pattern + /// defined as a regex. If the field value doesn't match the well-known + /// regex, an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid HTTP header value - /// string value = 1 [(buf.validate.field).string.well_known_regex = KNOWN_REGEX_HTTP_HEADER_VALUE]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid HTTP header value + /// string value = 1 [(buf.validate.field).string.well_known_regex = KNOWN_REGEX_HTTP_HEADER_VALUE]; + /// } + /// ``` /// - /// #### KnownRegex + /// #### KnownRegex /// - /// `well_known_regex` contains some well-known patterns. + /// `well_known_regex` contains some well-known patterns. /// - /// | Name | Number | Description | - /// |-------------------------------|--------|-------------------------------------------| - /// | KNOWN_REGEX_UNSPECIFIED | 0 | | - /// | KNOWN_REGEX_HTTP_HEADER_NAME | 1 | HTTP header name as defined by [RFC 7230](https://datatracker.ietf.org/doc/html/rfc7230#section-3.2) | - /// | KNOWN_REGEX_HTTP_HEADER_VALUE | 2 | HTTP header value as defined by [RFC 7230](https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4) | + /// | Name | Number | Description | + /// |-------------------------------|--------|-------------------------------------------| + /// | KNOWN_REGEX_UNSPECIFIED | 0 | | + /// | KNOWN_REGEX_HTTP_HEADER_NAME | 1 | HTTP header name as defined by [RFC 7230](https://datatracker.ietf.org/doc/html/rfc7230#section-3.2) | + /// | KNOWN_REGEX_HTTP_HEADER_VALUE | 2 | HTTP header value as defined by [RFC 7230](https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4) | @$pb.TagNumber(24) KnownRegex get wellKnownRegex => $_getN(23); @$pb.TagNumber(24) - set wellKnownRegex(KnownRegex v) { - $_setField(24, v); - } - + set wellKnownRegex(KnownRegex value) => $_setField(24, value); @$pb.TagNumber(24) $core.bool hasWellKnownRegex() => $_has(23); @$pb.TagNumber(24) void clearWellKnownRegex() => $_clearField(24); - /// This applies to regexes `HTTP_HEADER_NAME` and `HTTP_HEADER_VALUE` to - /// enable strict header validation. By default, this is true, and HTTP header - /// validations are [RFC-compliant](https://datatracker.ietf.org/doc/html/rfc7230#section-3). Setting to false will enable looser - /// validations that only disallow `\r\n\0` characters, which can be used to - /// bypass header matching rules. + /// This applies to regexes `HTTP_HEADER_NAME` and `HTTP_HEADER_VALUE` to + /// enable strict header validation. By default, this is true, and HTTP header + /// validations are [RFC-compliant](https://datatracker.ietf.org/doc/html/rfc7230#section-3). Setting to false will enable looser + /// validations that only disallow `\r\n\0` characters, which can be used to + /// bypass header matching rules. /// - /// ```proto - /// message MyString { - /// // The field `value` must have be a valid HTTP headers, but not enforced with strict rules. - /// string value = 1 [(buf.validate.field).string.strict = false]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // The field `value` must have be a valid HTTP headers, but not enforced with strict rules. + /// string value = 1 [(buf.validate.field).string.strict = false]; + /// } + /// ``` @$pb.TagNumber(25) $core.bool get strict => $_getBF(24); @$pb.TagNumber(25) - set strict($core.bool v) { - $_setBool(24, v); - } - + set strict($core.bool value) => $_setBool(24, value); @$pb.TagNumber(25) $core.bool hasStrict() => $_has(24); @$pb.TagNumber(25) void clearStrict() => $_clearField(25); - /// `ip_with_prefixlen` specifies that the field value must be a valid IP (v4 or v6) - /// address with prefix length. If the field value isn't a valid IP with prefix - /// length, an error message will be generated. + /// `ip_with_prefixlen` specifies that the field value must be a valid IP + /// (v4 or v6) address with prefix length—for example, "192.168.5.21/16" or + /// "2001:0DB8:ABCD:0012::F1/64". If the field value isn't a valid IP with + /// prefix length, an error message will be generated. /// - /// - /// ```proto - /// message MyString { - /// // value must be a valid IP with prefix length - /// string value = 1 [(buf.validate.field).string.ip_with_prefixlen = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid IP with prefix length + /// string value = 1 [(buf.validate.field).string.ip_with_prefixlen = true]; + /// } + /// ``` @$pb.TagNumber(26) $core.bool get ipWithPrefixlen => $_getBF(25); @$pb.TagNumber(26) - set ipWithPrefixlen($core.bool v) { - $_setBool(25, v); - } - + set ipWithPrefixlen($core.bool value) => $_setBool(25, value); @$pb.TagNumber(26) $core.bool hasIpWithPrefixlen() => $_has(25); @$pb.TagNumber(26) void clearIpWithPrefixlen() => $_clearField(26); - /// `ipv4_with_prefixlen` specifies that the field value must be a valid - /// IPv4 address with prefix. - /// If the field value isn't a valid IPv4 address with prefix length, - /// an error message will be generated. + /// `ipv4_with_prefixlen` specifies that the field value must be a valid + /// IPv4 address with prefix length—for example, "192.168.5.21/16". If the + /// field value isn't a valid IPv4 address with prefix length, an error + /// message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv4 address with prefix length - /// string value = 1 [(buf.validate.field).string.ipv4_with_prefixlen = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid IPv4 address with prefix length + /// string value = 1 [(buf.validate.field).string.ipv4_with_prefixlen = true]; + /// } + /// ``` @$pb.TagNumber(27) $core.bool get ipv4WithPrefixlen => $_getBF(26); @$pb.TagNumber(27) - set ipv4WithPrefixlen($core.bool v) { - $_setBool(26, v); - } - + set ipv4WithPrefixlen($core.bool value) => $_setBool(26, value); @$pb.TagNumber(27) $core.bool hasIpv4WithPrefixlen() => $_has(26); @$pb.TagNumber(27) void clearIpv4WithPrefixlen() => $_clearField(27); - /// `ipv6_with_prefixlen` specifies that the field value must be a valid - /// IPv6 address with prefix length. - /// If the field value is not a valid IPv6 address with prefix length, - /// an error message will be generated. + /// `ipv6_with_prefixlen` specifies that the field value must be a valid + /// IPv6 address with prefix length—for example, "2001:0DB8:ABCD:0012::F1/64". + /// If the field value is not a valid IPv6 address with prefix length, + /// an error message will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv6 address prefix length - /// string value = 1 [(buf.validate.field).string.ipv6_with_prefixlen = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid IPv6 address prefix length + /// string value = 1 [(buf.validate.field).string.ipv6_with_prefixlen = true]; + /// } + /// ``` @$pb.TagNumber(28) $core.bool get ipv6WithPrefixlen => $_getBF(27); @$pb.TagNumber(28) - set ipv6WithPrefixlen($core.bool v) { - $_setBool(27, v); - } - + set ipv6WithPrefixlen($core.bool value) => $_setBool(27, value); @$pb.TagNumber(28) $core.bool hasIpv6WithPrefixlen() => $_has(27); @$pb.TagNumber(28) void clearIpv6WithPrefixlen() => $_clearField(28); - /// `ip_prefix` specifies that the field value must be a valid IP (v4 or v6) prefix. - /// If the field value isn't a valid IP prefix, an error message will be - /// generated. The prefix must have all zeros for the masked bits of the prefix (e.g., - /// `127.0.0.0/16`, not `127.0.0.1/16`). + /// `ip_prefix` specifies that the field value must be a valid IP (v4 or v6) + /// prefix—for example, "192.168.0.0/16" or "2001:0DB8:ABCD:0012::0/64". /// - /// ```proto - /// message MyString { - /// // value must be a valid IP prefix - /// string value = 1 [(buf.validate.field).string.ip_prefix = true]; - /// } - /// ``` + /// The prefix must have all zeros for the unmasked bits. For example, + /// "2001:0DB8:ABCD:0012::0/64" designates the left-most 64 bits for the + /// prefix, and the remaining 64 bits must be zero. + /// + /// If the field value isn't a valid IP prefix, an error message will be + /// generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid IP prefix + /// string value = 1 [(buf.validate.field).string.ip_prefix = true]; + /// } + /// ``` @$pb.TagNumber(29) $core.bool get ipPrefix => $_getBF(28); @$pb.TagNumber(29) - set ipPrefix($core.bool v) { - $_setBool(28, v); - } - + set ipPrefix($core.bool value) => $_setBool(28, value); @$pb.TagNumber(29) $core.bool hasIpPrefix() => $_has(28); @$pb.TagNumber(29) void clearIpPrefix() => $_clearField(29); - /// `ipv4_prefix` specifies that the field value must be a valid IPv4 - /// prefix. If the field value isn't a valid IPv4 prefix, an error message - /// will be generated. The prefix must have all zeros for the masked bits of - /// the prefix (e.g., `127.0.0.0/16`, not `127.0.0.1/16`). + /// `ipv4_prefix` specifies that the field value must be a valid IPv4 + /// prefix, for example "192.168.0.0/16". /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv4 prefix - /// string value = 1 [(buf.validate.field).string.ipv4_prefix = true]; - /// } - /// ``` + /// The prefix must have all zeros for the unmasked bits. For example, + /// "192.168.0.0/16" designates the left-most 16 bits for the prefix, + /// and the remaining 16 bits must be zero. + /// + /// If the field value isn't a valid IPv4 prefix, an error message + /// will be generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid IPv4 prefix + /// string value = 1 [(buf.validate.field).string.ipv4_prefix = true]; + /// } + /// ``` @$pb.TagNumber(30) $core.bool get ipv4Prefix => $_getBF(29); @$pb.TagNumber(30) - set ipv4Prefix($core.bool v) { - $_setBool(29, v); - } - + set ipv4Prefix($core.bool value) => $_setBool(29, value); @$pb.TagNumber(30) $core.bool hasIpv4Prefix() => $_has(29); @$pb.TagNumber(30) void clearIpv4Prefix() => $_clearField(30); - /// `ipv6_prefix` specifies that the field value must be a valid IPv6 prefix. - /// If the field value is not a valid IPv6 prefix, an error message will be - /// generated. The prefix must have all zeros for the masked bits of the prefix - /// (e.g., `2001:db8::/48`, not `2001:db8::1/48`). + /// `ipv6_prefix` specifies that the field value must be a valid IPv6 prefix—for + /// example, "2001:0DB8:ABCD:0012::0/64". /// - /// ```proto - /// message MyString { - /// // value must be a valid IPv6 prefix - /// string value = 1 [(buf.validate.field).string.ipv6_prefix = true]; - /// } - /// ``` + /// The prefix must have all zeros for the unmasked bits. For example, + /// "2001:0DB8:ABCD:0012::0/64" designates the left-most 64 bits for the + /// prefix, and the remaining 64 bits must be zero. + /// + /// If the field value is not a valid IPv6 prefix, an error message will be + /// generated. + /// + /// ```proto + /// message MyString { + /// // value must be a valid IPv6 prefix + /// string value = 1 [(buf.validate.field).string.ipv6_prefix = true]; + /// } + /// ``` @$pb.TagNumber(31) $core.bool get ipv6Prefix => $_getBF(30); @$pb.TagNumber(31) - set ipv6Prefix($core.bool v) { - $_setBool(30, v); - } - + set ipv6Prefix($core.bool value) => $_setBool(30, value); @$pb.TagNumber(31) $core.bool hasIpv6Prefix() => $_has(30); @$pb.TagNumber(31) void clearIpv6Prefix() => $_clearField(31); - /// `host_and_port` specifies the field value must be a valid host and port - /// pair. The host must be a valid hostname or IP address while the port - /// must be in the range of 0-65535, inclusive. IPv6 addresses must be delimited - /// with square brackets (e.g., `[::1]:1234`). + /// `host_and_port` specifies that the field value must be valid host/port + /// pair—for example, "example.com:8080". + /// + /// The host can be one of: + /// - An IPv4 address in dotted decimal format—for example, "192.168.5.21". + /// - An IPv6 address enclosed in square brackets—for example, "[2001:0DB8:ABCD:0012::F1]". + /// - A hostname—for example, "example.com". + /// + /// The port is separated by a colon. It must be non-empty, with a decimal number + /// in the range of 0-65535, inclusive. @$pb.TagNumber(32) $core.bool get hostAndPort => $_getBF(31); @$pb.TagNumber(32) - set hostAndPort($core.bool v) { - $_setBool(31, v); - } - + set hostAndPort($core.bool value) => $_setBool(31, value); @$pb.TagNumber(32) $core.bool hasHostAndPort() => $_has(31); @$pb.TagNumber(32) void clearHostAndPort() => $_clearField(32); - /// `tuuid` (trimmed UUID) specifies that the field value must be a valid UUID as - /// defined by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2) with all dashes - /// omitted. If the field value isn't a valid UUID without dashes, an error message - /// will be generated. + /// `tuuid` (trimmed UUID) specifies that the field value must be a valid UUID as + /// defined by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2) with all dashes + /// omitted. If the field value isn't a valid UUID without dashes, an error message + /// will be generated. /// - /// ```proto - /// message MyString { - /// // value must be a valid trimmed UUID - /// string value = 1 [(buf.validate.field).string.tuuid = true]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// // value must be a valid trimmed UUID + /// string value = 1 [(buf.validate.field).string.tuuid = true]; + /// } + /// ``` @$pb.TagNumber(33) $core.bool get tuuid => $_getBF(32); @$pb.TagNumber(33) - set tuuid($core.bool v) { - $_setBool(32, v); - } - + set tuuid($core.bool value) => $_setBool(32, value); @$pb.TagNumber(33) $core.bool hasTuuid() => $_has(32); @$pb.TagNumber(33) void clearTuuid() => $_clearField(33); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyString { - /// string value = 1 [ - /// (buf.validate.field).string.example = "hello", - /// (buf.validate.field).string.example = "world" - /// ]; - /// } - /// ``` + /// ```proto + /// message MyString { + /// string value = 1 [ + /// (buf.validate.field).string.example = "hello", + /// (buf.validate.field).string.example = "world" + /// ]; + /// } + /// ``` @$pb.TagNumber(34) $pb.PbList<$core.String> get example => $_getList(33); } enum BytesRules_WellKnown { ip, ipv4, ipv6, notSet } -/// BytesRules describe the constraints applied to `bytes` values. These rules +/// BytesRules describe the rules applied to `bytes` values. These rules /// may also be applied to the `google.protobuf.BytesValue` Well-Known-Type. class BytesRules extends $pb.GeneratedMessage { factory BytesRules({ @@ -5559,58 +5020,32 @@ class BytesRules extends $pb.GeneratedMessage { $fixnum.Int64? len, $core.Iterable<$core.List<$core.int>>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (minLen != null) { - $result.minLen = minLen; - } - if (maxLen != null) { - $result.maxLen = maxLen; - } - if (pattern != null) { - $result.pattern = pattern; - } - if (prefix != null) { - $result.prefix = prefix; - } - if (suffix != null) { - $result.suffix = suffix; - } - if (contains != null) { - $result.contains = contains; - } - if (in_8 != null) { - $result.in_8.addAll(in_8); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (ip != null) { - $result.ip = ip; - } - if (ipv4 != null) { - $result.ipv4 = ipv4; - } - if (ipv6 != null) { - $result.ipv6 = ipv6; - } - if (len != null) { - $result.len = len; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - BytesRules._() : super(); - factory BytesRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BytesRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (minLen != null) result.minLen = minLen; + if (maxLen != null) result.maxLen = maxLen; + if (pattern != null) result.pattern = pattern; + if (prefix != null) result.prefix = prefix; + if (suffix != null) result.suffix = suffix; + if (contains != null) result.contains = contains; + if (in_8 != null) result.in_8.addAll(in_8); + if (notIn != null) result.notIn.addAll(notIn); + if (ip != null) result.ip = ip; + if (ipv4 != null) result.ipv4 = ipv4; + if (ipv6 != null) result.ipv6 = ipv6; + if (len != null) result.len = len; + if (example != null) result.example.addAll(example); + return result; + } + + BytesRules._(); + + factory BytesRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory BytesRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, BytesRules_WellKnown> _BytesRules_WellKnownByTag = { @@ -5650,20 +5085,18 @@ class BytesRules extends $pb.GeneratedMessage { 14, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PY) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BytesRules clone() => BytesRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BytesRules copyWith(void Function(BytesRules) updates) => super.copyWith((message) => updates(message as BytesRules)) as BytesRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BytesRules create() => BytesRules._(); + @$core.override BytesRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -5675,232 +5108,205 @@ class BytesRules extends $pb.GeneratedMessage { _BytesRules_WellKnownByTag[$_whichOneof(0)]!; void clearWellKnown() => $_clearField($_whichOneof(0)); - /// `const` requires the field value to exactly match the specified bytes - /// value. If the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified bytes + /// value. If the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value must be "\x01\x02\x03\x04" - /// bytes value = 1 [(buf.validate.field).bytes.const = "\x01\x02\x03\x04"]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must be "\x01\x02\x03\x04" + /// bytes value = 1 [(buf.validate.field).bytes.const = "\x01\x02\x03\x04"]; + /// } + /// ``` @$pb.TagNumber(1) $core.List<$core.int> get const_1 => $_getN(0); @$pb.TagNumber(1) - set const_1($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set const_1($core.List<$core.int> value) => $_setBytes(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `min_len` requires the field value to have at least the specified minimum - /// length in bytes. - /// If the field value doesn't meet the requirement, an error message is generated. + /// `min_len` requires the field value to have at least the specified minimum + /// length in bytes. + /// If the field value doesn't meet the requirement, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value length must be at least 2 bytes. - /// optional bytes value = 1 [(buf.validate.field).bytes.min_len = 2]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value length must be at least 2 bytes. + /// optional bytes value = 1 [(buf.validate.field).bytes.min_len = 2]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get minLen => $_getI64(1); @$pb.TagNumber(2) - set minLen($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set minLen($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasMinLen() => $_has(1); @$pb.TagNumber(2) void clearMinLen() => $_clearField(2); - /// `max_len` requires the field value to have at most the specified maximum - /// length in bytes. - /// If the field value exceeds the requirement, an error message is generated. + /// `max_len` requires the field value to have at most the specified maximum + /// length in bytes. + /// If the field value exceeds the requirement, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value must be at most 6 bytes. - /// optional bytes value = 1 [(buf.validate.field).bytes.max_len = 6]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must be at most 6 bytes. + /// optional bytes value = 1 [(buf.validate.field).bytes.max_len = 6]; + /// } + /// ``` @$pb.TagNumber(3) $fixnum.Int64 get maxLen => $_getI64(2); @$pb.TagNumber(3) - set maxLen($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set maxLen($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(3) $core.bool hasMaxLen() => $_has(2); @$pb.TagNumber(3) void clearMaxLen() => $_clearField(3); - /// `pattern` requires the field value to match the specified regular - /// expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)). - /// The value of the field must be valid UTF-8 or validation will fail with a - /// runtime error. - /// If the field value doesn't match the pattern, an error message is generated. + /// `pattern` requires the field value to match the specified regular + /// expression ([RE2 syntax](https://github.com/google/re2/wiki/Syntax)). + /// The value of the field must be valid UTF-8 or validation will fail with a + /// runtime error. + /// If the field value doesn't match the pattern, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value must match regex pattern "^[a-zA-Z0-9]+$". - /// optional bytes value = 1 [(buf.validate.field).bytes.pattern = "^[a-zA-Z0-9]+$"]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must match regex pattern "^[a-zA-Z0-9]+$". + /// optional bytes value = 1 [(buf.validate.field).bytes.pattern = "^[a-zA-Z0-9]+$"]; + /// } + /// ``` @$pb.TagNumber(4) $core.String get pattern => $_getSZ(3); @$pb.TagNumber(4) - set pattern($core.String v) { - $_setString(3, v); - } - + set pattern($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasPattern() => $_has(3); @$pb.TagNumber(4) void clearPattern() => $_clearField(4); - /// `prefix` requires the field value to have the specified bytes at the - /// beginning of the string. - /// If the field value doesn't meet the requirement, an error message is generated. + /// `prefix` requires the field value to have the specified bytes at the + /// beginning of the string. + /// If the field value doesn't meet the requirement, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value does not have prefix \x01\x02 - /// optional bytes value = 1 [(buf.validate.field).bytes.prefix = "\x01\x02"]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value does not have prefix \x01\x02 + /// optional bytes value = 1 [(buf.validate.field).bytes.prefix = "\x01\x02"]; + /// } + /// ``` @$pb.TagNumber(5) $core.List<$core.int> get prefix => $_getN(4); @$pb.TagNumber(5) - set prefix($core.List<$core.int> v) { - $_setBytes(4, v); - } - + set prefix($core.List<$core.int> value) => $_setBytes(4, value); @$pb.TagNumber(5) $core.bool hasPrefix() => $_has(4); @$pb.TagNumber(5) void clearPrefix() => $_clearField(5); - /// `suffix` requires the field value to have the specified bytes at the end - /// of the string. - /// If the field value doesn't meet the requirement, an error message is generated. + /// `suffix` requires the field value to have the specified bytes at the end + /// of the string. + /// If the field value doesn't meet the requirement, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value does not have suffix \x03\x04 - /// optional bytes value = 1 [(buf.validate.field).bytes.suffix = "\x03\x04"]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value does not have suffix \x03\x04 + /// optional bytes value = 1 [(buf.validate.field).bytes.suffix = "\x03\x04"]; + /// } + /// ``` @$pb.TagNumber(6) $core.List<$core.int> get suffix => $_getN(5); @$pb.TagNumber(6) - set suffix($core.List<$core.int> v) { - $_setBytes(5, v); - } - + set suffix($core.List<$core.int> value) => $_setBytes(5, value); @$pb.TagNumber(6) $core.bool hasSuffix() => $_has(5); @$pb.TagNumber(6) void clearSuffix() => $_clearField(6); - /// `contains` requires the field value to have the specified bytes anywhere in - /// the string. - /// If the field value doesn't meet the requirement, an error message is generated. + /// `contains` requires the field value to have the specified bytes anywhere in + /// the string. + /// If the field value doesn't meet the requirement, an error message is generated. /// - /// ```protobuf - /// message MyBytes { - /// // value does not contain \x02\x03 - /// optional bytes value = 1 [(buf.validate.field).bytes.contains = "\x02\x03"]; - /// } - /// ``` + /// ```protobuf + /// message MyBytes { + /// // value does not contain \x02\x03 + /// optional bytes value = 1 [(buf.validate.field).bytes.contains = "\x02\x03"]; + /// } + /// ``` @$pb.TagNumber(7) $core.List<$core.int> get contains => $_getN(6); @$pb.TagNumber(7) - set contains($core.List<$core.int> v) { - $_setBytes(6, v); - } - + set contains($core.List<$core.int> value) => $_setBytes(6, value); @$pb.TagNumber(7) $core.bool hasContains() => $_has(6); @$pb.TagNumber(7) void clearContains() => $_clearField(7); - /// `in` requires the field value to be equal to one of the specified - /// values. If the field value doesn't match any of the specified values, an - /// error message is generated. + /// `in` requires the field value to be equal to one of the specified + /// values. If the field value doesn't match any of the specified values, an + /// error message is generated. /// - /// ```protobuf - /// message MyBytes { - /// // value must in ["\x01\x02", "\x02\x03", "\x03\x04"] - /// optional bytes value = 1 [(buf.validate.field).bytes.in = {"\x01\x02", "\x02\x03", "\x03\x04"}]; - /// } - /// ``` + /// ```protobuf + /// message MyBytes { + /// // value must in ["\x01\x02", "\x02\x03", "\x03\x04"] + /// optional bytes value = 1 [(buf.validate.field).bytes.in = {"\x01\x02", "\x02\x03", "\x03\x04"}]; + /// } + /// ``` @$pb.TagNumber(8) $pb.PbList<$core.List<$core.int>> get in_8 => $_getList(7); - /// `not_in` requires the field value to be not equal to any of the specified - /// values. - /// If the field value matches any of the specified values, an error message is - /// generated. + /// `not_in` requires the field value to be not equal to any of the specified + /// values. + /// If the field value matches any of the specified values, an error message is + /// generated. /// - /// ```proto - /// message MyBytes { - /// // value must not in ["\x01\x02", "\x02\x03", "\x03\x04"] - /// optional bytes value = 1 [(buf.validate.field).bytes.not_in = {"\x01\x02", "\x02\x03", "\x03\x04"}]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must not in ["\x01\x02", "\x02\x03", "\x03\x04"] + /// optional bytes value = 1 [(buf.validate.field).bytes.not_in = {"\x01\x02", "\x02\x03", "\x03\x04"}]; + /// } + /// ``` @$pb.TagNumber(9) $pb.PbList<$core.List<$core.int>> get notIn => $_getList(8); - /// `ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format. - /// If the field value doesn't meet this constraint, an error message is generated. + /// `ip` ensures that the field `value` is a valid IP address (v4 or v6) in byte format. + /// If the field value doesn't meet this rule, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value must be a valid IP address - /// optional bytes value = 1 [(buf.validate.field).bytes.ip = true]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must be a valid IP address + /// optional bytes value = 1 [(buf.validate.field).bytes.ip = true]; + /// } + /// ``` @$pb.TagNumber(10) $core.bool get ip => $_getBF(9); @$pb.TagNumber(10) - set ip($core.bool v) { - $_setBool(9, v); - } - + set ip($core.bool value) => $_setBool(9, value); @$pb.TagNumber(10) $core.bool hasIp() => $_has(9); @$pb.TagNumber(10) void clearIp() => $_clearField(10); - /// `ipv4` ensures that the field `value` is a valid IPv4 address in byte format. - /// If the field value doesn't meet this constraint, an error message is generated. + /// `ipv4` ensures that the field `value` is a valid IPv4 address in byte format. + /// If the field value doesn't meet this rule, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value must be a valid IPv4 address - /// optional bytes value = 1 [(buf.validate.field).bytes.ipv4 = true]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value must be a valid IPv4 address + /// optional bytes value = 1 [(buf.validate.field).bytes.ipv4 = true]; + /// } + /// ``` @$pb.TagNumber(11) $core.bool get ipv4 => $_getBF(10); @$pb.TagNumber(11) - set ipv4($core.bool v) { - $_setBool(10, v); - } - + set ipv4($core.bool value) => $_setBool(10, value); @$pb.TagNumber(11) $core.bool hasIpv4() => $_has(10); @$pb.TagNumber(11) void clearIpv4() => $_clearField(11); /// `ipv6` ensures that the field `value` is a valid IPv6 address in byte format. - /// If the field value doesn't meet this constraint, an error message is generated. + /// If the field value doesn't meet this rule, an error message is generated. /// ```proto /// message MyBytes { /// // value must be a valid IPv6 address @@ -5910,53 +5316,47 @@ class BytesRules extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.bool get ipv6 => $_getBF(11); @$pb.TagNumber(12) - set ipv6($core.bool v) { - $_setBool(11, v); - } - + set ipv6($core.bool value) => $_setBool(11, value); @$pb.TagNumber(12) $core.bool hasIpv6() => $_has(11); @$pb.TagNumber(12) void clearIpv6() => $_clearField(12); - /// `len` requires the field value to have the specified length in bytes. - /// If the field value doesn't match, an error message is generated. + /// `len` requires the field value to have the specified length in bytes. + /// If the field value doesn't match, an error message is generated. /// - /// ```proto - /// message MyBytes { - /// // value length must be 4 bytes. - /// optional bytes value = 1 [(buf.validate.field).bytes.len = 4]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// // value length must be 4 bytes. + /// optional bytes value = 1 [(buf.validate.field).bytes.len = 4]; + /// } + /// ``` @$pb.TagNumber(13) $fixnum.Int64 get len => $_getI64(12); @$pb.TagNumber(13) - set len($fixnum.Int64 v) { - $_setInt64(12, v); - } - + set len($fixnum.Int64 value) => $_setInt64(12, value); @$pb.TagNumber(13) $core.bool hasLen() => $_has(12); @$pb.TagNumber(13) void clearLen() => $_clearField(13); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyBytes { - /// bytes value = 1 [ - /// (buf.validate.field).bytes.example = "\x01\x02", - /// (buf.validate.field).bytes.example = "\x02\x03" - /// ]; - /// } - /// ``` + /// ```proto + /// message MyBytes { + /// bytes value = 1 [ + /// (buf.validate.field).bytes.example = "\x01\x02", + /// (buf.validate.field).bytes.example = "\x02\x03" + /// ]; + /// } + /// ``` @$pb.TagNumber(14) $pb.PbList<$core.List<$core.int>> get example => $_getList(13); } -/// EnumRules describe the constraints applied to `enum` values. +/// EnumRules describe the rules applied to `enum` values. class EnumRules extends $pb.GeneratedMessage { factory EnumRules({ $core.int? const_1, @@ -5965,31 +5365,23 @@ class EnumRules extends $pb.GeneratedMessage { $core.Iterable<$core.int>? notIn, $core.Iterable<$core.int>? example, }) { - final $result = create(); - if (const_1 != null) { - $result.const_1 = const_1; - } - if (definedOnly != null) { - $result.definedOnly = definedOnly; - } - if (in_3 != null) { - $result.in_3.addAll(in_3); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; + final result = create(); + if (const_1 != null) result.const_1 = const_1; + if (definedOnly != null) result.definedOnly = definedOnly; + if (in_3 != null) result.in_3.addAll(in_3); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; } - EnumRules._() : super(); - factory EnumRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnumRules._(); + + factory EnumRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumRules', @@ -6002,20 +5394,18 @@ class EnumRules extends $pb.GeneratedMessage { ..p<$core.int>(5, _omitFieldNames ? '' : 'example', $pb.PbFieldType.P3) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumRules clone() => EnumRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumRules copyWith(void Function(EnumRules) updates) => super.copyWith((message) => updates(message as EnumRules)) as EnumRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumRules create() => EnumRules._(); + @$core.override EnumRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -6023,55 +5413,49 @@ class EnumRules extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EnumRules? _defaultInstance; - /// `const` requires the field value to exactly match the specified enum value. - /// If the field value doesn't match, an error message is generated. + /// `const` requires the field value to exactly match the specified enum value. + /// If the field value doesn't match, an error message is generated. /// - /// ```proto - /// enum MyEnum { - /// MY_ENUM_UNSPECIFIED = 0; - /// MY_ENUM_VALUE1 = 1; - /// MY_ENUM_VALUE2 = 2; - /// } + /// ```proto + /// enum MyEnum { + /// MY_ENUM_UNSPECIFIED = 0; + /// MY_ENUM_VALUE1 = 1; + /// MY_ENUM_VALUE2 = 2; + /// } /// - /// message MyMessage { - /// // The field `value` must be exactly MY_ENUM_VALUE1. - /// MyEnum value = 1 [(buf.validate.field).enum.const = 1]; - /// } - /// ``` + /// message MyMessage { + /// // The field `value` must be exactly MY_ENUM_VALUE1. + /// MyEnum value = 1 [(buf.validate.field).enum.const = 1]; + /// } + /// ``` @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) - set const_1($core.int v) { - $_setSignedInt32(0, v); - } - + set const_1($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => $_clearField(1); - /// `defined_only` requires the field value to be one of the defined values for - /// this enum, failing on any undefined value. + /// `defined_only` requires the field value to be one of the defined values for + /// this enum, failing on any undefined value. /// - /// ```proto - /// enum MyEnum { - /// MY_ENUM_UNSPECIFIED = 0; - /// MY_ENUM_VALUE1 = 1; - /// MY_ENUM_VALUE2 = 2; - /// } + /// ```proto + /// enum MyEnum { + /// MY_ENUM_UNSPECIFIED = 0; + /// MY_ENUM_VALUE1 = 1; + /// MY_ENUM_VALUE2 = 2; + /// } /// - /// message MyMessage { - /// // The field `value` must be a defined value of MyEnum. - /// MyEnum value = 1 [(buf.validate.field).enum.defined_only = true]; - /// } - /// ``` + /// message MyMessage { + /// // The field `value` must be a defined value of MyEnum. + /// MyEnum value = 1 [(buf.validate.field).enum.defined_only = true]; + /// } + /// ``` @$pb.TagNumber(2) $core.bool get definedOnly => $_getBF(1); @$pb.TagNumber(2) - set definedOnly($core.bool v) { - $_setBool(1, v); - } - + set definedOnly($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasDefinedOnly() => $_has(1); @$pb.TagNumber(2) @@ -6115,56 +5499,50 @@ class EnumRules extends $pb.GeneratedMessage { @$pb.TagNumber(4) $pb.PbList<$core.int> get notIn => $_getList(3); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// enum MyEnum { - /// MY_ENUM_UNSPECIFIED = 0; - /// MY_ENUM_VALUE1 = 1; - /// MY_ENUM_VALUE2 = 2; - /// } + /// ```proto + /// enum MyEnum { + /// MY_ENUM_UNSPECIFIED = 0; + /// MY_ENUM_VALUE1 = 1; + /// MY_ENUM_VALUE2 = 2; + /// } /// - /// message MyMessage { - /// (buf.validate.field).enum.example = 1, - /// (buf.validate.field).enum.example = 2 - /// } - /// ``` + /// message MyMessage { + /// (buf.validate.field).enum.example = 1, + /// (buf.validate.field).enum.example = 2 + /// } + /// ``` @$pb.TagNumber(5) $pb.PbList<$core.int> get example => $_getList(4); } -/// RepeatedRules describe the constraints applied to `repeated` values. +/// RepeatedRules describe the rules applied to `repeated` values. class RepeatedRules extends $pb.GeneratedMessage { factory RepeatedRules({ $fixnum.Int64? minItems, $fixnum.Int64? maxItems, $core.bool? unique, - FieldConstraints? items, + FieldRules? items, }) { - final $result = create(); - if (minItems != null) { - $result.minItems = minItems; - } - if (maxItems != null) { - $result.maxItems = maxItems; - } - if (unique != null) { - $result.unique = unique; - } - if (items != null) { - $result.items = items; - } - return $result; + final result = create(); + if (minItems != null) result.minItems = minItems; + if (maxItems != null) result.maxItems = maxItems; + if (unique != null) result.unique = unique; + if (items != null) result.items = items; + return result; } - RepeatedRules._() : super(); - factory RepeatedRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RepeatedRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + RepeatedRules._(); + + factory RepeatedRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory RepeatedRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'RepeatedRules', @@ -6177,25 +5555,23 @@ class RepeatedRules extends $pb.GeneratedMessage { 2, _omitFieldNames ? '' : 'maxItems', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(3, _omitFieldNames ? '' : 'unique') - ..aOM(4, _omitFieldNames ? '' : 'items', - subBuilder: FieldConstraints.create) + ..aOM(4, _omitFieldNames ? '' : 'items', + subBuilder: FieldRules.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RepeatedRules clone() => RepeatedRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RepeatedRules copyWith(void Function(RepeatedRules) updates) => super.copyWith((message) => updates(message as RepeatedRules)) as RepeatedRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RepeatedRules create() => RepeatedRules._(); + @$core.override RepeatedRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -6204,134 +5580,119 @@ class RepeatedRules extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static RepeatedRules? _defaultInstance; - /// `min_items` requires that this field must contain at least the specified - /// minimum number of items. + /// `min_items` requires that this field must contain at least the specified + /// minimum number of items. /// - /// Note that `min_items = 1` is equivalent to setting a field as `required`. + /// Note that `min_items = 1` is equivalent to setting a field as `required`. /// - /// ```proto - /// message MyRepeated { - /// // value must contain at least 2 items - /// repeated string value = 1 [(buf.validate.field).repeated.min_items = 2]; - /// } - /// ``` + /// ```proto + /// message MyRepeated { + /// // value must contain at least 2 items + /// repeated string value = 1 [(buf.validate.field).repeated.min_items = 2]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get minItems => $_getI64(0); @$pb.TagNumber(1) - set minItems($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set minItems($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasMinItems() => $_has(0); @$pb.TagNumber(1) void clearMinItems() => $_clearField(1); - /// `max_items` denotes that this field must not exceed a - /// certain number of items as the upper limit. If the field contains more - /// items than specified, an error message will be generated, requiring the - /// field to maintain no more than the specified number of items. + /// `max_items` denotes that this field must not exceed a + /// certain number of items as the upper limit. If the field contains more + /// items than specified, an error message will be generated, requiring the + /// field to maintain no more than the specified number of items. /// - /// ```proto - /// message MyRepeated { - /// // value must contain no more than 3 item(s) - /// repeated string value = 1 [(buf.validate.field).repeated.max_items = 3]; - /// } - /// ``` + /// ```proto + /// message MyRepeated { + /// // value must contain no more than 3 item(s) + /// repeated string value = 1 [(buf.validate.field).repeated.max_items = 3]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get maxItems => $_getI64(1); @$pb.TagNumber(2) - set maxItems($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set maxItems($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasMaxItems() => $_has(1); @$pb.TagNumber(2) void clearMaxItems() => $_clearField(2); - /// `unique` indicates that all elements in this field must - /// be unique. This constraint is strictly applicable to scalar and enum - /// types, with message types not being supported. - /// - /// ```proto - /// message MyRepeated { - /// // repeated value must contain unique items - /// repeated string value = 1 [(buf.validate.field).repeated.unique = true]; - /// } - /// ``` + /// `unique` indicates that all elements in this field must + /// be unique. This rule is strictly applicable to scalar and enum + /// types, with message types not being supported. + /// + /// ```proto + /// message MyRepeated { + /// // repeated value must contain unique items + /// repeated string value = 1 [(buf.validate.field).repeated.unique = true]; + /// } + /// ``` @$pb.TagNumber(3) $core.bool get unique => $_getBF(2); @$pb.TagNumber(3) - set unique($core.bool v) { - $_setBool(2, v); - } - + set unique($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasUnique() => $_has(2); @$pb.TagNumber(3) void clearUnique() => $_clearField(3); - /// `items` details the constraints to be applied to each item - /// in the field. Even for repeated message fields, validation is executed - /// against each item unless skip is explicitly specified. + /// `items` details the rules to be applied to each item + /// in the field. Even for repeated message fields, validation is executed + /// against each item unless `ignore` is specified. /// - /// ```proto - /// message MyRepeated { - /// // The items in the field `value` must follow the specified constraints. - /// repeated string value = 1 [(buf.validate.field).repeated.items = { - /// string: { - /// min_len: 3 - /// max_len: 10 - /// } - /// }]; - /// } - /// ``` + /// ```proto + /// message MyRepeated { + /// // The items in the field `value` must follow the specified rules. + /// repeated string value = 1 [(buf.validate.field).repeated.items = { + /// string: { + /// min_len: 3 + /// max_len: 10 + /// } + /// }]; + /// } + /// ``` + /// + /// Note that the `required` rule does not apply. Repeated items + /// cannot be unset. @$pb.TagNumber(4) - FieldConstraints get items => $_getN(3); + FieldRules get items => $_getN(3); @$pb.TagNumber(4) - set items(FieldConstraints v) { - $_setField(4, v); - } - + set items(FieldRules value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasItems() => $_has(3); @$pb.TagNumber(4) void clearItems() => $_clearField(4); @$pb.TagNumber(4) - FieldConstraints ensureItems() => $_ensure(3); + FieldRules ensureItems() => $_ensure(3); } -/// MapRules describe the constraints applied to `map` values. +/// MapRules describe the rules applied to `map` values. class MapRules extends $pb.GeneratedMessage { factory MapRules({ $fixnum.Int64? minPairs, $fixnum.Int64? maxPairs, - FieldConstraints? keys, - FieldConstraints? values, + FieldRules? keys, + FieldRules? values, }) { - final $result = create(); - if (minPairs != null) { - $result.minPairs = minPairs; - } - if (maxPairs != null) { - $result.maxPairs = maxPairs; - } - if (keys != null) { - $result.keys = keys; - } - if (values != null) { - $result.values = values; - } - return $result; + final result = create(); + if (minPairs != null) result.minPairs = minPairs; + if (maxPairs != null) result.maxPairs = maxPairs; + if (keys != null) result.keys = keys; + if (values != null) result.values = values; + return result; } - MapRules._() : super(); - factory MapRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MapRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MapRules._(); + + factory MapRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MapRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MapRules', @@ -6343,26 +5704,24 @@ class MapRules extends $pb.GeneratedMessage { ..a<$fixnum.Int64>( 2, _omitFieldNames ? '' : 'maxPairs', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(4, _omitFieldNames ? '' : 'keys', - subBuilder: FieldConstraints.create) - ..aOM(5, _omitFieldNames ? '' : 'values', - subBuilder: FieldConstraints.create) + ..aOM(4, _omitFieldNames ? '' : 'keys', + subBuilder: FieldRules.create) + ..aOM(5, _omitFieldNames ? '' : 'values', + subBuilder: FieldRules.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MapRules clone() => MapRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MapRules copyWith(void Function(MapRules) updates) => super.copyWith((message) => updates(message as MapRules)) as MapRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MapRules create() => MapRules._(); + @$core.override MapRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -6371,126 +5730,115 @@ class MapRules extends $pb.GeneratedMessage { static MapRules? _defaultInstance; /// Specifies the minimum number of key-value pairs allowed. If the field has - /// fewer key-value pairs than specified, an error message is generated. + /// fewer key-value pairs than specified, an error message is generated. /// - /// ```proto - /// message MyMap { - /// // The field `value` must have at least 2 key-value pairs. - /// map value = 1 [(buf.validate.field).map.min_pairs = 2]; - /// } - /// ``` + /// ```proto + /// message MyMap { + /// // The field `value` must have at least 2 key-value pairs. + /// map value = 1 [(buf.validate.field).map.min_pairs = 2]; + /// } + /// ``` @$pb.TagNumber(1) $fixnum.Int64 get minPairs => $_getI64(0); @$pb.TagNumber(1) - set minPairs($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set minPairs($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasMinPairs() => $_has(0); @$pb.TagNumber(1) void clearMinPairs() => $_clearField(1); /// Specifies the maximum number of key-value pairs allowed. If the field has - /// more key-value pairs than specified, an error message is generated. + /// more key-value pairs than specified, an error message is generated. /// - /// ```proto - /// message MyMap { - /// // The field `value` must have at most 3 key-value pairs. - /// map value = 1 [(buf.validate.field).map.max_pairs = 3]; - /// } - /// ``` + /// ```proto + /// message MyMap { + /// // The field `value` must have at most 3 key-value pairs. + /// map value = 1 [(buf.validate.field).map.max_pairs = 3]; + /// } + /// ``` @$pb.TagNumber(2) $fixnum.Int64 get maxPairs => $_getI64(1); @$pb.TagNumber(2) - set maxPairs($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set maxPairs($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasMaxPairs() => $_has(1); @$pb.TagNumber(2) void clearMaxPairs() => $_clearField(2); - /// Specifies the constraints to be applied to each key in the field. + /// Specifies the rules to be applied to each key in the field. /// - /// ```proto - /// message MyMap { - /// // The keys in the field `value` must follow the specified constraints. - /// map value = 1 [(buf.validate.field).map.keys = { - /// string: { - /// min_len: 3 - /// max_len: 10 - /// } - /// }]; - /// } - /// ``` + /// ```proto + /// message MyMap { + /// // The keys in the field `value` must follow the specified rules. + /// map value = 1 [(buf.validate.field).map.keys = { + /// string: { + /// min_len: 3 + /// max_len: 10 + /// } + /// }]; + /// } + /// ``` + /// + /// Note that the `required` rule does not apply. Map keys cannot be unset. @$pb.TagNumber(4) - FieldConstraints get keys => $_getN(2); + FieldRules get keys => $_getN(2); @$pb.TagNumber(4) - set keys(FieldConstraints v) { - $_setField(4, v); - } - + set keys(FieldRules value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasKeys() => $_has(2); @$pb.TagNumber(4) void clearKeys() => $_clearField(4); @$pb.TagNumber(4) - FieldConstraints ensureKeys() => $_ensure(2); + FieldRules ensureKeys() => $_ensure(2); - /// Specifies the constraints to be applied to the value of each key in the - /// field. Message values will still have their validations evaluated unless - /// skip is specified here. + /// Specifies the rules to be applied to the value of each key in the + /// field. Message values will still have their validations evaluated unless + /// `ignore` is specified. /// - /// ```proto - /// message MyMap { - /// // The values in the field `value` must follow the specified constraints. - /// map value = 1 [(buf.validate.field).map.values = { - /// string: { - /// min_len: 5 - /// max_len: 20 - /// } - /// }]; - /// } - /// ``` + /// ```proto + /// message MyMap { + /// // The values in the field `value` must follow the specified rules. + /// map value = 1 [(buf.validate.field).map.values = { + /// string: { + /// min_len: 5 + /// max_len: 20 + /// } + /// }]; + /// } + /// ``` + /// Note that the `required` rule does not apply. Map values cannot be unset. @$pb.TagNumber(5) - FieldConstraints get values => $_getN(3); + FieldRules get values => $_getN(3); @$pb.TagNumber(5) - set values(FieldConstraints v) { - $_setField(5, v); - } - + set values(FieldRules value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasValues() => $_has(3); @$pb.TagNumber(5) void clearValues() => $_clearField(5); @$pb.TagNumber(5) - FieldConstraints ensureValues() => $_ensure(3); + FieldRules ensureValues() => $_ensure(3); } -/// AnyRules describe constraints applied exclusively to the `google.protobuf.Any` well-known type. +/// AnyRules describe rules applied exclusively to the `google.protobuf.Any` well-known type. class AnyRules extends $pb.GeneratedMessage { factory AnyRules({ $core.Iterable<$core.String>? in_2, $core.Iterable<$core.String>? notIn, }) { - final $result = create(); - if (in_2 != null) { - $result.in_2.addAll(in_2); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - return $result; + final result = create(); + if (in_2 != null) result.in_2.addAll(in_2); + if (notIn != null) result.notIn.addAll(notIn); + return result; } - AnyRules._() : super(); - factory AnyRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AnyRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AnyRules._(); + + factory AnyRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AnyRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AnyRules', @@ -6500,20 +5848,18 @@ class AnyRules extends $pb.GeneratedMessage { ..pPS(3, _omitFieldNames ? '' : 'notIn') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AnyRules clone() => AnyRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AnyRules copyWith(void Function(AnyRules) updates) => super.copyWith((message) => updates(message as AnyRules)) as AnyRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AnyRules create() => AnyRules._(); + @$core.override AnyRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -6528,20 +5874,24 @@ class AnyRules extends $pb.GeneratedMessage { /// ```proto /// message MyAny { /// // The `value` field must have a `type_url` equal to one of the specified values. - /// google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]]; + /// google.protobuf.Any value = 1 [(buf.validate.field).any = { + /// in: ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"] + /// }]; /// } /// ``` @$pb.TagNumber(2) $pb.PbList<$core.String> get in_2 => $_getList(0); - /// requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated. + /// requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated. /// - /// ```proto - /// message MyAny { - /// // The field `value` must not have a `type_url` equal to any of the specified values. - /// google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]]; - /// } - /// ``` + /// ```proto + /// message MyAny { + /// // The `value` field must not have a `type_url` equal to any of the specified values. + /// google.protobuf.Any value = 1 [(buf.validate.field).any = { + /// not_in: ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"] + /// }]; + /// } + /// ``` @$pb.TagNumber(3) $pb.PbList<$core.String> get notIn => $_getList(1); } @@ -6550,52 +5900,38 @@ enum DurationRules_LessThan { lt, lte, notSet } enum DurationRules_GreaterThan { gt, gte, notSet } -/// DurationRules describe the constraints applied exclusively to the `google.protobuf.Duration` well-known type. +/// DurationRules describe the rules applied exclusively to the `google.protobuf.Duration` well-known type. class DurationRules extends $pb.GeneratedMessage { factory DurationRules({ - $8.Duration? const_2, - $8.Duration? lt, - $8.Duration? lte, - $8.Duration? gt, - $8.Duration? gte, - $core.Iterable<$8.Duration>? in_7, - $core.Iterable<$8.Duration>? notIn, - $core.Iterable<$8.Duration>? example, + $0.Duration? const_2, + $0.Duration? lt, + $0.Duration? lte, + $0.Duration? gt, + $0.Duration? gte, + $core.Iterable<$0.Duration>? in_7, + $core.Iterable<$0.Duration>? notIn, + $core.Iterable<$0.Duration>? example, }) { - final $result = create(); - if (const_2 != null) { - $result.const_2 = const_2; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (in_7 != null) { - $result.in_7.addAll(in_7); - } - if (notIn != null) { - $result.notIn.addAll(notIn); - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - DurationRules._() : super(); - factory DurationRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DurationRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_2 != null) result.const_2 = const_2; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (in_7 != null) result.in_7.addAll(in_7); + if (notIn != null) result.notIn.addAll(notIn); + if (example != null) result.example.addAll(example); + return result; + } + + DurationRules._(); + + factory DurationRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DurationRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, DurationRules_LessThan> _DurationRules_LessThanByTag = { @@ -6615,39 +5951,37 @@ class DurationRules extends $pb.GeneratedMessage { createEmptyInstance: create) ..oo(0, [3, 4]) ..oo(1, [5, 6]) - ..aOM<$8.Duration>(2, _omitFieldNames ? '' : 'const', - subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(3, _omitFieldNames ? '' : 'lt', - subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(4, _omitFieldNames ? '' : 'lte', - subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(5, _omitFieldNames ? '' : 'gt', - subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(6, _omitFieldNames ? '' : 'gte', - subBuilder: $8.Duration.create) - ..pc<$8.Duration>(7, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PM, - subBuilder: $8.Duration.create) - ..pc<$8.Duration>(8, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PM, - subBuilder: $8.Duration.create) - ..pc<$8.Duration>(9, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PM, - subBuilder: $8.Duration.create) + ..aOM<$0.Duration>(2, _omitFieldNames ? '' : 'const', + subBuilder: $0.Duration.create) + ..aOM<$0.Duration>(3, _omitFieldNames ? '' : 'lt', + subBuilder: $0.Duration.create) + ..aOM<$0.Duration>(4, _omitFieldNames ? '' : 'lte', + subBuilder: $0.Duration.create) + ..aOM<$0.Duration>(5, _omitFieldNames ? '' : 'gt', + subBuilder: $0.Duration.create) + ..aOM<$0.Duration>(6, _omitFieldNames ? '' : 'gte', + subBuilder: $0.Duration.create) + ..pc<$0.Duration>(7, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PM, + subBuilder: $0.Duration.create) + ..pc<$0.Duration>(8, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PM, + subBuilder: $0.Duration.create) + ..pc<$0.Duration>(9, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PM, + subBuilder: $0.Duration.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DurationRules clone() => DurationRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DurationRules copyWith(void Function(DurationRules) updates) => super.copyWith((message) => updates(message as DurationRules)) as DurationRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DurationRules create() => DurationRules._(); + @$core.override DurationRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -6664,239 +5998,208 @@ class DurationRules extends $pb.GeneratedMessage { _DurationRules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly. - /// If the field's value deviates from the specified value, an error message - /// will be generated. + /// `const` dictates that the field must match the specified value of the `google.protobuf.Duration` type exactly. + /// If the field's value deviates from the specified value, an error message + /// will be generated. /// - /// ```proto - /// message MyDuration { - /// // value must equal 5s - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // value must equal 5s + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.const = "5s"]; + /// } + /// ``` @$pb.TagNumber(2) - $8.Duration get const_2 => $_getN(0); + $0.Duration get const_2 => $_getN(0); @$pb.TagNumber(2) - set const_2($8.Duration v) { - $_setField(2, v); - } - + set const_2($0.Duration value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasConst_2() => $_has(0); @$pb.TagNumber(2) void clearConst_2() => $_clearField(2); @$pb.TagNumber(2) - $8.Duration ensureConst_2() => $_ensure(0); + $0.Duration ensureConst_2() => $_ensure(0); - /// `lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type, - /// exclusive. If the field's value is greater than or equal to the specified - /// value, an error message will be generated. + /// `lt` stipulates that the field must be less than the specified value of the `google.protobuf.Duration` type, + /// exclusive. If the field's value is greater than or equal to the specified + /// value, an error message will be generated. /// - /// ```proto - /// message MyDuration { - /// // value must be less than 5s - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // value must be less than 5s + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"]; + /// } + /// ``` @$pb.TagNumber(3) - $8.Duration get lt => $_getN(1); + $0.Duration get lt => $_getN(1); @$pb.TagNumber(3) - set lt($8.Duration v) { - $_setField(3, v); - } - + set lt($0.Duration value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasLt() => $_has(1); @$pb.TagNumber(3) void clearLt() => $_clearField(3); @$pb.TagNumber(3) - $8.Duration ensureLt() => $_ensure(1); + $0.Duration ensureLt() => $_ensure(1); - /// `lte` indicates that the field must be less than or equal to the specified - /// value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value, - /// an error message will be generated. + /// `lte` indicates that the field must be less than or equal to the specified + /// value of the `google.protobuf.Duration` type, inclusive. If the field's value is greater than the specified value, + /// an error message will be generated. /// - /// ```proto - /// message MyDuration { - /// // value must be less than or equal to 10s - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // value must be less than or equal to 10s + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"]; + /// } + /// ``` @$pb.TagNumber(4) - $8.Duration get lte => $_getN(2); + $0.Duration get lte => $_getN(2); @$pb.TagNumber(4) - set lte($8.Duration v) { - $_setField(4, v); - } - + set lte($0.Duration value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasLte() => $_has(2); @$pb.TagNumber(4) void clearLte() => $_clearField(4); @$pb.TagNumber(4) - $8.Duration ensureLte() => $_ensure(2); + $0.Duration ensureLte() => $_ensure(2); - /// `gt` requires the duration field value to be greater than the specified - /// value (exclusive). If the value of `gt` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the duration field value to be greater than the specified + /// value (exclusive). If the value of `gt` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyDuration { - /// // duration must be greater than 5s [duration.gt] - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }]; + /// ```proto + /// message MyDuration { + /// // duration must be greater than 5s [duration.gt] + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.gt = { seconds: 5 }]; /// - /// // duration must be greater than 5s and less than 10s [duration.gt_lt] - /// google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }]; + /// // duration must be greater than 5s and less than 10s [duration.gt_lt] + /// google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gt: { seconds: 5 }, lt: { seconds: 10 } }]; /// - /// // duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive] - /// google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }]; - /// } - /// ``` + /// // duration must be greater than 10s or less than 5s [duration.gt_lt_exclusive] + /// google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gt: { seconds: 10 }, lt: { seconds: 5 } }]; + /// } + /// ``` @$pb.TagNumber(5) - $8.Duration get gt => $_getN(3); + $0.Duration get gt => $_getN(3); @$pb.TagNumber(5) - set gt($8.Duration v) { - $_setField(5, v); - } - + set gt($0.Duration value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasGt() => $_has(3); @$pb.TagNumber(5) void clearGt() => $_clearField(5); @$pb.TagNumber(5) - $8.Duration ensureGt() => $_ensure(3); + $0.Duration ensureGt() => $_ensure(3); - /// `gte` requires the duration field value to be greater than or equal to the - /// specified value (exclusive). If the value of `gte` is larger than a - /// specified `lt` or `lte`, the range is reversed, and the field value must - /// be outside the specified range. If the field value doesn't meet the - /// required conditions, an error message is generated. + /// `gte` requires the duration field value to be greater than or equal to the + /// specified value (exclusive). If the value of `gte` is larger than a + /// specified `lt` or `lte`, the range is reversed, and the field value must + /// be outside the specified range. If the field value doesn't meet the + /// required conditions, an error message is generated. /// - /// ```proto - /// message MyDuration { - /// // duration must be greater than or equal to 5s [duration.gte] - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }]; + /// ```proto + /// message MyDuration { + /// // duration must be greater than or equal to 5s [duration.gte] + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.gte = { seconds: 5 }]; /// - /// // duration must be greater than or equal to 5s and less than 10s [duration.gte_lt] - /// google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }]; + /// // duration must be greater than or equal to 5s and less than 10s [duration.gte_lt] + /// google.protobuf.Duration another_value = 2 [(buf.validate.field).duration = { gte: { seconds: 5 }, lt: { seconds: 10 } }]; /// - /// // duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive] - /// google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }]; - /// } - /// ``` + /// // duration must be greater than or equal to 10s or less than 5s [duration.gte_lt_exclusive] + /// google.protobuf.Duration other_value = 3 [(buf.validate.field).duration = { gte: { seconds: 10 }, lt: { seconds: 5 } }]; + /// } + /// ``` @$pb.TagNumber(6) - $8.Duration get gte => $_getN(4); + $0.Duration get gte => $_getN(4); @$pb.TagNumber(6) - set gte($8.Duration v) { - $_setField(6, v); - } - + set gte($0.Duration value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasGte() => $_has(4); @$pb.TagNumber(6) void clearGte() => $_clearField(6); @$pb.TagNumber(6) - $8.Duration ensureGte() => $_ensure(4); + $0.Duration ensureGte() => $_ensure(4); - /// `in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type. - /// If the field's value doesn't correspond to any of the specified values, - /// an error message will be generated. + /// `in` asserts that the field must be equal to one of the specified values of the `google.protobuf.Duration` type. + /// If the field's value doesn't correspond to any of the specified values, + /// an error message will be generated. /// - /// ```proto - /// message MyDuration { - /// // value must be in list [1s, 2s, 3s] - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // value must be in list [1s, 2s, 3s] + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]]; + /// } + /// ``` @$pb.TagNumber(7) - $pb.PbList<$8.Duration> get in_7 => $_getList(5); + $pb.PbList<$0.Duration> get in_7 => $_getList(5); - /// `not_in` denotes that the field must not be equal to - /// any of the specified values of the `google.protobuf.Duration` type. - /// If the field's value matches any of these values, an error message will be - /// generated. + /// `not_in` denotes that the field must not be equal to + /// any of the specified values of the `google.protobuf.Duration` type. + /// If the field's value matches any of these values, an error message will be + /// generated. /// - /// ```proto - /// message MyDuration { - /// // value must not be in list [1s, 2s, 3s] - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // value must not be in list [1s, 2s, 3s] + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.not_in = ["1s", "2s", "3s"]]; + /// } + /// ``` @$pb.TagNumber(8) - $pb.PbList<$8.Duration> get notIn => $_getList(6); + $pb.PbList<$0.Duration> get notIn => $_getList(6); - /// `example` specifies values that the field may have. These values SHOULD - /// conform to other constraints. `example` values will not impact validation - /// but may be used as helpful guidance on how to populate the given field. + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. /// - /// ```proto - /// message MyDuration { - /// google.protobuf.Duration value = 1 [ - /// (buf.validate.field).duration.example = { seconds: 1 }, - /// (buf.validate.field).duration.example = { seconds: 2 }, - /// ]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// google.protobuf.Duration value = 1 [ + /// (buf.validate.field).duration.example = { seconds: 1 }, + /// (buf.validate.field).duration.example = { seconds: 2 }, + /// ]; + /// } + /// ``` @$pb.TagNumber(9) - $pb.PbList<$8.Duration> get example => $_getList(7); + $pb.PbList<$0.Duration> get example => $_getList(7); } enum TimestampRules_LessThan { lt, lte, ltNow, notSet } enum TimestampRules_GreaterThan { gt, gte, gtNow, notSet } -/// TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type. +/// TimestampRules describe the rules applied exclusively to the `google.protobuf.Timestamp` well-known type. class TimestampRules extends $pb.GeneratedMessage { factory TimestampRules({ - $9.Timestamp? const_2, - $9.Timestamp? lt, - $9.Timestamp? lte, - $9.Timestamp? gt, - $9.Timestamp? gte, + $1.Timestamp? const_2, + $1.Timestamp? lt, + $1.Timestamp? lte, + $1.Timestamp? gt, + $1.Timestamp? gte, $core.bool? ltNow, $core.bool? gtNow, - $8.Duration? within, - $core.Iterable<$9.Timestamp>? example, + $0.Duration? within, + $core.Iterable<$1.Timestamp>? example, }) { - final $result = create(); - if (const_2 != null) { - $result.const_2 = const_2; - } - if (lt != null) { - $result.lt = lt; - } - if (lte != null) { - $result.lte = lte; - } - if (gt != null) { - $result.gt = gt; - } - if (gte != null) { - $result.gte = gte; - } - if (ltNow != null) { - $result.ltNow = ltNow; - } - if (gtNow != null) { - $result.gtNow = gtNow; - } - if (within != null) { - $result.within = within; - } - if (example != null) { - $result.example.addAll(example); - } - return $result; - } - TimestampRules._() : super(); - factory TimestampRules.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TimestampRules.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (const_2 != null) result.const_2 = const_2; + if (lt != null) result.lt = lt; + if (lte != null) result.lte = lte; + if (gt != null) result.gt = gt; + if (gte != null) result.gte = gte; + if (ltNow != null) result.ltNow = ltNow; + if (gtNow != null) result.gtNow = gtNow; + if (within != null) result.within = within; + if (example != null) result.example.addAll(example); + return result; + } + + TimestampRules._(); + + factory TimestampRules.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory TimestampRules.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, TimestampRules_LessThan> _TimestampRules_LessThanByTag = { @@ -6918,39 +6221,37 @@ class TimestampRules extends $pb.GeneratedMessage { createEmptyInstance: create) ..oo(0, [3, 4, 7]) ..oo(1, [5, 6, 8]) - ..aOM<$9.Timestamp>(2, _omitFieldNames ? '' : 'const', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(3, _omitFieldNames ? '' : 'lt', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(4, _omitFieldNames ? '' : 'lte', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(5, _omitFieldNames ? '' : 'gt', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(6, _omitFieldNames ? '' : 'gte', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(2, _omitFieldNames ? '' : 'const', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(3, _omitFieldNames ? '' : 'lt', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(4, _omitFieldNames ? '' : 'lte', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(5, _omitFieldNames ? '' : 'gt', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(6, _omitFieldNames ? '' : 'gte', + subBuilder: $1.Timestamp.create) ..aOB(7, _omitFieldNames ? '' : 'ltNow') ..aOB(8, _omitFieldNames ? '' : 'gtNow') - ..aOM<$8.Duration>(9, _omitFieldNames ? '' : 'within', - subBuilder: $8.Duration.create) - ..pc<$9.Timestamp>(10, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PM, - subBuilder: $9.Timestamp.create) + ..aOM<$0.Duration>(9, _omitFieldNames ? '' : 'within', + subBuilder: $0.Duration.create) + ..pc<$1.Timestamp>(10, _omitFieldNames ? '' : 'example', $pb.PbFieldType.PM, + subBuilder: $1.Timestamp.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimestampRules clone() => TimestampRules()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimestampRules copyWith(void Function(TimestampRules) updates) => super.copyWith((message) => updates(message as TimestampRules)) as TimestampRules; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TimestampRules create() => TimestampRules._(); + @$core.override TimestampRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -6967,222 +6268,210 @@ class TimestampRules extends $pb.GeneratedMessage { _TimestampRules_GreaterThanByTag[$_whichOneof(1)]!; void clearGreaterThan() => $_clearField($_whichOneof(1)); - /// `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated. + /// `const` dictates that this field, of the `google.protobuf.Timestamp` type, must exactly match the specified value. If the field value doesn't correspond to the specified timestamp, an error message will be generated. /// - /// ```proto - /// message MyTimestamp { - /// // value must equal 2023-05-03T10:00:00Z - /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}]; - /// } - /// ``` + /// ```proto + /// message MyTimestamp { + /// // value must equal 2023-05-03T10:00:00Z + /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.const = {seconds: 1727998800}]; + /// } + /// ``` @$pb.TagNumber(2) - $9.Timestamp get const_2 => $_getN(0); + $1.Timestamp get const_2 => $_getN(0); @$pb.TagNumber(2) - set const_2($9.Timestamp v) { - $_setField(2, v); - } - + set const_2($1.Timestamp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasConst_2() => $_has(0); @$pb.TagNumber(2) void clearConst_2() => $_clearField(2); @$pb.TagNumber(2) - $9.Timestamp ensureConst_2() => $_ensure(0); + $1.Timestamp ensureConst_2() => $_ensure(0); - /// requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated. + /// requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated. /// - /// ```proto - /// message MyDuration { - /// // duration must be less than 'P3D' [duration.lt] - /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }]; - /// } - /// ``` + /// ```proto + /// message MyDuration { + /// // duration must be less than 'P3D' [duration.lt] + /// google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }]; + /// } + /// ``` @$pb.TagNumber(3) - $9.Timestamp get lt => $_getN(1); + $1.Timestamp get lt => $_getN(1); @$pb.TagNumber(3) - set lt($9.Timestamp v) { - $_setField(3, v); - } - + set lt($1.Timestamp value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasLt() => $_has(1); @$pb.TagNumber(3) void clearLt() => $_clearField(3); @$pb.TagNumber(3) - $9.Timestamp ensureLt() => $_ensure(1); + $1.Timestamp ensureLt() => $_ensure(1); - /// requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated. + /// requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated. /// - /// ```proto - /// message MyTimestamp { - /// // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte] - /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }]; - /// } - /// ``` + /// ```proto + /// message MyTimestamp { + /// // timestamp must be less than or equal to '2023-05-14T00:00:00Z' [timestamp.lte] + /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lte = { seconds: 1678867200 }]; + /// } + /// ``` @$pb.TagNumber(4) - $9.Timestamp get lte => $_getN(2); + $1.Timestamp get lte => $_getN(2); @$pb.TagNumber(4) - set lte($9.Timestamp v) { - $_setField(4, v); - } - + set lte($1.Timestamp value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasLte() => $_has(2); @$pb.TagNumber(4) void clearLte() => $_clearField(4); @$pb.TagNumber(4) - $9.Timestamp ensureLte() => $_ensure(2); + $1.Timestamp ensureLte() => $_ensure(2); - /// `gt` requires the timestamp field value to be greater than the specified - /// value (exclusive). If the value of `gt` is larger than a specified `lt` - /// or `lte`, the range is reversed, and the field value must be outside the - /// specified range. If the field value doesn't meet the required conditions, - /// an error message is generated. + /// `gt` requires the timestamp field value to be greater than the specified + /// value (exclusive). If the value of `gt` is larger than a specified `lt` + /// or `lte`, the range is reversed, and the field value must be outside the + /// specified range. If the field value doesn't meet the required conditions, + /// an error message is generated. /// - /// ```proto - /// message MyTimestamp { - /// // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt] - /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }]; + /// ```proto + /// message MyTimestamp { + /// // timestamp must be greater than '2023-01-01T00:00:00Z' [timestamp.gt] + /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gt = { seconds: 1672444800 }]; /// - /// // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt] - /// google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }]; + /// // timestamp must be greater than '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gt_lt] + /// google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gt: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }]; /// - /// // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive] - /// google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }]; - /// } - /// ``` + /// // timestamp must be greater than '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gt_lt_exclusive] + /// google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gt: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }]; + /// } + /// ``` @$pb.TagNumber(5) - $9.Timestamp get gt => $_getN(3); + $1.Timestamp get gt => $_getN(3); @$pb.TagNumber(5) - set gt($9.Timestamp v) { - $_setField(5, v); - } - + set gt($1.Timestamp value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasGt() => $_has(3); @$pb.TagNumber(5) void clearGt() => $_clearField(5); @$pb.TagNumber(5) - $9.Timestamp ensureGt() => $_ensure(3); + $1.Timestamp ensureGt() => $_ensure(3); - /// `gte` requires the timestamp field value to be greater than or equal to the - /// specified value (exclusive). If the value of `gte` is larger than a - /// specified `lt` or `lte`, the range is reversed, and the field value - /// must be outside the specified range. If the field value doesn't meet - /// the required conditions, an error message is generated. + /// `gte` requires the timestamp field value to be greater than or equal to the + /// specified value (exclusive). If the value of `gte` is larger than a + /// specified `lt` or `lte`, the range is reversed, and the field value + /// must be outside the specified range. If the field value doesn't meet + /// the required conditions, an error message is generated. /// - /// ```proto - /// message MyTimestamp { - /// // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte] - /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }]; + /// ```proto + /// message MyTimestamp { + /// // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' [timestamp.gte] + /// google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.gte = { seconds: 1672444800 }]; /// - /// // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt] - /// google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }]; + /// // timestamp must be greater than or equal to '2023-01-01T00:00:00Z' and less than '2023-01-02T00:00:00Z' [timestamp.gte_lt] + /// google.protobuf.Timestamp another_value = 2 [(buf.validate.field).timestamp = { gte: { seconds: 1672444800 }, lt: { seconds: 1672531200 } }]; /// - /// // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive] - /// google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }]; - /// } - /// ``` + /// // timestamp must be greater than or equal to '2023-01-02T00:00:00Z' or less than '2023-01-01T00:00:00Z' [timestamp.gte_lt_exclusive] + /// google.protobuf.Timestamp other_value = 3 [(buf.validate.field).timestamp = { gte: { seconds: 1672531200 }, lt: { seconds: 1672444800 } }]; + /// } + /// ``` @$pb.TagNumber(6) - $9.Timestamp get gte => $_getN(4); + $1.Timestamp get gte => $_getN(4); @$pb.TagNumber(6) - set gte($9.Timestamp v) { - $_setField(6, v); - } - + set gte($1.Timestamp value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasGte() => $_has(4); @$pb.TagNumber(6) void clearGte() => $_clearField(6); @$pb.TagNumber(6) - $9.Timestamp ensureGte() => $_ensure(4); + $1.Timestamp ensureGte() => $_ensure(4); - /// `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule. + /// `lt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be less than the current time. `lt_now` can only be used with the `within` rule. /// - /// ```proto - /// message MyTimestamp { - /// // value must be less than now - /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true]; - /// } - /// ``` + /// ```proto + /// message MyTimestamp { + /// // value must be less than now + /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true]; + /// } + /// ``` @$pb.TagNumber(7) $core.bool get ltNow => $_getBF(5); @$pb.TagNumber(7) - set ltNow($core.bool v) { - $_setBool(5, v); - } - + set ltNow($core.bool value) => $_setBool(5, value); @$pb.TagNumber(7) $core.bool hasLtNow() => $_has(5); @$pb.TagNumber(7) void clearLtNow() => $_clearField(7); - /// `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule. + /// `gt_now` specifies that this field, of the `google.protobuf.Timestamp` type, must be greater than the current time. `gt_now` can only be used with the `within` rule. /// - /// ```proto - /// message MyTimestamp { - /// // value must be greater than now - /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true]; - /// } - /// ``` + /// ```proto + /// message MyTimestamp { + /// // value must be greater than now + /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true]; + /// } + /// ``` @$pb.TagNumber(8) $core.bool get gtNow => $_getBF(6); @$pb.TagNumber(8) - set gtNow($core.bool v) { - $_setBool(6, v); - } - + set gtNow($core.bool value) => $_setBool(6, value); @$pb.TagNumber(8) $core.bool hasGtNow() => $_has(6); @$pb.TagNumber(8) void clearGtNow() => $_clearField(8); - /// `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated. + /// `within` specifies that this field, of the `google.protobuf.Timestamp` type, must be within the specified duration of the current time. If the field value isn't within the duration, an error message is generated. /// - /// ```proto - /// message MyTimestamp { - /// // value must be within 1 hour of now - /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}]; - /// } - /// ``` + /// ```proto + /// message MyTimestamp { + /// // value must be within 1 hour of now + /// google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}]; + /// } + /// ``` @$pb.TagNumber(9) - $8.Duration get within => $_getN(7); + $0.Duration get within => $_getN(7); @$pb.TagNumber(9) - set within($8.Duration v) { - $_setField(9, v); - } - + set within($0.Duration value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasWithin() => $_has(7); @$pb.TagNumber(9) void clearWithin() => $_clearField(9); @$pb.TagNumber(9) - $8.Duration ensureWithin() => $_ensure(7); + $0.Duration ensureWithin() => $_ensure(7); + /// `example` specifies values that the field may have. These values SHOULD + /// conform to other rules. `example` values will not impact validation + /// but may be used as helpful guidance on how to populate the given field. + /// + /// ```proto + /// message MyTimestamp { + /// google.protobuf.Timestamp value = 1 [ + /// (buf.validate.field).timestamp.example = { seconds: 1672444800 }, + /// (buf.validate.field).timestamp.example = { seconds: 1672531200 }, + /// ]; + /// } + /// ``` @$pb.TagNumber(10) - $pb.PbList<$9.Timestamp> get example => $_getList(8); + $pb.PbList<$1.Timestamp> get example => $_getList(8); } /// `Violations` is a collection of `Violation` messages. This message type is returned by -/// protovalidate when a proto message fails to meet the requirements set by the `Constraint` validation rules. +/// Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules. /// Each individual violation is represented by a `Violation` message. class Violations extends $pb.GeneratedMessage { factory Violations({ $core.Iterable? violations, }) { - final $result = create(); - if (violations != null) { - $result.violations.addAll(violations); - } - return $result; + final result = create(); + if (violations != null) result.violations.addAll(violations); + return result; } - Violations._() : super(); - factory Violations.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Violations.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Violations._(); + + factory Violations.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Violations.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Violations', @@ -7192,20 +6481,18 @@ class Violations extends $pb.GeneratedMessage { subBuilder: Violation.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Violations clone() => Violations()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Violations copyWith(void Function(Violations) updates) => super.copyWith((message) => updates(message as Violations)) as Violations; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Violations create() => Violations._(); + @$core.override Violations createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -7218,57 +6505,80 @@ class Violations extends $pb.GeneratedMessage { $pb.PbList get violations => $_getList(0); } -/// `Violation` represents a single instance where a validation rule, expressed -/// as a `Constraint`, was not met. It provides information about the field that -/// caused the violation, the specific constraint that wasn't fulfilled, and a -/// human-readable error message. +/// `Violation` represents a single instance where a validation rule, expressed +/// as a `Rule`, was not met. It provides information about the field that +/// caused the violation, the specific rule that wasn't fulfilled, and a +/// human-readable error message. /// -/// ```json -/// { -/// "fieldPath": "bar", -/// "constraintId": "foo.bar", -/// "message": "bar must be greater than 0" -/// } -/// ``` +/// For example, consider the following message: +/// +/// ```proto +/// message User { +/// int32 age = 1 [(buf.validate.field).cel = { +/// id: "user.age", +/// expression: "this < 18 ? 'User must be at least 18 years old' : ''", +/// }]; +/// } +/// ``` +/// +/// It could produce the following violation: +/// +/// ```json +/// { +/// "ruleId": "user.age", +/// "message": "User must be at least 18 years old", +/// "field": { +/// "elements": [ +/// { +/// "fieldNumber": 1, +/// "fieldName": "age", +/// "fieldType": "TYPE_INT32" +/// } +/// ] +/// }, +/// "rule": { +/// "elements": [ +/// { +/// "fieldNumber": 23, +/// "fieldName": "cel", +/// "fieldType": "TYPE_MESSAGE", +/// "index": "0" +/// } +/// ] +/// } +/// } +/// ``` class Violation extends $pb.GeneratedMessage { factory Violation({ - $core.String? constraintId, + $core.String? ruleId, $core.String? message, $core.bool? forKey, FieldPath? field_5, FieldPath? rule, }) { - final $result = create(); - if (constraintId != null) { - $result.constraintId = constraintId; - } - if (message != null) { - $result.message = message; - } - if (forKey != null) { - $result.forKey = forKey; - } - if (field_5 != null) { - $result.field_5 = field_5; - } - if (rule != null) { - $result.rule = rule; - } - return $result; + final result = create(); + if (ruleId != null) result.ruleId = ruleId; + if (message != null) result.message = message; + if (forKey != null) result.forKey = forKey; + if (field_5 != null) result.field_5 = field_5; + if (rule != null) result.rule = rule; + return result; } - Violation._() : super(); - factory Violation.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Violation.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Violation._(); + + factory Violation.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Violation.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'buf.validate'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'constraintId') + ..aOS(2, _omitFieldNames ? '' : 'ruleId') ..aOS(3, _omitFieldNames ? '' : 'message') ..aOB(4, _omitFieldNames ? '' : 'forKey') ..aOM(5, _omitFieldNames ? '' : 'field', @@ -7277,20 +6587,18 @@ class Violation extends $pb.GeneratedMessage { subBuilder: FieldPath.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Violation clone() => Violation()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Violation copyWith(void Function(Violation) updates) => super.copyWith((message) => updates(message as Violation)) as Violation; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Violation create() => Violation._(); + @$core.override Violation createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -7298,29 +6606,23 @@ class Violation extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Violation? _defaultInstance; - /// `constraint_id` is the unique identifier of the `Constraint` that was not fulfilled. - /// This is the same `id` that was specified in the `Constraint` message, allowing easy tracing of which rule was violated. + /// `rule_id` is the unique identifier of the `Rule` that was not fulfilled. + /// This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated. @$pb.TagNumber(2) - $core.String get constraintId => $_getSZ(0); + $core.String get ruleId => $_getSZ(0); @$pb.TagNumber(2) - set constraintId($core.String v) { - $_setString(0, v); - } - + set ruleId($core.String value) => $_setString(0, value); @$pb.TagNumber(2) - $core.bool hasConstraintId() => $_has(0); + $core.bool hasRuleId() => $_has(0); @$pb.TagNumber(2) - void clearConstraintId() => $_clearField(2); + void clearRuleId() => $_clearField(2); /// `message` is a human-readable error message that describes the nature of the violation. - /// This can be the default error message from the violated `Constraint`, or it can be a custom message that gives more context about the violation. + /// This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation. @$pb.TagNumber(3) $core.String get message => $_getSZ(1); @$pb.TagNumber(3) - set message($core.String v) { - $_setString(1, v); - } - + set message($core.String value) => $_setString(1, value); @$pb.TagNumber(3) $core.bool hasMessage() => $_has(1); @$pb.TagNumber(3) @@ -7330,41 +6632,35 @@ class Violation extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get forKey => $_getBF(2); @$pb.TagNumber(4) - set forKey($core.bool v) { - $_setBool(2, v); - } - + set forKey($core.bool value) => $_setBool(2, value); @$pb.TagNumber(4) $core.bool hasForKey() => $_has(2); @$pb.TagNumber(4) void clearForKey() => $_clearField(4); - /// `field` is a machine-readable path to the field that failed validation. - /// This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation. + /// `field` is a machine-readable path to the field that failed validation. + /// This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation. /// - /// For example, consider the following message: + /// For example, consider the following message: /// - /// ```proto - /// message Message { - /// bool a = 1 [(buf.validate.field).required = true]; - /// } - /// ``` + /// ```proto + /// message Message { + /// bool a = 1 [(buf.validate.field).required = true]; + /// } + /// ``` /// - /// It could produce the following violation: + /// It could produce the following violation: /// - /// ```textproto - /// violation { - /// field { element { field_number: 1, field_name: "a", field_type: 8 } } - /// ... - /// } - /// ``` + /// ```textproto + /// violation { + /// field { element { field_number: 1, field_name: "a", field_type: 8 } } + /// ... + /// } + /// ``` @$pb.TagNumber(5) FieldPath get field_5 => $_getN(3); @$pb.TagNumber(5) - set field_5(FieldPath v) { - $_setField(5, v); - } - + set field_5(FieldPath value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasField_5() => $_has(3); @$pb.TagNumber(5) @@ -7372,41 +6668,38 @@ class Violation extends $pb.GeneratedMessage { @$pb.TagNumber(5) FieldPath ensureField_5() => $_ensure(3); - /// `rule` is a machine-readable path that points to the specific constraint rule that failed validation. - /// This will be a nested field starting from the FieldConstraints of the field that failed validation. - /// For custom constraints, this will provide the path of the constraint, e.g. `cel[0]`. + /// `rule` is a machine-readable path that points to the specific rule that failed validation. + /// This will be a nested field starting from the FieldRules of the field that failed validation. + /// For custom rules, this will provide the path of the rule, e.g. `cel[0]`. /// - /// For example, consider the following message: + /// For example, consider the following message: /// - /// ```proto - /// message Message { - /// bool a = 1 [(buf.validate.field).required = true]; - /// bool b = 2 [(buf.validate.field).cel = { - /// id: "custom_constraint", - /// expression: "!this ? 'b must be true': ''" - /// }] - /// } - /// ``` + /// ```proto + /// message Message { + /// bool a = 1 [(buf.validate.field).required = true]; + /// bool b = 2 [(buf.validate.field).cel = { + /// id: "custom_rule", + /// expression: "!this ? 'b must be true': ''" + /// }] + /// } + /// ``` /// - /// It could produce the following violations: + /// It could produce the following violations: /// - /// ```textproto - /// violation { - /// rule { element { field_number: 25, field_name: "required", field_type: 8 } } - /// ... - /// } - /// violation { - /// rule { element { field_number: 23, field_name: "cel", field_type: 11, index: 0 } } - /// ... - /// } - /// ``` + /// ```textproto + /// violation { + /// rule { element { field_number: 25, field_name: "required", field_type: 8 } } + /// ... + /// } + /// violation { + /// rule { element { field_number: 23, field_name: "cel", field_type: 11, index: 0 } } + /// ... + /// } + /// ``` @$pb.TagNumber(6) FieldPath get rule => $_getN(4); @$pb.TagNumber(6) - set rule(FieldPath v) { - $_setField(6, v); - } - + set rule(FieldPath value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasRule() => $_has(4); @$pb.TagNumber(6) @@ -7415,27 +6708,27 @@ class Violation extends $pb.GeneratedMessage { FieldPath ensureRule() => $_ensure(4); } -/// `FieldPath` provides a path to a nested protobuf field. +/// `FieldPath` provides a path to a nested protobuf field. /// -/// This message provides enough information to render a dotted field path even without protobuf descriptors. -/// It also provides enough information to resolve a nested field through unknown wire data. +/// This message provides enough information to render a dotted field path even without protobuf descriptors. +/// It also provides enough information to resolve a nested field through unknown wire data. class FieldPath extends $pb.GeneratedMessage { factory FieldPath({ $core.Iterable? elements, }) { - final $result = create(); - if (elements != null) { - $result.elements.addAll(elements); - } - return $result; + final result = create(); + if (elements != null) result.elements.addAll(elements); + return result; } - FieldPath._() : super(); - factory FieldPath.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldPath.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FieldPath._(); + + factory FieldPath.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldPath.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldPath', @@ -7446,20 +6739,18 @@ class FieldPath extends $pb.GeneratedMessage { subBuilder: FieldPathElement.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldPath clone() => FieldPath()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldPath copyWith(void Function(FieldPath) updates) => super.copyWith((message) => updates(message as FieldPath)) as FieldPath; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldPath create() => FieldPath._(); + @$core.override FieldPath createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -7481,64 +6772,46 @@ enum FieldPathElement_Subscript { notSet } -/// `FieldPathElement` provides enough information to nest through a single protobuf field. +/// `FieldPathElement` provides enough information to nest through a single protobuf field. /// -/// If the selected field is a map or repeated field, the `subscript` value selects a specific element from it. -/// A path that refers to a value nested under a map key or repeated field index will have a `subscript` value. -/// The `field_type` field allows unambiguous resolution of a field even if descriptors are not available. +/// If the selected field is a map or repeated field, the `subscript` value selects a specific element from it. +/// A path that refers to a value nested under a map key or repeated field index will have a `subscript` value. +/// The `field_type` field allows unambiguous resolution of a field even if descriptors are not available. class FieldPathElement extends $pb.GeneratedMessage { factory FieldPathElement({ $core.int? fieldNumber, $core.String? fieldName, - $10.FieldDescriptorProto_Type? fieldType, - $10.FieldDescriptorProto_Type? keyType, - $10.FieldDescriptorProto_Type? valueType, + $2.FieldDescriptorProto_Type? fieldType, + $2.FieldDescriptorProto_Type? keyType, + $2.FieldDescriptorProto_Type? valueType, $fixnum.Int64? index, $core.bool? boolKey, $fixnum.Int64? intKey, $fixnum.Int64? uintKey, $core.String? stringKey, }) { - final $result = create(); - if (fieldNumber != null) { - $result.fieldNumber = fieldNumber; - } - if (fieldName != null) { - $result.fieldName = fieldName; - } - if (fieldType != null) { - $result.fieldType = fieldType; - } - if (keyType != null) { - $result.keyType = keyType; - } - if (valueType != null) { - $result.valueType = valueType; - } - if (index != null) { - $result.index = index; - } - if (boolKey != null) { - $result.boolKey = boolKey; - } - if (intKey != null) { - $result.intKey = intKey; - } - if (uintKey != null) { - $result.uintKey = uintKey; - } - if (stringKey != null) { - $result.stringKey = stringKey; - } - return $result; - } - FieldPathElement._() : super(); - factory FieldPathElement.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldPathElement.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (fieldNumber != null) result.fieldNumber = fieldNumber; + if (fieldName != null) result.fieldName = fieldName; + if (fieldType != null) result.fieldType = fieldType; + if (keyType != null) result.keyType = keyType; + if (valueType != null) result.valueType = valueType; + if (index != null) result.index = index; + if (boolKey != null) result.boolKey = boolKey; + if (intKey != null) result.intKey = intKey; + if (uintKey != null) result.uintKey = uintKey; + if (stringKey != null) result.stringKey = stringKey; + return result; + } + + FieldPathElement._(); + + factory FieldPathElement.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldPathElement.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, FieldPathElement_Subscript> _FieldPathElement_SubscriptByTag = { @@ -7556,21 +6829,21 @@ class FieldPathElement extends $pb.GeneratedMessage { ..oo(0, [6, 7, 8, 9, 10]) ..a<$core.int>(1, _omitFieldNames ? '' : 'fieldNumber', $pb.PbFieldType.O3) ..aOS(2, _omitFieldNames ? '' : 'fieldName') - ..e<$10.FieldDescriptorProto_Type>( + ..e<$2.FieldDescriptorProto_Type>( 3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, - defaultOrMaker: $10.FieldDescriptorProto_Type.TYPE_DOUBLE, - valueOf: $10.FieldDescriptorProto_Type.valueOf, - enumValues: $10.FieldDescriptorProto_Type.values) - ..e<$10.FieldDescriptorProto_Type>( + defaultOrMaker: $2.FieldDescriptorProto_Type.TYPE_DOUBLE, + valueOf: $2.FieldDescriptorProto_Type.valueOf, + enumValues: $2.FieldDescriptorProto_Type.values) + ..e<$2.FieldDescriptorProto_Type>( 4, _omitFieldNames ? '' : 'keyType', $pb.PbFieldType.OE, - defaultOrMaker: $10.FieldDescriptorProto_Type.TYPE_DOUBLE, - valueOf: $10.FieldDescriptorProto_Type.valueOf, - enumValues: $10.FieldDescriptorProto_Type.values) - ..e<$10.FieldDescriptorProto_Type>( + defaultOrMaker: $2.FieldDescriptorProto_Type.TYPE_DOUBLE, + valueOf: $2.FieldDescriptorProto_Type.valueOf, + enumValues: $2.FieldDescriptorProto_Type.values) + ..e<$2.FieldDescriptorProto_Type>( 5, _omitFieldNames ? '' : 'valueType', $pb.PbFieldType.OE, - defaultOrMaker: $10.FieldDescriptorProto_Type.TYPE_DOUBLE, - valueOf: $10.FieldDescriptorProto_Type.valueOf, - enumValues: $10.FieldDescriptorProto_Type.values) + defaultOrMaker: $2.FieldDescriptorProto_Type.TYPE_DOUBLE, + valueOf: $2.FieldDescriptorProto_Type.valueOf, + enumValues: $2.FieldDescriptorProto_Type.values) ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'index', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(7, _omitFieldNames ? '' : 'boolKey') @@ -7580,21 +6853,19 @@ class FieldPathElement extends $pb.GeneratedMessage { ..aOS(10, _omitFieldNames ? '' : 'stringKey') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldPathElement clone() => FieldPathElement()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldPathElement copyWith(void Function(FieldPathElement) updates) => super.copyWith((message) => updates(message as FieldPathElement)) as FieldPathElement; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldPathElement create() => FieldPathElement._(); + @$core.override FieldPathElement createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -7611,10 +6882,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get fieldNumber => $_getIZ(0); @$pb.TagNumber(1) - set fieldNumber($core.int v) { - $_setSignedInt32(0, v); - } - + set fieldNumber($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasFieldNumber() => $_has(0); @$pb.TagNumber(1) @@ -7625,32 +6893,26 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get fieldName => $_getSZ(1); @$pb.TagNumber(2) - set fieldName($core.String v) { - $_setString(1, v); - } - + set fieldName($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasFieldName() => $_has(1); @$pb.TagNumber(2) void clearFieldName() => $_clearField(2); - /// `field_type` specifies the type of this field. When using reflection, this value is not needed. + /// `field_type` specifies the type of this field. When using reflection, this value is not needed. /// - /// This value is provided to make it possible to traverse unknown fields through wire data. - /// When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes. + /// This value is provided to make it possible to traverse unknown fields through wire data. + /// When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes. /// - /// [1]: https://protobuf.dev/programming-guides/encoding/#packed - /// [2]: https://protobuf.dev/programming-guides/encoding/#groups + /// [1]: https://protobuf.dev/programming-guides/encoding/#packed + /// [2]: https://protobuf.dev/programming-guides/encoding/#groups /// - /// N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and - /// can be explicitly used in Protocol Buffers 2023 Edition. + /// N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and + /// can be explicitly used in Protocol Buffers 2023 Edition. @$pb.TagNumber(3) - $10.FieldDescriptorProto_Type get fieldType => $_getN(2); + $2.FieldDescriptorProto_Type get fieldType => $_getN(2); @$pb.TagNumber(3) - set fieldType($10.FieldDescriptorProto_Type v) { - $_setField(3, v); - } - + set fieldType($2.FieldDescriptorProto_Type value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasFieldType() => $_has(2); @$pb.TagNumber(3) @@ -7660,12 +6922,9 @@ class FieldPathElement extends $pb.GeneratedMessage { /// unknown fields through wire data: specifically, it allows handling the differences between /// different integer encodings. @$pb.TagNumber(4) - $10.FieldDescriptorProto_Type get keyType => $_getN(3); + $2.FieldDescriptorProto_Type get keyType => $_getN(3); @$pb.TagNumber(4) - set keyType($10.FieldDescriptorProto_Type v) { - $_setField(4, v); - } - + set keyType($2.FieldDescriptorProto_Type value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasKeyType() => $_has(3); @$pb.TagNumber(4) @@ -7674,12 +6933,9 @@ class FieldPathElement extends $pb.GeneratedMessage { /// `value_type` specifies map value type of this field. This is useful if you want to display a /// value inside unknown fields through wire data. @$pb.TagNumber(5) - $10.FieldDescriptorProto_Type get valueType => $_getN(4); + $2.FieldDescriptorProto_Type get valueType => $_getN(4); @$pb.TagNumber(5) - set valueType($10.FieldDescriptorProto_Type v) { - $_setField(5, v); - } - + set valueType($2.FieldDescriptorProto_Type value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasValueType() => $_has(4); @$pb.TagNumber(5) @@ -7689,10 +6945,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get index => $_getI64(5); @$pb.TagNumber(6) - set index($fixnum.Int64 v) { - $_setInt64(5, v); - } - + set index($fixnum.Int64 value) => $_setInt64(5, value); @$pb.TagNumber(6) $core.bool hasIndex() => $_has(5); @$pb.TagNumber(6) @@ -7702,10 +6955,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.bool get boolKey => $_getBF(6); @$pb.TagNumber(7) - set boolKey($core.bool v) { - $_setBool(6, v); - } - + set boolKey($core.bool value) => $_setBool(6, value); @$pb.TagNumber(7) $core.bool hasBoolKey() => $_has(6); @$pb.TagNumber(7) @@ -7715,10 +6965,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(8) $fixnum.Int64 get intKey => $_getI64(7); @$pb.TagNumber(8) - set intKey($fixnum.Int64 v) { - $_setInt64(7, v); - } - + set intKey($fixnum.Int64 value) => $_setInt64(7, value); @$pb.TagNumber(8) $core.bool hasIntKey() => $_has(7); @$pb.TagNumber(8) @@ -7728,10 +6975,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(9) $fixnum.Int64 get uintKey => $_getI64(8); @$pb.TagNumber(9) - set uintKey($fixnum.Int64 v) { - $_setInt64(8, v); - } - + set uintKey($fixnum.Int64 value) => $_setInt64(8, value); @$pb.TagNumber(9) $core.bool hasUintKey() => $_has(8); @$pb.TagNumber(9) @@ -7741,10 +6985,7 @@ class FieldPathElement extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get stringKey => $_getSZ(9); @$pb.TagNumber(10) - set stringKey($core.String v) { - $_setString(9, v); - } - + set stringKey($core.String value) => $_setString(9, value); @$pb.TagNumber(10) $core.bool hasStringKey() => $_has(9); @$pb.TagNumber(10) @@ -7752,34 +6993,34 @@ class FieldPathElement extends $pb.GeneratedMessage { } class Validate { - static final message = $pb.Extension( + static final message = $pb.Extension( _omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'message', 1159, $pb.PbFieldType.OM, - defaultOrMaker: MessageConstraints.getDefault, - subBuilder: MessageConstraints.create); - static final oneof = $pb.Extension( + defaultOrMaker: MessageRules.getDefault, + subBuilder: MessageRules.create); + static final oneof = $pb.Extension( _omitMessageNames ? '' : 'google.protobuf.OneofOptions', _omitFieldNames ? '' : 'oneof', 1159, $pb.PbFieldType.OM, - defaultOrMaker: OneofConstraints.getDefault, - subBuilder: OneofConstraints.create); - static final field_1159 = $pb.Extension( + defaultOrMaker: OneofRules.getDefault, + subBuilder: OneofRules.create); + static final field_1159 = $pb.Extension( _omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'field_1159', 1159, $pb.PbFieldType.OM, - defaultOrMaker: FieldConstraints.getDefault, - subBuilder: FieldConstraints.create); - static final predefined = $pb.Extension( + defaultOrMaker: FieldRules.getDefault, + subBuilder: FieldRules.create); + static final predefined = $pb.Extension( _omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'predefined', 1160, $pb.PbFieldType.OM, - defaultOrMaker: PredefinedConstraints.getDefault, - subBuilder: PredefinedConstraints.create); + defaultOrMaker: PredefinedRules.getDefault, + subBuilder: PredefinedRules.create); static void registerAllExtensions($pb.ExtensionRegistry registry) { registry.add(message); registry.add(oneof); @@ -7788,6 +7029,7 @@ class Validate { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbenum.dart b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbenum.dart index 8e56a44b4..7d1183ca5 100644 --- a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbenum.dart @@ -1,182 +1,124 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: buf/validate/validate.proto -// +// Generated from buf/validate/validate.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; -/// Specifies how FieldConstraints.ignore behaves. See the documentation for -/// FieldConstraints.required for definitions of "populated" and "nullable". +/// Specifies how `FieldRules.ignore` behaves, depending on the field's value, and +/// whether the field tracks presence. class Ignore extends $pb.ProtobufEnum { - /// Validation is only skipped if it's an unpopulated nullable fields. - /// - /// ```proto - /// syntax="proto3"; - /// - /// message Request { - /// // The uri rule applies to any value, including the empty string. - /// string foo = 1 [ - /// (buf.validate.field).string.uri = true - /// ]; - /// - /// // The uri rule only applies if the field is set, including if it's - /// // set to the empty string. - /// optional string bar = 2 [ - /// (buf.validate.field).string.uri = true - /// ]; - /// - /// // The min_items rule always applies, even if the list is empty. - /// repeated string baz = 3 [ - /// (buf.validate.field).repeated.min_items = 3 - /// ]; - /// - /// // The custom CEL rule applies only if the field is set, including if - /// // it's the "zero" value of that message. - /// SomeMessage quux = 4 [ - /// (buf.validate.field).cel = {/* ... */} - /// ]; - /// } - /// ``` + /// Ignore rules if the field tracks presence and is unset. This is the default + /// behavior. + /// + /// In proto3, only message fields, members of a Protobuf `oneof`, and fields + /// with the `optional` label track presence. Consequently, the following fields + /// are always validated, whether a value is set or not: + /// + /// ```proto + /// syntax="proto3"; + /// + /// message RulesApply { + /// string email = 1 [ + /// (buf.validate.field).string.email = true + /// ]; + /// int32 age = 2 [ + /// (buf.validate.field).int32.gt = 0 + /// ]; + /// repeated string labels = 3 [ + /// (buf.validate.field).repeated.min_items = 1 + /// ]; + /// } + /// ``` + /// + /// In contrast, the following fields track presence, and are only validated if + /// a value is set: + /// + /// ```proto + /// syntax="proto3"; + /// + /// message RulesApplyIfSet { + /// optional string email = 1 [ + /// (buf.validate.field).string.email = true + /// ]; + /// oneof ref { + /// string reference = 2 [ + /// (buf.validate.field).string.uuid = true + /// ]; + /// string name = 3 [ + /// (buf.validate.field).string.min_len = 4 + /// ]; + /// } + /// SomeMessage msg = 4 [ + /// (buf.validate.field).cel = {/* ... */} + /// ]; + /// } + /// ``` + /// + /// To ensure that such a field is set, add the `required` rule. + /// + /// To learn which fields track presence, see the + /// [Field Presence cheat sheet](https://protobuf.dev/programming-guides/field_presence/#cheat). static const Ignore IGNORE_UNSPECIFIED = Ignore._(0, _omitEnumNames ? '' : 'IGNORE_UNSPECIFIED'); - /// Validation is skipped if the field is unpopulated. This rule is redundant - /// if the field is already nullable. - /// - /// ```proto - /// syntax="proto3 - /// - /// message Request { - /// // The uri rule applies only if the value is not the empty string. - /// string foo = 1 [ - /// (buf.validate.field).string.uri = true, - /// (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED - /// ]; - /// - /// // IGNORE_IF_UNPOPULATED is equivalent to IGNORE_UNSPECIFIED in this - /// // case: the uri rule only applies if the field is set, including if - /// // it's set to the empty string. - /// optional string bar = 2 [ - /// (buf.validate.field).string.uri = true, - /// (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED - /// ]; - /// - /// // The min_items rule only applies if the list has at least one item. - /// repeated string baz = 3 [ - /// (buf.validate.field).repeated.min_items = 3, - /// (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED - /// ]; - /// - /// // IGNORE_IF_UNPOPULATED is equivalent to IGNORE_UNSPECIFIED in this - /// // case: the custom CEL rule applies only if the field is set, including - /// // if it's the "zero" value of that message. - /// SomeMessage quux = 4 [ - /// (buf.validate.field).cel = {/* ... */}, - /// (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED - /// ]; - /// } - /// ``` - static const Ignore IGNORE_IF_UNPOPULATED = - Ignore._(1, _omitEnumNames ? '' : 'IGNORE_IF_UNPOPULATED'); - - /// Validation is skipped if the field is unpopulated or if it is a nullable - /// field populated with its default value. This is typically the zero or - /// empty value, but proto2 scalars support custom defaults. For messages, the - /// default is a non-null message with all its fields unpopulated. - /// - /// ```proto - /// syntax="proto3 - /// - /// message Request { - /// // IGNORE_IF_DEFAULT_VALUE is equivalent to IGNORE_IF_UNPOPULATED in - /// // this case; the uri rule applies only if the value is not the empty - /// // string. - /// string foo = 1 [ - /// (buf.validate.field).string.uri = true, - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE - /// ]; - /// - /// // The uri rule only applies if the field is set to a value other than - /// // the empty string. - /// optional string bar = 2 [ - /// (buf.validate.field).string.uri = true, - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE - /// ]; - /// - /// // IGNORE_IF_DEFAULT_VALUE is equivalent to IGNORE_IF_UNPOPULATED in - /// // this case; the min_items rule only applies if the list has at least - /// // one item. - /// repeated string baz = 3 [ - /// (buf.validate.field).repeated.min_items = 3, - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE - /// ]; - /// - /// // The custom CEL rule only applies if the field is set to a value other - /// // than an empty message (i.e., fields are unpopulated). - /// SomeMessage quux = 4 [ - /// (buf.validate.field).cel = {/* ... */}, - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE - /// ]; - /// } - /// ``` - /// - /// This rule is affected by proto2 custom default values: - /// - /// ```proto - /// syntax="proto2"; - /// - /// message Request { - /// // The gt rule only applies if the field is set and it's value is not - /// the default (i.e., not -42). The rule even applies if the field is set - /// to zero since the default value differs. - /// optional int32 value = 1 [ - /// default = -42, - /// (buf.validate.field).int32.gt = 0, - /// (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE - /// ]; - /// } - static const Ignore IGNORE_IF_DEFAULT_VALUE = - Ignore._(2, _omitEnumNames ? '' : 'IGNORE_IF_DEFAULT_VALUE'); - - /// The validation rules of this field will be skipped and not evaluated. This - /// is useful for situations that necessitate turning off the rules of a field - /// containing a message that may not make sense in the current context, or to - /// temporarily disable constraints during development. - /// - /// ```proto - /// message MyMessage { - /// // The field's rules will always be ignored, including any validation's - /// // on value's fields. - /// MyOtherMessage value = 1 [ - /// (buf.validate.field).ignore = IGNORE_ALWAYS]; - /// } - /// ``` + /// Ignore rules if the field is unset, or set to the zero value. + /// + /// The zero value depends on the field type: + /// - For strings, the zero value is the empty string. + /// - For bytes, the zero value is empty bytes. + /// - For bool, the zero value is false. + /// - For numeric types, the zero value is zero. + /// - For enums, the zero value is the first defined enum value. + /// - For repeated fields, the zero is an empty list. + /// - For map fields, the zero is an empty map. + /// - For message fields, absence of the message (typically a null-value) is considered zero value. + /// + /// For fields that track presence (e.g. adding the `optional` label in proto3), + /// this a no-op and behavior is the same as the default `IGNORE_UNSPECIFIED`. + static const Ignore IGNORE_IF_ZERO_VALUE = + Ignore._(1, _omitEnumNames ? '' : 'IGNORE_IF_ZERO_VALUE'); + + /// Always ignore rules, including the `required` rule. + /// + /// This is useful for ignoring the rules of a referenced message, or to + /// temporarily ignore rules during development. + /// + /// ```proto + /// message MyMessage { + /// // The field's rules will always be ignored, including any validations + /// // on value's fields. + /// MyOtherMessage value = 1 [ + /// (buf.validate.field).ignore = IGNORE_ALWAYS]; + /// } + /// ``` static const Ignore IGNORE_ALWAYS = Ignore._(3, _omitEnumNames ? '' : 'IGNORE_ALWAYS'); static const $core.List values = [ IGNORE_UNSPECIFIED, - IGNORE_IF_UNPOPULATED, - IGNORE_IF_DEFAULT_VALUE, + IGNORE_IF_ZERO_VALUE, IGNORE_ALWAYS, ]; - static final $core.Map<$core.int, Ignore> _byValue = - $pb.ProtobufEnum.initByValue(values); - static Ignore? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static Ignore? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const Ignore._(super.v, super.n); + const Ignore._(super.value, super.name); } -/// WellKnownRegex contain some well-known patterns. +/// KnownRegex contains some well-known patterns. class KnownRegex extends $pb.ProtobufEnum { static const KnownRegex KNOWN_REGEX_UNSPECIFIED = KnownRegex._(0, _omitEnumNames ? '' : 'KNOWN_REGEX_UNSPECIFIED'); @@ -195,11 +137,13 @@ class KnownRegex extends $pb.ProtobufEnum { KNOWN_REGEX_HTTP_HEADER_VALUE, ]; - static final $core.Map<$core.int, KnownRegex> _byValue = - $pb.ProtobufEnum.initByValue(values); - static KnownRegex? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static KnownRegex? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const KnownRegex._(super.v, super.n); + const KnownRegex._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbjson.dart b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbjson.dart index f32d4b6d9..bd261454a 100644 --- a/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/buf/validate/validate.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: buf/validate/validate.proto -// +// Generated from buf/validate/validate.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -18,18 +19,25 @@ const Ignore$json = { '1': 'Ignore', '2': [ {'1': 'IGNORE_UNSPECIFIED', '2': 0}, - {'1': 'IGNORE_IF_UNPOPULATED', '2': 1}, - {'1': 'IGNORE_IF_DEFAULT_VALUE', '2': 2}, + {'1': 'IGNORE_IF_ZERO_VALUE', '2': 1}, {'1': 'IGNORE_ALWAYS', '2': 3}, ], - '5': ['IGNORE_EMPTYIGNORE_DEFAULT'], + '4': [ + {'1': 2, '2': 2}, + ], + '5': [ + 'IGNORE_EMPTY', + 'IGNORE_DEFAULT', + 'IGNORE_IF_DEFAULT_VALUE', + 'IGNORE_IF_UNPOPULATED' + ], }; /// Descriptor for `Ignore`. Decode as a `google.protobuf.EnumDescriptorProto`. final $typed_data.Uint8List ignoreDescriptor = $convert.base64Decode( - 'CgZJZ25vcmUSFgoSSUdOT1JFX1VOU1BFQ0lGSUVEEAASGQoVSUdOT1JFX0lGX1VOUE9QVUxBVE' - 'VEEAESGwoXSUdOT1JFX0lGX0RFRkFVTFRfVkFMVUUQAhIRCg1JR05PUkVfQUxXQVlTEAMqGklH' - 'Tk9SRV9FTVBUWUlHTk9SRV9ERUZBVUxU'); + 'CgZJZ25vcmUSFgoSSUdOT1JFX1VOU1BFQ0lGSUVEEAASGAoUSUdOT1JFX0lGX1pFUk9fVkFMVU' + 'UQARIRCg1JR05PUkVfQUxXQVlTEAMiBAgCEAIqDElHTk9SRV9FTVBUWSoOSUdOT1JFX0RFRkFV' + 'TFQqF0lHTk9SRV9JRl9ERUZBVUxUX1ZBTFVFKhVJR05PUkVfSUZfVU5QT1BVTEFURUQ='); @$core.Deprecated('Use knownRegexDescriptor instead') const KnownRegex$json = { @@ -46,9 +54,9 @@ final $typed_data.Uint8List knownRegexDescriptor = $convert.base64Decode( 'CgpLbm93blJlZ2V4EhsKF0tOT1dOX1JFR0VYX1VOU1BFQ0lGSUVEEAASIAocS05PV05fUkVHRV' 'hfSFRUUF9IRUFERVJfTkFNRRABEiEKHUtOT1dOX1JFR0VYX0hUVFBfSEVBREVSX1ZBTFVFEAI='); -@$core.Deprecated('Use constraintDescriptor instead') -const Constraint$json = { - '1': 'Constraint', +@$core.Deprecated('Use ruleDescriptor instead') +const Rule$json = { + '1': 'Rule', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, @@ -56,54 +64,80 @@ const Constraint$json = { ], }; -/// Descriptor for `Constraint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List constraintDescriptor = $convert.base64Decode( - 'CgpDb25zdHJhaW50Eg4KAmlkGAEgASgJUgJpZBIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEh' - '4KCmV4cHJlc3Npb24YAyABKAlSCmV4cHJlc3Npb24='); +/// Descriptor for `Rule`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List ruleDescriptor = $convert.base64Decode( + 'CgRSdWxlEg4KAmlkGAEgASgJUgJpZBIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEh4KCmV4cH' + 'Jlc3Npb24YAyABKAlSCmV4cHJlc3Npb24='); -@$core.Deprecated('Use messageConstraintsDescriptor instead') -const MessageConstraints$json = { - '1': 'MessageConstraints', +@$core.Deprecated('Use messageRulesDescriptor instead') +const MessageRules$json = { + '1': 'MessageRules', '2': [ - {'1': 'disabled', '3': 1, '4': 1, '5': 8, '10': 'disabled'}, { '1': 'cel', '3': 3, '4': 3, '5': 11, - '6': '.buf.validate.Constraint', + '6': '.buf.validate.Rule', '10': 'cel' }, + { + '1': 'oneof', + '3': 4, + '4': 3, + '5': 11, + '6': '.buf.validate.MessageOneofRule', + '10': 'oneof' + }, + ], + '9': [ + {'1': 1, '2': 2}, ], + '10': ['disabled'], }; -/// Descriptor for `MessageConstraints`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List messageConstraintsDescriptor = $convert.base64Decode( - 'ChJNZXNzYWdlQ29uc3RyYWludHMSGgoIZGlzYWJsZWQYASABKAhSCGRpc2FibGVkEioKA2NlbB' - 'gDIAMoCzIYLmJ1Zi52YWxpZGF0ZS5Db25zdHJhaW50UgNjZWw='); +/// Descriptor for `MessageRules`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List messageRulesDescriptor = $convert.base64Decode( + 'CgxNZXNzYWdlUnVsZXMSJAoDY2VsGAMgAygLMhIuYnVmLnZhbGlkYXRlLlJ1bGVSA2NlbBI0Cg' + 'VvbmVvZhgEIAMoCzIeLmJ1Zi52YWxpZGF0ZS5NZXNzYWdlT25lb2ZSdWxlUgVvbmVvZkoECAEQ' + 'AlIIZGlzYWJsZWQ='); -@$core.Deprecated('Use oneofConstraintsDescriptor instead') -const OneofConstraints$json = { - '1': 'OneofConstraints', +@$core.Deprecated('Use messageOneofRuleDescriptor instead') +const MessageOneofRule$json = { + '1': 'MessageOneofRule', + '2': [ + {'1': 'fields', '3': 1, '4': 3, '5': 9, '10': 'fields'}, + {'1': 'required', '3': 2, '4': 1, '5': 8, '10': 'required'}, + ], +}; + +/// Descriptor for `MessageOneofRule`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List messageOneofRuleDescriptor = $convert.base64Decode( + 'ChBNZXNzYWdlT25lb2ZSdWxlEhYKBmZpZWxkcxgBIAMoCVIGZmllbGRzEhoKCHJlcXVpcmVkGA' + 'IgASgIUghyZXF1aXJlZA=='); + +@$core.Deprecated('Use oneofRulesDescriptor instead') +const OneofRules$json = { + '1': 'OneofRules', '2': [ {'1': 'required', '3': 1, '4': 1, '5': 8, '10': 'required'}, ], }; -/// Descriptor for `OneofConstraints`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List oneofConstraintsDescriptor = $convert.base64Decode( - 'ChBPbmVvZkNvbnN0cmFpbnRzEhoKCHJlcXVpcmVkGAEgASgIUghyZXF1aXJlZA=='); +/// Descriptor for `OneofRules`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneofRulesDescriptor = $convert + .base64Decode('CgpPbmVvZlJ1bGVzEhoKCHJlcXVpcmVkGAEgASgIUghyZXF1aXJlZA=='); -@$core.Deprecated('Use fieldConstraintsDescriptor instead') -const FieldConstraints$json = { - '1': 'FieldConstraints', +@$core.Deprecated('Use fieldRulesDescriptor instead') +const FieldRules$json = { + '1': 'FieldRules', '2': [ { '1': 'cel', '3': 23, '4': 3, '5': 11, - '6': '.buf.validate.Constraint', + '6': '.buf.validate.Rule', '10': 'cel' }, {'1': 'required', '3': 25, '4': 1, '5': 8, '10': 'required'}, @@ -315,43 +349,43 @@ const FieldConstraints$json = { '10': ['skipped', 'ignore_empty'], }; -/// Descriptor for `FieldConstraints`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fieldConstraintsDescriptor = $convert.base64Decode( - 'ChBGaWVsZENvbnN0cmFpbnRzEioKA2NlbBgXIAMoCzIYLmJ1Zi52YWxpZGF0ZS5Db25zdHJhaW' - '50UgNjZWwSGgoIcmVxdWlyZWQYGSABKAhSCHJlcXVpcmVkEiwKBmlnbm9yZRgbIAEoDjIULmJ1' - 'Zi52YWxpZGF0ZS5JZ25vcmVSBmlnbm9yZRIwCgVmbG9hdBgBIAEoCzIYLmJ1Zi52YWxpZGF0ZS' - '5GbG9hdFJ1bGVzSABSBWZsb2F0EjMKBmRvdWJsZRgCIAEoCzIZLmJ1Zi52YWxpZGF0ZS5Eb3Vi' - 'bGVSdWxlc0gAUgZkb3VibGUSMAoFaW50MzIYAyABKAsyGC5idWYudmFsaWRhdGUuSW50MzJSdW' - 'xlc0gAUgVpbnQzMhIwCgVpbnQ2NBgEIAEoCzIYLmJ1Zi52YWxpZGF0ZS5JbnQ2NFJ1bGVzSABS' - 'BWludDY0EjMKBnVpbnQzMhgFIAEoCzIZLmJ1Zi52YWxpZGF0ZS5VSW50MzJSdWxlc0gAUgZ1aW' - '50MzISMwoGdWludDY0GAYgASgLMhkuYnVmLnZhbGlkYXRlLlVJbnQ2NFJ1bGVzSABSBnVpbnQ2' - 'NBIzCgZzaW50MzIYByABKAsyGS5idWYudmFsaWRhdGUuU0ludDMyUnVsZXNIAFIGc2ludDMyEj' - 'MKBnNpbnQ2NB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lSgQIGBAZSgQIGhAbUgdza2lwcGVkUg' - 'xpZ25vcmVfZW1wdHk='); - -@$core.Deprecated('Use predefinedConstraintsDescriptor instead') -const PredefinedConstraints$json = { - '1': 'PredefinedConstraints', +/// Descriptor for `FieldRules`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fieldRulesDescriptor = $convert.base64Decode( + 'CgpGaWVsZFJ1bGVzEiQKA2NlbBgXIAMoCzISLmJ1Zi52YWxpZGF0ZS5SdWxlUgNjZWwSGgoIcm' + 'VxdWlyZWQYGSABKAhSCHJlcXVpcmVkEiwKBmlnbm9yZRgbIAEoDjIULmJ1Zi52YWxpZGF0ZS5J' + 'Z25vcmVSBmlnbm9yZRIwCgVmbG9hdBgBIAEoCzIYLmJ1Zi52YWxpZGF0ZS5GbG9hdFJ1bGVzSA' + 'BSBWZsb2F0EjMKBmRvdWJsZRgCIAEoCzIZLmJ1Zi52YWxpZGF0ZS5Eb3VibGVSdWxlc0gAUgZk' + 'b3VibGUSMAoFaW50MzIYAyABKAsyGC5idWYudmFsaWRhdGUuSW50MzJSdWxlc0gAUgVpbnQzMh' + 'IwCgVpbnQ2NBgEIAEoCzIYLmJ1Zi52YWxpZGF0ZS5JbnQ2NFJ1bGVzSABSBWludDY0EjMKBnVp' + 'bnQzMhgFIAEoCzIZLmJ1Zi52YWxpZGF0ZS5VSW50MzJSdWxlc0gAUgZ1aW50MzISMwoGdWludD' + 'Y0GAYgASgLMhkuYnVmLnZhbGlkYXRlLlVJbnQ2NFJ1bGVzSABSBnVpbnQ2NBIzCgZzaW50MzIY' + 'ByABKAsyGS5idWYudmFsaWRhdGUuU0ludDMyUnVsZXNIAFIGc2ludDMyEjMKBnNpbnQ2NBgIIA' + 'EoCzIZLmJ1Zi52YWxpZGF0ZS5TSW50NjRSdWxlc0gAUgZzaW50NjQSNgoHZml4ZWQzMhgJIAEo' + 'CzIaLmJ1Zi52YWxpZGF0ZS5GaXhlZDMyUnVsZXNIAFIHZml4ZWQzMhI2CgdmaXhlZDY0GAogAS' + 'gLMhouYnVmLnZhbGlkYXRlLkZpeGVkNjRSdWxlc0gAUgdmaXhlZDY0EjkKCHNmaXhlZDMyGAsg' + 'ASgLMhsuYnVmLnZhbGlkYXRlLlNGaXhlZDMyUnVsZXNIAFIIc2ZpeGVkMzISOQoIc2ZpeGVkNj' + 'QYDCABKAsyGy5idWYudmFsaWRhdGUuU0ZpeGVkNjRSdWxlc0gAUghzZml4ZWQ2NBItCgRib29s' + 'GA0gASgLMhcuYnVmLnZhbGlkYXRlLkJvb2xSdWxlc0gAUgRib29sEjMKBnN0cmluZxgOIAEoCz' + 'IZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlc0gAUgZzdHJpbmcSMAoFYnl0ZXMYDyABKAsyGC5i' + 'dWYudmFsaWRhdGUuQnl0ZXNSdWxlc0gAUgVieXRlcxItCgRlbnVtGBAgASgLMhcuYnVmLnZhbG' + 'lkYXRlLkVudW1SdWxlc0gAUgRlbnVtEjkKCHJlcGVhdGVkGBIgASgLMhsuYnVmLnZhbGlkYXRl' + 'LlJlcGVhdGVkUnVsZXNIAFIIcmVwZWF0ZWQSKgoDbWFwGBMgASgLMhYuYnVmLnZhbGlkYXRlLk' + '1hcFJ1bGVzSABSA21hcBIqCgNhbnkYFCABKAsyFi5idWYudmFsaWRhdGUuQW55UnVsZXNIAFID' + 'YW55EjkKCGR1cmF0aW9uGBUgASgLMhsuYnVmLnZhbGlkYXRlLkR1cmF0aW9uUnVsZXNIAFIIZH' + 'VyYXRpb24SPAoJdGltZXN0YW1wGBYgASgLMhwuYnVmLnZhbGlkYXRlLlRpbWVzdGFtcFJ1bGVz' + 'SABSCXRpbWVzdGFtcEIGCgR0eXBlSgQIGBAZSgQIGhAbUgdza2lwcGVkUgxpZ25vcmVfZW1wdH' + 'k='); + +@$core.Deprecated('Use predefinedRulesDescriptor instead') +const PredefinedRules$json = { + '1': 'PredefinedRules', '2': [ { '1': 'cel', '3': 1, '4': 3, '5': 11, - '6': '.buf.validate.Constraint', + '6': '.buf.validate.Rule', '10': 'cel' }, ], @@ -359,13 +393,13 @@ const PredefinedConstraints$json = { {'1': 24, '2': 25}, {'1': 26, '2': 27}, ], - '10': ['skippedignore_empty'], + '10': ['skipped', 'ignore_empty'], }; -/// Descriptor for `PredefinedConstraints`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List predefinedConstraintsDescriptor = $convert.base64Decode( - 'ChVQcmVkZWZpbmVkQ29uc3RyYWludHMSKgoDY2VsGAEgAygLMhguYnVmLnZhbGlkYXRlLkNvbn' - 'N0cmFpbnRSA2NlbEoECBgQGUoECBoQG1ITc2tpcHBlZGlnbm9yZV9lbXB0eQ=='); +/// Descriptor for `PredefinedRules`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List predefinedRulesDescriptor = $convert.base64Decode( + 'Cg9QcmVkZWZpbmVkUnVsZXMSJAoDY2VsGAEgAygLMhIuYnVmLnZhbGlkYXRlLlJ1bGVSA2NlbE' + 'oECBgQGUoECBoQG1IHc2tpcHBlZFIMaWdub3JlX2VtcHR5'); @$core.Deprecated('Use floatRulesDescriptor instead') const FloatRules$json = { @@ -392,61 +426,62 @@ const FloatRules$json = { /// Descriptor for `FloatRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List floatRulesDescriptor = $convert.base64Decode( - 'CgpGbG9hdFJ1bGVzEnAKBWNvbnN0GAEgASgCQlrCSFcKVQoLZmxvYXQuY29uc3QaRnRoaXMgIT' - '0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0KFtydWxlcy5jb25z' - 'dF0pIDogJydSBWNvbnN0EqMBCgJsdBgCIAEoAkKQAcJIjAEKiQEKCGZsb2F0Lmx0Gn0haGFzKH' - 'J1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgKHRoaXMuaXNOYW4oKSB8fCB0aGlzID49' - 'IHJ1bGVzLmx0KT8g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ABaGFzKHJ1bGVzLmx0ZSkgJiYgcnVsZXMubHRlIDwgcnVsZXMuZ3RlICYmICh0aGlzLmlz' + 'TmFuKCkgfHwgKHJ1bGVzLmx0ZSA8IHRoaXMgJiYgdGhpcyA8IHJ1bGVzLmd0ZSkpPyAndmFsdW' + 'UgbXVzdCBiZSBncmVhdGVyIHRoYW4gb3IgZXF1YWwgdG8gJXMgb3IgbGVzcyB0aGFuIG9yIGVx' + 'dWFsIHRvICVzJy5mb3JtYXQoW3J1bGVzLmd0ZSwgcnVsZXMubHRlXSkgOiAnJ0gBUgNndGUSgw' + 'EKAmluGAYgAygCQnPCSHAKbgoIZmxvYXQuaW4aYiEodGhpcyBpbiBnZXRGaWVsZChydWxlcywg' + 'J2luJykpID8gJ3ZhbHVlIG11c3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtnZXRGaWVsZChydW' + 'xlcywgJ2luJyldKSA6ICcnUgJpbhJ9CgZub3RfaW4YByADKAJCZsJIYwphCgxmbG9hdC5ub3Rf' + 'aW4aUXRoaXMgaW4gcnVsZXMubm90X2luID8gJ3ZhbHVlIG11c3Qgbm90IGJlIGluIGxpc3QgJX' + 'MnLmZvcm1hdChbcnVsZXMubm90X2luXSkgOiAnJ1IFbm90SW4SfQoGZmluaXRlGAggASgIQmXC' + 'SGIKYAoMZmxvYXQuZmluaXRlGlBydWxlcy5maW5pdGUgPyAodGhpcy5pc05hbigpIHx8IHRoaX' + 'MuaXNJbmYoKSA/ICd2YWx1ZSBtdXN0IGJlIGZpbml0ZScgOiAnJykgOiAnJ1IGZmluaXRlEjQK' + 'B2V4YW1wbGUYCSADKAJCGsJIFwoVCg1mbG9hdC5leGFtcGxlGgR0cnVlUgdleGFtcGxlKgkI6A' + 'cQgICAgAJCCwoJbGVzc190aGFuQg4KDGdyZWF0ZXJfdGhhbg=='); @$core.Deprecated('Use doubleRulesDescriptor instead') const DoubleRules$json = { @@ -473,62 +508,62 @@ const DoubleRules$json = { /// Descriptor for `DoubleRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List doubleRulesDescriptor = $convert.base64Decode( - 'CgtEb3VibGVSdWxlcxJxCgVjb25zdBgBIAEoAUJbwkhYClYKDGRvdWJsZS5jb25zdBpGdGhpcy' - 'AhPSBydWxlcy5jb25zdCA/ICd2YWx1ZSBtdXN0IGVxdWFsICVzJy5mb3JtYXQoW3J1bGVzLmNv' - 'bnN0XSkgOiAnJ1IFY29uc3QSpAEKAmx0GAIgASgBQpEBwkiNAQqKAQoJZG91YmxlLmx0Gn0haG' - 'FzKHJ1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgKHRoaXMuaXNOYW4oKSB8fCB0aGlz' - 'ID49IHJ1bGVzLmx0KT8gJ3ZhbHVlIG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bG' - 'VzLmx0XSkgOiAnJ0gAUgJsdBK1AQoDbHRlGAMgASgBQqABwkicAQqZAQoKZG91YmxlLmx0ZRqK' - 'ASFoYXMocnVsZXMuZ3RlKSAmJiAhaGFzKHJ1bGVzLmd0KSAmJiAodGhpcy5pc05hbigpIHx8IH' - 'RoaXMgPiBydWxlcy5sdGUpPyAndmFsdWUgbXVzdCBiZSBsZXNzIHRoYW4gb3IgZXF1YWwgdG8g' - 'JXMnLmZvcm1hdChbcnVsZXMubHRlXSkgOiAnJ0gAUgNsdGUS+AcKAmd0GAQgASgBQuUHwkjhBw' - 'qOAQoJZG91YmxlLmd0GoABIWhhcyhydWxlcy5sdCkgJiYgIWhhcyhydWxlcy5sdGUpICYmICh0' - 'aGlzLmlzTmFuKCkgfHwgdGhpcyA8PSBydWxlcy5ndCk/ICd2YWx1ZSBtdXN0IGJlIGdyZWF0ZX' - 'IgdGhhbiAlcycuZm9ybWF0KFtydWxlcy5ndF0pIDogJycKxAEKDGRvdWJsZS5ndF9sdBqzAWhh' - 'cyhydWxlcy5sdCkgJiYgcnVsZXMubHQgPj0gcnVsZXMuZ3QgJiYg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pbml0ZRgIIAEoCEJmwkhjCmEKDWRvdWJsZS5maW5pdGUaUHJ1bGVzLmZpbml0ZSA/ICh0aG' + 'lzLmlzTmFuKCkgfHwgdGhpcy5pc0luZigpID8gJ3ZhbHVlIG11c3QgYmUgZmluaXRlJyA6ICcn' + 'KSA6ICcnUgZmaW5pdGUSNQoHZXhhbXBsZRgJIAMoAUIbwkgYChYKDmRvdWJsZS5leGFtcGxlGg' + 'R0cnVlUgdleGFtcGxlKgkI6AcQgICAgAJCCwoJbGVzc190aGFuQg4KDGdyZWF0ZXJfdGhhbg=='); @$core.Deprecated('Use int32RulesDescriptor instead') const Int32Rules$json = { @@ -554,55 +589,56 @@ const Int32Rules$json = { /// Descriptor for `Int32Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List int32RulesDescriptor = $convert.base64Decode( - 'CgpJbnQzMlJ1bGVzEnAKBWNvbnN0GAEgASgFQlrCSFcKVQoLaW50MzIuY29uc3QaRnRoaXMgIT' - '0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0KFtydWxlcy5jb25z' - 'dF0pIDogJydSBWNvbnN0Eo4BCgJsdBgCIAEoBUJ8wkh5CncKCGludDMyLmx0GmshaGFzKHJ1bG' - 'VzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8gJ3ZhbHVlIG11' - 'c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUgJsdBKhAQoDbH' - 'RlGAMgASgFQowBwkiIAQqFAQoJaW50MzIubHRlGnghaGFzKHJ1bGVzLmd0ZSkgJiYgIWhhcyhy' - 'dWxlcy5ndCkgJiYgdGhpcyA+IHJ1bGVzLmx0ZT8gJ3ZhbHVlIG11c3QgYmUgbGVzcyB0aGFuIG' - '9yIGVxdWFsIHRvICVzJy5mb3JtYXQoW3J1bGVzLmx0ZV0pIDogJydIAF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X2V4Y2x1c2l2ZRq+AWhhcyhydWxlcy5sdGUpICYmIHJ1bGVzLmx0' + 'ZSA8IHJ1bGVzLmd0ZSAmJiAocnVsZXMubHRlIDwgdGhpcyAmJiB0aGlzIDwgcnVsZXMuZ3RlKT' + '8gJ3ZhbHVlIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRvICVzIG9yIGxlc3MgdGhh' + 'biBvciBlcXVhbCB0byAlcycuZm9ybWF0KFtydWxlcy5ndGUsIHJ1bGVzLmx0ZV0pIDogJydIAV' + 'IDZ3RlEoMBCgJpbhgGIAMoBUJzwkhwCm4KCGludDMyLmluGmIhKHRoaXMgaW4gZ2V0RmllbGQo' + 'cnVsZXMsICdpbicpKSA/ICd2YWx1ZSBtdXN0IGJlIGluIGxpc3QgJXMnLmZvcm1hdChbZ2V0Rm' + 'llbGQocnVsZXMsICdpbicpXSkgOiAnJ1ICaW4SfQoGbm90X2luGAcgAygFQmbCSGMKYQoMaW50' + 'MzIubm90X2luGlF0aGlzIGluIHJ1bGVzLm5vdF9pbiA/ICd2YWx1ZSBtdXN0IG5vdCBiZSBpbi' + 'BsaXN0ICVzJy5mb3JtYXQoW3J1bGVzLm5vdF9pbl0pIDogJydSBW5vdEluEjQKB2V4YW1wbGUY' + 'CCADKAVCGsJIFwoVCg1pbnQzMi5leGFtcGxlGgR0cnVlUgdleGFtcGxlKgkI6AcQgICAgAJCCw' + 'oJbGVzc190aGFuQg4KDGdyZWF0ZXJfdGhhbg=='); @$core.Deprecated('Use int64RulesDescriptor instead') const Int64Rules$json = { @@ -628,55 +664,56 @@ const Int64Rules$json = { /// Descriptor for `Int64Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List int64RulesDescriptor = $convert.base64Decode( - 'CgpJbnQ2NFJ1bGVzEnAKBWNvbnN0GAEgASgDQlrCSFcKVQoLaW50NjQuY29uc3QaRnRoaXMgIT' - '0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBl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aGlzIGluIHJ1bGVzLm5vdF9pbiA/ICd2YWx1ZSBtdXN0IG5vdCBiZSBpbi' + 'BsaXN0ICVzJy5mb3JtYXQoW3J1bGVzLm5vdF9pbl0pIDogJydSBW5vdEluEjQKB2V4YW1wbGUY' + 'CSADKANCGsJIFwoVCg1pbnQ2NC5leGFtcGxlGgR0cnVlUgdleGFtcGxlKgkI6AcQgICAgAJCCw' + 'oJbGVzc190aGFuQg4KDGdyZWF0ZXJfdGhhbg=='); @$core.Deprecated('Use uInt32RulesDescriptor instead') const UInt32Rules$json = { @@ -702,56 +739,56 @@ const UInt32Rules$json = { /// Descriptor for `UInt32Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List uInt32RulesDescriptor = $convert.base64Decode( - 'CgtVSW50MzJSdWxlcxJxCgVjb25zdBgBIAEoDUJbwkhYClYKDHVpbnQzMi5jb25zdBpGdGhpcy' - 'AhPSBydWxlcy5jb25zdCA/ICd2YWx1ZSBtdXN0IGVxdWFsICVzJy5mb3JtYXQoW3J1bGVzLmNv' - 'bnN0XSkgOiAnJ1IFY29uc3QSjwEKAmx0GAIgASgNQn3CSHoKeAoJdWludDMyLmx0GmshaGFzKH' - 'J1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8gJ3ZhbHVl' - 'IG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUgJsdBKiAQ' - 'oDbHRlGAMgASgNQo0BwkiJAQqGAQoKdWludDMyLmx0ZRp4IWhhcyhydWxlcy5ndGUpICYmICFo' - 'YXMocnVsZXMuZ3QpICYmIHRoaXMgPiBydWxlcy5sdGU/ICd2YWx1ZSBtdXN0IGJlIGxlc3MgdG' - 'hhbiBvciBlcXVhbCB0byAlcycuZm9ybWF0KFtydWxlcy5sdGVdKSA6ICcnSABSA2x0ZRKgBwoC' - 'Z3QYBCABKA1CjQfCSIkHCnsK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oYdWludDMyLmd0ZV9sdGVfZXhjbHVzaXZlGr4BaGFzKHJ1bGVzLmx0' + 'ZSkgJiYgcnVsZXMubHRlIDwgcnVsZXMuZ3RlICYmIChydWxlcy5sdGUgPCB0aGlzICYmIHRoaX' + 'MgPCBydWxlcy5ndGUpPyAndmFsdWUgbXVzdCBiZSBncmVhdGVyIHRoYW4gb3IgZXF1YWwgdG8g' + 'JXMgb3IgbGVzcyB0aGFuIG9yIGVxdWFsIHRvICVzJy5mb3JtYXQoW3J1bGVzLmd0ZSwgcnVsZX' + 'MubHRlXSkgOiAnJ0gBUgNndGUShAEKAmluGAYgAygNQnTCSHEKbwoJdWludDMyLmluGmIhKHRo' + 'aXMgaW4gZ2V0RmllbGQocnVsZXMsICdpbicpKSA/ICd2YWx1ZSBtdXN0IGJlIGluIGxpc3QgJX' + 'MnLmZvcm1hdChbZ2V0RmllbGQocnVsZXMsICdpbicpXSkgOiAnJ1ICaW4SfgoGbm90X2luGAcg' + 'AygNQmfCSGQKYgoNdWludDMyLm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdW' + 'UgbXVzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVu' + 'b3RJbhI1CgdleGFtcGxlGAggAygNQhvCSBgKFgoOdWludDMyLmV4YW1wbGUaBHRydWVSB2V4YW' + '1wbGUqCQjoBxCAgICAAkILCglsZXNzX3RoYW5CDgoMZ3JlYXRlcl90aGFu'); @$core.Deprecated('Use uInt64RulesDescriptor instead') const UInt64Rules$json = { @@ -777,56 +814,56 @@ const UInt64Rules$json = { /// Descriptor for `UInt64Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List uInt64RulesDescriptor = $convert.base64Decode( - 'CgtVSW50NjRSdWxlcxJxCgVjb25zdBgBIAEoBEJbwkhYClYKDHVpbnQ2NC5jb25zdBpGdGhpcy' - 'AhPSBydWxlcy5jb25zdCA/ICd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OiAnJ1ICaW4SfgoGbm90X2luGAcg' + 'AygEQmfCSGQKYgoNdWludDY0Lm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdW' + 'UgbXVzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVu' + 'b3RJbhI1CgdleGFtcGxlGAggAygEQhvCSBgKFgoOdWludDY0LmV4YW1wbGUaBHRydWVSB2V4YW' + '1wbGUqCQjoBxCAgICAAkILCglsZXNzX3RoYW5CDgoMZ3JlYXRlcl90aGFu'); @$core.Deprecated('Use sInt32RulesDescriptor instead') const SInt32Rules$json = { @@ -852,56 +889,56 @@ const SInt32Rules$json = { /// Descriptor for `SInt32Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List sInt32RulesDescriptor = $convert.base64Decode( - 'CgtTSW50MzJSdWxlcxJxCgVjb25zdBgBIAEoEUJbwkhYClYKDHNpbnQzMi5jb25zdBpGdGhpcy' - 'AhPSBydWxlcy5jb25zdCA/ICd2YWx1ZSBtdXN0IGVxdWFsICVzJy5mb3JtYXQoW3J1bGVzLmNv' - 'bnN0XSkgOiAnJ1IFY29uc3QSjwEKAmx0GAIgASgRQn3CSHoKeAoJc2ludDMyLmx0GmshaGFzKH' - 'J1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8gJ3ZhbHVl' - 'IG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUgJsdBKiAQ' - 'oDbHRlGAMgASgRQo0BwkiJAQqGAQoKc2ludDMyLmx0ZRp4IWhhcyhydWxlcy5ndGUpICYmICFo' - 'YXMocnVsZXMuZ3QpICYmIHRoaXMgPiBydWxlcy5sdGU/ICd2YWx1ZSBtdXN0IGJlIGxlc3MgdG' - 'hhbiBvciBlcXVhbCB0byAlcycuZm9ybWF0KFtydWxl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dWFsIHRvICVzJy5mb3JtYXQoW3J1bGVzLmd0ZSwgcnVsZX' + 'MubHRlXSkgOiAnJwrbAQoYc2ludDMyLmd0ZV9sdGVfZXhjbHVzaXZlGr4BaGFzKHJ1bGVzLmx0' + 'ZSkgJiYgcnVsZXMubHRlIDwgcnVsZXMuZ3RlICYmIChydWxlcy5sdGUgPCB0aGlzICYmIHRoaX' + 'MgPCBydWxlcy5ndGUpPyAndmFsdWUgbXVzdCBiZSBncmVhdGVyIHRoYW4gb3IgZXF1YWwgdG8g' + 'JXMgb3IgbGVzcyB0aGFuIG9yIGVxdWFsIHRvICVzJy5mb3JtYXQoW3J1bGVzLmd0ZSwgcnVsZX' + 'MubHRlXSkgOiAnJ0gBUgNndGUShAEKAmluGAYgAygRQnTCSHEKbwoJc2ludDMyLmluGmIhKHRo' + 'aXMgaW4gZ2V0RmllbGQocnVsZXMsICdpbicpKSA/ICd2YWx1ZSBtdXN0IGJlIGluIGxpc3QgJX' + 'MnLmZvcm1hdChbZ2V0RmllbGQocnVsZXMsICdpbicpXSkgOiAnJ1ICaW4SfgoGbm90X2luGAcg' + 'AygRQmfCSGQKYgoNc2ludDMyLm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdW' + 'UgbXVzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVu' + 'b3RJbhI1CgdleGFtcGxlGAggAygRQhvCSBgKFgoOc2ludDMyLmV4YW1wbGUaBHRydWVSB2V4YW' + '1wbGUqCQjoBxCAgICAAkILCglsZXNzX3RoYW5CDgoMZ3JlYXRlcl90aGFu'); @$core.Deprecated('Use sInt64RulesDescriptor instead') const SInt64Rules$json = { @@ -927,56 +964,56 @@ const SInt64Rules$json = { /// Descriptor for `SInt64Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List sInt64RulesDescriptor = $convert.base64Decode( - 'CgtTSW50NjRSdWxlcxJxCgVjb25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MsICdpbicpKSA/ICd2YWx1ZSBtdXN0IGJlIGluIGxpc3QgJX' + 'MnLmZvcm1hdChbZ2V0RmllbGQocnVsZXMsICdpbicpXSkgOiAnJ1ICaW4SfgoGbm90X2luGAcg' + 'AygSQmfCSGQKYgoNc2ludDY0Lm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdW' + 'UgbXVzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVu' + 'b3RJbhI1CgdleGFtcGxlGAggAygSQhvCSBgKFgoOc2ludDY0LmV4YW1wbGUaBHRydWVSB2V4YW' + '1wbGUqCQjoBxCAgICAAkILCglsZXNzX3RoYW5CDgoMZ3JlYXRlcl90aGFu'); @$core.Deprecated('Use fixed32RulesDescriptor instead') const Fixed32Rules$json = { @@ -1002,56 +1039,57 @@ const Fixed32Rules$json = { /// Descriptor for `Fixed32Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List fixed32RulesDescriptor = $convert.base64Decode( - 'CgxGaXhlZDMyUnVsZXMScgoFY29uc3QYASABKAdCXMJIWQpXCg1maXhlZDMyLmNvbnN0GkZ0aG' - 'lzICE9IHJ1bGVzLmNvbnN0ID8gJ3ZhbHVlIG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMu' - 'Y29uc3RdKSA6ICcnUgVjb25zdBKQAQoCbHQYAiABKAdCfsJIewp5CgpmaXhlZDMyLmx0GmshaG' - 'FzKHJ1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8gJ3Zh' - 'bHVlIG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUgJsdB' - 'KjAQoDbHRlGAMgASgHQo4BwkiKAQqHAQoLZml4ZWQzMi5sdGUaeCFoYXMocnVsZXMuZ3RlKSAm' - 'JiAhaGFzKHJ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); @$core.Deprecated('Use fixed64RulesDescriptor instead') const Fixed64Rules$json = { @@ -1077,56 +1115,57 @@ const Fixed64Rules$json = { /// Descriptor for `Fixed64Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List fixed64RulesDescriptor = $convert.base64Decode( - 'CgxGaXhlZDY0UnVsZXMScgoFY29uc3QYASABKAZCXMJIWQpXCg1maXhlZDY0LmNvbnN0GkZ0aG' - 'lzICE9IHJ1bGVzLmNvbnN0ID8gJ3ZhbHVlIG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMu' - 'Y29uc3RdKSA6ICcnUgVjb25zdBKQAQoCbHQYAiABKAZCfsJIewp5CgpmaXhlZDY0Lmx0GmshaG' - 'FzKHJ1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8gJ3Zh' - 'bHVlIG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUgJsdB' - 'KjAQoDbHRlGAMgASgGQo4BwkiKAQqHAQoLZml4ZWQ2NC5sdGUaeCFoYXMocnVsZXMuZ3RlKSAm' - 'JiAhaGFzKHJ1bGVzLmd0KSAmJiB0aGlzID4gcnVsZXMubHRlPyAndmFsdWUgbXVzdCBiZSBsZX' - 'NzIHRoYW4gb3IgZXF1YWwgdG8gJXMnLmZvcm1hdChbcnVsZXMubHRlXSkgOiAnJ0gAUgNsdGUS' - 'pQcKAmd0GAQgASgGQpIHwkiOBwp8CgpmaXhlZDY0Lmd0Gm4haGFzKHJ1bGVzLmx0KSAmJiAhaG' - 'FzKHJ1bGVzLmx0ZSkgJiYgdGhpcyA8PSBydWxlcy5ndD8gJ3ZhbHVlIG11c3QgYmUgZ3JlYXRl' - 'ciB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmd0XSkgOiAnJwq1AQoNZml4ZWQ2NC5ndF9sdBqjAW' - 'hhcyhydWxlcy5sdCkgJiY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dXN0IGJlIGdyZWF0ZXIgdGhh' + 'biBvciBlcXVhbCB0byAlcyBvciBsZXNzIHRoYW4gb3IgZXF1YWwgdG8gJXMnLmZvcm1hdChbcn' + 'VsZXMuZ3RlLCBydWxlcy5sdGVdKSA6ICcnSAFSA2d0ZRKFAQoCaW4YBiADKAZCdcJIcgpwCgpm' + 'aXhlZDY0LmluGmIhKHRoaXMgaW4gZ2V0RmllbGQocnVsZXMsICdpbicpKSA/ICd2YWx1ZSBtdX' + 'N0IGJlIGluIGxpc3QgJXMnLmZvcm1hdChbZ2V0RmllbGQocnVsZXMsICdpbicpXSkgOiAnJ1IC' + 'aW4SfwoGbm90X2luGAcgAygGQmjCSGUKYwoOZml4ZWQ2NC5ub3RfaW4aUXRoaXMgaW4gcnVsZX' + 'Mubm90X2luID8gJ3ZhbHVlIG11c3Qgbm90IGJlIGluIGxpc3QgJXMnLmZvcm1hdChbcnVsZXMu' + 'bm90X2luXSkgOiAnJ1IFbm90SW4SNgoHZXhhbXBsZRgIIAMoBkIcwkgZChcKD2ZpeGVkNjQuZX' + 'hhbXBsZRoEdHJ1ZVIHZXhhbXBsZSoJCOgHEICAgIACQgsKCWxlc3NfdGhhbkIOCgxncmVhdGVy' + 'X3RoYW4='); @$core.Deprecated('Use sFixed32RulesDescriptor instead') const SFixed32Rules$json = { @@ -1152,56 +1191,57 @@ const SFixed32Rules$json = { /// Descriptor for `SFixed32Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List sFixed32RulesDescriptor = $convert.base64Decode( - 'Cg1TRml4ZWQzMlJ1bGVzEnMKBWNvbnN0GAEgASgPQl3CSFoKWAoOc2ZpeGVkMzIuY29uc3QaRn' - 'RoaXMgIT0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0KFtydWxl' - 'cy5jb25zdF0pIDogJydSBWNvbnN0EpEBCgJsdBgCIAEoD0J/wkh8CnoKC3NmaXhlZDMyLmx0Gm' - 'sha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0JpwkhmCmQKD3NmaXhlZDMyLm5vdF' + '9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdWUgbXVzdCBub3QgYmUgaW4gbGlzdCAl' + 'cycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVub3RJbhI3CgdleGFtcGxlGAggAygPQh' + '3CSBoKGAoQc2ZpeGVkMzIuZXhhbXBsZRoEdHJ1ZVIHZXhhbXBsZSoJCOgHEICAgIACQgsKCWxl' + 'c3NfdGhhbkIOCgxncmVhdGVyX3RoYW4='); @$core.Deprecated('Use sFixed64RulesDescriptor instead') const SFixed64Rules$json = { @@ -1227,56 +1267,57 @@ const SFixed64Rules$json = { /// Descriptor for `SFixed64Rules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List sFixed64RulesDescriptor = $convert.base64Decode( - 'Cg1TRml4ZWQ2NFJ1bGVzEnMKBWNvbnN0GAEgASgQQl3CSFoKWAoOc2ZpeGVkNjQuY29uc3QaRn' - 'RoaXMgIT0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0KFtydWxl' - 'cy5jb25zdF0pIDogJydSBWNvbnN0EpEBCgJsdBgCIAEoEEJ/wkh8CnoKC3NmaXhlZDY0Lmx0Gm' - 'shaGFzKHJ1bGVzLmd0ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+PSBydWxlcy5sdD8g' - 'J3ZhbHVlIG11c3QgYmUgbGVzcyB0aGFuICVzJy5mb3JtYXQoW3J1bGVzLmx0XSkgOiAnJ0gAUg' - 'JsdBKkAQoDbHRlGAMgASgQQo8BwkiLAQqIAQoMc2ZpeGVkNjQubHRlGnghaGFzKHJ1bGVzLmd0' - 'ZSkgJiYgIWhhcyhydWxlcy5ndCkgJiYgdGhpcyA+IHJ1bGVzLmx0ZT8gJ3ZhbHVlIG11c3QgYm' - 'UgbGVzcyB0aGFuIG9yIGVxdWFsIHRvICVzJy5mb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-1292,10 +1333,10 @@ const BoolRules$json = { /// Descriptor for `BoolRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List boolRulesDescriptor = $convert.base64Decode( - 'CglCb29sUnVsZXMSbwoFY29uc3QYASABKAhCWcJIVgpUCgpib29sLmNvbnN0GkZ0aGlzICE9IH' - 'J1bGVzLmNvbnN0ID8gJ3ZhbHVlIG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMuY29uc3Rd' - 'KSA6ICcnUgVjb25zdBIzCgdleGFtcGxlGAIgAygIQhnCSBYKFAoMYm9vbC5leGFtcGxlGgR0cn' - 'VlUgdleGFtcGxlKgkI6AcQgICAgAI='); + 'CglCb29sUnVsZXMSiQEKBWNvbnN0GAEgASgIQnPCSHAKbgoKYm9vbC5jb25zdBpgdGhpcyAhPS' + 'BnZXRGaWVsZChydWxlcywgJ2NvbnN0JykgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0' + 'KFtnZXRGaWVsZChydWxlcywgJ2NvbnN0JyldKSA6ICcnUgVjb25zdBIzCgdleGFtcGxlGAIgAy' + 'gIQhnCSBYKFAoMYm9vbC5leGFtcGxlGgR0cnVlUgdleGFtcGxlKgkI6AcQgICAgAI='); @$core.Deprecated('Use stringRulesDescriptor instead') const StringRules$json = { @@ -1426,139 +1467,139 @@ const StringRules$json = { /// Descriptor for `StringRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List stringRulesDescriptor = $convert.base64Decode( - 'CgtTdHJpbmdSdWxlcxJzCgVjb25zdBgBIAEoCUJdwkhaClgKDHN0cmluZy5jb25zdBpIdGhpcy' - 'AhPSBydWxlcy5jb25zdCA/ICd2YWx1ZSBtdXN0IGVxdWFsIGAlc2AnLmZvcm1hdChbcnVsZXMu' - 'Y29uc3RdKSA6ICcnUgVjb25zdBKDAQoDbGVuGBMgASgEQnHCSG4KbAoKc3RyaW5nLmxlbhpedW' - 'ludCh0aGlzLnNpemUoKSkgIT0gcnV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ydWxlcy53ZWxsX2tub3duX3JlZ2V4ICE9IDIgfHwgdGhpcy5tYXRjaGVzKCFoYXMocnVsZX' + 'Muc3RyaWN0KSB8fCBydWxlcy5zdHJpY3QgPydeW15cdTAwMDAtXHUwMDA4XHUwMDBBLVx1MDAx' + 'Rlx1MDA3Rl0qJCcgOideW15cdTAwMDBcdTAwMEFcdTAwMERdKiQnKUgAUg53ZWxsS25vd25SZW' + 'dleBIWCgZzdHJpY3QYGSABKAhSBnN0cmljdBI1CgdleGFtcGxlGCIgAygJQhvCSBgKFgoOc3Ry' + 'aW5nLmV4YW1wbGUaBHRydWVSB2V4YW1wbGUqCQjoBxCAgICAAkIMCgp3ZWxsX2tub3du'); @$core.Deprecated('Use bytesRulesDescriptor instead') const BytesRules$json = { @@ -1589,46 +1630,47 @@ const BytesRules$json = { /// Descriptor for `BytesRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List bytesRulesDescriptor = $convert.base64Decode( - 'CgpCeXRlc1J1bGVzEm0KBWNvbnN0GAEgASgMQlfCSFQKUgoLYnl0ZXMuY29uc3QaQ3RoaXMgIT' - '0gcnVsZXMuY29uc3QgPyAndmFsdWUgbXVzdCBiZSAleCcuZm9ybWF0KFtydWxlcy5jb25zdF0p' - 'IDogJydSBWNvbnN0En0KA2xlbhgNIAEoBEJrwkhoCmYKCWJ5dGVzLmxlbhpZdWludCh0aGlzLn' - 'NpemUoKSkgIT0gcnVsZXMubGVuID8gJ3ZhbHVlIGxlbmd0aCBtdXN0IGJlICVzIGJ5dGVzJy5m' - 'b3JtYXQoW3J1bGVzLmxlbl0pIDogJydSA2xlbhKYAQoHbWluX2xlbhgCIAEoBEJ/wkh8CnoKDW' - 'J5dGVzLm1pbl9sZW4aaXVpbnQodGhpcy5zaXplKCkpIDwgcnVsZXMubWluX2xlbiA/ICd2YWx1' - 'ZSBsZW5ndGggbXVzdCBiZSBhdCBsZWFzdCAlcyBieXRlcycuZm9ybWF0KFtydWxlcy5taW5fbG' -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pemUoKSAhPSAwSABSBGlwdjQS6wEKBG' + 'lwdjYYDCABKAhC1AHCSNABCmYKCmJ5dGVzLmlwdjYSInZhbHVlIG11c3QgYmUgYSB2YWxpZCBJ' + 'UHY2IGFkZHJlc3MaNCFydWxlcy5pcHY2IHx8IHRoaXMuc2l6ZSgpID09IDAgfHwgdGhpcy5zaX' + 'plKCkgPT0gMTYKZgoQYnl0ZXMuaXB2Nl9lbXB0eRIxdmFsdWUgaXMgZW1wdHksIHdoaWNoIGlz' + 'IG5vdCBhIHZhbGlkIElQdjYgYWRkcmVzcxofIXJ1bGVzLmlwdjYgfHwgdGhpcy5zaXplKCkgIT' + '0gMEgAUgRpcHY2EjQKB2V4YW1wbGUYDiADKAxCGsJIFwoVCg1ieXRlcy5leGFtcGxlGgR0cnVl' + 'UgdleGFtcGxlKgkI6AcQgICAgAJCDAoKd2VsbF9rbm93bg=='); @$core.Deprecated('Use enumRulesDescriptor instead') const EnumRules$json = { @@ -1647,15 +1689,16 @@ const EnumRules$json = { /// Descriptor for `EnumRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List enumRulesDescriptor = $convert.base64Decode( - 'CglFbnVtUnVsZXMSbwoFY29uc3QYASABKAVCWcJIVgpUCgplbnVtLmNvbnN0GkZ0aGlzICE9IH' - 'J1bGVzLmNvbnN0ID8gJ3ZhbHVlIG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMuY29uc3Rd' - 'KSA6ICcnUgVjb25zdBIhCgxkZWZpbmVkX29ubHkYAiABKAhSC2RlZmluZWRPbmx5EngKAmluGA' - 'MgAygFQmjCSGUKYwoHZW51bS5pbhpYISh0aGlzIGluIGR5bihydWxlcylbJ2luJ10pID8gJ3Zh' - 'bHVlIG11c3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtkeW4ocnVsZXMpWydpbiddXSkgOiAnJ1' - 'ICaW4SfAoGbm90X2luGAQgAygFQmXCSGIKYAoLZW51bS5ub3RfaW4aUXRoaXMgaW4gcnVsZXMu' - 'bm90X2luID8gJ3ZhbHVlIG11c3Qgbm90IGJlIGluIGxpc3QgJXMnLmZvcm1hdChbcnVsZXMubm' - '90X2luXSkgOiAnJ1IFbm90SW4SMwoHZXhhbXBsZRgFIAMoBUIZwkgWChQKDGVudW0uZXhhbXBs' - 'ZRoEdHJ1ZVIHZXhhbXBsZSoJCOgHEICAgIAC'); + 'CglFbnVtUnVsZXMSiQEKBWNvbnN0GAEgASgFQnPCSHAKbgoKZW51bS5jb25zdBpgdGhpcyAhPS' + 'BnZXRGaWVsZChydWxlcywgJ2NvbnN0JykgPyAndmFsdWUgbXVzdCBlcXVhbCAlcycuZm9ybWF0' + 'KFtnZXRGaWVsZChydWxlcywgJ2NvbnN0JyldKSA6ICcnUgVjb25zdBIhCgxkZWZpbmVkX29ubH' + 'kYAiABKAhSC2RlZmluZWRPbmx5EoIBCgJpbhgDIAMoBUJywkhvCm0KB2VudW0uaW4aYiEodGhp' + 'cyBpbiBnZXRGaWVsZChydWxlcywgJ2luJykpID8gJ3ZhbHVlIG11c3QgYmUgaW4gbGlzdCAlcy' + 'cuZm9ybWF0KFtnZXRGaWVsZChydWxlcywgJ2luJyldKSA6ICcnUgJpbhJ8CgZub3RfaW4YBCAD' + 'KAVCZcJIYgpgCgtlbnVtLm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdWUgbX' + 'VzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVub3RJ' + 'bhIzCgdleGFtcGxlGAUgAygFQhnCSBYKFAoMZW51bS5leGFtcGxlGgR0cnVlUgdleGFtcGxlKg' + 'kI6AcQgICAgAI='); @$core.Deprecated('Use repeatedRulesDescriptor instead') const RepeatedRules$json = { @@ -1669,7 +1712,7 @@ const RepeatedRules$json = { '3': 4, '4': 1, '5': 11, - '6': '.buf.validate.FieldConstraints', + '6': '.buf.validate.FieldRules', '10': 'items' }, ], @@ -1688,8 +1731,8 @@ final $typed_data.Uint8List repeatedRulesDescriptor = $convert.base64Decode( 'ZhbHVlIG11c3QgY29udGFpbiBubyBtb3JlIHRoYW4gJXMgaXRlbShzKScuZm9ybWF0KFtydWxl' 'cy5tYXhfaXRlbXNdKSA6ICcnUghtYXhJdGVtcxJ4CgZ1bmlxdWUYAyABKAhCYMJIXQpbCg9yZX' 'BlYXRlZC51bmlxdWUSKHJlcGVhdGVkIHZhbHVlIG11c3QgY29udGFpbiB1bmlxdWUgaXRlbXMa' - 'HiFydWxlcy51bmlxdWUgfHwgdGhpcy51bmlxdWUoKVIGdW5pcXVlEjQKBWl0ZW1zGAQgASgLMh' - '4uYnVmLnZhbGlkYXRlLkZpZWxkQ29uc3RyYWludHNSBWl0ZW1zKgkI6AcQgICAgAI='); + 'HiFydWxlcy51bmlxdWUgfHwgdGhpcy51bmlxdWUoKVIGdW5pcXVlEi4KBWl0ZW1zGAQgASgLMh' + 'guYnVmLnZhbGlkYXRlLkZpZWxkUnVsZXNSBWl0ZW1zKgkI6AcQgICAgAI='); @$core.Deprecated('Use mapRulesDescriptor instead') const MapRules$json = { @@ -1702,7 +1745,7 @@ const MapRules$json = { '3': 4, '4': 1, '5': 11, - '6': '.buf.validate.FieldConstraints', + '6': '.buf.validate.FieldRules', '10': 'keys' }, { @@ -1710,7 +1753,7 @@ const MapRules$json = { '3': 5, '4': 1, '5': 11, - '6': '.buf.validate.FieldConstraints', + '6': '.buf.validate.FieldRules', '10': 'values' }, ], @@ -1726,9 +1769,9 @@ final $typed_data.Uint8List mapRulesDescriptor = $convert.base64Decode( 'c3QgJWQgZW50cmllcycuZm9ybWF0KFtydWxlcy5taW5fcGFpcnNdKSA6ICcnUghtaW5QYWlycx' 'KYAQoJbWF4X3BhaXJzGAIgASgEQnvCSHgKdgoNbWFwLm1heF9wYWlycxpldWludCh0aGlzLnNp' 'emUoKSkgPiBydWxlcy5tYXhfcGFpcnMgPyAnbWFwIG11c3QgYmUgYXQgbW9zdCAlZCBlbnRyaW' - 'VzJy5mb3JtYXQoW3J1bGVzLm1heF9wYWlyc10pIDogJydSCG1heFBhaXJzEjIKBGtleXMYBCAB' - 'KAsyHi5idWYudmFsaWRhdGUuRmllbGRDb25zdHJhaW50c1IEa2V5cxI2CgZ2YWx1ZXMYBSABKA' - 'syHi5idWYudmFsaWRhdGUuRmllbGRDb25zdHJhaW50c1IGdmFsdWVzKgkI6AcQgICAgAI='); + 'VzJy5mb3JtYXQoW3J1bGVzLm1heF9wYWlyc10pIDogJydSCG1heFBhaXJzEiwKBGtleXMYBCAB' + 'KAsyGC5idWYudmFsaWRhdGUuRmllbGRSdWxlc1IEa2V5cxIwCgZ2YWx1ZXMYBSABKAsyGC5idW' + 'YudmFsaWRhdGUuRmllbGRSdWxlc1IGdmFsdWVzKgkI6AcQgICAgAI='); @$core.Deprecated('Use anyRulesDescriptor instead') const AnyRules$json = { @@ -1835,60 +1878,61 @@ const DurationRules$json = { /// Descriptor for `DurationRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List durationRulesDescriptor = $convert.base64Decode( - 'Cg1EdXJhdGlvblJ1bGVzEo4BCgVjb25zdBgCIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdG' - 'lvbkJdwkhaClgKDmR1cmF0aW9uLmNvbnN0GkZ0aGlzICE9IHJ1bGVzLmNvbnN0ID8gJ3ZhbHVl' - 'IG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMuY29uc3RdKSA6ICcnUgVjb25zdBKsAQoCbH' - 'QYAyABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25Cf8JIfAp6CgtkdXJhdGlvbi5sdBpr' - 'IWhhcyhydWxlcy5ndGUpICYmICFoYXMocnVsZXMuZ3QpICYmIHRoaXMgPj0gcnVsZXMubHQ/IC' - 'd2YWx1ZSBtdXN0IGJlIGxlc3MgdGhhbiAlcycuZm9ybWF0KFtydWxlcy5sdF0pIDogJydIAFIC' - 'bHQS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lcy5ndGUsIHJ1bGVzLmx0' + 'ZV0pIDogJydIAVIDZ3RlEqEBCgJpbhgHIAMoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbk' + 'J2wkhzCnEKC2R1cmF0aW9uLmluGmIhKHRoaXMgaW4gZ2V0RmllbGQocnVsZXMsICdpbicpKSA/' + 'ICd2YWx1ZSBtdXN0IGJlIGluIGxpc3QgJXMnLmZvcm1hdChbZ2V0RmllbGQocnVsZXMsICdpbi' + 'cpXSkgOiAnJ1ICaW4SmwEKBm5vdF9pbhgIIAMoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlv' + 'bkJpwkhmCmQKD2R1cmF0aW9uLm5vdF9pbhpRdGhpcyBpbiBydWxlcy5ub3RfaW4gPyAndmFsdW' + 'UgbXVzdCBub3QgYmUgaW4gbGlzdCAlcycuZm9ybWF0KFtydWxlcy5ub3RfaW5dKSA6ICcnUgVu' + 'b3RJbhJSCgdleGFtcGxlGAkgAygLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uQh3CSBoKGA' + 'oQZHVyYXRpb24uZXhhbXBsZRoEdHJ1ZVIHZXhhbXBsZSoJCOgHEICAgIACQgsKCWxlc3NfdGhh' + 'bkIOCgxncmVhdGVyX3RoYW4='); @$core.Deprecated('Use timestampRulesDescriptor instead') const TimestampRules$json = { @@ -1975,63 +2019,63 @@ const TimestampRules$json = { /// Descriptor for `TimestampRules`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List timestampRulesDescriptor = $convert.base64Decode( - 'Cg5UaW1lc3RhbXBSdWxlcxKQAQoFY29uc3QYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZX' - 'N0YW1wQl7CSFsKWQoPdGltZXN0YW1wLmNvbnN0GkZ0aGlzICE9IHJ1bGVzLmNvbnN0ID8gJ3Zh' - 'bHVlIG11c3QgZXF1YWwgJXMnLmZvcm1hdChbcnVsZXMuY29uc3RdKSA6ICcnUgVjb25zdBKvA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dKSA6ICcnUgZ3aXRoaW4SVAoHZXhhbXBsZRgKIAMoCzIaLmdvb2dsZS5wcm90b2' + 'J1Zi5UaW1lc3RhbXBCHsJIGwoZChF0aW1lc3RhbXAuZXhhbXBsZRoEdHJ1ZVIHZXhhbXBsZSoJ' + 'COgHEICAgIACQgsKCWxlc3NfdGhhbkIOCgxncmVhdGVyX3RoYW4='); @$core.Deprecated('Use violationsDescriptor instead') const Violations$json = { @@ -2073,7 +2117,7 @@ const Violation$json = { '6': '.buf.validate.FieldPath', '10': 'rule' }, - {'1': 'constraint_id', '3': 2, '4': 1, '5': 9, '10': 'constraintId'}, + {'1': 'rule_id', '3': 2, '4': 1, '5': 9, '10': 'ruleId'}, {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, {'1': 'for_key', '3': 4, '4': 1, '5': 8, '10': 'forKey'}, ], @@ -2086,9 +2130,9 @@ const Violation$json = { /// Descriptor for `Violation`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List violationDescriptor = $convert.base64Decode( 'CglWaW9sYXRpb24SLQoFZmllbGQYBSABKAsyFy5idWYudmFsaWRhdGUuRmllbGRQYXRoUgVmaW' - 'VsZBIrCgRydWxlGAYgASgLMhcuYnVmLnZhbGlkYXRlLkZpZWxkUGF0aFIEcnVsZRIjCg1jb25z' - 'dHJhaW50X2lkGAIgASgJUgxjb25zdHJhaW50SWQSGAoHbWVzc2FnZRgDIAEoCVIHbWVzc2FnZR' - 'IXCgdmb3Jfa2V5GAQgASgIUgZmb3JLZXlKBAgBEAJSCmZpZWxkX3BhdGg='); + 'VsZBIrCgRydWxlGAYgASgLMhcuYnVmLnZhbGlkYXRlLkZpZWxkUGF0aFIEcnVsZRIXCgdydWxl' + 'X2lkGAIgASgJUgZydWxlSWQSGAoHbWVzc2FnZRgDIAEoCVIHbWVzc2FnZRIXCgdmb3Jfa2V5GA' + 'QgASgIUgZmb3JLZXlKBAgBEAJSCmZpZWxkX3BhdGg='); @$core.Deprecated('Use fieldPathDescriptor instead') const FieldPath$json = { diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pb.dart index ce9a92eb4..2d4b3ea19 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pb.dart @@ -1,24 +1,24 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/authentication.proto -// +// Generated from celest/cloud/auth/v1alpha1/authentication.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../../google/protobuf/empty.pb.dart' as $1; -import '../../../../google/protobuf/struct.pb.dart' as $11; -import '../../../../google/protobuf/timestamp.pb.dart' as $9; +import '../../../../google/protobuf/struct.pb.dart' as $4; +import '../../../../google/protobuf/timestamp.pb.dart' as $2; import 'authentication.pbenum.dart'; -import 'users.pb.dart' as $2; -import 'users.pbenum.dart' as $2; +import 'users.pb.dart' as $3; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -32,42 +32,30 @@ class Session extends $pb.GeneratedMessage { $core.String? parent, $core.String? sessionId, $core.String? sessionToken, - $9.Timestamp? expireTime, + $2.Timestamp? expireTime, AuthenticationSuccess? success, AuthenticationStep? nextStep, SessionClient? client, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (sessionId != null) { - $result.sessionId = sessionId; - } - if (sessionToken != null) { - $result.sessionToken = sessionToken; - } - if (expireTime != null) { - $result.expireTime = expireTime; - } - if (success != null) { - $result.success = success; - } - if (nextStep != null) { - $result.nextStep = nextStep; - } - if (client != null) { - $result.client = client; - } - return $result; - } - Session._() : super(); - factory Session.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Session.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (parent != null) result.parent = parent; + if (sessionId != null) result.sessionId = sessionId; + if (sessionToken != null) result.sessionToken = sessionToken; + if (expireTime != null) result.expireTime = expireTime; + if (success != null) result.success = success; + if (nextStep != null) result.nextStep = nextStep; + if (client != null) result.client = client; + return result; + } + + Session._(); + + factory Session.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Session.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Session_State> _Session_StateByTag = { 5: Session_State.success, @@ -83,8 +71,8 @@ class Session extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'parent') ..aOS(2, _omitFieldNames ? '' : 'sessionId') ..aOS(3, _omitFieldNames ? '' : 'sessionToken') - ..aOM<$9.Timestamp>(4, _omitFieldNames ? '' : 'expireTime', - subBuilder: $9.Timestamp.create) + ..aOM<$2.Timestamp>(4, _omitFieldNames ? '' : 'expireTime', + subBuilder: $2.Timestamp.create) ..aOM(5, _omitFieldNames ? '' : 'success', subBuilder: AuthenticationSuccess.create) ..aOM(6, _omitFieldNames ? '' : 'nextStep', @@ -93,20 +81,18 @@ class Session extends $pb.GeneratedMessage { subBuilder: SessionClient.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Session clone() => Session()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Session copyWith(void Function(Session) updates) => super.copyWith((message) => updates(message as Session)) as Session; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Session create() => Session._(); + @$core.override Session createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -121,10 +107,7 @@ class Session extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -134,25 +117,19 @@ class Session extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get sessionId => $_getSZ(1); @$pb.TagNumber(2) - set sessionId($core.String v) { - $_setString(1, v); - } - + set sessionId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasSessionId() => $_has(1); @$pb.TagNumber(2) void clearSessionId() => $_clearField(2); - /// A token to continue the authentication operation. + /// A token to continue the authentication operation. /// - /// This token is valid for a limited time and must be passed to `ContinueSession`. + /// This token is valid for a limited time and must be passed to `ContinueSession`. @$pb.TagNumber(3) $core.String get sessionToken => $_getSZ(2); @$pb.TagNumber(3) - set sessionToken($core.String v) { - $_setString(2, v); - } - + set sessionToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasSessionToken() => $_has(2); @$pb.TagNumber(3) @@ -160,27 +137,21 @@ class Session extends $pb.GeneratedMessage { /// Required. The time the flow will expire. @$pb.TagNumber(4) - $9.Timestamp get expireTime => $_getN(3); + $2.Timestamp get expireTime => $_getN(3); @$pb.TagNumber(4) - set expireTime($9.Timestamp v) { - $_setField(4, v); - } - + set expireTime($2.Timestamp value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasExpireTime() => $_has(3); @$pb.TagNumber(4) void clearExpireTime() => $_clearField(4); @$pb.TagNumber(4) - $9.Timestamp ensureExpireTime() => $_ensure(3); + $2.Timestamp ensureExpireTime() => $_ensure(3); /// The authentication operation was successful. @$pb.TagNumber(5) AuthenticationSuccess get success => $_getN(4); @$pb.TagNumber(5) - set success(AuthenticationSuccess v) { - $_setField(5, v); - } - + set success(AuthenticationSuccess value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasSuccess() => $_has(4); @$pb.TagNumber(5) @@ -188,16 +159,13 @@ class Session extends $pb.GeneratedMessage { @$pb.TagNumber(5) AuthenticationSuccess ensureSuccess() => $_ensure(4); - /// Further action is needed to complete the authentication. + /// Further action is needed to complete the authentication. /// - /// Fill in the required fields and call `ContinueSession` with the same `session_id`. + /// Fill in the required fields and call `ContinueSession` with the same `session_id`. @$pb.TagNumber(6) AuthenticationStep get nextStep => $_getN(5); @$pb.TagNumber(6) - set nextStep(AuthenticationStep v) { - $_setField(6, v); - } - + set nextStep(AuthenticationStep value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasNextStep() => $_has(5); @$pb.TagNumber(6) @@ -209,10 +177,7 @@ class Session extends $pb.GeneratedMessage { @$pb.TagNumber(7) SessionClient get client => $_getN(6); @$pb.TagNumber(7) - set client(SessionClient v) { - $_setField(7, v); - } - + set client(SessionClient value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasClient() => $_has(6); @$pb.TagNumber(7) @@ -228,25 +193,21 @@ class SessionClient extends $pb.GeneratedMessage { ClientType? clientType, SessionCallbacks? callbacks, }) { - final $result = create(); - if (clientId != null) { - $result.clientId = clientId; - } - if (clientType != null) { - $result.clientType = clientType; - } - if (callbacks != null) { - $result.callbacks = callbacks; - } - return $result; + final result = create(); + if (clientId != null) result.clientId = clientId; + if (clientType != null) result.clientType = clientType; + if (callbacks != null) result.callbacks = callbacks; + return result; } - SessionClient._() : super(); - factory SessionClient.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SessionClient.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SessionClient._(); + + factory SessionClient.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SessionClient.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SessionClient', @@ -262,21 +223,19 @@ class SessionClient extends $pb.GeneratedMessage { subBuilder: SessionCallbacks.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionClient clone() => SessionClient()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionClient copyWith(void Function(SessionClient) updates) => super.copyWith((message) => updates(message as SessionClient)) as SessionClient; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SessionClient create() => SessionClient._(); + @$core.override SessionClient createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -289,10 +248,7 @@ class SessionClient extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get clientId => $_getSZ(0); @$pb.TagNumber(1) - set clientId($core.String v) { - $_setString(0, v); - } - + set clientId($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasClientId() => $_has(0); @$pb.TagNumber(1) @@ -302,10 +258,7 @@ class SessionClient extends $pb.GeneratedMessage { @$pb.TagNumber(2) ClientType get clientType => $_getN(1); @$pb.TagNumber(2) - set clientType(ClientType v) { - $_setField(2, v); - } - + set clientType(ClientType value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasClientType() => $_has(1); @$pb.TagNumber(2) @@ -315,10 +268,7 @@ class SessionClient extends $pb.GeneratedMessage { @$pb.TagNumber(3) SessionCallbacks get callbacks => $_getN(2); @$pb.TagNumber(3) - set callbacks(SessionCallbacks v) { - $_setField(3, v); - } - + set callbacks(SessionCallbacks value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasCallbacks() => $_has(2); @$pb.TagNumber(3) @@ -333,22 +283,20 @@ class SessionCallbacks extends $pb.GeneratedMessage { $core.String? successUri, $core.String? errorUri, }) { - final $result = create(); - if (successUri != null) { - $result.successUri = successUri; - } - if (errorUri != null) { - $result.errorUri = errorUri; - } - return $result; + final result = create(); + if (successUri != null) result.successUri = successUri; + if (errorUri != null) result.errorUri = errorUri; + return result; } - SessionCallbacks._() : super(); - factory SessionCallbacks.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SessionCallbacks.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SessionCallbacks._(); + + factory SessionCallbacks.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SessionCallbacks.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SessionCallbacks', @@ -359,21 +307,19 @@ class SessionCallbacks extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'errorUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionCallbacks clone() => SessionCallbacks()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionCallbacks copyWith(void Function(SessionCallbacks) updates) => super.copyWith((message) => updates(message as SessionCallbacks)) as SessionCallbacks; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SessionCallbacks create() => SessionCallbacks._(); + @$core.override SessionCallbacks createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -386,25 +332,19 @@ class SessionCallbacks extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get successUri => $_getSZ(0); @$pb.TagNumber(1) - set successUri($core.String v) { - $_setString(0, v); - } - + set successUri($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSuccessUri() => $_has(0); @$pb.TagNumber(1) void clearSuccessUri() => $_clearField(1); - /// Optional. The URI to redirect to upon an error. + /// Optional. The URI to redirect to upon an error. /// - /// If not provided, the user will be redirected to the success URL with an error query parameter. + /// If not provided, the user will be redirected to the success URL with an error query parameter. @$pb.TagNumber(2) $core.String get errorUri => $_getSZ(1); @$pb.TagNumber(2) - set errorUri($core.String v) { - $_setString(1, v); - } - + set errorUri($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasErrorUri() => $_has(1); @$pb.TagNumber(2) @@ -422,31 +362,23 @@ class StartSessionRequest extends $pb.GeneratedMessage { AuthenticationFactorIdp? idp, SessionClient? client, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (emailOtp != null) { - $result.emailOtp = emailOtp; - } - if (smsOtp != null) { - $result.smsOtp = smsOtp; - } - if (idp != null) { - $result.idp = idp; - } - if (client != null) { - $result.client = client; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (emailOtp != null) result.emailOtp = emailOtp; + if (smsOtp != null) result.smsOtp = smsOtp; + if (idp != null) result.idp = idp; + if (client != null) result.client = client; + return result; } - StartSessionRequest._() : super(); - factory StartSessionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StartSessionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + StartSessionRequest._(); + + factory StartSessionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory StartSessionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, StartSessionRequest_Factor> _StartSessionRequest_FactorByTag = { @@ -472,21 +404,19 @@ class StartSessionRequest extends $pb.GeneratedMessage { subBuilder: SessionClient.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StartSessionRequest clone() => StartSessionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StartSessionRequest copyWith(void Function(StartSessionRequest) updates) => super.copyWith((message) => updates(message as StartSessionRequest)) as StartSessionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StartSessionRequest create() => StartSessionRequest._(); + @$core.override StartSessionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -499,18 +429,15 @@ class StartSessionRequest extends $pb.GeneratedMessage { _StartSessionRequest_FactorByTag[$_whichOneof(0)]!; void clearFactor() => $_clearField($_whichOneof(0)); - /// Optional. The parent resource in which the authentication session will be created. + /// Optional. The parent resource in which the authentication session will be created. /// - /// If not provided, the session will be created in the root service context. + /// If not provided, the session will be created in the root service context. /// - /// Format: `organizations/{organization}` or `organizations/{organization}/projects/{project}`. + /// Format: `organizations/{organization}` or `organizations/{organization}/projects/{project}`. @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -520,10 +447,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) AuthenticationFactorEmailOtp get emailOtp => $_getN(1); @$pb.TagNumber(2) - set emailOtp(AuthenticationFactorEmailOtp v) { - $_setField(2, v); - } - + set emailOtp(AuthenticationFactorEmailOtp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEmailOtp() => $_has(1); @$pb.TagNumber(2) @@ -535,10 +459,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) AuthenticationFactorSmsOtp get smsOtp => $_getN(2); @$pb.TagNumber(3) - set smsOtp(AuthenticationFactorSmsOtp v) { - $_setField(3, v); - } - + set smsOtp(AuthenticationFactorSmsOtp value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasSmsOtp() => $_has(2); @$pb.TagNumber(3) @@ -550,10 +471,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) AuthenticationFactorIdp get idp => $_getN(3); @$pb.TagNumber(4) - set idp(AuthenticationFactorIdp v) { - $_setField(4, v); - } - + set idp(AuthenticationFactorIdp value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasIdp() => $_has(3); @$pb.TagNumber(4) @@ -565,10 +483,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) SessionClient get client => $_getN(4); @$pb.TagNumber(5) - set client(SessionClient v) { - $_setField(5, v); - } - + set client(SessionClient value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasClient() => $_has(4); @$pb.TagNumber(5) @@ -585,22 +500,21 @@ class AuthenticationStep extends $pb.GeneratedMessage { AuthenticationFactor? needsProof, AuthenticationPendingConfirmation? pendingConfirmation, }) { - final $result = create(); - if (needsProof != null) { - $result.needsProof = needsProof; - } - if (pendingConfirmation != null) { - $result.pendingConfirmation = pendingConfirmation; - } - return $result; + final result = create(); + if (needsProof != null) result.needsProof = needsProof; + if (pendingConfirmation != null) + result.pendingConfirmation = pendingConfirmation; + return result; } - AuthenticationStep._() : super(); - factory AuthenticationStep.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationStep.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationStep._(); + + factory AuthenticationStep.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationStep.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, AuthenticationStep_Step> _AuthenticationStep_StepByTag = { @@ -621,21 +535,19 @@ class AuthenticationStep extends $pb.GeneratedMessage { subBuilder: AuthenticationPendingConfirmation.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationStep clone() => AuthenticationStep()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationStep copyWith(void Function(AuthenticationStep) updates) => super.copyWith((message) => updates(message as AuthenticationStep)) as AuthenticationStep; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationStep create() => AuthenticationStep._(); + @$core.override AuthenticationStep createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -652,10 +564,7 @@ class AuthenticationStep extends $pb.GeneratedMessage { @$pb.TagNumber(3) AuthenticationFactor get needsProof => $_getN(0); @$pb.TagNumber(3) - set needsProof(AuthenticationFactor v) { - $_setField(3, v); - } - + set needsProof(AuthenticationFactor value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasNeedsProof() => $_has(0); @$pb.TagNumber(3) @@ -663,17 +572,15 @@ class AuthenticationStep extends $pb.GeneratedMessage { @$pb.TagNumber(3) AuthenticationFactor ensureNeedsProof() => $_ensure(0); - /// The authentication operation needs confirmation. + /// The authentication operation needs confirmation. /// - /// Typically this happens when no user exists with the provided identity or when the - /// provided identity matches an existing one but they are not yet linked. + /// Typically this happens when no user exists with the provided identity or when the + /// provided identity matches an existing one but they are not yet linked. @$pb.TagNumber(7) AuthenticationPendingConfirmation get pendingConfirmation => $_getN(1); @$pb.TagNumber(7) - set pendingConfirmation(AuthenticationPendingConfirmation v) { - $_setField(7, v); - } - + set pendingConfirmation(AuthenticationPendingConfirmation value) => + $_setField(7, value); @$pb.TagNumber(7) $core.bool hasPendingConfirmation() => $_has(1); @$pb.TagNumber(7) @@ -689,22 +596,20 @@ class AuthenticationFactorEmailOtp extends $pb.GeneratedMessage { $core.String? email, $core.String? code, }) { - final $result = create(); - if (email != null) { - $result.email = email; - } - if (code != null) { - $result.code = code; - } - return $result; + final result = create(); + if (email != null) result.email = email; + if (code != null) result.code = code; + return result; } - AuthenticationFactorEmailOtp._() : super(); - factory AuthenticationFactorEmailOtp.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationFactorEmailOtp.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationFactorEmailOtp._(); + + factory AuthenticationFactorEmailOtp.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationFactorEmailOtp.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AuthenticationFactorEmailOtp', @@ -715,25 +620,23 @@ class AuthenticationFactorEmailOtp extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'code') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorEmailOtp clone() => AuthenticationFactorEmailOtp()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorEmailOtp copyWith( void Function(AuthenticationFactorEmailOtp) updates) => super.copyWith( (message) => updates(message as AuthenticationFactorEmailOtp)) as AuthenticationFactorEmailOtp; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationFactorEmailOtp create() => AuthenticationFactorEmailOtp._(); + @$core.override AuthenticationFactorEmailOtp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -746,25 +649,19 @@ class AuthenticationFactorEmailOtp extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get email => $_getSZ(0); @$pb.TagNumber(1) - set email($core.String v) { - $_setString(0, v); - } - + set email($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasEmail() => $_has(0); @$pb.TagNumber(1) void clearEmail() => $_clearField(1); - /// Optional. The OTP code sent to the provided `email`. + /// Optional. The OTP code sent to the provided `email`. /// - /// Leave this field empty to send the OTP. + /// Leave this field empty to send the OTP. @$pb.TagNumber(2) $core.String get code => $_getSZ(1); @$pb.TagNumber(2) - set code($core.String v) { - $_setString(1, v); - } - + set code($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasCode() => $_has(1); @$pb.TagNumber(2) @@ -778,22 +675,20 @@ class AuthenticationFactorSmsOtp extends $pb.GeneratedMessage { $core.String? phoneNumber, $core.String? code, }) { - final $result = create(); - if (phoneNumber != null) { - $result.phoneNumber = phoneNumber; - } - if (code != null) { - $result.code = code; - } - return $result; + final result = create(); + if (phoneNumber != null) result.phoneNumber = phoneNumber; + if (code != null) result.code = code; + return result; } - AuthenticationFactorSmsOtp._() : super(); - factory AuthenticationFactorSmsOtp.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationFactorSmsOtp.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationFactorSmsOtp._(); + + factory AuthenticationFactorSmsOtp.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationFactorSmsOtp.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AuthenticationFactorSmsOtp', @@ -804,24 +699,22 @@ class AuthenticationFactorSmsOtp extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'code') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorSmsOtp clone() => AuthenticationFactorSmsOtp()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorSmsOtp copyWith( void Function(AuthenticationFactorSmsOtp) updates) => super.copyWith( (message) => updates(message as AuthenticationFactorSmsOtp)) as AuthenticationFactorSmsOtp; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationFactorSmsOtp create() => AuthenticationFactorSmsOtp._(); + @$core.override AuthenticationFactorSmsOtp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -834,25 +727,19 @@ class AuthenticationFactorSmsOtp extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get phoneNumber => $_getSZ(0); @$pb.TagNumber(1) - set phoneNumber($core.String v) { - $_setString(0, v); - } - + set phoneNumber($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasPhoneNumber() => $_has(0); @$pb.TagNumber(1) void clearPhoneNumber() => $_clearField(1); - /// Optional. The OTP code sent to the provided `phone_number`. + /// Optional. The OTP code sent to the provided `phone_number`. /// - /// Leave this field empty to send the OTP. + /// Leave this field empty to send the OTP. @$pb.TagNumber(2) $core.String get code => $_getSZ(1); @$pb.TagNumber(2) - set code($core.String v) { - $_setString(1, v); - } - + set code($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasCode() => $_has(1); @$pb.TagNumber(2) @@ -862,57 +749,53 @@ class AuthenticationFactorSmsOtp extends $pb.GeneratedMessage { /// An authentication method which uses a social provider like Google or Apple. class AuthenticationFactorIdp extends $pb.GeneratedMessage { factory AuthenticationFactorIdp({ - $2.IdentityProviderType? provider, + $3.IdentityProviderType? provider, $core.String? redirectUri, }) { - final $result = create(); - if (provider != null) { - $result.provider = provider; - } - if (redirectUri != null) { - $result.redirectUri = redirectUri; - } - return $result; + final result = create(); + if (provider != null) result.provider = provider; + if (redirectUri != null) result.redirectUri = redirectUri; + return result; } - AuthenticationFactorIdp._() : super(); - factory AuthenticationFactorIdp.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationFactorIdp.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationFactorIdp._(); + + factory AuthenticationFactorIdp.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationFactorIdp.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AuthenticationFactorIdp', package: const $pb.PackageName( _omitMessageNames ? '' : 'celest.cloud.auth.v1alpha1'), createEmptyInstance: create) - ..e<$2.IdentityProviderType>( + ..e<$3.IdentityProviderType>( 1, _omitFieldNames ? '' : 'provider', $pb.PbFieldType.OE, defaultOrMaker: - $2.IdentityProviderType.IDENTITY_PROVIDER_TYPE_UNSPECIFIED, - valueOf: $2.IdentityProviderType.valueOf, - enumValues: $2.IdentityProviderType.values) + $3.IdentityProviderType.IDENTITY_PROVIDER_TYPE_UNSPECIFIED, + valueOf: $3.IdentityProviderType.valueOf, + enumValues: $3.IdentityProviderType.values) ..aOS(2, _omitFieldNames ? '' : 'redirectUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorIdp clone() => AuthenticationFactorIdp()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactorIdp copyWith( void Function(AuthenticationFactorIdp) updates) => super.copyWith((message) => updates(message as AuthenticationFactorIdp)) as AuthenticationFactorIdp; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationFactorIdp create() => AuthenticationFactorIdp._(); + @$core.override AuthenticationFactorIdp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -923,12 +806,9 @@ class AuthenticationFactorIdp extends $pb.GeneratedMessage { /// Required. The social provider to authenticate with. @$pb.TagNumber(1) - $2.IdentityProviderType get provider => $_getN(0); + $3.IdentityProviderType get provider => $_getN(0); @$pb.TagNumber(1) - set provider($2.IdentityProviderType v) { - $_setField(1, v); - } - + set provider($3.IdentityProviderType value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasProvider() => $_has(0); @$pb.TagNumber(1) @@ -938,10 +818,7 @@ class AuthenticationFactorIdp extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get redirectUri => $_getSZ(1); @$pb.TagNumber(2) - set redirectUri($core.String v) { - $_setString(1, v); - } - + set redirectUri($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasRedirectUri() => $_has(1); @$pb.TagNumber(2) @@ -957,25 +834,21 @@ class AuthenticationFactor extends $pb.GeneratedMessage { AuthenticationFactorSmsOtp? smsOtp, AuthenticationFactorIdp? idp, }) { - final $result = create(); - if (emailOtp != null) { - $result.emailOtp = emailOtp; - } - if (smsOtp != null) { - $result.smsOtp = smsOtp; - } - if (idp != null) { - $result.idp = idp; - } - return $result; + final result = create(); + if (emailOtp != null) result.emailOtp = emailOtp; + if (smsOtp != null) result.smsOtp = smsOtp; + if (idp != null) result.idp = idp; + return result; } - AuthenticationFactor._() : super(); - factory AuthenticationFactor.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationFactor.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationFactor._(); + + factory AuthenticationFactor.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationFactor.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, AuthenticationFactor_Factor> _AuthenticationFactor_FactorByTag = { @@ -998,22 +871,20 @@ class AuthenticationFactor extends $pb.GeneratedMessage { subBuilder: AuthenticationFactorIdp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactor clone() => AuthenticationFactor()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationFactor copyWith(void Function(AuthenticationFactor) updates) => super.copyWith((message) => updates(message as AuthenticationFactor)) as AuthenticationFactor; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationFactor create() => AuthenticationFactor._(); + @$core.override AuthenticationFactor createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1030,10 +901,7 @@ class AuthenticationFactor extends $pb.GeneratedMessage { @$pb.TagNumber(3) AuthenticationFactorEmailOtp get emailOtp => $_getN(0); @$pb.TagNumber(3) - set emailOtp(AuthenticationFactorEmailOtp v) { - $_setField(3, v); - } - + set emailOtp(AuthenticationFactorEmailOtp value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasEmailOtp() => $_has(0); @$pb.TagNumber(3) @@ -1045,10 +913,7 @@ class AuthenticationFactor extends $pb.GeneratedMessage { @$pb.TagNumber(4) AuthenticationFactorSmsOtp get smsOtp => $_getN(1); @$pb.TagNumber(4) - set smsOtp(AuthenticationFactorSmsOtp v) { - $_setField(4, v); - } - + set smsOtp(AuthenticationFactorSmsOtp value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasSmsOtp() => $_has(1); @$pb.TagNumber(4) @@ -1060,10 +925,7 @@ class AuthenticationFactor extends $pb.GeneratedMessage { @$pb.TagNumber(5) AuthenticationFactorIdp get idp => $_getN(2); @$pb.TagNumber(5) - set idp(AuthenticationFactorIdp v) { - $_setField(5, v); - } - + set idp(AuthenticationFactorIdp value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasIdp() => $_has(2); @$pb.TagNumber(5) @@ -1083,31 +945,23 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { AuthenticationPendingConfirmation? confirmation, AuthenticationFactor? resend, }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - if (sessionToken != null) { - $result.sessionToken = sessionToken; - } - if (proof != null) { - $result.proof = proof; - } - if (confirmation != null) { - $result.confirmation = confirmation; - } - if (resend != null) { - $result.resend = resend; - } - return $result; + final result = create(); + if (sessionId != null) result.sessionId = sessionId; + if (sessionToken != null) result.sessionToken = sessionToken; + if (proof != null) result.proof = proof; + if (confirmation != null) result.confirmation = confirmation; + if (resend != null) result.resend = resend; + return result; } - ContinueSessionRequest._() : super(); - factory ContinueSessionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ContinueSessionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ContinueSessionRequest._(); + + factory ContinueSessionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ContinueSessionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, ContinueSessionRequest_Update> _ContinueSessionRequest_UpdateByTag = { @@ -1133,23 +987,21 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { subBuilder: AuthenticationFactor.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ContinueSessionRequest clone() => ContinueSessionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ContinueSessionRequest copyWith( void Function(ContinueSessionRequest) updates) => super.copyWith((message) => updates(message as ContinueSessionRequest)) as ContinueSessionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ContinueSessionRequest create() => ContinueSessionRequest._(); + @$core.override ContinueSessionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1166,10 +1018,7 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get sessionId => $_getSZ(0); @$pb.TagNumber(1) - set sessionId($core.String v) { - $_setString(0, v); - } - + set sessionId($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSessionId() => $_has(0); @$pb.TagNumber(1) @@ -1180,10 +1029,7 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get sessionToken => $_getSZ(1); @$pb.TagNumber(2) - set sessionToken($core.String v) { - $_setString(1, v); - } - + set sessionToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasSessionToken() => $_has(1); @$pb.TagNumber(2) @@ -1193,10 +1039,7 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) AuthenticationFactor get proof => $_getN(2); @$pb.TagNumber(3) - set proof(AuthenticationFactor v) { - $_setField(3, v); - } - + set proof(AuthenticationFactor value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasProof() => $_has(2); @$pb.TagNumber(3) @@ -1208,10 +1051,8 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) AuthenticationPendingConfirmation get confirmation => $_getN(3); @$pb.TagNumber(4) - set confirmation(AuthenticationPendingConfirmation v) { - $_setField(4, v); - } - + set confirmation(AuthenticationPendingConfirmation value) => + $_setField(4, value); @$pb.TagNumber(4) $core.bool hasConfirmation() => $_has(3); @$pb.TagNumber(4) @@ -1223,10 +1064,7 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) AuthenticationFactor get resend => $_getN(4); @$pb.TagNumber(5) - set resend(AuthenticationFactor v) { - $_setField(5, v); - } - + set resend(AuthenticationFactor value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasResend() => $_has(4); @$pb.TagNumber(5) @@ -1239,28 +1077,24 @@ class ContinueSessionRequest extends $pb.GeneratedMessage { class AuthenticationSuccess extends $pb.GeneratedMessage { factory AuthenticationSuccess({ $core.String? identityToken, - $2.User? user, + $3.User? user, $core.bool? isNewUser, }) { - final $result = create(); - if (identityToken != null) { - $result.identityToken = identityToken; - } - if (user != null) { - $result.user = user; - } - if (isNewUser != null) { - $result.isNewUser = isNewUser; - } - return $result; + final result = create(); + if (identityToken != null) result.identityToken = identityToken; + if (user != null) result.user = user; + if (isNewUser != null) result.isNewUser = isNewUser; + return result; } - AuthenticationSuccess._() : super(); - factory AuthenticationSuccess.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationSuccess.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationSuccess._(); + + factory AuthenticationSuccess.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationSuccess.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AuthenticationSuccess', @@ -1268,27 +1102,25 @@ class AuthenticationSuccess extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.auth.v1alpha1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'identityToken') - ..aOM<$2.User>(2, _omitFieldNames ? '' : 'user', subBuilder: $2.User.create) + ..aOM<$3.User>(2, _omitFieldNames ? '' : 'user', subBuilder: $3.User.create) ..aOB(3, _omitFieldNames ? '' : 'isNewUser') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationSuccess clone() => AuthenticationSuccess()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationSuccess copyWith( void Function(AuthenticationSuccess) updates) => super.copyWith((message) => updates(message as AuthenticationSuccess)) as AuthenticationSuccess; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationSuccess create() => AuthenticationSuccess._(); + @$core.override AuthenticationSuccess createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1301,10 +1133,7 @@ class AuthenticationSuccess extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get identityToken => $_getSZ(0); @$pb.TagNumber(1) - set identityToken($core.String v) { - $_setString(0, v); - } - + set identityToken($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasIdentityToken() => $_has(0); @$pb.TagNumber(1) @@ -1312,27 +1141,21 @@ class AuthenticationSuccess extends $pb.GeneratedMessage { /// The user's information. @$pb.TagNumber(2) - $2.User get user => $_getN(1); + $3.User get user => $_getN(1); @$pb.TagNumber(2) - set user($2.User v) { - $_setField(2, v); - } - + set user($3.User value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUser() => $_has(1); @$pb.TagNumber(2) void clearUser() => $_clearField(2); @$pb.TagNumber(2) - $2.User ensureUser() => $_ensure(1); + $3.User ensureUser() => $_ensure(1); /// Whether a new user was created or not. @$pb.TagNumber(3) $core.bool get isNewUser => $_getBF(2); @$pb.TagNumber(3) - set isNewUser($core.bool v) { - $_setBool(2, v); - } - + set isNewUser($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasIsNewUser() => $_has(2); @$pb.TagNumber(3) @@ -1348,25 +1171,24 @@ enum AuthenticationPendingConfirmation_Pending { /// The authentication operation needs confirmation from the user. class AuthenticationPendingConfirmation extends $pb.GeneratedMessage { factory AuthenticationPendingConfirmation({ - $2.User? linkExistingUser, - $2.User? registerUser, + $3.User? linkExistingUser, + $3.User? registerUser, }) { - final $result = create(); - if (linkExistingUser != null) { - $result.linkExistingUser = linkExistingUser; - } - if (registerUser != null) { - $result.registerUser = registerUser; - } - return $result; + final result = create(); + if (linkExistingUser != null) result.linkExistingUser = linkExistingUser; + if (registerUser != null) result.registerUser = registerUser; + return result; } - AuthenticationPendingConfirmation._() : super(); - factory AuthenticationPendingConfirmation.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory AuthenticationPendingConfirmation.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + AuthenticationPendingConfirmation._(); + + factory AuthenticationPendingConfirmation.fromBuffer( + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory AuthenticationPendingConfirmation.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, AuthenticationPendingConfirmation_Pending> _AuthenticationPendingConfirmation_PendingByTag = { @@ -1380,31 +1202,29 @@ class AuthenticationPendingConfirmation extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.auth.v1alpha1'), createEmptyInstance: create) ..oo(0, [1, 2]) - ..aOM<$2.User>(1, _omitFieldNames ? '' : 'linkExistingUser', - subBuilder: $2.User.create) - ..aOM<$2.User>(2, _omitFieldNames ? '' : 'registerUser', - subBuilder: $2.User.create) + ..aOM<$3.User>(1, _omitFieldNames ? '' : 'linkExistingUser', + subBuilder: $3.User.create) + ..aOM<$3.User>(2, _omitFieldNames ? '' : 'registerUser', + subBuilder: $3.User.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationPendingConfirmation clone() => AuthenticationPendingConfirmation()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AuthenticationPendingConfirmation copyWith( void Function(AuthenticationPendingConfirmation) updates) => super.copyWith((message) => updates(message as AuthenticationPendingConfirmation)) as AuthenticationPendingConfirmation; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AuthenticationPendingConfirmation create() => AuthenticationPendingConfirmation._(); + @$core.override AuthenticationPendingConfirmation createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1420,33 +1240,27 @@ class AuthenticationPendingConfirmation extends $pb.GeneratedMessage { /// An existing user was found with the provided identity. @$pb.TagNumber(1) - $2.User get linkExistingUser => $_getN(0); + $3.User get linkExistingUser => $_getN(0); @$pb.TagNumber(1) - set linkExistingUser($2.User v) { - $_setField(1, v); - } - + set linkExistingUser($3.User value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasLinkExistingUser() => $_has(0); @$pb.TagNumber(1) void clearLinkExistingUser() => $_clearField(1); @$pb.TagNumber(1) - $2.User ensureLinkExistingUser() => $_ensure(0); + $3.User ensureLinkExistingUser() => $_ensure(0); /// The user to be registered. @$pb.TagNumber(2) - $2.User get registerUser => $_getN(1); + $3.User get registerUser => $_getN(1); @$pb.TagNumber(2) - set registerUser($2.User v) { - $_setField(2, v); - } - + set registerUser($3.User value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasRegisterUser() => $_has(1); @$pb.TagNumber(2) void clearRegisterUser() => $_clearField(2); @$pb.TagNumber(2) - $2.User ensureRegisterUser() => $_ensure(1); + $3.User ensureRegisterUser() => $_ensure(1); } /// Request message for `EndSession` method. @@ -1455,22 +1269,20 @@ class EndSessionRequest extends $pb.GeneratedMessage { $core.String? sessionId, $core.String? sessionToken, }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - if (sessionToken != null) { - $result.sessionToken = sessionToken; - } - return $result; + final result = create(); + if (sessionId != null) result.sessionId = sessionId; + if (sessionToken != null) result.sessionToken = sessionToken; + return result; } - EndSessionRequest._() : super(); - factory EndSessionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EndSessionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EndSessionRequest._(); + + factory EndSessionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EndSessionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EndSessionRequest', @@ -1481,21 +1293,19 @@ class EndSessionRequest extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'sessionToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EndSessionRequest clone() => EndSessionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EndSessionRequest copyWith(void Function(EndSessionRequest) updates) => super.copyWith((message) => updates(message as EndSessionRequest)) as EndSessionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EndSessionRequest create() => EndSessionRequest._(); + @$core.override EndSessionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1504,32 +1314,26 @@ class EndSessionRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static EndSessionRequest? _defaultInstance; - /// Optional. The ID of the authentication session. + /// Optional. The ID of the authentication session. /// - /// If not provided, the session will be ended for the current authenticated user. + /// If not provided, the session will be ended for the current authenticated user. @$pb.TagNumber(1) $core.String get sessionId => $_getSZ(0); @$pb.TagNumber(1) - set sessionId($core.String v) { - $_setString(0, v); - } - + set sessionId($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSessionId() => $_has(0); @$pb.TagNumber(1) void clearSessionId() => $_clearField(1); - /// Optional. The session token returned from a previous `StartSession` - /// or `ContinueSession` call. + /// Optional. The session token returned from a previous `StartSession` + /// or `ContinueSession` call. /// - /// If not provided, the session will be ended for the current authenticated user. + /// If not provided, the session will be ended for the current authenticated user. @$pb.TagNumber(2) $core.String get sessionToken => $_getSZ(1); @$pb.TagNumber(2) - set sessionToken($core.String v) { - $_setString(1, v); - } - + set sessionToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasSessionToken() => $_has(1); @$pb.TagNumber(2) @@ -1545,25 +1349,21 @@ class EndSessionResponse extends $pb.GeneratedMessage { $1.Empty? success, $core.String? redirectUri, }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - if (success != null) { - $result.success = success; - } - if (redirectUri != null) { - $result.redirectUri = redirectUri; - } - return $result; + final result = create(); + if (sessionId != null) result.sessionId = sessionId; + if (success != null) result.success = success; + if (redirectUri != null) result.redirectUri = redirectUri; + return result; } - EndSessionResponse._() : super(); - factory EndSessionResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EndSessionResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EndSessionResponse._(); + + factory EndSessionResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EndSessionResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, EndSessionResponse_Result> _EndSessionResponse_ResultByTag = { @@ -1583,21 +1383,19 @@ class EndSessionResponse extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'redirectUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EndSessionResponse clone() => EndSessionResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EndSessionResponse copyWith(void Function(EndSessionResponse) updates) => super.copyWith((message) => updates(message as EndSessionResponse)) as EndSessionResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EndSessionResponse create() => EndSessionResponse._(); + @$core.override EndSessionResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1614,10 +1412,7 @@ class EndSessionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get sessionId => $_getSZ(0); @$pb.TagNumber(1) - set sessionId($core.String v) { - $_setString(0, v); - } - + set sessionId($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSessionId() => $_has(0); @$pb.TagNumber(1) @@ -1627,10 +1422,7 @@ class EndSessionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.Empty get success => $_getN(1); @$pb.TagNumber(2) - set success($1.Empty v) { - $_setField(2, v); - } - + set success($1.Empty value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasSuccess() => $_has(1); @$pb.TagNumber(2) @@ -1638,29 +1430,26 @@ class EndSessionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.Empty ensureSuccess() => $_ensure(1); - /// A final redirect URI to send the user to. + /// A final redirect URI to send the user to. /// - /// Used to clear cookies in social login flows. + /// Used to clear cookies in social login flows. @$pb.TagNumber(3) $core.String get redirectUri => $_getSZ(2); @$pb.TagNumber(3) - set redirectUri($core.String v) { - $_setString(2, v); - } - + set redirectUri($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasRedirectUri() => $_has(2); @$pb.TagNumber(3) void clearRedirectUri() => $_clearField(3); } -/// The user info of the current user. +/// The user info of the current user. /// -/// Structured to match the return value of the OIDC `/userinfo` endpoint: -/// https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse +/// Structured to match the return value of the OIDC `/userinfo` endpoint: +/// https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse /// -/// (-- api-linter: core::0123::resource-annotation=disabled -/// aip.dev/not-precedent: Not a resource. --) +/// (-- api-linter: core::0123::resource-annotation=disabled +/// aip.dev/not-precedent: Not a resource. --) class OpenIdUserinfo extends $pb.GeneratedMessage { factory OpenIdUserinfo({ $core.String? sub, @@ -1681,79 +1470,42 @@ class OpenIdUserinfo extends $pb.GeneratedMessage { $core.String? locale, $core.String? phoneNumber, $core.bool? phoneNumberVerified, - $11.Value? address, + $4.Value? address, $core.int? updatedAt, }) { - final $result = create(); - if (sub != null) { - $result.sub = sub; - } - if (name != null) { - $result.name = name; - } - if (givenName != null) { - $result.givenName = givenName; - } - if (familyName != null) { - $result.familyName = familyName; - } - if (middleName != null) { - $result.middleName = middleName; - } - if (nickname != null) { - $result.nickname = nickname; - } - if (preferredUsername != null) { - $result.preferredUsername = preferredUsername; - } - if (profile != null) { - $result.profile = profile; - } - if (picture != null) { - $result.picture = picture; - } - if (website != null) { - $result.website = website; - } - if (email != null) { - $result.email = email; - } - if (emailVerified != null) { - $result.emailVerified = emailVerified; - } - if (gender != null) { - $result.gender = gender; - } - if (birthdate != null) { - $result.birthdate = birthdate; - } - if (zoneinfo != null) { - $result.zoneinfo = zoneinfo; - } - if (locale != null) { - $result.locale = locale; - } - if (phoneNumber != null) { - $result.phoneNumber = phoneNumber; - } - if (phoneNumberVerified != null) { - $result.phoneNumberVerified = phoneNumberVerified; - } - if (address != null) { - $result.address = address; - } - if (updatedAt != null) { - $result.updatedAt = updatedAt; - } - return $result; - } - OpenIdUserinfo._() : super(); - factory OpenIdUserinfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OpenIdUserinfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (sub != null) result.sub = sub; + if (name != null) result.name = name; + if (givenName != null) result.givenName = givenName; + if (familyName != null) result.familyName = familyName; + if (middleName != null) result.middleName = middleName; + if (nickname != null) result.nickname = nickname; + if (preferredUsername != null) result.preferredUsername = preferredUsername; + if (profile != null) result.profile = profile; + if (picture != null) result.picture = picture; + if (website != null) result.website = website; + if (email != null) result.email = email; + if (emailVerified != null) result.emailVerified = emailVerified; + if (gender != null) result.gender = gender; + if (birthdate != null) result.birthdate = birthdate; + if (zoneinfo != null) result.zoneinfo = zoneinfo; + if (locale != null) result.locale = locale; + if (phoneNumber != null) result.phoneNumber = phoneNumber; + if (phoneNumberVerified != null) + result.phoneNumberVerified = phoneNumberVerified; + if (address != null) result.address = address; + if (updatedAt != null) result.updatedAt = updatedAt; + return result; + } + + OpenIdUserinfo._(); + + factory OpenIdUserinfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OpenIdUserinfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OpenIdUserinfo', @@ -1778,26 +1530,24 @@ class OpenIdUserinfo extends $pb.GeneratedMessage { ..aOS(16, _omitFieldNames ? '' : 'locale') ..aOS(17, _omitFieldNames ? '' : 'phone_number') ..aOB(18, _omitFieldNames ? '' : 'phone_number_verified') - ..aOM<$11.Value>(19, _omitFieldNames ? '' : 'address', - subBuilder: $11.Value.create) + ..aOM<$4.Value>(19, _omitFieldNames ? '' : 'address', + subBuilder: $4.Value.create) ..a<$core.int>(20, _omitFieldNames ? '' : 'updated_at', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OpenIdUserinfo clone() => OpenIdUserinfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OpenIdUserinfo copyWith(void Function(OpenIdUserinfo) updates) => super.copyWith((message) => updates(message as OpenIdUserinfo)) as OpenIdUserinfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OpenIdUserinfo create() => OpenIdUserinfo._(); + @$core.override OpenIdUserinfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1810,10 +1560,7 @@ class OpenIdUserinfo extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get sub => $_getSZ(0); @$pb.TagNumber(1) - set sub($core.String v) { - $_setString(0, v); - } - + set sub($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSub() => $_has(0); @$pb.TagNumber(1) @@ -1824,324 +1571,267 @@ class OpenIdUserinfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get name => $_getSZ(1); @$pb.TagNumber(2) - set name($core.String v) { - $_setString(1, v); - } - + set name($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasName() => $_has(1); @$pb.TagNumber(2) void clearName() => $_clearField(2); - /// Optional. Given name(s) or first name(s) of the End-User. + /// Optional. Given name(s) or first name(s) of the End-User. /// - /// Note that in some cultures, people can have multiple given names; all can be present, with - /// the names being separated by space characters. + /// Note that in some cultures, people can have multiple given names; all can be present, with + /// the names being separated by space characters. @$pb.TagNumber(3) $core.String get givenName => $_getSZ(2); @$pb.TagNumber(3) - set givenName($core.String v) { - $_setString(2, v); - } - + set givenName($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasGivenName() => $_has(2); @$pb.TagNumber(3) void clearGivenName() => $_clearField(3); - /// Optional. Surname(s) or last name(s) of the End-User. + /// Optional. Surname(s) or last name(s) of the End-User. /// - /// Note that in some cultures, people can have multiple family names or no family name; - /// all can be present, with the names being separated by space characters. + /// Note that in some cultures, people can have multiple family names or no family name; + /// all can be present, with the names being separated by space characters. @$pb.TagNumber(4) $core.String get familyName => $_getSZ(3); @$pb.TagNumber(4) - set familyName($core.String v) { - $_setString(3, v); - } - + set familyName($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFamilyName() => $_has(3); @$pb.TagNumber(4) void clearFamilyName() => $_clearField(4); - /// Optional. Middle name(s) of the End-User. + /// Optional. Middle name(s) of the End-User. /// - /// Note that in some cultures, people can have multiple middle names; all can be present, - /// with the names being separated by space characters. Also note that in some cultures, middle - /// names are not used. - /// (-- api-linter: core::0122::name-suffix=disabled --) + /// Note that in some cultures, people can have multiple middle names; all can be present, + /// with the names being separated by space characters. Also note that in some cultures, middle + /// names are not used. + /// (-- api-linter: core::0122::name-suffix=disabled --) @$pb.TagNumber(5) $core.String get middleName => $_getSZ(4); @$pb.TagNumber(5) - set middleName($core.String v) { - $_setString(4, v); - } - + set middleName($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasMiddleName() => $_has(4); @$pb.TagNumber(5) void clearMiddleName() => $_clearField(5); - /// Optional. Casual name of the End-User that may or may not be the same as the given_name. + /// Optional. Casual name of the End-User that may or may not be the same as the given_name. /// - /// For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. + /// For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. @$pb.TagNumber(6) $core.String get nickname => $_getSZ(5); @$pb.TagNumber(6) - set nickname($core.String v) { - $_setString(5, v); - } - + set nickname($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasNickname() => $_has(5); @$pb.TagNumber(6) void clearNickname() => $_clearField(6); - /// Optional. Shorthand name by which the End-User wishes to be referred to at the RP, such as - /// janedoe or j.doe. + /// Optional. Shorthand name by which the End-User wishes to be referred to at the RP, such as + /// janedoe or j.doe. /// - /// This value MAY be any valid JSON string including special characters such as @, /, or whitespace. - /// The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. + /// This value MAY be any valid JSON string including special characters such as @, /, or whitespace. + /// The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. @$pb.TagNumber(7) $core.String get preferredUsername => $_getSZ(6); @$pb.TagNumber(7) - set preferredUsername($core.String v) { - $_setString(6, v); - } - + set preferredUsername($core.String value) => $_setString(6, value); @$pb.TagNumber(7) $core.bool hasPreferredUsername() => $_has(6); @$pb.TagNumber(7) void clearPreferredUsername() => $_clearField(7); - /// Optional. URL of the End-User's profile page. + /// Optional. URL of the End-User's profile page. /// - /// The contents of this Web page SHOULD be about the End-User. + /// The contents of this Web page SHOULD be about the End-User. @$pb.TagNumber(8) $core.String get profile => $_getSZ(7); @$pb.TagNumber(8) - set profile($core.String v) { - $_setString(7, v); - } - + set profile($core.String value) => $_setString(7, value); @$pb.TagNumber(8) $core.bool hasProfile() => $_has(7); @$pb.TagNumber(8) void clearProfile() => $_clearField(8); - /// Optional. URL of the End-User's profile picture. + /// Optional. URL of the End-User's profile picture. /// - /// This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than - /// to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo - /// of the End-User suitable for displaying when describing the End-User, rather than an arbitrary - /// photo taken by the End-User. + /// This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than + /// to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo + /// of the End-User suitable for displaying when describing the End-User, rather than an arbitrary + /// photo taken by the End-User. @$pb.TagNumber(9) $core.String get picture => $_getSZ(8); @$pb.TagNumber(9) - set picture($core.String v) { - $_setString(8, v); - } - + set picture($core.String value) => $_setString(8, value); @$pb.TagNumber(9) $core.bool hasPicture() => $_has(8); @$pb.TagNumber(9) void clearPicture() => $_clearField(9); - /// Optional. URL of the End-User's Web page or blog. + /// Optional. URL of the End-User's Web page or blog. /// - /// This Web page SHOULD contain information published by the End-User or an organization that the - /// End-User is affiliated with. + /// This Web page SHOULD contain information published by the End-User or an organization that the + /// End-User is affiliated with. @$pb.TagNumber(10) $core.String get website => $_getSZ(9); @$pb.TagNumber(10) - set website($core.String v) { - $_setString(9, v); - } - + set website($core.String value) => $_setString(9, value); @$pb.TagNumber(10) $core.bool hasWebsite() => $_has(9); @$pb.TagNumber(10) void clearWebsite() => $_clearField(10); - /// Optional. End-User's preferred e-mail address. + /// Optional. End-User's preferred e-mail address. /// - /// Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this - /// value being unique, as discussed in Section 5.7. + /// Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this + /// value being unique, as discussed in Section 5.7. @$pb.TagNumber(11) $core.String get email => $_getSZ(10); @$pb.TagNumber(11) - set email($core.String v) { - $_setString(10, v); - } - + set email($core.String value) => $_setString(10, value); @$pb.TagNumber(11) $core.bool hasEmail() => $_has(10); @$pb.TagNumber(11) void clearEmail() => $_clearField(11); - /// Optional. True if the End-User's e-mail address has been verified; otherwise false. + /// Optional. True if the End-User's e-mail address has been verified; otherwise false. /// - /// When this Claim Value is true, this means that the OP took affirmative steps to ensure that this - /// e-mail address was controlled by the End-User at the time the verification was performed. The means - /// by which an e-mail address is verified is context specific, and dependent upon the trust framework - /// or contractual agreements within which the parties are operating. + /// When this Claim Value is true, this means that the OP took affirmative steps to ensure that this + /// e-mail address was controlled by the End-User at the time the verification was performed. The means + /// by which an e-mail address is verified is context specific, and dependent upon the trust framework + /// or contractual agreements within which the parties are operating. @$pb.TagNumber(12) $core.bool get emailVerified => $_getBF(11); @$pb.TagNumber(12) - set emailVerified($core.bool v) { - $_setBool(11, v); - } - + set emailVerified($core.bool value) => $_setBool(11, value); @$pb.TagNumber(12) $core.bool hasEmailVerified() => $_has(11); @$pb.TagNumber(12) void clearEmailVerified() => $_clearField(12); - /// Optional. End-User's gender. + /// Optional. End-User's gender. /// - /// Values defined by this specification are female and male. Other values MAY be used when neither - /// of the defined values are applicable. + /// Values defined by this specification are female and male. Other values MAY be used when neither + /// of the defined values are applicable. @$pb.TagNumber(13) $core.String get gender => $_getSZ(12); @$pb.TagNumber(13) - set gender($core.String v) { - $_setString(12, v); - } - + set gender($core.String value) => $_setString(12, value); @$pb.TagNumber(13) $core.bool hasGender() => $_has(12); @$pb.TagNumber(13) void clearGender() => $_clearField(13); - /// Optional. End-User's birthday, represented as an ISO 8601-1 [ISO8601‑1] YYYY-MM-DD format. + /// Optional. End-User's birthday, represented as an ISO 8601-1 [ISO8601‑1] YYYY-MM-DD format. /// - /// The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is - /// allowed. Note that depending on the underlying platform's date related function, providing just - /// year can result in varying month and day, so the implementers need to take this factor into account - /// to correctly process the dates. + /// The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is + /// allowed. Note that depending on the underlying platform's date related function, providing just + /// year can result in varying month and day, so the implementers need to take this factor into account + /// to correctly process the dates. @$pb.TagNumber(14) $core.String get birthdate => $_getSZ(13); @$pb.TagNumber(14) - set birthdate($core.String v) { - $_setString(13, v); - } - + set birthdate($core.String value) => $_setString(13, value); @$pb.TagNumber(14) $core.bool hasBirthdate() => $_has(13); @$pb.TagNumber(14) void clearBirthdate() => $_clearField(14); - /// Optional. String from IANA Time Zone Database [IANA.time‑zones] representing the End-User's time zone. + /// Optional. String from IANA Time Zone Database [IANA.time‑zones] representing the End-User's time zone. /// - /// For example, Europe/Paris or America/Los_Angeles. + /// For example, Europe/Paris or America/Los_Angeles. @$pb.TagNumber(15) $core.String get zoneinfo => $_getSZ(14); @$pb.TagNumber(15) - set zoneinfo($core.String v) { - $_setString(14, v); - } - + set zoneinfo($core.String value) => $_setString(14, value); @$pb.TagNumber(15) $core.bool hasZoneinfo() => $_has(14); @$pb.TagNumber(15) void clearZoneinfo() => $_clearField(15); - /// Optional. End-User's locale, represented as a BCP47 [RFC5646] language tag. + /// Optional. End-User's locale, represented as a BCP47 [RFC5646] language tag. /// - /// This is typically an ISO 639 Alpha-2 [ISO639] language code in lowercase and an ISO 3166-1 Alpha-2 - /// [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a - /// compatibility note, some implementations have used an underscore as the separator rather than a dash, - /// for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. + /// This is typically an ISO 639 Alpha-2 [ISO639] language code in lowercase and an ISO 3166-1 Alpha-2 + /// [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a + /// compatibility note, some implementations have used an underscore as the separator rather than a dash, + /// for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. @$pb.TagNumber(16) $core.String get locale => $_getSZ(15); @$pb.TagNumber(16) - set locale($core.String v) { - $_setString(15, v); - } - + set locale($core.String value) => $_setString(15, value); @$pb.TagNumber(16) $core.bool hasLocale() => $_has(15); @$pb.TagNumber(16) void clearLocale() => $_clearField(16); - /// Optional. End-User's preferred telephone number. + /// Optional. End-User's preferred telephone number. /// - /// E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or - /// +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be - /// represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. + /// E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or + /// +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be + /// represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. @$pb.TagNumber(17) $core.String get phoneNumber => $_getSZ(16); @$pb.TagNumber(17) - set phoneNumber($core.String v) { - $_setString(16, v); - } - + set phoneNumber($core.String value) => $_setString(16, value); @$pb.TagNumber(17) $core.bool hasPhoneNumber() => $_has(16); @$pb.TagNumber(17) void clearPhoneNumber() => $_clearField(17); - /// Optional. True if the End-User's phone number has been verified; otherwise false. + /// Optional. True if the End-User's phone number has been verified; otherwise false. /// - /// When this Claim Value is true, this means that the OP took affirmative steps to ensure that this - /// phone number was controlled by the End-User at the time the verification was performed. The means - /// by which a phone number is verified is context specific, and dependent upon the trust framework or - /// contractual agreements within which the parties are operating. When true, the phone_number Claim MUST - /// be in E.164 format and any extensions MUST be represented in RFC 3966 format. + /// When this Claim Value is true, this means that the OP took affirmative steps to ensure that this + /// phone number was controlled by the End-User at the time the verification was performed. The means + /// by which a phone number is verified is context specific, and dependent upon the trust framework or + /// contractual agreements within which the parties are operating. When true, the phone_number Claim MUST + /// be in E.164 format and any extensions MUST be represented in RFC 3966 format. @$pb.TagNumber(18) $core.bool get phoneNumberVerified => $_getBF(17); @$pb.TagNumber(18) - set phoneNumberVerified($core.bool v) { - $_setBool(17, v); - } - + set phoneNumberVerified($core.bool value) => $_setBool(17, value); @$pb.TagNumber(18) $core.bool hasPhoneNumberVerified() => $_has(17); @$pb.TagNumber(18) void clearPhoneNumberVerified() => $_clearField(18); - /// Optional. End-User's preferred postal address. + /// Optional. End-User's preferred postal address. /// - /// The value of the address member is a JSON [RFC8259] structure containing some or all of the members - /// defined in Section 5.1.1, for example: + /// The value of the address member is a JSON [RFC8259] structure containing some or all of the members + /// defined in Section 5.1.1, for example: /// - /// ``` - /// { - /// "formatted": "Mr. John Doe, 123 Main Street, Springfield, IL 62701", - /// "street_address": "123 Main Street", - /// "locality": "Springfield", - /// "region": "IL", - /// "postal_code": "62701", - /// "country": "US" - /// } - /// ``` + /// ``` + /// { + /// "formatted": "Mr. John Doe, 123 Main Street, Springfield, IL 62701", + /// "street_address": "123 Main Street", + /// "locality": "Springfield", + /// "region": "IL", + /// "postal_code": "62701", + /// "country": "US" + /// } + /// ``` @$pb.TagNumber(19) - $11.Value get address => $_getN(18); + $4.Value get address => $_getN(18); @$pb.TagNumber(19) - set address($11.Value v) { - $_setField(19, v); - } - + set address($4.Value value) => $_setField(19, value); @$pb.TagNumber(19) $core.bool hasAddress() => $_has(18); @$pb.TagNumber(19) void clearAddress() => $_clearField(19); @$pb.TagNumber(19) - $11.Value ensureAddress() => $_ensure(18); + $4.Value ensureAddress() => $_ensure(18); - /// Optional. Time the End-User's information was last updated. + /// Optional. Time the End-User's information was last updated. /// - /// Its value is a JSON number representing the number of seconds from 1970-01-01T00:00:00Z as measured - /// in UTC until the date/time. - /// (-- api-linter: core::0140::prepositions=disabled --) + /// Its value is a JSON number representing the number of seconds from 1970-01-01T00:00:00Z as measured + /// in UTC until the date/time. + /// (-- api-linter: core::0140::prepositions=disabled --) @$pb.TagNumber(20) $core.int get updatedAt => $_getIZ(19); @$pb.TagNumber(20) - set updatedAt($core.int v) { - $_setSignedInt32(19, v); - } - + set updatedAt($core.int value) => $_setSignedInt32(19, value); @$pb.TagNumber(20) $core.bool hasUpdatedAt() => $_has(19); @$pb.TagNumber(20) @@ -2158,34 +1848,24 @@ class OpenIdAddress extends $pb.GeneratedMessage { $core.String? postalCode, $core.String? country, }) { - final $result = create(); - if (formatted != null) { - $result.formatted = formatted; - } - if (streetAddress != null) { - $result.streetAddress = streetAddress; - } - if (locality != null) { - $result.locality = locality; - } - if (region != null) { - $result.region = region; - } - if (postalCode != null) { - $result.postalCode = postalCode; - } - if (country != null) { - $result.country = country; - } - return $result; + final result = create(); + if (formatted != null) result.formatted = formatted; + if (streetAddress != null) result.streetAddress = streetAddress; + if (locality != null) result.locality = locality; + if (region != null) result.region = region; + if (postalCode != null) result.postalCode = postalCode; + if (country != null) result.country = country; + return result; } - OpenIdAddress._() : super(); - factory OpenIdAddress.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OpenIdAddress.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OpenIdAddress._(); + + factory OpenIdAddress.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OpenIdAddress.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OpenIdAddress', @@ -2200,21 +1880,19 @@ class OpenIdAddress extends $pb.GeneratedMessage { ..aOS(6, _omitFieldNames ? '' : 'country') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OpenIdAddress clone() => OpenIdAddress()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OpenIdAddress copyWith(void Function(OpenIdAddress) updates) => super.copyWith((message) => updates(message as OpenIdAddress)) as OpenIdAddress; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OpenIdAddress create() => OpenIdAddress._(); + @$core.override OpenIdAddress createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2227,10 +1905,7 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get formatted => $_getSZ(0); @$pb.TagNumber(1) - set formatted($core.String v) { - $_setString(0, v); - } - + set formatted($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasFormatted() => $_has(0); @$pb.TagNumber(1) @@ -2240,10 +1915,7 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get streetAddress => $_getSZ(1); @$pb.TagNumber(2) - set streetAddress($core.String v) { - $_setString(1, v); - } - + set streetAddress($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasStreetAddress() => $_has(1); @$pb.TagNumber(2) @@ -2253,10 +1925,7 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get locality => $_getSZ(2); @$pb.TagNumber(3) - set locality($core.String v) { - $_setString(2, v); - } - + set locality($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasLocality() => $_has(2); @$pb.TagNumber(3) @@ -2266,10 +1935,7 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get region => $_getSZ(3); @$pb.TagNumber(4) - set region($core.String v) { - $_setString(3, v); - } - + set region($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasRegion() => $_has(3); @$pb.TagNumber(4) @@ -2279,10 +1945,7 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get postalCode => $_getSZ(4); @$pb.TagNumber(5) - set postalCode($core.String v) { - $_setString(4, v); - } - + set postalCode($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasPostalCode() => $_has(4); @$pb.TagNumber(5) @@ -2293,16 +1956,14 @@ class OpenIdAddress extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get country => $_getSZ(5); @$pb.TagNumber(6) - set country($core.String v) { - $_setString(5, v); - } - + set country($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasCountry() => $_has(5); @$pb.TagNumber(6) void clearCountry() => $_clearField(6); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbenum.dart index 20828c754..4ac8e2c23 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/authentication.proto -// +// Generated from celest/cloud/auth/v1alpha1/authentication.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -56,11 +57,13 @@ class ClientType extends $pb.ProtobufEnum { HEADLESS, ]; - static final $core.Map<$core.int, ClientType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static ClientType? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 7); + static ClientType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ClientType._(super.v, super.n); + const ClientType._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbgrpc.dart index 3c61251a0..127ad3e47 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/authentication.proto -// +// Generated from celest/cloud/auth/v1alpha1/authentication.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -20,53 +21,106 @@ import 'authentication.pb.dart' as $0; export 'authentication.pb.dart'; +/// The authentication service. @$pb.GrpcServiceName('celest.cloud.auth.v1alpha1.Authentication') class AuthenticationClient extends $grpc.Client { - static final _$startSession = - $grpc.ClientMethod<$0.StartSessionRequest, $0.Session>( - '/celest.cloud.auth.v1alpha1.Authentication/StartSession', - ($0.StartSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.Session.fromBuffer(value)); - static final _$continueSession = - $grpc.ClientMethod<$0.ContinueSessionRequest, $0.Session>( - '/celest.cloud.auth.v1alpha1.Authentication/ContinueSession', - ($0.ContinueSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.Session.fromBuffer(value)); - static final _$endSession = - $grpc.ClientMethod<$0.EndSessionRequest, $0.EndSessionResponse>( - '/celest.cloud.auth.v1alpha1.Authentication/EndSession', - ($0.EndSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $0.EndSessionResponse.fromBuffer(value)); - static final _$getOpenIdUserinfo = - $grpc.ClientMethod<$1.Empty, $0.OpenIdUserinfo>( - '/celest.cloud.auth.v1alpha1.Authentication/GetOpenIdUserinfo', - ($1.Empty value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.OpenIdUserinfo.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; AuthenticationClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$0.Session> startSession($0.StartSessionRequest request, - {$grpc.CallOptions? options}) { + /// Starts an authentication session. + /// + /// Upon completion, if the identified user does not exist, a new user will be created + /// unless that user can be linked to an existing identity. + /// + /// See the docs [here](https://cloud.google.com/identity-platform/docs/concepts-manage-users#verified_email_addresses) + /// for when linking is possible. + /// + /// (-- api-linter: core::0136::response-message-name=disabled + /// api-linter: core::0136::http-uri-suffix=disabled + /// api-linter: core::0134::request-required-fields + /// aip.dev/not-precedent: State machine RPC. --) + $grpc.ResponseFuture<$0.Session> startSession( + $0.StartSessionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$startSession, request, options: options); } + /// Continues an authentication session. + /// + /// Upon completion, if the identified user does not exist, a new user will be created + /// unless that user can be linked to an existing identity. + /// + /// See the docs [here](https://cloud.google.com/identity-platform/docs/concepts-manage-users#verified_email_addresses) + /// for when linking is possible. + /// + /// (-- api-linter: core::0136::response-message-name=disabled + /// api-linter: core::0136::http-uri-suffix=disabled + /// aip.dev/not-precedent: State machine RPC. --) $grpc.ResponseFuture<$0.Session> continueSession( - $0.ContinueSessionRequest request, - {$grpc.CallOptions? options}) { + $0.ContinueSessionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$continueSession, request, options: options); } + /// Cancels an in-progress authentication session. + /// + /// (-- api-linter: core::0136::response-message-name=disabled + /// api-linter: core::0136::http-uri-suffix=disabled + /// aip.dev/not-precedent: State machine RPC. --) $grpc.ResponseFuture<$0.EndSessionResponse> endSession( - $0.EndSessionRequest request, - {$grpc.CallOptions? options}) { + $0.EndSessionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$endSession, request, options: options); } - $grpc.ResponseFuture<$0.OpenIdUserinfo> getOpenIdUserinfo($1.Empty request, - {$grpc.CallOptions? options}) { + /// Retrieves the current user's userinfo. + /// + /// This API follows the OIDC `/userinfo` endpoint: + /// https://openid.net/specs/openid-connect-core-1_0.html#UserInfo + /// (-- api-linter: core::0131::method-signature=disabled + /// api-linter: core::0131::http-uri-name=disabled + /// api-linter: core::0131::http-method=disabled + /// api-linter: core::0131::request-message-name=disabled + /// aip.dev/not-precedent: Conformance to OIDC --) + $grpc.ResponseFuture<$0.OpenIdUserinfo> getOpenIdUserinfo( + $1.Empty request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getOpenIdUserinfo, request, options: options); } + + // method descriptors + + static final _$startSession = + $grpc.ClientMethod<$0.StartSessionRequest, $0.Session>( + '/celest.cloud.auth.v1alpha1.Authentication/StartSession', + ($0.StartSessionRequest value) => value.writeToBuffer(), + $0.Session.fromBuffer); + static final _$continueSession = + $grpc.ClientMethod<$0.ContinueSessionRequest, $0.Session>( + '/celest.cloud.auth.v1alpha1.Authentication/ContinueSession', + ($0.ContinueSessionRequest value) => value.writeToBuffer(), + $0.Session.fromBuffer); + static final _$endSession = + $grpc.ClientMethod<$0.EndSessionRequest, $0.EndSessionResponse>( + '/celest.cloud.auth.v1alpha1.Authentication/EndSession', + ($0.EndSessionRequest value) => value.writeToBuffer(), + $0.EndSessionResponse.fromBuffer); + static final _$getOpenIdUserinfo = + $grpc.ClientMethod<$1.Empty, $0.OpenIdUserinfo>( + '/celest.cloud.auth.v1alpha1.Authentication/GetOpenIdUserinfo', + ($1.Empty value) => value.writeToBuffer(), + $0.OpenIdUserinfo.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.auth.v1alpha1.Authentication') @@ -111,27 +165,30 @@ abstract class AuthenticationServiceBase extends $grpc.Service { return startSession($call, await $request); } + $async.Future<$0.Session> startSession( + $grpc.ServiceCall call, $0.StartSessionRequest request); + $async.Future<$0.Session> continueSession_Pre($grpc.ServiceCall $call, $async.Future<$0.ContinueSessionRequest> $request) async { return continueSession($call, await $request); } + $async.Future<$0.Session> continueSession( + $grpc.ServiceCall call, $0.ContinueSessionRequest request); + $async.Future<$0.EndSessionResponse> endSession_Pre($grpc.ServiceCall $call, $async.Future<$0.EndSessionRequest> $request) async { return endSession($call, await $request); } + $async.Future<$0.EndSessionResponse> endSession( + $grpc.ServiceCall call, $0.EndSessionRequest request); + $async.Future<$0.OpenIdUserinfo> getOpenIdUserinfo_Pre( $grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async { return getOpenIdUserinfo($call, await $request); } - $async.Future<$0.Session> startSession( - $grpc.ServiceCall call, $0.StartSessionRequest request); - $async.Future<$0.Session> continueSession( - $grpc.ServiceCall call, $0.ContinueSessionRequest request); - $async.Future<$0.EndSessionResponse> endSession( - $grpc.ServiceCall call, $0.EndSessionRequest request); $async.Future<$0.OpenIdUserinfo> getOpenIdUserinfo( $grpc.ServiceCall call, $1.Empty request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbjson.dart index 2ad701aca..36c6ca074 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/authentication.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/authentication.proto -// +// Generated from celest/cloud/auth/v1alpha1/authentication.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pb.dart index e42d31596..85814de2b 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pb.dart @@ -1,20 +1,21 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/users.proto -// +// Generated from celest/cloud/auth/v1alpha1/users.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../../google/protobuf/field_mask.pb.dart' as $12; -import '../../../../google/protobuf/timestamp.pb.dart' as $9; +import '../../../../google/protobuf/field_mask.pb.dart' as $3; +import '../../../../google/protobuf/timestamp.pb.dart' as $2; import 'users.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -27,8 +28,8 @@ class User extends $pb.GeneratedMessage { $core.String? name, $core.String? parent, $core.String? userId, - $9.Timestamp? createTime, - $9.Timestamp? updateTime, + $2.Timestamp? createTime, + $2.Timestamp? updateTime, $core.String? givenName, $core.String? familyName, $core.String? timeZone, @@ -37,52 +38,31 @@ class User extends $pb.GeneratedMessage { $core.Iterable? phoneNumbers, $core.Iterable? externalIdentities, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (parent != null) { - $result.parent = parent; - } - if (userId != null) { - $result.userId = userId; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (givenName != null) { - $result.givenName = givenName; - } - if (familyName != null) { - $result.familyName = familyName; - } - if (timeZone != null) { - $result.timeZone = timeZone; - } - if (languageCode != null) { - $result.languageCode = languageCode; - } - if (emails != null) { - $result.emails.addAll(emails); - } - if (phoneNumbers != null) { - $result.phoneNumbers.addAll(phoneNumbers); - } - if (externalIdentities != null) { - $result.externalIdentities.addAll(externalIdentities); - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (parent != null) result.parent = parent; + if (userId != null) result.userId = userId; + if (createTime != null) result.createTime = createTime; + if (updateTime != null) result.updateTime = updateTime; + if (givenName != null) result.givenName = givenName; + if (familyName != null) result.familyName = familyName; + if (timeZone != null) result.timeZone = timeZone; + if (languageCode != null) result.languageCode = languageCode; + if (emails != null) result.emails.addAll(emails); + if (phoneNumbers != null) result.phoneNumbers.addAll(phoneNumbers); + if (externalIdentities != null) + result.externalIdentities.addAll(externalIdentities); + return result; } - User._() : super(); - factory User.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory User.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + User._(); + + factory User.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory User.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'User', @@ -92,10 +72,10 @@ class User extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'parent') ..aOS(3, _omitFieldNames ? '' : 'userId') - ..aOM<$9.Timestamp>(4, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(5, _omitFieldNames ? '' : 'updateTime', - subBuilder: $9.Timestamp.create) + ..aOM<$2.Timestamp>(4, _omitFieldNames ? '' : 'createTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(5, _omitFieldNames ? '' : 'updateTime', + subBuilder: $2.Timestamp.create) ..aOS(6, _omitFieldNames ? '' : 'givenName') ..aOS(7, _omitFieldNames ? '' : 'familyName') ..aOS(8, _omitFieldNames ? '' : 'timeZone') @@ -110,20 +90,18 @@ class User extends $pb.GeneratedMessage { subBuilder: ExternalIdentity.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') User clone() => User()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') User copyWith(void Function(User) updates) => super.copyWith((message) => updates(message as User)) as User; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static User create() => User._(); + @$core.override User createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -131,16 +109,13 @@ class User extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static User? _defaultInstance; - /// Identifier. The resource name of the user. + /// Identifier. The resource name of the user. /// - /// Format: `users/{user}` + /// Format: `users/{user}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -150,25 +125,19 @@ class User extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get parent => $_getSZ(1); @$pb.TagNumber(2) - set parent($core.String v) { - $_setString(1, v); - } - + set parent($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasParent() => $_has(1); @$pb.TagNumber(2) void clearParent() => $_clearField(2); - /// The unique identifier of the user. + /// The unique identifier of the user. /// - /// Format: `usr_{random}` + /// Format: `usr_{random}` @$pb.TagNumber(3) $core.String get userId => $_getSZ(2); @$pb.TagNumber(3) - set userId($core.String v) { - $_setString(2, v); - } - + set userId($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasUserId() => $_has(2); @$pb.TagNumber(3) @@ -176,42 +145,33 @@ class User extends $pb.GeneratedMessage { /// Output only. The time the user was created. @$pb.TagNumber(4) - $9.Timestamp get createTime => $_getN(3); + $2.Timestamp get createTime => $_getN(3); @$pb.TagNumber(4) - set createTime($9.Timestamp v) { - $_setField(4, v); - } - + set createTime($2.Timestamp value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasCreateTime() => $_has(3); @$pb.TagNumber(4) void clearCreateTime() => $_clearField(4); @$pb.TagNumber(4) - $9.Timestamp ensureCreateTime() => $_ensure(3); + $2.Timestamp ensureCreateTime() => $_ensure(3); /// Output only. The time the user was last updated. @$pb.TagNumber(5) - $9.Timestamp get updateTime => $_getN(4); + $2.Timestamp get updateTime => $_getN(4); @$pb.TagNumber(5) - set updateTime($9.Timestamp v) { - $_setField(5, v); - } - + set updateTime($2.Timestamp value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasUpdateTime() => $_has(4); @$pb.TagNumber(5) void clearUpdateTime() => $_clearField(5); @$pb.TagNumber(5) - $9.Timestamp ensureUpdateTime() => $_ensure(4); + $2.Timestamp ensureUpdateTime() => $_ensure(4); /// Optional. The given name of the user. @$pb.TagNumber(6) $core.String get givenName => $_getSZ(5); @$pb.TagNumber(6) - set givenName($core.String v) { - $_setString(5, v); - } - + set givenName($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasGivenName() => $_has(5); @$pb.TagNumber(6) @@ -221,40 +181,31 @@ class User extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.String get familyName => $_getSZ(6); @$pb.TagNumber(7) - set familyName($core.String v) { - $_setString(6, v); - } - + set familyName($core.String value) => $_setString(6, value); @$pb.TagNumber(7) $core.bool hasFamilyName() => $_has(6); @$pb.TagNumber(7) void clearFamilyName() => $_clearField(7); - /// Optional. The time zone of the user. + /// Optional. The time zone of the user. /// - /// If provided, must be a valid IANA time zone identifier. + /// If provided, must be a valid IANA time zone identifier. @$pb.TagNumber(8) $core.String get timeZone => $_getSZ(7); @$pb.TagNumber(8) - set timeZone($core.String v) { - $_setString(7, v); - } - + set timeZone($core.String value) => $_setString(7, value); @$pb.TagNumber(8) $core.bool hasTimeZone() => $_has(7); @$pb.TagNumber(8) void clearTimeZone() => $_clearField(8); - /// Optional. The language code of the user. + /// Optional. The language code of the user. /// - /// If provided, must be a valid BCP 47 language tag. + /// If provided, must be a valid BCP 47 language tag. @$pb.TagNumber(9) $core.String get languageCode => $_getSZ(8); @$pb.TagNumber(9) - set languageCode($core.String v) { - $_setString(8, v); - } - + set languageCode($core.String value) => $_setString(8, value); @$pb.TagNumber(9) $core.bool hasLanguageCode() => $_has(8); @$pb.TagNumber(9) @@ -280,25 +231,21 @@ class Email extends $pb.GeneratedMessage { $core.bool? isVerified, $core.bool? isPrimary, }) { - final $result = create(); - if (email != null) { - $result.email = email; - } - if (isVerified != null) { - $result.isVerified = isVerified; - } - if (isPrimary != null) { - $result.isPrimary = isPrimary; - } - return $result; + final result = create(); + if (email != null) result.email = email; + if (isVerified != null) result.isVerified = isVerified; + if (isPrimary != null) result.isPrimary = isPrimary; + return result; } - Email._() : super(); - factory Email.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Email.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Email._(); + + factory Email.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Email.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Email', @@ -310,20 +257,18 @@ class Email extends $pb.GeneratedMessage { ..aOB(3, _omitFieldNames ? '' : 'isPrimary') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Email clone() => Email()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Email copyWith(void Function(Email) updates) => super.copyWith((message) => updates(message as Email)) as Email; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Email create() => Email._(); + @$core.override Email createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -335,10 +280,7 @@ class Email extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get email => $_getSZ(0); @$pb.TagNumber(1) - set email($core.String v) { - $_setString(0, v); - } - + set email($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasEmail() => $_has(0); @$pb.TagNumber(1) @@ -348,10 +290,7 @@ class Email extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get isVerified => $_getBF(1); @$pb.TagNumber(2) - set isVerified($core.bool v) { - $_setBool(1, v); - } - + set isVerified($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasIsVerified() => $_has(1); @$pb.TagNumber(2) @@ -361,10 +300,7 @@ class Email extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get isPrimary => $_getBF(2); @$pb.TagNumber(3) - set isPrimary($core.bool v) { - $_setBool(2, v); - } - + set isPrimary($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasIsPrimary() => $_has(2); @$pb.TagNumber(3) @@ -378,25 +314,21 @@ class PhoneNumber extends $pb.GeneratedMessage { $core.bool? isVerified, $core.bool? isPrimary, }) { - final $result = create(); - if (phoneNumber != null) { - $result.phoneNumber = phoneNumber; - } - if (isVerified != null) { - $result.isVerified = isVerified; - } - if (isPrimary != null) { - $result.isPrimary = isPrimary; - } - return $result; + final result = create(); + if (phoneNumber != null) result.phoneNumber = phoneNumber; + if (isVerified != null) result.isVerified = isVerified; + if (isPrimary != null) result.isPrimary = isPrimary; + return result; } - PhoneNumber._() : super(); - factory PhoneNumber.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PhoneNumber.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PhoneNumber._(); + + factory PhoneNumber.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PhoneNumber.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PhoneNumber', @@ -408,21 +340,19 @@ class PhoneNumber extends $pb.GeneratedMessage { ..aOB(3, _omitFieldNames ? '' : 'isPrimary') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber clone() => PhoneNumber()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber copyWith(void Function(PhoneNumber) updates) => super.copyWith((message) => updates(message as PhoneNumber)) as PhoneNumber; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PhoneNumber create() => PhoneNumber._(); + @$core.override PhoneNumber createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -434,10 +364,7 @@ class PhoneNumber extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get phoneNumber => $_getSZ(0); @$pb.TagNumber(1) - set phoneNumber($core.String v) { - $_setString(0, v); - } - + set phoneNumber($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasPhoneNumber() => $_has(0); @$pb.TagNumber(1) @@ -447,10 +374,7 @@ class PhoneNumber extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get isVerified => $_getBF(1); @$pb.TagNumber(2) - set isVerified($core.bool v) { - $_setBool(1, v); - } - + set isVerified($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasIsVerified() => $_has(1); @$pb.TagNumber(2) @@ -460,10 +384,7 @@ class PhoneNumber extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get isPrimary => $_getBF(2); @$pb.TagNumber(3) - set isPrimary($core.bool v) { - $_setBool(2, v); - } - + set isPrimary($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasIsPrimary() => $_has(2); @$pb.TagNumber(3) @@ -476,22 +397,20 @@ class ExternalIdentity extends $pb.GeneratedMessage { IdentityProviderType? provider, $core.String? providerId, }) { - final $result = create(); - if (provider != null) { - $result.provider = provider; - } - if (providerId != null) { - $result.providerId = providerId; - } - return $result; + final result = create(); + if (provider != null) result.provider = provider; + if (providerId != null) result.providerId = providerId; + return result; } - ExternalIdentity._() : super(); - factory ExternalIdentity.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ExternalIdentity.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ExternalIdentity._(); + + factory ExternalIdentity.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ExternalIdentity.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ExternalIdentity', @@ -506,21 +425,19 @@ class ExternalIdentity extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'providerId') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExternalIdentity clone() => ExternalIdentity()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExternalIdentity copyWith(void Function(ExternalIdentity) updates) => super.copyWith((message) => updates(message as ExternalIdentity)) as ExternalIdentity; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ExternalIdentity create() => ExternalIdentity._(); + @$core.override ExternalIdentity createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -533,10 +450,7 @@ class ExternalIdentity extends $pb.GeneratedMessage { @$pb.TagNumber(1) IdentityProviderType get provider => $_getN(0); @$pb.TagNumber(1) - set provider(IdentityProviderType v) { - $_setField(1, v); - } - + set provider(IdentityProviderType value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasProvider() => $_has(0); @$pb.TagNumber(1) @@ -546,10 +460,7 @@ class ExternalIdentity extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get providerId => $_getSZ(1); @$pb.TagNumber(2) - set providerId($core.String v) { - $_setString(1, v); - } - + set providerId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasProviderId() => $_has(1); @$pb.TagNumber(2) @@ -564,28 +475,22 @@ class CreateUserRequest extends $pb.GeneratedMessage { $core.String? userId, $core.bool? validateOnly, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (user != null) { - $result.user = user; - } - if (userId != null) { - $result.userId = userId; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (user != null) result.user = user; + if (userId != null) result.userId = userId; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - CreateUserRequest._() : super(); - factory CreateUserRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CreateUserRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CreateUserRequest._(); + + factory CreateUserRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CreateUserRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CreateUserRequest', @@ -598,21 +503,19 @@ class CreateUserRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateUserRequest clone() => CreateUserRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateUserRequest copyWith(void Function(CreateUserRequest) updates) => super.copyWith((message) => updates(message as CreateUserRequest)) as CreateUserRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateUserRequest create() => CreateUserRequest._(); + @$core.override CreateUserRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -625,10 +528,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -638,10 +538,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) User get user => $_getN(1); @$pb.TagNumber(2) - set user(User v) { - $_setField(2, v); - } - + set user(User value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUser() => $_has(1); @$pb.TagNumber(2) @@ -653,10 +550,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get userId => $_getSZ(2); @$pb.TagNumber(3) - set userId($core.String v) { - $_setString(2, v); - } - + set userId($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasUserId() => $_has(2); @$pb.TagNumber(3) @@ -666,10 +560,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -681,19 +572,19 @@ class GetUserRequest extends $pb.GeneratedMessage { factory GetUserRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetUserRequest._() : super(); - factory GetUserRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetUserRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetUserRequest._(); + + factory GetUserRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetUserRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserRequest', @@ -703,21 +594,19 @@ class GetUserRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetUserRequest clone() => GetUserRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetUserRequest copyWith(void Function(GetUserRequest) updates) => super.copyWith((message) => updates(message as GetUserRequest)) as GetUserRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetUserRequest create() => GetUserRequest._(); + @$core.override GetUserRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -731,10 +620,7 @@ class GetUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -750,31 +636,23 @@ class ListUsersRequest extends $pb.GeneratedMessage { $core.String? filter, $core.String? orderBy, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (filter != null) { - $result.filter = filter; - } - if (orderBy != null) { - $result.orderBy = orderBy; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (filter != null) result.filter = filter; + if (orderBy != null) result.orderBy = orderBy; + return result; } - ListUsersRequest._() : super(); - factory ListUsersRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListUsersRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListUsersRequest._(); + + factory ListUsersRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListUsersRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListUsersRequest', @@ -788,21 +666,19 @@ class ListUsersRequest extends $pb.GeneratedMessage { ..aOS(5, _omitFieldNames ? '' : 'orderBy') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUsersRequest clone() => ListUsersRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUsersRequest copyWith(void Function(ListUsersRequest) updates) => super.copyWith((message) => updates(message as ListUsersRequest)) as ListUsersRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListUsersRequest create() => ListUsersRequest._(); + @$core.override ListUsersRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -811,19 +687,16 @@ class ListUsersRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static ListUsersRequest? _defaultInstance; - /// Optional. The parent of the users to list. + /// Optional. The parent of the users to list. /// - /// Format: `organizations/{organization}` or `organizations/{organization}/projects/{project}` + /// Format: `organizations/{organization}` or `organizations/{organization}/projects/{project}` /// - /// If the parent is not provided, the users for the current context (as identified by the bearer token) - /// are listed. + /// If the parent is not provided, the users for the current context (as identified by the bearer token) + /// are listed. @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -833,10 +706,7 @@ class ListUsersRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -846,10 +716,7 @@ class ListUsersRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -859,10 +726,7 @@ class ListUsersRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get filter => $_getSZ(3); @$pb.TagNumber(4) - set filter($core.String v) { - $_setString(3, v); - } - + set filter($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFilter() => $_has(3); @$pb.TagNumber(4) @@ -872,10 +736,7 @@ class ListUsersRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get orderBy => $_getSZ(4); @$pb.TagNumber(5) - set orderBy($core.String v) { - $_setString(4, v); - } - + set orderBy($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasOrderBy() => $_has(4); @$pb.TagNumber(5) @@ -888,22 +749,20 @@ class ListUsersResponse extends $pb.GeneratedMessage { $core.Iterable? users, $core.String? nextPageToken, }) { - final $result = create(); - if (users != null) { - $result.users.addAll(users); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (users != null) result.users.addAll(users); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListUsersResponse._() : super(); - factory ListUsersResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListUsersResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListUsersResponse._(); + + factory ListUsersResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListUsersResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListUsersResponse', @@ -915,21 +774,19 @@ class ListUsersResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUsersResponse clone() => ListUsersResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUsersResponse copyWith(void Function(ListUsersResponse) updates) => super.copyWith((message) => updates(message as ListUsersResponse)) as ListUsersResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListUsersResponse create() => ListUsersResponse._(); + @$core.override ListUsersResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -946,10 +803,7 @@ class ListUsersResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) @@ -960,28 +814,24 @@ class ListUsersResponse extends $pb.GeneratedMessage { class UpdateUserRequest extends $pb.GeneratedMessage { factory UpdateUserRequest({ User? user, - $12.FieldMask? updateMask, + $3.FieldMask? updateMask, $core.bool? validateOnly, }) { - final $result = create(); - if (user != null) { - $result.user = user; - } - if (updateMask != null) { - $result.updateMask = updateMask; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (user != null) result.user = user; + if (updateMask != null) result.updateMask = updateMask; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - UpdateUserRequest._() : super(); - factory UpdateUserRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UpdateUserRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UpdateUserRequest._(); + + factory UpdateUserRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateUserRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UpdateUserRequest', @@ -989,26 +839,24 @@ class UpdateUserRequest extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.auth.v1alpha1'), createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'user', subBuilder: User.create) - ..aOM<$12.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', - subBuilder: $12.FieldMask.create) + ..aOM<$3.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', + subBuilder: $3.FieldMask.create) ..aOB(3, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateUserRequest clone() => UpdateUserRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateUserRequest copyWith(void Function(UpdateUserRequest) updates) => super.copyWith((message) => updates(message as UpdateUserRequest)) as UpdateUserRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateUserRequest create() => UpdateUserRequest._(); + @$core.override UpdateUserRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1021,10 +869,7 @@ class UpdateUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) User get user => $_getN(0); @$pb.TagNumber(1) - set user(User v) { - $_setField(1, v); - } - + set user(User value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasUser() => $_has(0); @$pb.TagNumber(1) @@ -1034,27 +879,21 @@ class UpdateUserRequest extends $pb.GeneratedMessage { /// The fields to update. @$pb.TagNumber(2) - $12.FieldMask get updateMask => $_getN(1); + $3.FieldMask get updateMask => $_getN(1); @$pb.TagNumber(2) - set updateMask($12.FieldMask v) { - $_setField(2, v); - } - + set updateMask($3.FieldMask value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUpdateMask() => $_has(1); @$pb.TagNumber(2) void clearUpdateMask() => $_clearField(2); @$pb.TagNumber(2) - $12.FieldMask ensureUpdateMask() => $_ensure(1); + $3.FieldMask ensureUpdateMask() => $_ensure(1); /// If set to true, the request is validated but not actually executed. @$pb.TagNumber(3) $core.bool get validateOnly => $_getBF(2); @$pb.TagNumber(3) - set validateOnly($core.bool v) { - $_setBool(2, v); - } - + set validateOnly($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasValidateOnly() => $_has(2); @$pb.TagNumber(3) @@ -1070,31 +909,23 @@ class DeleteUserRequest extends $pb.GeneratedMessage { $core.bool? validateOnly, $core.bool? force, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (etag != null) { - $result.etag = etag; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - if (force != null) { - $result.force = force; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (etag != null) result.etag = etag; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + if (force != null) result.force = force; + return result; } - DeleteUserRequest._() : super(); - factory DeleteUserRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeleteUserRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeleteUserRequest._(); + + factory DeleteUserRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeleteUserRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteUserRequest', @@ -1108,21 +939,19 @@ class DeleteUserRequest extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'force') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteUserRequest clone() => DeleteUserRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteUserRequest copyWith(void Function(DeleteUserRequest) updates) => super.copyWith((message) => updates(message as DeleteUserRequest)) as DeleteUserRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeleteUserRequest create() => DeleteUserRequest._(); + @$core.override DeleteUserRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1136,10 +965,7 @@ class DeleteUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1150,10 +976,7 @@ class DeleteUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get etag => $_getSZ(1); @$pb.TagNumber(2) - set etag($core.String v) { - $_setString(1, v); - } - + set etag($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasEtag() => $_has(1); @$pb.TagNumber(2) @@ -1164,10 +987,7 @@ class DeleteUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get allowMissing => $_getBF(2); @$pb.TagNumber(3) - set allowMissing($core.bool v) { - $_setBool(2, v); - } - + set allowMissing($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasAllowMissing() => $_has(2); @$pb.TagNumber(3) @@ -1177,10 +997,7 @@ class DeleteUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -1190,10 +1007,7 @@ class DeleteUserRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get force => $_getBF(4); @$pb.TagNumber(5) - set force($core.bool v) { - $_setBool(4, v); - } - + set force($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasForce() => $_has(4); @$pb.TagNumber(5) @@ -1208,28 +1022,22 @@ class UserMembership extends $pb.GeneratedMessage { $core.String? user, $core.String? role, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (resource != null) { - $result.resource = resource; - } - if (user != null) { - $result.user = user; - } - if (role != null) { - $result.role = role; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (resource != null) result.resource = resource; + if (user != null) result.user = user; + if (role != null) result.role = role; + return result; } - UserMembership._() : super(); - factory UserMembership.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UserMembership.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UserMembership._(); + + factory UserMembership.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UserMembership.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UserMembership', @@ -1242,21 +1050,19 @@ class UserMembership extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'role') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UserMembership clone() => UserMembership()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UserMembership copyWith(void Function(UserMembership) updates) => super.copyWith((message) => updates(message as UserMembership)) as UserMembership; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UserMembership create() => UserMembership._(); + @$core.override UserMembership createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1265,62 +1071,50 @@ class UserMembership extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static UserMembership? _defaultInstance; - /// The resource name of the user's membership. + /// The resource name of the user's membership. /// - /// Format: `users/{user}/memberships/{user_membership}` + /// Format: `users/{user}/memberships/{user_membership}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) void clearName() => $_clearField(1); - /// The resource name of the organization. + /// The resource name of the organization. /// - /// Format: `organizations/{organization}` - /// Format: `organizations/{organization}/projects/{project}` + /// Format: `organizations/{organization}` + /// Format: `organizations/{organization}/projects/{project}` @$pb.TagNumber(2) $core.String get resource => $_getSZ(1); @$pb.TagNumber(2) - set resource($core.String v) { - $_setString(1, v); - } - + set resource($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasResource() => $_has(1); @$pb.TagNumber(2) void clearResource() => $_clearField(2); - /// The resource name of the user. + /// The resource name of the user. /// - /// Format: `users/{user}` + /// Format: `users/{user}` @$pb.TagNumber(3) $core.String get user => $_getSZ(2); @$pb.TagNumber(3) - set user($core.String v) { - $_setString(2, v); - } - + set user($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasUser() => $_has(2); @$pb.TagNumber(3) void clearUser() => $_clearField(3); - /// The role of the user in the resource. + /// The role of the user in the resource. /// - /// Format: `Celest::Cloud::Role::"{role}"` + /// Format: `Celest::Cloud::Role::"{role}"` @$pb.TagNumber(4) $core.String get role => $_getSZ(3); @$pb.TagNumber(4) - set role($core.String v) { - $_setString(3, v); - } - + set role($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasRole() => $_has(3); @$pb.TagNumber(4) @@ -1332,19 +1126,19 @@ class GetUserMembershipRequest extends $pb.GeneratedMessage { factory GetUserMembershipRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetUserMembershipRequest._() : super(); - factory GetUserMembershipRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetUserMembershipRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetUserMembershipRequest._(); + + factory GetUserMembershipRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetUserMembershipRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserMembershipRequest', @@ -1354,23 +1148,21 @@ class GetUserMembershipRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetUserMembershipRequest clone() => GetUserMembershipRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetUserMembershipRequest copyWith( void Function(GetUserMembershipRequest) updates) => super.copyWith((message) => updates(message as GetUserMembershipRequest)) as GetUserMembershipRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetUserMembershipRequest create() => GetUserMembershipRequest._(); + @$core.override GetUserMembershipRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1379,16 +1171,13 @@ class GetUserMembershipRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static GetUserMembershipRequest? _defaultInstance; - /// The name of the user's membership to retrieve. + /// The name of the user's membership to retrieve. /// - /// Format: `users/{user}/memberships/{user_membership}` + /// Format: `users/{user}/memberships/{user_membership}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1403,28 +1192,22 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { $core.String? pageToken, $core.String? filter, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (filter != null) { - $result.filter = filter; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (filter != null) result.filter = filter; + return result; } - ListUserMembershipsRequest._() : super(); - factory ListUserMembershipsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListUserMembershipsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListUserMembershipsRequest._(); + + factory ListUserMembershipsRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListUserMembershipsRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListUserMembershipsRequest', @@ -1437,24 +1220,22 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'filter') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUserMembershipsRequest clone() => ListUserMembershipsRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUserMembershipsRequest copyWith( void Function(ListUserMembershipsRequest) updates) => super.copyWith( (message) => updates(message as ListUserMembershipsRequest)) as ListUserMembershipsRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListUserMembershipsRequest create() => ListUserMembershipsRequest._(); + @$core.override ListUserMembershipsRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1468,10 +1249,7 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -1481,10 +1259,7 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -1494,10 +1269,7 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -1507,10 +1279,7 @@ class ListUserMembershipsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get filter => $_getSZ(3); @$pb.TagNumber(4) - set filter($core.String v) { - $_setString(3, v); - } - + set filter($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFilter() => $_has(3); @$pb.TagNumber(4) @@ -1523,22 +1292,20 @@ class ListUserMembershipsResponse extends $pb.GeneratedMessage { $core.Iterable? userMemberships, $core.String? nextPageToken, }) { - final $result = create(); - if (userMemberships != null) { - $result.userMemberships.addAll(userMemberships); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (userMemberships != null) result.userMemberships.addAll(userMemberships); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListUserMembershipsResponse._() : super(); - factory ListUserMembershipsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListUserMembershipsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListUserMembershipsResponse._(); + + factory ListUserMembershipsResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListUserMembershipsResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListUserMembershipsResponse', @@ -1551,25 +1318,23 @@ class ListUserMembershipsResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUserMembershipsResponse clone() => ListUserMembershipsResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUserMembershipsResponse copyWith( void Function(ListUserMembershipsResponse) updates) => super.copyWith( (message) => updates(message as ListUserMembershipsResponse)) as ListUserMembershipsResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListUserMembershipsResponse create() => ListUserMembershipsResponse._(); + @$core.override ListUserMembershipsResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1586,16 +1351,14 @@ class ListUserMembershipsResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) void clearNextPageToken() => $_clearField(2); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbenum.dart index 3b89979f6..472c16321 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/users.proto -// +// Generated from celest/cloud/auth/v1alpha1/users.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -39,11 +40,13 @@ class IdentityProviderType extends $pb.ProtobufEnum { GITHUB, ]; - static final $core.Map<$core.int, IdentityProviderType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static IdentityProviderType? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static IdentityProviderType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const IdentityProviderType._(super.v, super.n); + const IdentityProviderType._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbgrpc.dart index e1af888b7..4cca685f2 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/users.proto -// +// Generated from celest/cloud/auth/v1alpha1/users.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -16,77 +17,105 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../../google/protobuf/empty.pb.dart' as $1; -import 'users.pb.dart' as $2; +import 'users.pb.dart' as $0; export 'users.pb.dart'; +/// Allows admins to manage users in Celest. @$pb.GrpcServiceName('celest.cloud.auth.v1alpha1.Users') class UsersClient extends $grpc.Client { - static final _$getUser = $grpc.ClientMethod<$2.GetUserRequest, $2.User>( - '/celest.cloud.auth.v1alpha1.Users/GetUser', - ($2.GetUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.User.fromBuffer(value)); - static final _$listUsers = - $grpc.ClientMethod<$2.ListUsersRequest, $2.ListUsersResponse>( - '/celest.cloud.auth.v1alpha1.Users/ListUsers', - ($2.ListUsersRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $2.ListUsersResponse.fromBuffer(value)); - static final _$updateUser = $grpc.ClientMethod<$2.UpdateUserRequest, $2.User>( - '/celest.cloud.auth.v1alpha1.Users/UpdateUser', - ($2.UpdateUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.User.fromBuffer(value)); - static final _$deleteUser = - $grpc.ClientMethod<$2.DeleteUserRequest, $1.Empty>( - '/celest.cloud.auth.v1alpha1.Users/DeleteUser', - ($2.DeleteUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.Empty.fromBuffer(value)); - static final _$getUserMembership = - $grpc.ClientMethod<$2.GetUserMembershipRequest, $2.UserMembership>( - '/celest.cloud.auth.v1alpha1.Users/GetUserMembership', - ($2.GetUserMembershipRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.UserMembership.fromBuffer(value)); - static final _$listUserMemberships = $grpc.ClientMethod< - $2.ListUserMembershipsRequest, $2.ListUserMembershipsResponse>( - '/celest.cloud.auth.v1alpha1.Users/ListUserMemberships', - ($2.ListUserMembershipsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $2.ListUserMembershipsResponse.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; UsersClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$2.User> getUser($2.GetUserRequest request, - {$grpc.CallOptions? options}) { + /// Retrieves the user identified by the specified name. + $grpc.ResponseFuture<$0.User> getUser( + $0.GetUserRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getUser, request, options: options); } - $grpc.ResponseFuture<$2.ListUsersResponse> listUsers( - $2.ListUsersRequest request, - {$grpc.CallOptions? options}) { + /// Lists users. + /// (-- api-linter: core::0132::http-uri-parent=disabled + /// aip.dev/not-precedent: Parent can be inferred for auth. --) + $grpc.ResponseFuture<$0.ListUsersResponse> listUsers( + $0.ListUsersRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listUsers, request, options: options); } - $grpc.ResponseFuture<$2.User> updateUser($2.UpdateUserRequest request, - {$grpc.CallOptions? options}) { + /// Update the user identified by the specified name. + $grpc.ResponseFuture<$0.User> updateUser( + $0.UpdateUserRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$updateUser, request, options: options); } - $grpc.ResponseFuture<$1.Empty> deleteUser($2.DeleteUserRequest request, - {$grpc.CallOptions? options}) { + /// Deletes a user and all associated resources. + /// + /// This cannot be undone. + $grpc.ResponseFuture<$1.Empty> deleteUser( + $0.DeleteUserRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deleteUser, request, options: options); } - $grpc.ResponseFuture<$2.UserMembership> getUserMembership( - $2.GetUserMembershipRequest request, - {$grpc.CallOptions? options}) { + /// Gets a user's membership to a resource. + $grpc.ResponseFuture<$0.UserMembership> getUserMembership( + $0.GetUserMembershipRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getUserMembership, request, options: options); } - $grpc.ResponseFuture<$2.ListUserMembershipsResponse> listUserMemberships( - $2.ListUserMembershipsRequest request, - {$grpc.CallOptions? options}) { + /// Lists memberships for a user. + $grpc.ResponseFuture<$0.ListUserMembershipsResponse> listUserMemberships( + $0.ListUserMembershipsRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listUserMemberships, request, options: options); } + + // method descriptors + + static final _$getUser = $grpc.ClientMethod<$0.GetUserRequest, $0.User>( + '/celest.cloud.auth.v1alpha1.Users/GetUser', + ($0.GetUserRequest value) => value.writeToBuffer(), + $0.User.fromBuffer); + static final _$listUsers = + $grpc.ClientMethod<$0.ListUsersRequest, $0.ListUsersResponse>( + '/celest.cloud.auth.v1alpha1.Users/ListUsers', + ($0.ListUsersRequest value) => value.writeToBuffer(), + $0.ListUsersResponse.fromBuffer); + static final _$updateUser = $grpc.ClientMethod<$0.UpdateUserRequest, $0.User>( + '/celest.cloud.auth.v1alpha1.Users/UpdateUser', + ($0.UpdateUserRequest value) => value.writeToBuffer(), + $0.User.fromBuffer); + static final _$deleteUser = + $grpc.ClientMethod<$0.DeleteUserRequest, $1.Empty>( + '/celest.cloud.auth.v1alpha1.Users/DeleteUser', + ($0.DeleteUserRequest value) => value.writeToBuffer(), + $1.Empty.fromBuffer); + static final _$getUserMembership = + $grpc.ClientMethod<$0.GetUserMembershipRequest, $0.UserMembership>( + '/celest.cloud.auth.v1alpha1.Users/GetUserMembership', + ($0.GetUserMembershipRequest value) => value.writeToBuffer(), + $0.UserMembership.fromBuffer); + static final _$listUserMemberships = $grpc.ClientMethod< + $0.ListUserMembershipsRequest, $0.ListUserMembershipsResponse>( + '/celest.cloud.auth.v1alpha1.Users/ListUserMemberships', + ($0.ListUserMembershipsRequest value) => value.writeToBuffer(), + $0.ListUserMembershipsResponse.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.auth.v1alpha1.Users') @@ -94,96 +123,101 @@ abstract class UsersServiceBase extends $grpc.Service { $core.String get $name => 'celest.cloud.auth.v1alpha1.Users'; UsersServiceBase() { - $addMethod($grpc.ServiceMethod<$2.GetUserRequest, $2.User>( + $addMethod($grpc.ServiceMethod<$0.GetUserRequest, $0.User>( 'GetUser', getUser_Pre, false, false, - ($core.List<$core.int> value) => $2.GetUserRequest.fromBuffer(value), - ($2.User value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.ListUsersRequest, $2.ListUsersResponse>( + ($core.List<$core.int> value) => $0.GetUserRequest.fromBuffer(value), + ($0.User value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListUsersRequest, $0.ListUsersResponse>( 'ListUsers', listUsers_Pre, false, false, - ($core.List<$core.int> value) => $2.ListUsersRequest.fromBuffer(value), - ($2.ListUsersResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.UpdateUserRequest, $2.User>( + ($core.List<$core.int> value) => $0.ListUsersRequest.fromBuffer(value), + ($0.ListUsersResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateUserRequest, $0.User>( 'UpdateUser', updateUser_Pre, false, false, - ($core.List<$core.int> value) => $2.UpdateUserRequest.fromBuffer(value), - ($2.User value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.DeleteUserRequest, $1.Empty>( + ($core.List<$core.int> value) => $0.UpdateUserRequest.fromBuffer(value), + ($0.User value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteUserRequest, $1.Empty>( 'DeleteUser', deleteUser_Pre, false, false, - ($core.List<$core.int> value) => $2.DeleteUserRequest.fromBuffer(value), + ($core.List<$core.int> value) => $0.DeleteUserRequest.fromBuffer(value), ($1.Empty value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$2.GetUserMembershipRequest, $2.UserMembership>( + $grpc.ServiceMethod<$0.GetUserMembershipRequest, $0.UserMembership>( 'GetUserMembership', getUserMembership_Pre, false, false, ($core.List<$core.int> value) => - $2.GetUserMembershipRequest.fromBuffer(value), - ($2.UserMembership value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.ListUserMembershipsRequest, - $2.ListUserMembershipsResponse>( + $0.GetUserMembershipRequest.fromBuffer(value), + ($0.UserMembership value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListUserMembershipsRequest, + $0.ListUserMembershipsResponse>( 'ListUserMemberships', listUserMemberships_Pre, false, false, ($core.List<$core.int> value) => - $2.ListUserMembershipsRequest.fromBuffer(value), - ($2.ListUserMembershipsResponse value) => value.writeToBuffer())); + $0.ListUserMembershipsRequest.fromBuffer(value), + ($0.ListUserMembershipsResponse value) => value.writeToBuffer())); } - $async.Future<$2.User> getUser_Pre($grpc.ServiceCall $call, - $async.Future<$2.GetUserRequest> $request) async { + $async.Future<$0.User> getUser_Pre($grpc.ServiceCall $call, + $async.Future<$0.GetUserRequest> $request) async { return getUser($call, await $request); } - $async.Future<$2.ListUsersResponse> listUsers_Pre($grpc.ServiceCall $call, - $async.Future<$2.ListUsersRequest> $request) async { + $async.Future<$0.User> getUser( + $grpc.ServiceCall call, $0.GetUserRequest request); + + $async.Future<$0.ListUsersResponse> listUsers_Pre($grpc.ServiceCall $call, + $async.Future<$0.ListUsersRequest> $request) async { return listUsers($call, await $request); } - $async.Future<$2.User> updateUser_Pre($grpc.ServiceCall $call, - $async.Future<$2.UpdateUserRequest> $request) async { + $async.Future<$0.ListUsersResponse> listUsers( + $grpc.ServiceCall call, $0.ListUsersRequest request); + + $async.Future<$0.User> updateUser_Pre($grpc.ServiceCall $call, + $async.Future<$0.UpdateUserRequest> $request) async { return updateUser($call, await $request); } + $async.Future<$0.User> updateUser( + $grpc.ServiceCall call, $0.UpdateUserRequest request); + $async.Future<$1.Empty> deleteUser_Pre($grpc.ServiceCall $call, - $async.Future<$2.DeleteUserRequest> $request) async { + $async.Future<$0.DeleteUserRequest> $request) async { return deleteUser($call, await $request); } - $async.Future<$2.UserMembership> getUserMembership_Pre( + $async.Future<$1.Empty> deleteUser( + $grpc.ServiceCall call, $0.DeleteUserRequest request); + + $async.Future<$0.UserMembership> getUserMembership_Pre( $grpc.ServiceCall $call, - $async.Future<$2.GetUserMembershipRequest> $request) async { + $async.Future<$0.GetUserMembershipRequest> $request) async { return getUserMembership($call, await $request); } - $async.Future<$2.ListUserMembershipsResponse> listUserMemberships_Pre( + $async.Future<$0.UserMembership> getUserMembership( + $grpc.ServiceCall call, $0.GetUserMembershipRequest request); + + $async.Future<$0.ListUserMembershipsResponse> listUserMemberships_Pre( $grpc.ServiceCall $call, - $async.Future<$2.ListUserMembershipsRequest> $request) async { + $async.Future<$0.ListUserMembershipsRequest> $request) async { return listUserMemberships($call, await $request); } - $async.Future<$2.User> getUser( - $grpc.ServiceCall call, $2.GetUserRequest request); - $async.Future<$2.ListUsersResponse> listUsers( - $grpc.ServiceCall call, $2.ListUsersRequest request); - $async.Future<$2.User> updateUser( - $grpc.ServiceCall call, $2.UpdateUserRequest request); - $async.Future<$1.Empty> deleteUser( - $grpc.ServiceCall call, $2.DeleteUserRequest request); - $async.Future<$2.UserMembership> getUserMembership( - $grpc.ServiceCall call, $2.GetUserMembershipRequest request); - $async.Future<$2.ListUserMembershipsResponse> listUserMemberships( - $grpc.ServiceCall call, $2.ListUserMembershipsRequest request); + $async.Future<$0.ListUserMembershipsResponse> listUserMemberships( + $grpc.ServiceCall call, $0.ListUserMembershipsRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbjson.dart index 529e1197b..3c9ca562b 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/auth/v1alpha1/users.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/auth/v1alpha1/users.proto -// +// Generated from celest/cloud/auth/v1alpha1/users.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pb.dart index 45672ea1b..af5fbc6f0 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pb.dart @@ -1,55 +1,52 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/common.proto -// +// Generated from celest/cloud/v1alpha1/common.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/timestamp.pb.dart' as $9; +import '../../../google/protobuf/timestamp.pb.dart' as $0; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'common.pbenum.dart'; -/// A common message for paginating through large sets of data. +/// A common message for paginating through large sets of data. /// -/// Page tokens are returned as opaque strings to prevent introspection. AIP -/// allows base64-encoded protobuf messages as acceptable tokens as long as -/// the types are not exposed in the API. +/// Page tokens are returned as opaque strings to prevent introspection. AIP +/// allows base64-encoded protobuf messages as acceptable tokens as long as +/// the types are not exposed in the API. class PageToken extends $pb.GeneratedMessage { factory PageToken({ $fixnum.Int64? offset, - $9.Timestamp? startTime, + $0.Timestamp? startTime, $core.bool? showDeleted, }) { - final $result = create(); - if (offset != null) { - $result.offset = offset; - } - if (startTime != null) { - $result.startTime = startTime; - } - if (showDeleted != null) { - $result.showDeleted = showDeleted; - } - return $result; + final result = create(); + if (offset != null) result.offset = offset; + if (startTime != null) result.startTime = startTime; + if (showDeleted != null) result.showDeleted = showDeleted; + return result; } - PageToken._() : super(); - factory PageToken.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PageToken.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PageToken._(); + + factory PageToken.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PageToken.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PageToken', @@ -57,25 +54,23 @@ class PageToken extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'offset') - ..aOM<$9.Timestamp>(2, _omitFieldNames ? '' : 'startTime', - subBuilder: $9.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'startTime', + subBuilder: $0.Timestamp.create) ..aOB(3, _omitFieldNames ? '' : 'showDeleted') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PageToken clone() => PageToken()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PageToken copyWith(void Function(PageToken) updates) => super.copyWith((message) => updates(message as PageToken)) as PageToken; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PageToken create() => PageToken._(); + @$core.override PageToken createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -87,10 +82,7 @@ class PageToken extends $pb.GeneratedMessage { @$pb.TagNumber(1) $fixnum.Int64 get offset => $_getI64(0); @$pb.TagNumber(1) - set offset($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set offset($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasOffset() => $_has(0); @$pb.TagNumber(1) @@ -98,33 +90,28 @@ class PageToken extends $pb.GeneratedMessage { /// The start time of the pagination window. @$pb.TagNumber(2) - $9.Timestamp get startTime => $_getN(1); + $0.Timestamp get startTime => $_getN(1); @$pb.TagNumber(2) - set startTime($9.Timestamp v) { - $_setField(2, v); - } - + set startTime($0.Timestamp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasStartTime() => $_has(1); @$pb.TagNumber(2) void clearStartTime() => $_clearField(2); @$pb.TagNumber(2) - $9.Timestamp ensureStartTime() => $_ensure(1); + $0.Timestamp ensureStartTime() => $_ensure(1); /// Whether to show deleted items. @$pb.TagNumber(3) $core.bool get showDeleted => $_getBF(2); @$pb.TagNumber(3) - set showDeleted($core.bool v) { - $_setBool(2, v); - } - + set showDeleted($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasShowDeleted() => $_has(2); @$pb.TagNumber(3) void clearShowDeleted() => $_clearField(3); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbenum.dart index 63d1bc1d2..2789f9ea9 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbenum.dart @@ -1,23 +1,24 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/common.proto -// +// Generated from celest/cloud/v1alpha1/common.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; -/// A region defines the service area of a Celest organization or project. +/// A region defines the service area of a Celest organization or project. /// -/// Projects deployed to a region are highly available within that region, -/// services used are within the boundaries of that region, and all data is -/// persisted within that region. +/// Projects deployed to a region are highly available within that region, +/// services used are within the boundaries of that region, and all data is +/// persisted within that region. class Region extends $pb.ProtobufEnum { /// The region is not specified. static const Region REGION_UNSPECIFIED = @@ -41,11 +42,12 @@ class Region extends $pb.ProtobufEnum { ASIA_PACIFIC, ]; - static final $core.Map<$core.int, Region> _byValue = - $pb.ProtobufEnum.initByValue(values); - static Region? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static Region? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const Region._(super.v, super.n); + const Region._(super.value, super.name); } /// The lifecycle state of a Celest Cloud resource. @@ -98,11 +100,13 @@ class LifecycleState extends $pb.ProtobufEnum { DELETED, ]; - static final $core.Map<$core.int, LifecycleState> _byValue = - $pb.ProtobufEnum.initByValue(values); - static LifecycleState? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 8); + static LifecycleState? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const LifecycleState._(super.v, super.n); + const LifecycleState._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbjson.dart index 3f0367458..0429d0e3c 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/common.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/common.proto -// +// Generated from celest/cloud/v1alpha1/common.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pb.dart index a35300da1..2e9b587b9 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pb.dart @@ -1,20 +1,21 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/operations.proto -// +// Generated from celest/cloud/v1alpha1/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../google/protobuf/any.pb.dart' as $13; -import '../../../google/protobuf/timestamp.pb.dart' as $9; +import '../../../google/protobuf/any.pb.dart' as $0; +import '../../../google/protobuf/timestamp.pb.dart' as $1; import 'operations.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -25,48 +26,34 @@ export 'operations.pbenum.dart'; class OperationMetadata extends $pb.GeneratedMessage { factory OperationMetadata({ $core.String? parent, - $13.Any? resource, + $0.Any? resource, OperationState? state, $core.String? requestId, - $9.Timestamp? createTime, - $9.Timestamp? startTime, - $9.Timestamp? endTime, + $1.Timestamp? createTime, + $1.Timestamp? startTime, + $1.Timestamp? endTime, $core.int? progress, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (resource != null) { - $result.resource = resource; - } - if (state != null) { - $result.state = state; - } - if (requestId != null) { - $result.requestId = requestId; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (startTime != null) { - $result.startTime = startTime; - } - if (endTime != null) { - $result.endTime = endTime; - } - if (progress != null) { - $result.progress = progress; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (resource != null) result.resource = resource; + if (state != null) result.state = state; + if (requestId != null) result.requestId = requestId; + if (createTime != null) result.createTime = createTime; + if (startTime != null) result.startTime = startTime; + if (endTime != null) result.endTime = endTime; + if (progress != null) result.progress = progress; + return result; } - OperationMetadata._() : super(); - factory OperationMetadata.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OperationMetadata.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OperationMetadata._(); + + factory OperationMetadata.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OperationMetadata.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OperationMetadata', @@ -74,37 +61,35 @@ class OperationMetadata extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'parent') - ..aOM<$13.Any>(2, _omitFieldNames ? '' : 'resource', - subBuilder: $13.Any.create) + ..aOM<$0.Any>(2, _omitFieldNames ? '' : 'resource', + subBuilder: $0.Any.create) ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: OperationState.OPERATION_STATE_UNSPECIFIED, valueOf: OperationState.valueOf, enumValues: OperationState.values) ..aOS(4, _omitFieldNames ? '' : 'requestId') - ..aOM<$9.Timestamp>(5, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(6, _omitFieldNames ? '' : 'startTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'endTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(5, _omitFieldNames ? '' : 'createTime', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(6, _omitFieldNames ? '' : 'startTime', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(7, _omitFieldNames ? '' : 'endTime', + subBuilder: $1.Timestamp.create) ..a<$core.int>(8, _omitFieldNames ? '' : 'progress', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OperationMetadata clone() => OperationMetadata()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OperationMetadata copyWith(void Function(OperationMetadata) updates) => super.copyWith((message) => updates(message as OperationMetadata)) as OperationMetadata; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OperationMetadata create() => OperationMetadata._(); + @$core.override OperationMetadata createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -117,40 +102,31 @@ class OperationMetadata extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) void clearParent() => $_clearField(1); - /// The resource being operated on. + /// The resource being operated on. /// - /// (-- api-linter: core::0146::any=disabled --) + /// (-- api-linter: core::0146::any=disabled --) @$pb.TagNumber(2) - $13.Any get resource => $_getN(1); + $0.Any get resource => $_getN(1); @$pb.TagNumber(2) - set resource($13.Any v) { - $_setField(2, v); - } - + set resource($0.Any value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasResource() => $_has(1); @$pb.TagNumber(2) void clearResource() => $_clearField(2); @$pb.TagNumber(2) - $13.Any ensureResource() => $_ensure(1); + $0.Any ensureResource() => $_ensure(1); /// The state of the operation. @$pb.TagNumber(3) OperationState get state => $_getN(2); @$pb.TagNumber(3) - set state(OperationState v) { - $_setField(3, v); - } - + set state(OperationState value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasState() => $_has(2); @$pb.TagNumber(3) @@ -160,10 +136,7 @@ class OperationMetadata extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get requestId => $_getSZ(3); @$pb.TagNumber(4) - set requestId($core.String v) { - $_setString(3, v); - } - + set requestId($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasRequestId() => $_has(3); @$pb.TagNumber(4) @@ -171,65 +144,54 @@ class OperationMetadata extends $pb.GeneratedMessage { /// The time the operation was created. @$pb.TagNumber(5) - $9.Timestamp get createTime => $_getN(4); + $1.Timestamp get createTime => $_getN(4); @$pb.TagNumber(5) - set createTime($9.Timestamp v) { - $_setField(5, v); - } - + set createTime($1.Timestamp value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasCreateTime() => $_has(4); @$pb.TagNumber(5) void clearCreateTime() => $_clearField(5); @$pb.TagNumber(5) - $9.Timestamp ensureCreateTime() => $_ensure(4); + $1.Timestamp ensureCreateTime() => $_ensure(4); /// The time the operation was started. @$pb.TagNumber(6) - $9.Timestamp get startTime => $_getN(5); + $1.Timestamp get startTime => $_getN(5); @$pb.TagNumber(6) - set startTime($9.Timestamp v) { - $_setField(6, v); - } - + set startTime($1.Timestamp value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasStartTime() => $_has(5); @$pb.TagNumber(6) void clearStartTime() => $_clearField(6); @$pb.TagNumber(6) - $9.Timestamp ensureStartTime() => $_ensure(5); + $1.Timestamp ensureStartTime() => $_ensure(5); /// The time the operation was completed. @$pb.TagNumber(7) - $9.Timestamp get endTime => $_getN(6); + $1.Timestamp get endTime => $_getN(6); @$pb.TagNumber(7) - set endTime($9.Timestamp v) { - $_setField(7, v); - } - + set endTime($1.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasEndTime() => $_has(6); @$pb.TagNumber(7) void clearEndTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureEndTime() => $_ensure(6); + $1.Timestamp ensureEndTime() => $_ensure(6); - /// If available, the progress of the operation. + /// If available, the progress of the operation. /// - /// Range: [0, 100] + /// Range: [0, 100] @$pb.TagNumber(8) $core.int get progress => $_getIZ(7); @$pb.TagNumber(8) - set progress($core.int v) { - $_setSignedInt32(7, v); - } - + set progress($core.int value) => $_setSignedInt32(7, value); @$pb.TagNumber(8) $core.bool hasProgress() => $_has(7); @$pb.TagNumber(8) void clearProgress() => $_clearField(8); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbenum.dart index d3c03bd54..92fb4847c 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/operations.proto -// +// Generated from celest/cloud/v1alpha1/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -48,11 +49,13 @@ class OperationState extends $pb.ProtobufEnum { CANCELLED, ]; - static final $core.Map<$core.int, OperationState> _byValue = - $pb.ProtobufEnum.initByValue(values); - static OperationState? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 5); + static OperationState? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const OperationState._(super.v, super.n); + const OperationState._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbjson.dart index b04cdd2de..9484f93e8 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/operations.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/operations.proto -// +// Generated from celest/cloud/v1alpha1/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pb.dart index 8ccdeafbb..9213add74 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pb.dart @@ -1,21 +1,22 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/organizations.proto -// +// Generated from celest/cloud/v1alpha1/organizations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../google/protobuf/field_mask.pb.dart' as $12; -import '../../../google/protobuf/timestamp.pb.dart' as $9; -import 'common.pbenum.dart' as $14; +import '../../../google/protobuf/field_mask.pb.dart' as $3; +import '../../../google/protobuf/timestamp.pb.dart' as $2; +import 'common.pbenum.dart' as $4; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -27,68 +28,42 @@ class Organization extends $pb.GeneratedMessage { $core.String? parent, $core.String? organizationId, $core.String? displayName, - $9.Timestamp? createTime, - $9.Timestamp? updateTime, - $9.Timestamp? deleteTime, + $2.Timestamp? createTime, + $2.Timestamp? updateTime, + $2.Timestamp? deleteTime, $core.String? etag, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? annotations, $core.bool? reconciling, - $14.Region? primaryRegion, - $14.LifecycleState? state, - $9.Timestamp? purgeTime, + $4.Region? primaryRegion, + $4.LifecycleState? state, + $2.Timestamp? purgeTime, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (uid != null) { - $result.uid = uid; - } - if (parent != null) { - $result.parent = parent; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (displayName != null) { - $result.displayName = displayName; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (deleteTime != null) { - $result.deleteTime = deleteTime; - } - if (etag != null) { - $result.etag = etag; - } - if (annotations != null) { - $result.annotations.addEntries(annotations); - } - if (reconciling != null) { - $result.reconciling = reconciling; - } - if (primaryRegion != null) { - $result.primaryRegion = primaryRegion; - } - if (state != null) { - $result.state = state; - } - if (purgeTime != null) { - $result.purgeTime = purgeTime; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (uid != null) result.uid = uid; + if (parent != null) result.parent = parent; + if (organizationId != null) result.organizationId = organizationId; + if (displayName != null) result.displayName = displayName; + if (createTime != null) result.createTime = createTime; + if (updateTime != null) result.updateTime = updateTime; + if (deleteTime != null) result.deleteTime = deleteTime; + if (etag != null) result.etag = etag; + if (annotations != null) result.annotations.addEntries(annotations); + if (reconciling != null) result.reconciling = reconciling; + if (primaryRegion != null) result.primaryRegion = primaryRegion; + if (state != null) result.state = state; + if (purgeTime != null) result.purgeTime = purgeTime; + return result; } - Organization._() : super(); - factory Organization.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Organization.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Organization._(); + + factory Organization.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Organization.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Organization', @@ -100,12 +75,12 @@ class Organization extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'parent') ..aOS(4, _omitFieldNames ? '' : 'organizationId') ..aOS(5, _omitFieldNames ? '' : 'displayName') - ..aOM<$9.Timestamp>(6, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(8, _omitFieldNames ? '' : 'deleteTime', - subBuilder: $9.Timestamp.create) + ..aOM<$2.Timestamp>(6, _omitFieldNames ? '' : 'createTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(8, _omitFieldNames ? '' : 'deleteTime', + subBuilder: $2.Timestamp.create) ..aOS(9, _omitFieldNames ? '' : 'etag') ..m<$core.String, $core.String>(10, _omitFieldNames ? '' : 'annotations', entryClassName: 'Organization.AnnotationsEntry', @@ -113,35 +88,33 @@ class Organization extends $pb.GeneratedMessage { valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('celest.cloud.v1alpha1')) ..aOB(11, _omitFieldNames ? '' : 'reconciling') - ..e<$14.Region>( + ..e<$4.Region>( 12, _omitFieldNames ? '' : 'primaryRegion', $pb.PbFieldType.OE, - defaultOrMaker: $14.Region.REGION_UNSPECIFIED, - valueOf: $14.Region.valueOf, - enumValues: $14.Region.values) - ..e<$14.LifecycleState>( + defaultOrMaker: $4.Region.REGION_UNSPECIFIED, + valueOf: $4.Region.valueOf, + enumValues: $4.Region.values) + ..e<$4.LifecycleState>( 13, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: $14.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, - valueOf: $14.LifecycleState.valueOf, - enumValues: $14.LifecycleState.values) - ..aOM<$9.Timestamp>(14, _omitFieldNames ? '' : 'purgeTime', - subBuilder: $9.Timestamp.create) + defaultOrMaker: $4.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, + valueOf: $4.LifecycleState.valueOf, + enumValues: $4.LifecycleState.values) + ..aOM<$2.Timestamp>(14, _omitFieldNames ? '' : 'purgeTime', + subBuilder: $2.Timestamp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Organization clone() => Organization()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Organization copyWith(void Function(Organization) updates) => super.copyWith((message) => updates(message as Organization)) as Organization; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Organization create() => Organization._(); + @$core.override Organization createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -155,10 +128,7 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -168,10 +138,7 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get uid => $_getSZ(1); @$pb.TagNumber(2) - set uid($core.String v) { - $_setString(1, v); - } - + set uid($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasUid() => $_has(1); @$pb.TagNumber(2) @@ -181,28 +148,22 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get parent => $_getSZ(2); @$pb.TagNumber(3) - set parent($core.String v) { - $_setString(2, v); - } - + set parent($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasParent() => $_has(2); @$pb.TagNumber(3) void clearParent() => $_clearField(3); - /// Immutable. The unique, user-assigned id of the organization. - /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. - /// It must start with a letter. - /// Trailing hyphens are prohibited. + /// Immutable. The unique, user-assigned id of the organization. + /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. + /// It must start with a letter. + /// Trailing hyphens are prohibited. /// - /// Example: `tokyo-rain-123` + /// Example: `tokyo-rain-123` @$pb.TagNumber(4) $core.String get organizationId => $_getSZ(3); @$pb.TagNumber(4) - set organizationId($core.String v) { - $_setString(3, v); - } - + set organizationId($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasOrganizationId() => $_has(3); @$pb.TagNumber(4) @@ -212,10 +173,7 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get displayName => $_getSZ(4); @$pb.TagNumber(5) - set displayName($core.String v) { - $_setString(4, v); - } - + set displayName($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasDisplayName() => $_has(4); @$pb.TagNumber(5) @@ -223,48 +181,39 @@ class Organization extends $pb.GeneratedMessage { /// Output only. The time the organization was created. @$pb.TagNumber(6) - $9.Timestamp get createTime => $_getN(5); + $2.Timestamp get createTime => $_getN(5); @$pb.TagNumber(6) - set createTime($9.Timestamp v) { - $_setField(6, v); - } - + set createTime($2.Timestamp value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasCreateTime() => $_has(5); @$pb.TagNumber(6) void clearCreateTime() => $_clearField(6); @$pb.TagNumber(6) - $9.Timestamp ensureCreateTime() => $_ensure(5); + $2.Timestamp ensureCreateTime() => $_ensure(5); /// Output only. The time the organization was last updated. @$pb.TagNumber(7) - $9.Timestamp get updateTime => $_getN(6); + $2.Timestamp get updateTime => $_getN(6); @$pb.TagNumber(7) - set updateTime($9.Timestamp v) { - $_setField(7, v); - } - + set updateTime($2.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasUpdateTime() => $_has(6); @$pb.TagNumber(7) void clearUpdateTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureUpdateTime() => $_ensure(6); + $2.Timestamp ensureUpdateTime() => $_ensure(6); /// Output only. The time the organization was soft-deleted. @$pb.TagNumber(8) - $9.Timestamp get deleteTime => $_getN(7); + $2.Timestamp get deleteTime => $_getN(7); @$pb.TagNumber(8) - set deleteTime($9.Timestamp v) { - $_setField(8, v); - } - + set deleteTime($2.Timestamp value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasDeleteTime() => $_has(7); @$pb.TagNumber(8) void clearDeleteTime() => $_clearField(8); @$pb.TagNumber(8) - $9.Timestamp ensureDeleteTime() => $_ensure(7); + $2.Timestamp ensureDeleteTime() => $_ensure(7); /// Output only. A checksum computed by the server based on the current value /// of the Organization resource. This may be sent on update and delete requests to @@ -272,10 +221,7 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get etag => $_getSZ(8); @$pb.TagNumber(9) - set etag($core.String v) { - $_setString(8, v); - } - + set etag($core.String value) => $_setString(8, value); @$pb.TagNumber(9) $core.bool hasEtag() => $_has(8); @$pb.TagNumber(9) @@ -289,25 +235,19 @@ class Organization extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.bool get reconciling => $_getBF(10); @$pb.TagNumber(11) - set reconciling($core.bool v) { - $_setBool(10, v); - } - + set reconciling($core.bool value) => $_setBool(10, value); @$pb.TagNumber(11) $core.bool hasReconciling() => $_has(10); @$pb.TagNumber(11) void clearReconciling() => $_clearField(11); - /// Required. The primary region for the organization. + /// Required. The primary region for the organization. /// - /// Cannot be changed after creation. + /// Cannot be changed after creation. @$pb.TagNumber(12) - $14.Region get primaryRegion => $_getN(11); + $4.Region get primaryRegion => $_getN(11); @$pb.TagNumber(12) - set primaryRegion($14.Region v) { - $_setField(12, v); - } - + set primaryRegion($4.Region value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasPrimaryRegion() => $_has(11); @$pb.TagNumber(12) @@ -315,12 +255,9 @@ class Organization extends $pb.GeneratedMessage { /// Output only. The lifecycle state of the organization. @$pb.TagNumber(13) - $14.LifecycleState get state => $_getN(12); + $4.LifecycleState get state => $_getN(12); @$pb.TagNumber(13) - set state($14.LifecycleState v) { - $_setField(13, v); - } - + set state($4.LifecycleState value) => $_setField(13, value); @$pb.TagNumber(13) $core.bool hasState() => $_has(12); @$pb.TagNumber(13) @@ -328,18 +265,15 @@ class Organization extends $pb.GeneratedMessage { /// Output only. The time the organization is scheduled for permanent deletion. @$pb.TagNumber(14) - $9.Timestamp get purgeTime => $_getN(13); + $2.Timestamp get purgeTime => $_getN(13); @$pb.TagNumber(14) - set purgeTime($9.Timestamp v) { - $_setField(14, v); - } - + set purgeTime($2.Timestamp value) => $_setField(14, value); @$pb.TagNumber(14) $core.bool hasPurgeTime() => $_has(13); @$pb.TagNumber(14) void clearPurgeTime() => $_clearField(14); @$pb.TagNumber(14) - $9.Timestamp ensurePurgeTime() => $_ensure(13); + $2.Timestamp ensurePurgeTime() => $_ensure(13); } /// Request message for the `CreateOrganization` method. @@ -350,28 +284,22 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { Organization? organization, $core.bool? validateOnly, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (organization != null) { - $result.organization = organization; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (organizationId != null) result.organizationId = organizationId; + if (organization != null) result.organization = organization; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - CreateOrganizationRequest._() : super(); - factory CreateOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CreateOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CreateOrganizationRequest._(); + + factory CreateOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CreateOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CreateOrganizationRequest', @@ -385,23 +313,21 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateOrganizationRequest clone() => CreateOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateOrganizationRequest copyWith( void Function(CreateOrganizationRequest) updates) => super.copyWith((message) => updates(message as CreateOrganizationRequest)) as CreateOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateOrganizationRequest create() => CreateOrganizationRequest._(); + @$core.override CreateOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -414,10 +340,7 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -427,10 +350,7 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get organizationId => $_getSZ(1); @$pb.TagNumber(2) - set organizationId($core.String v) { - $_setString(1, v); - } - + set organizationId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasOrganizationId() => $_has(1); @$pb.TagNumber(2) @@ -440,10 +360,7 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) Organization get organization => $_getN(2); @$pb.TagNumber(3) - set organization(Organization v) { - $_setField(3, v); - } - + set organization(Organization value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasOrganization() => $_has(2); @$pb.TagNumber(3) @@ -455,10 +372,7 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -469,32 +383,26 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { class UpdateOrganizationRequest extends $pb.GeneratedMessage { factory UpdateOrganizationRequest({ Organization? organization, - $12.FieldMask? updateMask, + $3.FieldMask? updateMask, $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (organization != null) { - $result.organization = organization; - } - if (updateMask != null) { - $result.updateMask = updateMask; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (organization != null) result.organization = organization; + if (updateMask != null) result.updateMask = updateMask; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - UpdateOrganizationRequest._() : super(); - factory UpdateOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UpdateOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UpdateOrganizationRequest._(); + + factory UpdateOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UpdateOrganizationRequest', @@ -503,29 +411,27 @@ class UpdateOrganizationRequest extends $pb.GeneratedMessage { createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'organization', subBuilder: Organization.create) - ..aOM<$12.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', - subBuilder: $12.FieldMask.create) + ..aOM<$3.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', + subBuilder: $3.FieldMask.create) ..aOB(3, _omitFieldNames ? '' : 'allowMissing') ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateOrganizationRequest clone() => UpdateOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateOrganizationRequest copyWith( void Function(UpdateOrganizationRequest) updates) => super.copyWith((message) => updates(message as UpdateOrganizationRequest)) as UpdateOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateOrganizationRequest create() => UpdateOrganizationRequest._(); + @$core.override UpdateOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -538,10 +444,7 @@ class UpdateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) Organization get organization => $_getN(0); @$pb.TagNumber(1) - set organization(Organization v) { - $_setField(1, v); - } - + set organization(Organization value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasOrganization() => $_has(0); @$pb.TagNumber(1) @@ -551,28 +454,22 @@ class UpdateOrganizationRequest extends $pb.GeneratedMessage { /// The update mask applies to the organization. @$pb.TagNumber(2) - $12.FieldMask get updateMask => $_getN(1); + $3.FieldMask get updateMask => $_getN(1); @$pb.TagNumber(2) - set updateMask($12.FieldMask v) { - $_setField(2, v); - } - + set updateMask($3.FieldMask value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUpdateMask() => $_has(1); @$pb.TagNumber(2) void clearUpdateMask() => $_clearField(2); @$pb.TagNumber(2) - $12.FieldMask ensureUpdateMask() => $_ensure(1); + $3.FieldMask ensureUpdateMask() => $_ensure(1); /// If set to true, and the organization is not found, a new organization will be created. /// In this situation, `update_mask` is ignored. @$pb.TagNumber(3) $core.bool get allowMissing => $_getBF(2); @$pb.TagNumber(3) - set allowMissing($core.bool v) { - $_setBool(2, v); - } - + set allowMissing($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasAllowMissing() => $_has(2); @$pb.TagNumber(3) @@ -582,10 +479,7 @@ class UpdateOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -597,19 +491,19 @@ class GetOrganizationRequest extends $pb.GeneratedMessage { factory GetOrganizationRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetOrganizationRequest._() : super(); - factory GetOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetOrganizationRequest._(); + + factory GetOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetOrganizationRequest', @@ -619,23 +513,21 @@ class GetOrganizationRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetOrganizationRequest clone() => GetOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetOrganizationRequest copyWith( void Function(GetOrganizationRequest) updates) => super.copyWith((message) => updates(message as GetOrganizationRequest)) as GetOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetOrganizationRequest create() => GetOrganizationRequest._(); + @$core.override GetOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -649,10 +541,7 @@ class GetOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -669,34 +558,24 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { $core.String? orderBy, $core.bool? showDeleted, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (filter != null) { - $result.filter = filter; - } - if (orderBy != null) { - $result.orderBy = orderBy; - } - if (showDeleted != null) { - $result.showDeleted = showDeleted; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (filter != null) result.filter = filter; + if (orderBy != null) result.orderBy = orderBy; + if (showDeleted != null) result.showDeleted = showDeleted; + return result; } - ListOrganizationsRequest._() : super(); - factory ListOrganizationsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListOrganizationsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListOrganizationsRequest._(); + + factory ListOrganizationsRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListOrganizationsRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListOrganizationsRequest', @@ -711,23 +590,21 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { ..aOB(6, _omitFieldNames ? '' : 'showDeleted') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOrganizationsRequest clone() => ListOrganizationsRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOrganizationsRequest copyWith( void Function(ListOrganizationsRequest) updates) => super.copyWith((message) => updates(message as ListOrganizationsRequest)) as ListOrganizationsRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListOrganizationsRequest create() => ListOrganizationsRequest._(); + @$core.override ListOrganizationsRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -740,10 +617,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -753,10 +627,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -766,10 +637,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -779,10 +647,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get filter => $_getSZ(3); @$pb.TagNumber(4) - set filter($core.String v) { - $_setString(3, v); - } - + set filter($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFilter() => $_has(3); @$pb.TagNumber(4) @@ -792,10 +657,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get orderBy => $_getSZ(4); @$pb.TagNumber(5) - set orderBy($core.String v) { - $_setString(4, v); - } - + set orderBy($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasOrderBy() => $_has(4); @$pb.TagNumber(5) @@ -805,10 +667,7 @@ class ListOrganizationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get showDeleted => $_getBF(5); @$pb.TagNumber(6) - set showDeleted($core.bool v) { - $_setBool(5, v); - } - + set showDeleted($core.bool value) => $_setBool(5, value); @$pb.TagNumber(6) $core.bool hasShowDeleted() => $_has(5); @$pb.TagNumber(6) @@ -821,22 +680,20 @@ class ListOrganizationsResponse extends $pb.GeneratedMessage { $core.Iterable? organizations, $core.String? nextPageToken, }) { - final $result = create(); - if (organizations != null) { - $result.organizations.addAll(organizations); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (organizations != null) result.organizations.addAll(organizations); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListOrganizationsResponse._() : super(); - factory ListOrganizationsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListOrganizationsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListOrganizationsResponse._(); + + factory ListOrganizationsResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListOrganizationsResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListOrganizationsResponse', @@ -849,23 +706,21 @@ class ListOrganizationsResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOrganizationsResponse clone() => ListOrganizationsResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOrganizationsResponse copyWith( void Function(ListOrganizationsResponse) updates) => super.copyWith((message) => updates(message as ListOrganizationsResponse)) as ListOrganizationsResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListOrganizationsResponse create() => ListOrganizationsResponse._(); + @$core.override ListOrganizationsResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -882,10 +737,7 @@ class ListOrganizationsResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) @@ -901,31 +753,23 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (force != null) { - $result.force = force; - } - if (etag != null) { - $result.etag = etag; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (force != null) result.force = force; + if (etag != null) result.etag = etag; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - DeleteOrganizationRequest._() : super(); - factory DeleteOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeleteOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeleteOrganizationRequest._(); + + factory DeleteOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeleteOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteOrganizationRequest', @@ -939,23 +783,21 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteOrganizationRequest clone() => DeleteOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteOrganizationRequest copyWith( void Function(DeleteOrganizationRequest) updates) => super.copyWith((message) => updates(message as DeleteOrganizationRequest)) as DeleteOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeleteOrganizationRequest create() => DeleteOrganizationRequest._(); + @$core.override DeleteOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -964,16 +806,13 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static DeleteOrganizationRequest? _defaultInstance; - /// Required. The name of the organization to delete. + /// Required. The name of the organization to delete. /// - /// Format: `organizations/{organization}` + /// Format: `organizations/{organization}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -984,10 +823,7 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get force => $_getBF(1); @$pb.TagNumber(2) - set force($core.bool v) { - $_setBool(1, v); - } - + set force($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasForce() => $_has(1); @$pb.TagNumber(2) @@ -998,10 +834,7 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1012,10 +845,7 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get allowMissing => $_getBF(3); @$pb.TagNumber(4) - set allowMissing($core.bool v) { - $_setBool(3, v); - } - + set allowMissing($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasAllowMissing() => $_has(3); @$pb.TagNumber(4) @@ -1025,10 +855,7 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get validateOnly => $_getBF(4); @$pb.TagNumber(5) - set validateOnly($core.bool v) { - $_setBool(4, v); - } - + set validateOnly($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasValidateOnly() => $_has(4); @$pb.TagNumber(5) @@ -1042,25 +869,21 @@ class UndeleteOrganizationRequest extends $pb.GeneratedMessage { $core.bool? validateOnly, $core.String? etag, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - if (etag != null) { - $result.etag = etag; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (validateOnly != null) result.validateOnly = validateOnly; + if (etag != null) result.etag = etag; + return result; } - UndeleteOrganizationRequest._() : super(); - factory UndeleteOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UndeleteOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UndeleteOrganizationRequest._(); + + factory UndeleteOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UndeleteOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UndeleteOrganizationRequest', @@ -1072,25 +895,23 @@ class UndeleteOrganizationRequest extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'etag') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UndeleteOrganizationRequest clone() => UndeleteOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UndeleteOrganizationRequest copyWith( void Function(UndeleteOrganizationRequest) updates) => super.copyWith( (message) => updates(message as UndeleteOrganizationRequest)) as UndeleteOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UndeleteOrganizationRequest create() => UndeleteOrganizationRequest._(); + @$core.override UndeleteOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1099,16 +920,13 @@ class UndeleteOrganizationRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static UndeleteOrganizationRequest? _defaultInstance; - /// Required. The name of the organization to undelete. + /// Required. The name of the organization to undelete. /// - /// Format: `organizations/{organization}` + /// Format: `organizations/{organization}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1118,10 +936,7 @@ class UndeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get validateOnly => $_getBF(1); @$pb.TagNumber(2) - set validateOnly($core.bool v) { - $_setBool(1, v); - } - + set validateOnly($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasValidateOnly() => $_has(1); @$pb.TagNumber(2) @@ -1132,10 +947,7 @@ class UndeleteOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1150,28 +962,22 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { $core.String? etag, $core.bool? validateOnly, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (etag != null) { - $result.etag = etag; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (organizationId != null) result.organizationId = organizationId; + if (etag != null) result.etag = etag; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - RenameOrganizationRequest._() : super(); - factory RenameOrganizationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RenameOrganizationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + RenameOrganizationRequest._(); + + factory RenameOrganizationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory RenameOrganizationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'RenameOrganizationRequest', @@ -1184,23 +990,21 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RenameOrganizationRequest clone() => RenameOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RenameOrganizationRequest copyWith( void Function(RenameOrganizationRequest) updates) => super.copyWith((message) => updates(message as RenameOrganizationRequest)) as RenameOrganizationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RenameOrganizationRequest create() => RenameOrganizationRequest._(); + @$core.override RenameOrganizationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1214,10 +1018,7 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1227,10 +1028,7 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get organizationId => $_getSZ(1); @$pb.TagNumber(2) - set organizationId($core.String v) { - $_setString(1, v); - } - + set organizationId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasOrganizationId() => $_has(1); @$pb.TagNumber(2) @@ -1241,10 +1039,7 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1254,16 +1049,14 @@ class RenameOrganizationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) void clearValidateOnly() => $_clearField(4); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbenum.dart index e834b9e1a..13ea2c7b3 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/organizations.proto -// +// Generated from celest/cloud/v1alpha1/organizations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbgrpc.dart index 4f53d5e98..6467a560a 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/organizations.proto -// +// Generated from celest/cloud/v1alpha1/organizations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,93 +16,127 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/longrunning/operations.pb.dart' as $4; -import 'organizations.pb.dart' as $3; +import '../../../google/longrunning/operations.pb.dart' as $1; +import 'organizations.pb.dart' as $0; export 'organizations.pb.dart'; +/// Allows users to manage organizations in Celest. @$pb.GrpcServiceName('celest.cloud.v1alpha1.Organizations') class OrganizationsClient extends $grpc.Client { - static final _$createOrganization = - $grpc.ClientMethod<$3.CreateOrganizationRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Organizations/CreateOrganization', - ($3.CreateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$getOrganization = - $grpc.ClientMethod<$3.GetOrganizationRequest, $3.Organization>( - '/celest.cloud.v1alpha1.Organizations/GetOrganization', - ($3.GetOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.Organization.fromBuffer(value)); - static final _$listOrganizations = $grpc.ClientMethod< - $3.ListOrganizationsRequest, $3.ListOrganizationsResponse>( - '/celest.cloud.v1alpha1.Organizations/ListOrganizations', - ($3.ListOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $3.ListOrganizationsResponse.fromBuffer(value)); - static final _$updateOrganization = - $grpc.ClientMethod<$3.UpdateOrganizationRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Organizations/UpdateOrganization', - ($3.UpdateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$deleteOrganization = - $grpc.ClientMethod<$3.DeleteOrganizationRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Organizations/DeleteOrganization', - ($3.DeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$undeleteOrganization = - $grpc.ClientMethod<$3.UndeleteOrganizationRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Organizations/UndeleteOrganization', - ($3.UndeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$renameOrganization = - $grpc.ClientMethod<$3.RenameOrganizationRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Organizations/RenameOrganization', - ($3.RenameOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; OrganizationsClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$4.Operation> createOrganization( - $3.CreateOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Creates a new organization. + $grpc.ResponseFuture<$1.Operation> createOrganization( + $0.CreateOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$createOrganization, request, options: options); } - $grpc.ResponseFuture<$3.Organization> getOrganization( - $3.GetOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Retrieves the organization identified by the specified name. + $grpc.ResponseFuture<$0.Organization> getOrganization( + $0.GetOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getOrganization, request, options: options); } - $grpc.ResponseFuture<$3.ListOrganizationsResponse> listOrganizations( - $3.ListOrganizationsRequest request, - {$grpc.CallOptions? options}) { + /// Lists organizations. + $grpc.ResponseFuture<$0.ListOrganizationsResponse> listOrganizations( + $0.ListOrganizationsRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listOrganizations, request, options: options); } - $grpc.ResponseFuture<$4.Operation> updateOrganization( - $3.UpdateOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Update the organization identified by the specified name. + $grpc.ResponseFuture<$1.Operation> updateOrganization( + $0.UpdateOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$updateOrganization, request, options: options); } - $grpc.ResponseFuture<$4.Operation> deleteOrganization( - $3.DeleteOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Marks an organization for deletion. + $grpc.ResponseFuture<$1.Operation> deleteOrganization( + $0.DeleteOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deleteOrganization, request, options: options); } - $grpc.ResponseFuture<$4.Operation> undeleteOrganization( - $3.UndeleteOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Restores an organization that has been marked for deletion. + $grpc.ResponseFuture<$1.Operation> undeleteOrganization( + $0.UndeleteOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$undeleteOrganization, request, options: options); } - $grpc.ResponseFuture<$4.Operation> renameOrganization( - $3.RenameOrganizationRequest request, - {$grpc.CallOptions? options}) { + /// Renames the organization identified by the specified name. + /// + /// After renaming, the organization can no longer be identified by the previous name. All of its child resources are + /// also renamed and must be accessed using the new identifier. + /// + /// Renaming does not release the previous identifier from use. It is an error to attempt to create a new organization + /// with the same identifier as a previously renamed organization. + /// + /// (-- api-linter: core::0136::declarative-standard-methods-only=disabled + /// aip.dev/not-precedent: Renaming is an inherently imperative method which should not be handled declaratively. + /// https://google.aip.dev/136#declarative-friendly-resources --) + $grpc.ResponseFuture<$1.Operation> renameOrganization( + $0.RenameOrganizationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$renameOrganization, request, options: options); } + + // method descriptors + + static final _$createOrganization = + $grpc.ClientMethod<$0.CreateOrganizationRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Organizations/CreateOrganization', + ($0.CreateOrganizationRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$getOrganization = + $grpc.ClientMethod<$0.GetOrganizationRequest, $0.Organization>( + '/celest.cloud.v1alpha1.Organizations/GetOrganization', + ($0.GetOrganizationRequest value) => value.writeToBuffer(), + $0.Organization.fromBuffer); + static final _$listOrganizations = $grpc.ClientMethod< + $0.ListOrganizationsRequest, $0.ListOrganizationsResponse>( + '/celest.cloud.v1alpha1.Organizations/ListOrganizations', + ($0.ListOrganizationsRequest value) => value.writeToBuffer(), + $0.ListOrganizationsResponse.fromBuffer); + static final _$updateOrganization = + $grpc.ClientMethod<$0.UpdateOrganizationRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Organizations/UpdateOrganization', + ($0.UpdateOrganizationRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$deleteOrganization = + $grpc.ClientMethod<$0.DeleteOrganizationRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Organizations/DeleteOrganization', + ($0.DeleteOrganizationRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$undeleteOrganization = + $grpc.ClientMethod<$0.UndeleteOrganizationRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Organizations/UndeleteOrganization', + ($0.UndeleteOrganizationRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$renameOrganization = + $grpc.ClientMethod<$0.RenameOrganizationRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Organizations/RenameOrganization', + ($0.RenameOrganizationRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.v1alpha1.Organizations') @@ -109,114 +144,120 @@ abstract class OrganizationsServiceBase extends $grpc.Service { $core.String get $name => 'celest.cloud.v1alpha1.Organizations'; OrganizationsServiceBase() { - $addMethod($grpc.ServiceMethod<$3.CreateOrganizationRequest, $4.Operation>( + $addMethod($grpc.ServiceMethod<$0.CreateOrganizationRequest, $1.Operation>( 'CreateOrganization', createOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.CreateOrganizationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.GetOrganizationRequest, $3.Organization>( + $0.CreateOrganizationRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetOrganizationRequest, $0.Organization>( 'GetOrganization', getOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.GetOrganizationRequest.fromBuffer(value), - ($3.Organization value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ListOrganizationsRequest, - $3.ListOrganizationsResponse>( + $0.GetOrganizationRequest.fromBuffer(value), + ($0.Organization value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListOrganizationsRequest, + $0.ListOrganizationsResponse>( 'ListOrganizations', listOrganizations_Pre, false, false, ($core.List<$core.int> value) => - $3.ListOrganizationsRequest.fromBuffer(value), - ($3.ListOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.UpdateOrganizationRequest, $4.Operation>( + $0.ListOrganizationsRequest.fromBuffer(value), + ($0.ListOrganizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateOrganizationRequest, $1.Operation>( 'UpdateOrganization', updateOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.UpdateOrganizationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.DeleteOrganizationRequest, $4.Operation>( + $0.UpdateOrganizationRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteOrganizationRequest, $1.Operation>( 'DeleteOrganization', deleteOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.DeleteOrganizationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.DeleteOrganizationRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$3.UndeleteOrganizationRequest, $4.Operation>( + $grpc.ServiceMethod<$0.UndeleteOrganizationRequest, $1.Operation>( 'UndeleteOrganization', undeleteOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.UndeleteOrganizationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RenameOrganizationRequest, $4.Operation>( + $0.UndeleteOrganizationRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.RenameOrganizationRequest, $1.Operation>( 'RenameOrganization', renameOrganization_Pre, false, false, ($core.List<$core.int> value) => - $3.RenameOrganizationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.RenameOrganizationRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); } - $async.Future<$4.Operation> createOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.CreateOrganizationRequest> $request) async { + $async.Future<$1.Operation> createOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.CreateOrganizationRequest> $request) async { return createOrganization($call, await $request); } - $async.Future<$3.Organization> getOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.GetOrganizationRequest> $request) async { + $async.Future<$1.Operation> createOrganization( + $grpc.ServiceCall call, $0.CreateOrganizationRequest request); + + $async.Future<$0.Organization> getOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.GetOrganizationRequest> $request) async { return getOrganization($call, await $request); } - $async.Future<$3.ListOrganizationsResponse> listOrganizations_Pre( + $async.Future<$0.Organization> getOrganization( + $grpc.ServiceCall call, $0.GetOrganizationRequest request); + + $async.Future<$0.ListOrganizationsResponse> listOrganizations_Pre( $grpc.ServiceCall $call, - $async.Future<$3.ListOrganizationsRequest> $request) async { + $async.Future<$0.ListOrganizationsRequest> $request) async { return listOrganizations($call, await $request); } - $async.Future<$4.Operation> updateOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.UpdateOrganizationRequest> $request) async { + $async.Future<$0.ListOrganizationsResponse> listOrganizations( + $grpc.ServiceCall call, $0.ListOrganizationsRequest request); + + $async.Future<$1.Operation> updateOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.UpdateOrganizationRequest> $request) async { return updateOrganization($call, await $request); } - $async.Future<$4.Operation> deleteOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.DeleteOrganizationRequest> $request) async { + $async.Future<$1.Operation> updateOrganization( + $grpc.ServiceCall call, $0.UpdateOrganizationRequest request); + + $async.Future<$1.Operation> deleteOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.DeleteOrganizationRequest> $request) async { return deleteOrganization($call, await $request); } - $async.Future<$4.Operation> undeleteOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.UndeleteOrganizationRequest> $request) async { + $async.Future<$1.Operation> deleteOrganization( + $grpc.ServiceCall call, $0.DeleteOrganizationRequest request); + + $async.Future<$1.Operation> undeleteOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.UndeleteOrganizationRequest> $request) async { return undeleteOrganization($call, await $request); } - $async.Future<$4.Operation> renameOrganization_Pre($grpc.ServiceCall $call, - $async.Future<$3.RenameOrganizationRequest> $request) async { + $async.Future<$1.Operation> undeleteOrganization( + $grpc.ServiceCall call, $0.UndeleteOrganizationRequest request); + + $async.Future<$1.Operation> renameOrganization_Pre($grpc.ServiceCall $call, + $async.Future<$0.RenameOrganizationRequest> $request) async { return renameOrganization($call, await $request); } - $async.Future<$4.Operation> createOrganization( - $grpc.ServiceCall call, $3.CreateOrganizationRequest request); - $async.Future<$3.Organization> getOrganization( - $grpc.ServiceCall call, $3.GetOrganizationRequest request); - $async.Future<$3.ListOrganizationsResponse> listOrganizations( - $grpc.ServiceCall call, $3.ListOrganizationsRequest request); - $async.Future<$4.Operation> updateOrganization( - $grpc.ServiceCall call, $3.UpdateOrganizationRequest request); - $async.Future<$4.Operation> deleteOrganization( - $grpc.ServiceCall call, $3.DeleteOrganizationRequest request); - $async.Future<$4.Operation> undeleteOrganization( - $grpc.ServiceCall call, $3.UndeleteOrganizationRequest request); - $async.Future<$4.Operation> renameOrganization( - $grpc.ServiceCall call, $3.RenameOrganizationRequest request); + $async.Future<$1.Operation> renameOrganization( + $grpc.ServiceCall call, $0.RenameOrganizationRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbjson.dart index 93f3e41aa..cfea47125 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/organizations.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/organizations.proto -// +// Generated from celest/cloud/v1alpha1/organizations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pb.dart index bef683c39..ef66376f4 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pb.dart @@ -1,22 +1,23 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/project_environments.proto -// +// Generated from celest/cloud/v1alpha1/project_environments.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../google/protobuf/any.pb.dart' as $13; -import '../../../google/protobuf/field_mask.pb.dart' as $12; -import '../../../google/protobuf/timestamp.pb.dart' as $9; -import 'common.pbenum.dart' as $14; +import '../../../google/protobuf/any.pb.dart' as $4; +import '../../../google/protobuf/field_mask.pb.dart' as $3; +import '../../../google/protobuf/timestamp.pb.dart' as $2; +import 'common.pbenum.dart' as $5; import 'project_environments.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -31,64 +32,41 @@ class ProjectEnvironment extends $pb.GeneratedMessage { $core.String? parent, $core.String? projectEnvironmentId, $core.String? displayName, - $9.Timestamp? createTime, - $9.Timestamp? updateTime, - $9.Timestamp? deleteTime, + $2.Timestamp? createTime, + $2.Timestamp? updateTime, + $2.Timestamp? deleteTime, $core.String? etag, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? annotations, $core.bool? reconciling, - $14.LifecycleState? state, + $5.LifecycleState? state, $core.String? uri, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (uid != null) { - $result.uid = uid; - } - if (parent != null) { - $result.parent = parent; - } - if (projectEnvironmentId != null) { - $result.projectEnvironmentId = projectEnvironmentId; - } - if (displayName != null) { - $result.displayName = displayName; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (deleteTime != null) { - $result.deleteTime = deleteTime; - } - if (etag != null) { - $result.etag = etag; - } - if (annotations != null) { - $result.annotations.addEntries(annotations); - } - if (reconciling != null) { - $result.reconciling = reconciling; - } - if (state != null) { - $result.state = state; - } - if (uri != null) { - $result.uri = uri; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (uid != null) result.uid = uid; + if (parent != null) result.parent = parent; + if (projectEnvironmentId != null) + result.projectEnvironmentId = projectEnvironmentId; + if (displayName != null) result.displayName = displayName; + if (createTime != null) result.createTime = createTime; + if (updateTime != null) result.updateTime = updateTime; + if (deleteTime != null) result.deleteTime = deleteTime; + if (etag != null) result.etag = etag; + if (annotations != null) result.annotations.addEntries(annotations); + if (reconciling != null) result.reconciling = reconciling; + if (state != null) result.state = state; + if (uri != null) result.uri = uri; + return result; } - ProjectEnvironment._() : super(); - factory ProjectEnvironment.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ProjectEnvironment.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ProjectEnvironment._(); + + factory ProjectEnvironment.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ProjectEnvironment.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ProjectEnvironment', @@ -100,12 +78,12 @@ class ProjectEnvironment extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'parent') ..aOS(4, _omitFieldNames ? '' : 'projectEnvironmentId') ..aOS(5, _omitFieldNames ? '' : 'displayName') - ..aOM<$9.Timestamp>(6, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(8, _omitFieldNames ? '' : 'deleteTime', - subBuilder: $9.Timestamp.create) + ..aOM<$2.Timestamp>(6, _omitFieldNames ? '' : 'createTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(8, _omitFieldNames ? '' : 'deleteTime', + subBuilder: $2.Timestamp.create) ..aOS(9, _omitFieldNames ? '' : 'etag') ..m<$core.String, $core.String>(10, _omitFieldNames ? '' : 'annotations', entryClassName: 'ProjectEnvironment.AnnotationsEntry', @@ -113,29 +91,27 @@ class ProjectEnvironment extends $pb.GeneratedMessage { valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('celest.cloud.v1alpha1')) ..aOB(11, _omitFieldNames ? '' : 'reconciling') - ..e<$14.LifecycleState>( + ..e<$5.LifecycleState>( 12, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: $14.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, - valueOf: $14.LifecycleState.valueOf, - enumValues: $14.LifecycleState.values) + defaultOrMaker: $5.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, + valueOf: $5.LifecycleState.valueOf, + enumValues: $5.LifecycleState.values) ..aOS(13, _omitFieldNames ? '' : 'uri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ProjectEnvironment clone() => ProjectEnvironment()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ProjectEnvironment copyWith(void Function(ProjectEnvironment) updates) => super.copyWith((message) => updates(message as ProjectEnvironment)) as ProjectEnvironment; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ProjectEnvironment create() => ProjectEnvironment._(); + @$core.override ProjectEnvironment createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -149,10 +125,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -162,10 +135,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get uid => $_getSZ(1); @$pb.TagNumber(2) - set uid($core.String v) { - $_setString(1, v); - } - + set uid($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasUid() => $_has(1); @$pb.TagNumber(2) @@ -175,10 +145,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get parent => $_getSZ(2); @$pb.TagNumber(3) - set parent($core.String v) { - $_setString(2, v); - } - + set parent($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasParent() => $_has(2); @$pb.TagNumber(3) @@ -189,10 +156,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get projectEnvironmentId => $_getSZ(3); @$pb.TagNumber(4) - set projectEnvironmentId($core.String v) { - $_setString(3, v); - } - + set projectEnvironmentId($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasProjectEnvironmentId() => $_has(3); @$pb.TagNumber(4) @@ -202,10 +166,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get displayName => $_getSZ(4); @$pb.TagNumber(5) - set displayName($core.String v) { - $_setString(4, v); - } - + set displayName($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasDisplayName() => $_has(4); @$pb.TagNumber(5) @@ -213,48 +174,39 @@ class ProjectEnvironment extends $pb.GeneratedMessage { /// Output only. The time the environment was created. @$pb.TagNumber(6) - $9.Timestamp get createTime => $_getN(5); + $2.Timestamp get createTime => $_getN(5); @$pb.TagNumber(6) - set createTime($9.Timestamp v) { - $_setField(6, v); - } - + set createTime($2.Timestamp value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasCreateTime() => $_has(5); @$pb.TagNumber(6) void clearCreateTime() => $_clearField(6); @$pb.TagNumber(6) - $9.Timestamp ensureCreateTime() => $_ensure(5); + $2.Timestamp ensureCreateTime() => $_ensure(5); /// Output only. The time the environment was last updated. @$pb.TagNumber(7) - $9.Timestamp get updateTime => $_getN(6); + $2.Timestamp get updateTime => $_getN(6); @$pb.TagNumber(7) - set updateTime($9.Timestamp v) { - $_setField(7, v); - } - + set updateTime($2.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasUpdateTime() => $_has(6); @$pb.TagNumber(7) void clearUpdateTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureUpdateTime() => $_ensure(6); + $2.Timestamp ensureUpdateTime() => $_ensure(6); /// Output only. The time the environment was deleted. @$pb.TagNumber(8) - $9.Timestamp get deleteTime => $_getN(7); + $2.Timestamp get deleteTime => $_getN(7); @$pb.TagNumber(8) - set deleteTime($9.Timestamp v) { - $_setField(8, v); - } - + set deleteTime($2.Timestamp value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasDeleteTime() => $_has(7); @$pb.TagNumber(8) void clearDeleteTime() => $_clearField(8); @$pb.TagNumber(8) - $9.Timestamp ensureDeleteTime() => $_ensure(7); + $2.Timestamp ensureDeleteTime() => $_ensure(7); /// Output only. A checksum computed by the server based on the current value /// of the ProjectEnvironment resource. This may be sent on update and delete requests to @@ -262,10 +214,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get etag => $_getSZ(8); @$pb.TagNumber(9) - set etag($core.String v) { - $_setString(8, v); - } - + set etag($core.String value) => $_setString(8, value); @$pb.TagNumber(9) $core.bool hasEtag() => $_has(8); @$pb.TagNumber(9) @@ -279,10 +228,7 @@ class ProjectEnvironment extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.bool get reconciling => $_getBF(10); @$pb.TagNumber(11) - set reconciling($core.bool v) { - $_setBool(10, v); - } - + set reconciling($core.bool value) => $_setBool(10, value); @$pb.TagNumber(11) $core.bool hasReconciling() => $_has(10); @$pb.TagNumber(11) @@ -290,27 +236,21 @@ class ProjectEnvironment extends $pb.GeneratedMessage { /// Output only. The current state of the environment. @$pb.TagNumber(12) - $14.LifecycleState get state => $_getN(11); + $5.LifecycleState get state => $_getN(11); @$pb.TagNumber(12) - set state($14.LifecycleState v) { - $_setField(12, v); - } - + set state($5.LifecycleState value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasState() => $_has(11); @$pb.TagNumber(12) void clearState() => $_clearField(12); - /// Output only. The hosted URI of the environment. + /// Output only. The hosted URI of the environment. /// - /// Will be empty if the environment is not yet deployed. + /// Will be empty if the environment is not yet deployed. @$pb.TagNumber(13) $core.String get uri => $_getSZ(12); @$pb.TagNumber(13) - set uri($core.String v) { - $_setString(12, v); - } - + set uri($core.String value) => $_setString(12, value); @$pb.TagNumber(13) $core.bool hasUri() => $_has(12); @$pb.TagNumber(13) @@ -326,31 +266,25 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { $core.String? requestId, $core.bool? validateOnly, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (projectEnvironment != null) { - $result.projectEnvironment = projectEnvironment; - } - if (projectEnvironmentId != null) { - $result.projectEnvironmentId = projectEnvironmentId; - } - if (requestId != null) { - $result.requestId = requestId; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (projectEnvironment != null) + result.projectEnvironment = projectEnvironment; + if (projectEnvironmentId != null) + result.projectEnvironmentId = projectEnvironmentId; + if (requestId != null) result.requestId = requestId; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - CreateProjectEnvironmentRequest._() : super(); - factory CreateProjectEnvironmentRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CreateProjectEnvironmentRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CreateProjectEnvironmentRequest._(); + + factory CreateProjectEnvironmentRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CreateProjectEnvironmentRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CreateProjectEnvironmentRequest', @@ -365,25 +299,23 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateProjectEnvironmentRequest clone() => CreateProjectEnvironmentRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateProjectEnvironmentRequest copyWith( void Function(CreateProjectEnvironmentRequest) updates) => super.copyWith( (message) => updates(message as CreateProjectEnvironmentRequest)) as CreateProjectEnvironmentRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateProjectEnvironmentRequest create() => CreateProjectEnvironmentRequest._(); + @$core.override CreateProjectEnvironmentRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -397,10 +329,7 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -410,10 +339,7 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) ProjectEnvironment get projectEnvironment => $_getN(1); @$pb.TagNumber(2) - set projectEnvironment(ProjectEnvironment v) { - $_setField(2, v); - } - + set projectEnvironment(ProjectEnvironment value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasProjectEnvironment() => $_has(1); @$pb.TagNumber(2) @@ -421,16 +347,13 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) ProjectEnvironment ensureProjectEnvironment() => $_ensure(1); - /// Required. The identifier to use for the environment. + /// Required. The identifier to use for the environment. /// - /// It must be 3 to 30 lowercase ASCII letters, digits, or hyphens. + /// It must be 3 to 30 lowercase ASCII letters, digits, or hyphens. @$pb.TagNumber(3) $core.String get projectEnvironmentId => $_getSZ(2); @$pb.TagNumber(3) - set projectEnvironmentId($core.String v) { - $_setString(2, v); - } - + set projectEnvironmentId($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasProjectEnvironmentId() => $_has(2); @$pb.TagNumber(3) @@ -441,10 +364,7 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get requestId => $_getSZ(3); @$pb.TagNumber(4) - set requestId($core.String v) { - $_setString(3, v); - } - + set requestId($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasRequestId() => $_has(3); @$pb.TagNumber(4) @@ -455,10 +375,7 @@ class CreateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get validateOnly => $_getBF(4); @$pb.TagNumber(5) - set validateOnly($core.bool v) { - $_setBool(4, v); - } - + set validateOnly($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasValidateOnly() => $_has(4); @$pb.TagNumber(5) @@ -470,19 +387,19 @@ class GetProjectEnvironmentRequest extends $pb.GeneratedMessage { factory GetProjectEnvironmentRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetProjectEnvironmentRequest._() : super(); - factory GetProjectEnvironmentRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetProjectEnvironmentRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetProjectEnvironmentRequest._(); + + factory GetProjectEnvironmentRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetProjectEnvironmentRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetProjectEnvironmentRequest', @@ -492,25 +409,23 @@ class GetProjectEnvironmentRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetProjectEnvironmentRequest clone() => GetProjectEnvironmentRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetProjectEnvironmentRequest copyWith( void Function(GetProjectEnvironmentRequest) updates) => super.copyWith( (message) => updates(message as GetProjectEnvironmentRequest)) as GetProjectEnvironmentRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetProjectEnvironmentRequest create() => GetProjectEnvironmentRequest._(); + @$core.override GetProjectEnvironmentRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -523,10 +438,7 @@ class GetProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -537,36 +449,29 @@ class GetProjectEnvironmentRequest extends $pb.GeneratedMessage { class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { factory UpdateProjectEnvironmentRequest({ ProjectEnvironment? projectEnvironment, - $12.FieldMask? updateMask, + $3.FieldMask? updateMask, $core.String? requestId, $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (projectEnvironment != null) { - $result.projectEnvironment = projectEnvironment; - } - if (updateMask != null) { - $result.updateMask = updateMask; - } - if (requestId != null) { - $result.requestId = requestId; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (projectEnvironment != null) + result.projectEnvironment = projectEnvironment; + if (updateMask != null) result.updateMask = updateMask; + if (requestId != null) result.requestId = requestId; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - UpdateProjectEnvironmentRequest._() : super(); - factory UpdateProjectEnvironmentRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UpdateProjectEnvironmentRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UpdateProjectEnvironmentRequest._(); + + factory UpdateProjectEnvironmentRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateProjectEnvironmentRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UpdateProjectEnvironmentRequest', @@ -575,32 +480,30 @@ class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'projectEnvironment', subBuilder: ProjectEnvironment.create) - ..aOM<$12.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', - subBuilder: $12.FieldMask.create) + ..aOM<$3.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', + subBuilder: $3.FieldMask.create) ..aOS(3, _omitFieldNames ? '' : 'requestId') ..aOB(4, _omitFieldNames ? '' : 'allowMissing') ..aOB(5, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateProjectEnvironmentRequest clone() => UpdateProjectEnvironmentRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateProjectEnvironmentRequest copyWith( void Function(UpdateProjectEnvironmentRequest) updates) => super.copyWith( (message) => updates(message as UpdateProjectEnvironmentRequest)) as UpdateProjectEnvironmentRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateProjectEnvironmentRequest create() => UpdateProjectEnvironmentRequest._(); + @$core.override UpdateProjectEnvironmentRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -614,10 +517,7 @@ class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) ProjectEnvironment get projectEnvironment => $_getN(0); @$pb.TagNumber(1) - set projectEnvironment(ProjectEnvironment v) { - $_setField(1, v); - } - + set projectEnvironment(ProjectEnvironment value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasProjectEnvironment() => $_has(0); @$pb.TagNumber(1) @@ -627,28 +527,22 @@ class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { /// Optional. The update mask to apply to the environment. @$pb.TagNumber(2) - $12.FieldMask get updateMask => $_getN(1); + $3.FieldMask get updateMask => $_getN(1); @$pb.TagNumber(2) - set updateMask($12.FieldMask v) { - $_setField(2, v); - } - + set updateMask($3.FieldMask value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUpdateMask() => $_has(1); @$pb.TagNumber(2) void clearUpdateMask() => $_clearField(2); @$pb.TagNumber(2) - $12.FieldMask ensureUpdateMask() => $_ensure(1); + $3.FieldMask ensureUpdateMask() => $_ensure(1); /// Optional. The request ID to use for the update request. If provided, ensures this /// request is idempotent. @$pb.TagNumber(3) $core.String get requestId => $_getSZ(2); @$pb.TagNumber(3) - set requestId($core.String v) { - $_setString(2, v); - } - + set requestId($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasRequestId() => $_has(2); @$pb.TagNumber(3) @@ -659,10 +553,7 @@ class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get allowMissing => $_getBF(3); @$pb.TagNumber(4) - set allowMissing($core.bool v) { - $_setBool(3, v); - } - + set allowMissing($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasAllowMissing() => $_has(3); @$pb.TagNumber(4) @@ -673,10 +564,7 @@ class UpdateProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get validateOnly => $_getBF(4); @$pb.TagNumber(5) - set validateOnly($core.bool v) { - $_setBool(4, v); - } - + set validateOnly($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasValidateOnly() => $_has(4); @$pb.TagNumber(5) @@ -692,31 +580,23 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { $core.String? filter, $core.String? orderBy, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (filter != null) { - $result.filter = filter; - } - if (orderBy != null) { - $result.orderBy = orderBy; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (filter != null) result.filter = filter; + if (orderBy != null) result.orderBy = orderBy; + return result; } - ListProjectEnvironmentsRequest._() : super(); - factory ListProjectEnvironmentsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListProjectEnvironmentsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListProjectEnvironmentsRequest._(); + + factory ListProjectEnvironmentsRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListProjectEnvironmentsRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListProjectEnvironmentsRequest', @@ -730,25 +610,23 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { ..aOS(5, _omitFieldNames ? '' : 'orderBy') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectEnvironmentsRequest clone() => ListProjectEnvironmentsRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectEnvironmentsRequest copyWith( void Function(ListProjectEnvironmentsRequest) updates) => super.copyWith( (message) => updates(message as ListProjectEnvironmentsRequest)) as ListProjectEnvironmentsRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListProjectEnvironmentsRequest create() => ListProjectEnvironmentsRequest._(); + @$core.override ListProjectEnvironmentsRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -761,10 +639,7 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -775,10 +650,7 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -791,10 +663,7 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -804,10 +673,7 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get filter => $_getSZ(3); @$pb.TagNumber(4) - set filter($core.String v) { - $_setString(3, v); - } - + set filter($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFilter() => $_has(3); @$pb.TagNumber(4) @@ -817,10 +683,7 @@ class ListProjectEnvironmentsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get orderBy => $_getSZ(4); @$pb.TagNumber(5) - set orderBy($core.String v) { - $_setString(4, v); - } - + set orderBy($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasOrderBy() => $_has(4); @$pb.TagNumber(5) @@ -833,22 +696,21 @@ class ListProjectEnvironmentsResponse extends $pb.GeneratedMessage { $core.Iterable? projectEnvironments, $core.String? nextPageToken, }) { - final $result = create(); - if (projectEnvironments != null) { - $result.projectEnvironments.addAll(projectEnvironments); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (projectEnvironments != null) + result.projectEnvironments.addAll(projectEnvironments); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListProjectEnvironmentsResponse._() : super(); - factory ListProjectEnvironmentsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListProjectEnvironmentsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListProjectEnvironmentsResponse._(); + + factory ListProjectEnvironmentsResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListProjectEnvironmentsResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListProjectEnvironmentsResponse', @@ -861,25 +723,23 @@ class ListProjectEnvironmentsResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectEnvironmentsResponse clone() => ListProjectEnvironmentsResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectEnvironmentsResponse copyWith( void Function(ListProjectEnvironmentsResponse) updates) => super.copyWith( (message) => updates(message as ListProjectEnvironmentsResponse)) as ListProjectEnvironmentsResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListProjectEnvironmentsResponse create() => ListProjectEnvironmentsResponse._(); + @$core.override ListProjectEnvironmentsResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -899,10 +759,7 @@ class ListProjectEnvironmentsResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) @@ -918,31 +775,23 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (requestId != null) { - $result.requestId = requestId; - } - if (etag != null) { - $result.etag = etag; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (requestId != null) result.requestId = requestId; + if (etag != null) result.etag = etag; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - DeleteProjectEnvironmentRequest._() : super(); - factory DeleteProjectEnvironmentRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeleteProjectEnvironmentRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeleteProjectEnvironmentRequest._(); + + factory DeleteProjectEnvironmentRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeleteProjectEnvironmentRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteProjectEnvironmentRequest', @@ -956,25 +805,23 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteProjectEnvironmentRequest clone() => DeleteProjectEnvironmentRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteProjectEnvironmentRequest copyWith( void Function(DeleteProjectEnvironmentRequest) updates) => super.copyWith( (message) => updates(message as DeleteProjectEnvironmentRequest)) as DeleteProjectEnvironmentRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeleteProjectEnvironmentRequest create() => DeleteProjectEnvironmentRequest._(); + @$core.override DeleteProjectEnvironmentRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -988,10 +835,7 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1002,10 +846,7 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get requestId => $_getSZ(1); @$pb.TagNumber(2) - set requestId($core.String v) { - $_setString(1, v); - } - + set requestId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasRequestId() => $_has(1); @$pb.TagNumber(2) @@ -1016,10 +857,7 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1030,10 +868,7 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get allowMissing => $_getBF(3); @$pb.TagNumber(4) - set allowMissing($core.bool v) { - $_setBool(3, v); - } - + set allowMissing($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasAllowMissing() => $_has(3); @$pb.TagNumber(4) @@ -1043,10 +878,7 @@ class DeleteProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get validateOnly => $_getBF(4); @$pb.TagNumber(5) - set validateOnly($core.bool v) { - $_setBool(4, v); - } - + set validateOnly($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasValidateOnly() => $_has(4); @$pb.TagNumber(5) @@ -1063,28 +895,22 @@ class ProjectAsset extends $pb.GeneratedMessage { $core.List<$core.int>? inline, $core.String? etag, }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (filename != null) { - $result.filename = filename; - } - if (inline != null) { - $result.inline = inline; - } - if (etag != null) { - $result.etag = etag; - } - return $result; + final result = create(); + if (type != null) result.type = type; + if (filename != null) result.filename = filename; + if (inline != null) result.inline = inline; + if (etag != null) result.etag = etag; + return result; } - ProjectAsset._() : super(); - factory ProjectAsset.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ProjectAsset.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ProjectAsset._(); + + factory ProjectAsset.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ProjectAsset.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, ProjectAsset_Asset> _ProjectAsset_AssetByTag = { @@ -1107,21 +933,19 @@ class ProjectAsset extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'etag') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ProjectAsset clone() => ProjectAsset()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ProjectAsset copyWith(void Function(ProjectAsset) updates) => super.copyWith((message) => updates(message as ProjectAsset)) as ProjectAsset; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ProjectAsset create() => ProjectAsset._(); + @$core.override ProjectAsset createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1137,10 +961,7 @@ class ProjectAsset extends $pb.GeneratedMessage { @$pb.TagNumber(1) ProjectAsset_Type get type => $_getN(0); @$pb.TagNumber(1) - set type(ProjectAsset_Type v) { - $_setField(1, v); - } - + set type(ProjectAsset_Type value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasType() => $_has(0); @$pb.TagNumber(1) @@ -1150,10 +971,7 @@ class ProjectAsset extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get filename => $_getSZ(1); @$pb.TagNumber(2) - set filename($core.String v) { - $_setString(1, v); - } - + set filename($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasFilename() => $_has(1); @$pb.TagNumber(2) @@ -1163,10 +981,7 @@ class ProjectAsset extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.List<$core.int> get inline => $_getN(2); @$pb.TagNumber(3) - set inline($core.List<$core.int> v) { - $_setBytes(2, v); - } - + set inline($core.List<$core.int> value) => $_setBytes(2, value); @$pb.TagNumber(3) $core.bool hasInline() => $_has(2); @$pb.TagNumber(3) @@ -1177,10 +992,7 @@ class ProjectAsset extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get etag => $_getSZ(3); @$pb.TagNumber(4) - set etag($core.String v) { - $_setString(3, v); - } - + set etag($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasEtag() => $_has(3); @$pb.TagNumber(4) @@ -1194,37 +1006,28 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { $core.String? requestId, $core.bool? validateOnly, $core.String? etag, - $13.Any? resolvedProjectAst, + $4.Any? resolvedProjectAst, $core.Iterable? assets, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (requestId != null) { - $result.requestId = requestId; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - if (etag != null) { - $result.etag = etag; - } - if (resolvedProjectAst != null) { - $result.resolvedProjectAst = resolvedProjectAst; - } - if (assets != null) { - $result.assets.addAll(assets); - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (requestId != null) result.requestId = requestId; + if (validateOnly != null) result.validateOnly = validateOnly; + if (etag != null) result.etag = etag; + if (resolvedProjectAst != null) + result.resolvedProjectAst = resolvedProjectAst; + if (assets != null) result.assets.addAll(assets); + return result; } - DeployProjectEnvironmentRequest._() : super(); - factory DeployProjectEnvironmentRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeployProjectEnvironmentRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeployProjectEnvironmentRequest._(); + + factory DeployProjectEnvironmentRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeployProjectEnvironmentRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeployProjectEnvironmentRequest', @@ -1235,31 +1038,29 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'requestId') ..aOB(3, _omitFieldNames ? '' : 'validateOnly') ..aOS(4, _omitFieldNames ? '' : 'etag') - ..aOM<$13.Any>(5, _omitFieldNames ? '' : 'resolvedProjectAst', - subBuilder: $13.Any.create) + ..aOM<$4.Any>(5, _omitFieldNames ? '' : 'resolvedProjectAst', + subBuilder: $4.Any.create) ..pc(6, _omitFieldNames ? '' : 'assets', $pb.PbFieldType.PM, subBuilder: ProjectAsset.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeployProjectEnvironmentRequest clone() => DeployProjectEnvironmentRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeployProjectEnvironmentRequest copyWith( void Function(DeployProjectEnvironmentRequest) updates) => super.copyWith( (message) => updates(message as DeployProjectEnvironmentRequest)) as DeployProjectEnvironmentRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeployProjectEnvironmentRequest create() => DeployProjectEnvironmentRequest._(); + @$core.override DeployProjectEnvironmentRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1273,10 +1074,7 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1287,10 +1085,7 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get requestId => $_getSZ(1); @$pb.TagNumber(2) - set requestId($core.String v) { - $_setString(1, v); - } - + set requestId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasRequestId() => $_has(1); @$pb.TagNumber(2) @@ -1300,51 +1095,42 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get validateOnly => $_getBF(2); @$pb.TagNumber(3) - set validateOnly($core.bool v) { - $_setBool(2, v); - } - + set validateOnly($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasValidateOnly() => $_has(2); @$pb.TagNumber(3) void clearValidateOnly() => $_clearField(3); - /// Optional. The etag of the environment. + /// Optional. The etag of the environment. /// - /// If provided, it must match the server's etag. + /// If provided, it must match the server's etag. @$pb.TagNumber(4) $core.String get etag => $_getSZ(3); @$pb.TagNumber(4) - set etag($core.String v) { - $_setString(3, v); - } - + set etag($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasEtag() => $_has(3); @$pb.TagNumber(4) void clearEtag() => $_clearField(4); - /// Input only. The environment's project AST. + /// Input only. The environment's project AST. /// - /// Supported types: - /// - [celest.ast.v1.ResolvedProject] + /// Supported types: + /// - [celest.ast.v1.ResolvedProject] /// - /// (-- api-linter: core::0146::any=disabled - /// aip.dev/not-precedent: Since AST protos are maintained separately, this allows - /// independent versioning and publishing of protobuf/Dart code. --) + /// (-- api-linter: core::0146::any=disabled + /// aip.dev/not-precedent: Since AST protos are maintained separately, this allows + /// independent versioning and publishing of protobuf/Dart code. --) @$pb.TagNumber(5) - $13.Any get resolvedProjectAst => $_getN(4); + $4.Any get resolvedProjectAst => $_getN(4); @$pb.TagNumber(5) - set resolvedProjectAst($13.Any v) { - $_setField(5, v); - } - + set resolvedProjectAst($4.Any value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasResolvedProjectAst() => $_has(4); @$pb.TagNumber(5) void clearResolvedProjectAst() => $_clearField(5); @$pb.TagNumber(5) - $13.Any ensureResolvedProjectAst() => $_ensure(4); + $4.Any ensureResolvedProjectAst() => $_ensure(4); /// Input only. The assets of the environment. @$pb.TagNumber(6) @@ -1355,24 +1141,23 @@ class DeployProjectEnvironmentRequest extends $pb.GeneratedMessage { class DeployProjectEnvironmentResponse extends $pb.GeneratedMessage { factory DeployProjectEnvironmentResponse({ $core.String? uri, - $13.Any? project, + $4.Any? project, }) { - final $result = create(); - if (uri != null) { - $result.uri = uri; - } - if (project != null) { - $result.project = project; - } - return $result; + final result = create(); + if (uri != null) result.uri = uri; + if (project != null) result.project = project; + return result; } - DeployProjectEnvironmentResponse._() : super(); - factory DeployProjectEnvironmentResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeployProjectEnvironmentResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeployProjectEnvironmentResponse._(); + + factory DeployProjectEnvironmentResponse.fromBuffer( + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeployProjectEnvironmentResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeployProjectEnvironmentResponse', @@ -1380,29 +1165,27 @@ class DeployProjectEnvironmentResponse extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'uri') - ..aOM<$13.Any>(2, _omitFieldNames ? '' : 'project', - subBuilder: $13.Any.create) + ..aOM<$4.Any>(2, _omitFieldNames ? '' : 'project', + subBuilder: $4.Any.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeployProjectEnvironmentResponse clone() => DeployProjectEnvironmentResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeployProjectEnvironmentResponse copyWith( void Function(DeployProjectEnvironmentResponse) updates) => super.copyWith( (message) => updates(message as DeployProjectEnvironmentResponse)) as DeployProjectEnvironmentResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeployProjectEnvironmentResponse create() => DeployProjectEnvironmentResponse._(); + @$core.override DeployProjectEnvironmentResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1416,37 +1199,32 @@ class DeployProjectEnvironmentResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get uri => $_getSZ(0); @$pb.TagNumber(1) - set uri($core.String v) { - $_setString(0, v); - } - + set uri($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasUri() => $_has(0); @$pb.TagNumber(1) void clearUri() => $_clearField(1); - /// The resolved project of the deployed environment, with any missing values filled in. + /// The resolved project of the deployed environment, with any missing values filled in. /// - /// Will be the same type passed in via [celest.cloud.v1alpha1.ProjectEnvironments.DeployProjectEnvironment]. + /// Will be the same type passed in via [celest.cloud.v1alpha1.ProjectEnvironments.DeployProjectEnvironment]. /// - /// (-- api-linter: core::0146::any=disabled - /// aip.dev/not-precedent: Since AST protos are maintained separately, this allows - /// independent versioning and publishing of protobuf/Dart code. --) + /// (-- api-linter: core::0146::any=disabled + /// aip.dev/not-precedent: Since AST protos are maintained separately, this allows + /// independent versioning and publishing of protobuf/Dart code. --) @$pb.TagNumber(2) - $13.Any get project => $_getN(1); + $4.Any get project => $_getN(1); @$pb.TagNumber(2) - set project($13.Any v) { - $_setField(2, v); - } - + set project($4.Any value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasProject() => $_has(1); @$pb.TagNumber(2) void clearProject() => $_clearField(2); @$pb.TagNumber(2) - $13.Any ensureProject() => $_ensure(1); + $4.Any ensureProject() => $_ensure(1); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbenum.dart index 8f40e08f5..e6f47db0d 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/project_environments.proto -// +// Generated from celest/cloud/v1alpha1/project_environments.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -38,11 +39,13 @@ class ProjectAsset_Type extends $pb.ProtobufEnum { FLUTTER_ASSETS, ]; - static final $core.Map<$core.int, ProjectAsset_Type> _byValue = - $pb.ProtobufEnum.initByValue(values); - static ProjectAsset_Type? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static ProjectAsset_Type? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ProjectAsset_Type._(super.v, super.n); + const ProjectAsset_Type._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbgrpc.dart index 8c572a6dc..eb4a482f6 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/project_environments.proto -// +// Generated from celest/cloud/v1alpha1/project_environments.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,88 +16,113 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/longrunning/operations.pb.dart' as $4; -import 'project_environments.pb.dart' as $5; +import '../../../google/longrunning/operations.pb.dart' as $1; +import 'project_environments.pb.dart' as $0; export 'project_environments.pb.dart'; +/// A service for managing the different environments of Celest projects in the cloud. @$pb.GrpcServiceName('celest.cloud.v1alpha1.ProjectEnvironments') class ProjectEnvironmentsClient extends $grpc.Client { - static final _$createProjectEnvironment = - $grpc.ClientMethod<$5.CreateProjectEnvironmentRequest, $4.Operation>( - '/celest.cloud.v1alpha1.ProjectEnvironments/CreateProjectEnvironment', - ($5.CreateProjectEnvironmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$getProjectEnvironment = $grpc.ClientMethod< - $5.GetProjectEnvironmentRequest, $5.ProjectEnvironment>( - '/celest.cloud.v1alpha1.ProjectEnvironments/GetProjectEnvironment', - ($5.GetProjectEnvironmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $5.ProjectEnvironment.fromBuffer(value)); - static final _$updateProjectEnvironment = - $grpc.ClientMethod<$5.UpdateProjectEnvironmentRequest, $4.Operation>( - '/celest.cloud.v1alpha1.ProjectEnvironments/UpdateProjectEnvironment', - ($5.UpdateProjectEnvironmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$listProjectEnvironments = $grpc.ClientMethod< - $5.ListProjectEnvironmentsRequest, - $5.ListProjectEnvironmentsResponse>( - '/celest.cloud.v1alpha1.ProjectEnvironments/ListProjectEnvironments', - ($5.ListProjectEnvironmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $5.ListProjectEnvironmentsResponse.fromBuffer(value)); - static final _$deleteProjectEnvironment = - $grpc.ClientMethod<$5.DeleteProjectEnvironmentRequest, $4.Operation>( - '/celest.cloud.v1alpha1.ProjectEnvironments/DeleteProjectEnvironment', - ($5.DeleteProjectEnvironmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$deployProjectEnvironment = - $grpc.ClientMethod<$5.DeployProjectEnvironmentRequest, $4.Operation>( - '/celest.cloud.v1alpha1.ProjectEnvironments/DeployProjectEnvironment', - ($5.DeployProjectEnvironmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; ProjectEnvironmentsClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$4.Operation> createProjectEnvironment( - $5.CreateProjectEnvironmentRequest request, - {$grpc.CallOptions? options}) { + /// Creates a new environment. + $grpc.ResponseFuture<$1.Operation> createProjectEnvironment( + $0.CreateProjectEnvironmentRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$createProjectEnvironment, request, options: options); } - $grpc.ResponseFuture<$5.ProjectEnvironment> getProjectEnvironment( - $5.GetProjectEnvironmentRequest request, - {$grpc.CallOptions? options}) { + /// Retrieves an environment. + $grpc.ResponseFuture<$0.ProjectEnvironment> getProjectEnvironment( + $0.GetProjectEnvironmentRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getProjectEnvironment, request, options: options); } - $grpc.ResponseFuture<$4.Operation> updateProjectEnvironment( - $5.UpdateProjectEnvironmentRequest request, - {$grpc.CallOptions? options}) { + /// Updates an environment. + $grpc.ResponseFuture<$1.Operation> updateProjectEnvironment( + $0.UpdateProjectEnvironmentRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$updateProjectEnvironment, request, options: options); } - $grpc.ResponseFuture<$5.ListProjectEnvironmentsResponse> - listProjectEnvironments($5.ListProjectEnvironmentsRequest request, - {$grpc.CallOptions? options}) { + /// Lists environments. + $grpc.ResponseFuture<$0.ListProjectEnvironmentsResponse> + listProjectEnvironments( + $0.ListProjectEnvironmentsRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listProjectEnvironments, request, options: options); } - $grpc.ResponseFuture<$4.Operation> deleteProjectEnvironment( - $5.DeleteProjectEnvironmentRequest request, - {$grpc.CallOptions? options}) { + /// Deletes an environment. + /// + /// TODO: Add UndeleteProjectEnvironment + $grpc.ResponseFuture<$1.Operation> deleteProjectEnvironment( + $0.DeleteProjectEnvironmentRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deleteProjectEnvironment, request, options: options); } - $grpc.ResponseFuture<$4.Operation> deployProjectEnvironment( - $5.DeployProjectEnvironmentRequest request, - {$grpc.CallOptions? options}) { + /// Imperative only. Deploys a project's environment. + $grpc.ResponseFuture<$1.Operation> deployProjectEnvironment( + $0.DeployProjectEnvironmentRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deployProjectEnvironment, request, options: options); } + + // method descriptors + + static final _$createProjectEnvironment = + $grpc.ClientMethod<$0.CreateProjectEnvironmentRequest, $1.Operation>( + '/celest.cloud.v1alpha1.ProjectEnvironments/CreateProjectEnvironment', + ($0.CreateProjectEnvironmentRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$getProjectEnvironment = $grpc.ClientMethod< + $0.GetProjectEnvironmentRequest, $0.ProjectEnvironment>( + '/celest.cloud.v1alpha1.ProjectEnvironments/GetProjectEnvironment', + ($0.GetProjectEnvironmentRequest value) => value.writeToBuffer(), + $0.ProjectEnvironment.fromBuffer); + static final _$updateProjectEnvironment = + $grpc.ClientMethod<$0.UpdateProjectEnvironmentRequest, $1.Operation>( + '/celest.cloud.v1alpha1.ProjectEnvironments/UpdateProjectEnvironment', + ($0.UpdateProjectEnvironmentRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$listProjectEnvironments = $grpc.ClientMethod< + $0.ListProjectEnvironmentsRequest, + $0.ListProjectEnvironmentsResponse>( + '/celest.cloud.v1alpha1.ProjectEnvironments/ListProjectEnvironments', + ($0.ListProjectEnvironmentsRequest value) => value.writeToBuffer(), + $0.ListProjectEnvironmentsResponse.fromBuffer); + static final _$deleteProjectEnvironment = + $grpc.ClientMethod<$0.DeleteProjectEnvironmentRequest, $1.Operation>( + '/celest.cloud.v1alpha1.ProjectEnvironments/DeleteProjectEnvironment', + ($0.DeleteProjectEnvironmentRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$deployProjectEnvironment = + $grpc.ClientMethod<$0.DeployProjectEnvironmentRequest, $1.Operation>( + '/celest.cloud.v1alpha1.ProjectEnvironments/DeployProjectEnvironment', + ($0.DeployProjectEnvironmentRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.v1alpha1.ProjectEnvironments') @@ -105,107 +131,112 @@ abstract class ProjectEnvironmentsServiceBase extends $grpc.Service { ProjectEnvironmentsServiceBase() { $addMethod( - $grpc.ServiceMethod<$5.CreateProjectEnvironmentRequest, $4.Operation>( + $grpc.ServiceMethod<$0.CreateProjectEnvironmentRequest, $1.Operation>( 'CreateProjectEnvironment', createProjectEnvironment_Pre, false, false, ($core.List<$core.int> value) => - $5.CreateProjectEnvironmentRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$5.GetProjectEnvironmentRequest, - $5.ProjectEnvironment>( + $0.CreateProjectEnvironmentRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetProjectEnvironmentRequest, + $0.ProjectEnvironment>( 'GetProjectEnvironment', getProjectEnvironment_Pre, false, false, ($core.List<$core.int> value) => - $5.GetProjectEnvironmentRequest.fromBuffer(value), - ($5.ProjectEnvironment value) => value.writeToBuffer())); + $0.GetProjectEnvironmentRequest.fromBuffer(value), + ($0.ProjectEnvironment value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$5.UpdateProjectEnvironmentRequest, $4.Operation>( + $grpc.ServiceMethod<$0.UpdateProjectEnvironmentRequest, $1.Operation>( 'UpdateProjectEnvironment', updateProjectEnvironment_Pre, false, false, ($core.List<$core.int> value) => - $5.UpdateProjectEnvironmentRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$5.ListProjectEnvironmentsRequest, - $5.ListProjectEnvironmentsResponse>( + $0.UpdateProjectEnvironmentRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListProjectEnvironmentsRequest, + $0.ListProjectEnvironmentsResponse>( 'ListProjectEnvironments', listProjectEnvironments_Pre, false, false, ($core.List<$core.int> value) => - $5.ListProjectEnvironmentsRequest.fromBuffer(value), - ($5.ListProjectEnvironmentsResponse value) => value.writeToBuffer())); + $0.ListProjectEnvironmentsRequest.fromBuffer(value), + ($0.ListProjectEnvironmentsResponse value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$5.DeleteProjectEnvironmentRequest, $4.Operation>( + $grpc.ServiceMethod<$0.DeleteProjectEnvironmentRequest, $1.Operation>( 'DeleteProjectEnvironment', deleteProjectEnvironment_Pre, false, false, ($core.List<$core.int> value) => - $5.DeleteProjectEnvironmentRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.DeleteProjectEnvironmentRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$5.DeployProjectEnvironmentRequest, $4.Operation>( + $grpc.ServiceMethod<$0.DeployProjectEnvironmentRequest, $1.Operation>( 'DeployProjectEnvironment', deployProjectEnvironment_Pre, false, false, ($core.List<$core.int> value) => - $5.DeployProjectEnvironmentRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.DeployProjectEnvironmentRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); } - $async.Future<$4.Operation> createProjectEnvironment_Pre( + $async.Future<$1.Operation> createProjectEnvironment_Pre( $grpc.ServiceCall $call, - $async.Future<$5.CreateProjectEnvironmentRequest> $request) async { + $async.Future<$0.CreateProjectEnvironmentRequest> $request) async { return createProjectEnvironment($call, await $request); } - $async.Future<$5.ProjectEnvironment> getProjectEnvironment_Pre( + $async.Future<$1.Operation> createProjectEnvironment( + $grpc.ServiceCall call, $0.CreateProjectEnvironmentRequest request); + + $async.Future<$0.ProjectEnvironment> getProjectEnvironment_Pre( $grpc.ServiceCall $call, - $async.Future<$5.GetProjectEnvironmentRequest> $request) async { + $async.Future<$0.GetProjectEnvironmentRequest> $request) async { return getProjectEnvironment($call, await $request); } - $async.Future<$4.Operation> updateProjectEnvironment_Pre( + $async.Future<$0.ProjectEnvironment> getProjectEnvironment( + $grpc.ServiceCall call, $0.GetProjectEnvironmentRequest request); + + $async.Future<$1.Operation> updateProjectEnvironment_Pre( $grpc.ServiceCall $call, - $async.Future<$5.UpdateProjectEnvironmentRequest> $request) async { + $async.Future<$0.UpdateProjectEnvironmentRequest> $request) async { return updateProjectEnvironment($call, await $request); } - $async.Future<$5.ListProjectEnvironmentsResponse> listProjectEnvironments_Pre( + $async.Future<$1.Operation> updateProjectEnvironment( + $grpc.ServiceCall call, $0.UpdateProjectEnvironmentRequest request); + + $async.Future<$0.ListProjectEnvironmentsResponse> listProjectEnvironments_Pre( $grpc.ServiceCall $call, - $async.Future<$5.ListProjectEnvironmentsRequest> $request) async { + $async.Future<$0.ListProjectEnvironmentsRequest> $request) async { return listProjectEnvironments($call, await $request); } - $async.Future<$4.Operation> deleteProjectEnvironment_Pre( + $async.Future<$0.ListProjectEnvironmentsResponse> listProjectEnvironments( + $grpc.ServiceCall call, $0.ListProjectEnvironmentsRequest request); + + $async.Future<$1.Operation> deleteProjectEnvironment_Pre( $grpc.ServiceCall $call, - $async.Future<$5.DeleteProjectEnvironmentRequest> $request) async { + $async.Future<$0.DeleteProjectEnvironmentRequest> $request) async { return deleteProjectEnvironment($call, await $request); } - $async.Future<$4.Operation> deployProjectEnvironment_Pre( + $async.Future<$1.Operation> deleteProjectEnvironment( + $grpc.ServiceCall call, $0.DeleteProjectEnvironmentRequest request); + + $async.Future<$1.Operation> deployProjectEnvironment_Pre( $grpc.ServiceCall $call, - $async.Future<$5.DeployProjectEnvironmentRequest> $request) async { + $async.Future<$0.DeployProjectEnvironmentRequest> $request) async { return deployProjectEnvironment($call, await $request); } - $async.Future<$4.Operation> createProjectEnvironment( - $grpc.ServiceCall call, $5.CreateProjectEnvironmentRequest request); - $async.Future<$5.ProjectEnvironment> getProjectEnvironment( - $grpc.ServiceCall call, $5.GetProjectEnvironmentRequest request); - $async.Future<$4.Operation> updateProjectEnvironment( - $grpc.ServiceCall call, $5.UpdateProjectEnvironmentRequest request); - $async.Future<$5.ListProjectEnvironmentsResponse> listProjectEnvironments( - $grpc.ServiceCall call, $5.ListProjectEnvironmentsRequest request); - $async.Future<$4.Operation> deleteProjectEnvironment( - $grpc.ServiceCall call, $5.DeleteProjectEnvironmentRequest request); - $async.Future<$4.Operation> deployProjectEnvironment( - $grpc.ServiceCall call, $5.DeployProjectEnvironmentRequest request); + $async.Future<$1.Operation> deployProjectEnvironment( + $grpc.ServiceCall call, $0.DeployProjectEnvironmentRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbjson.dart index 457b92079..2368d95fc 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/project_environments.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/project_environments.proto -// +// Generated from celest/cloud/v1alpha1/project_environments.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pb.dart index 1de63510d..1903aeb9e 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pb.dart @@ -1,21 +1,22 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/projects.proto -// +// Generated from celest/cloud/v1alpha1/projects.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../../../google/protobuf/field_mask.pb.dart' as $12; -import '../../../google/protobuf/timestamp.pb.dart' as $9; -import 'common.pbenum.dart' as $14; +import '../../../google/protobuf/field_mask.pb.dart' as $3; +import '../../../google/protobuf/timestamp.pb.dart' as $2; +import 'common.pbenum.dart' as $4; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -26,69 +27,43 @@ class Project extends $pb.GeneratedMessage { $core.String? uid, $core.String? parent, $core.String? projectId, - $14.LifecycleState? state, + $4.LifecycleState? state, $core.String? displayName, - $9.Timestamp? createTime, - $9.Timestamp? updateTime, - $9.Timestamp? deleteTime, - $9.Timestamp? purgeTime, + $2.Timestamp? createTime, + $2.Timestamp? updateTime, + $2.Timestamp? deleteTime, + $2.Timestamp? purgeTime, $core.String? etag, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? annotations, $core.bool? reconciling, - $core.Iterable<$14.Region>? regions, + $core.Iterable<$4.Region>? regions, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (uid != null) { - $result.uid = uid; - } - if (parent != null) { - $result.parent = parent; - } - if (projectId != null) { - $result.projectId = projectId; - } - if (state != null) { - $result.state = state; - } - if (displayName != null) { - $result.displayName = displayName; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (deleteTime != null) { - $result.deleteTime = deleteTime; - } - if (purgeTime != null) { - $result.purgeTime = purgeTime; - } - if (etag != null) { - $result.etag = etag; - } - if (annotations != null) { - $result.annotations.addEntries(annotations); - } - if (reconciling != null) { - $result.reconciling = reconciling; - } - if (regions != null) { - $result.regions.addAll(regions); - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (uid != null) result.uid = uid; + if (parent != null) result.parent = parent; + if (projectId != null) result.projectId = projectId; + if (state != null) result.state = state; + if (displayName != null) result.displayName = displayName; + if (createTime != null) result.createTime = createTime; + if (updateTime != null) result.updateTime = updateTime; + if (deleteTime != null) result.deleteTime = deleteTime; + if (purgeTime != null) result.purgeTime = purgeTime; + if (etag != null) result.etag = etag; + if (annotations != null) result.annotations.addEntries(annotations); + if (reconciling != null) result.reconciling = reconciling; + if (regions != null) result.regions.addAll(regions); + return result; } - Project._() : super(); - factory Project.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Project.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Project._(); + + factory Project.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Project.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Project', @@ -99,20 +74,20 @@ class Project extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'uid') ..aOS(3, _omitFieldNames ? '' : 'parent') ..aOS(4, _omitFieldNames ? '' : 'projectId') - ..e<$14.LifecycleState>( + ..e<$4.LifecycleState>( 5, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: $14.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, - valueOf: $14.LifecycleState.valueOf, - enumValues: $14.LifecycleState.values) + defaultOrMaker: $4.LifecycleState.LIFECYCLE_STATE_UNSPECIFIED, + valueOf: $4.LifecycleState.valueOf, + enumValues: $4.LifecycleState.values) ..aOS(6, _omitFieldNames ? '' : 'displayName') - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(8, _omitFieldNames ? '' : 'updateTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(9, _omitFieldNames ? '' : 'deleteTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(10, _omitFieldNames ? '' : 'purgeTime', - subBuilder: $9.Timestamp.create) + ..aOM<$2.Timestamp>(7, _omitFieldNames ? '' : 'createTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(8, _omitFieldNames ? '' : 'updateTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(9, _omitFieldNames ? '' : 'deleteTime', + subBuilder: $2.Timestamp.create) + ..aOM<$2.Timestamp>(10, _omitFieldNames ? '' : 'purgeTime', + subBuilder: $2.Timestamp.create) ..aOS(11, _omitFieldNames ? '' : 'etag') ..m<$core.String, $core.String>(12, _omitFieldNames ? '' : 'annotations', entryClassName: 'Project.AnnotationsEntry', @@ -120,26 +95,24 @@ class Project extends $pb.GeneratedMessage { valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('celest.cloud.v1alpha1')) ..aOB(13, _omitFieldNames ? '' : 'reconciling') - ..pc<$14.Region>(14, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.KE, - valueOf: $14.Region.valueOf, - enumValues: $14.Region.values, - defaultEnumValue: $14.Region.REGION_UNSPECIFIED) + ..pc<$4.Region>(14, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.KE, + valueOf: $4.Region.valueOf, + enumValues: $4.Region.values, + defaultEnumValue: $4.Region.REGION_UNSPECIFIED) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Project clone() => Project()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Project copyWith(void Function(Project) updates) => super.copyWith((message) => updates(message as Project)) as Project; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Project create() => Project._(); + @$core.override Project createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -152,10 +125,7 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -165,10 +135,7 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get uid => $_getSZ(1); @$pb.TagNumber(2) - set uid($core.String v) { - $_setString(1, v); - } - + set uid($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasUid() => $_has(1); @$pb.TagNumber(2) @@ -178,28 +145,22 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get parent => $_getSZ(2); @$pb.TagNumber(3) - set parent($core.String v) { - $_setString(2, v); - } - + set parent($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasParent() => $_has(2); @$pb.TagNumber(3) void clearParent() => $_clearField(3); - /// Immutable. The unique, user-assigned id of the project. - /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. - /// It must start with a letter. - /// Trailing hyphens are prohibited. + /// Immutable. The unique, user-assigned id of the project. + /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. + /// It must start with a letter. + /// Trailing hyphens are prohibited. /// - /// Example: `tokyo-rain-123` + /// Example: `tokyo-rain-123` @$pb.TagNumber(4) $core.String get projectId => $_getSZ(3); @$pb.TagNumber(4) - set projectId($core.String v) { - $_setString(3, v); - } - + set projectId($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasProjectId() => $_has(3); @$pb.TagNumber(4) @@ -207,12 +168,9 @@ class Project extends $pb.GeneratedMessage { /// Output only. The project lifecycle state. @$pb.TagNumber(5) - $14.LifecycleState get state => $_getN(4); + $4.LifecycleState get state => $_getN(4); @$pb.TagNumber(5) - set state($14.LifecycleState v) { - $_setField(5, v); - } - + set state($4.LifecycleState value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasState() => $_has(4); @$pb.TagNumber(5) @@ -222,10 +180,7 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get displayName => $_getSZ(5); @$pb.TagNumber(6) - set displayName($core.String v) { - $_setString(5, v); - } - + set displayName($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasDisplayName() => $_has(5); @$pb.TagNumber(6) @@ -233,63 +188,51 @@ class Project extends $pb.GeneratedMessage { /// Output only. The time the project was created. @$pb.TagNumber(7) - $9.Timestamp get createTime => $_getN(6); + $2.Timestamp get createTime => $_getN(6); @$pb.TagNumber(7) - set createTime($9.Timestamp v) { - $_setField(7, v); - } - + set createTime($2.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasCreateTime() => $_has(6); @$pb.TagNumber(7) void clearCreateTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureCreateTime() => $_ensure(6); + $2.Timestamp ensureCreateTime() => $_ensure(6); /// Output only. The time the project was last updated. @$pb.TagNumber(8) - $9.Timestamp get updateTime => $_getN(7); + $2.Timestamp get updateTime => $_getN(7); @$pb.TagNumber(8) - set updateTime($9.Timestamp v) { - $_setField(8, v); - } - + set updateTime($2.Timestamp value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasUpdateTime() => $_has(7); @$pb.TagNumber(8) void clearUpdateTime() => $_clearField(8); @$pb.TagNumber(8) - $9.Timestamp ensureUpdateTime() => $_ensure(7); + $2.Timestamp ensureUpdateTime() => $_ensure(7); /// Output only. The time the project was soft-deleted. @$pb.TagNumber(9) - $9.Timestamp get deleteTime => $_getN(8); + $2.Timestamp get deleteTime => $_getN(8); @$pb.TagNumber(9) - set deleteTime($9.Timestamp v) { - $_setField(9, v); - } - + set deleteTime($2.Timestamp value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasDeleteTime() => $_has(8); @$pb.TagNumber(9) void clearDeleteTime() => $_clearField(9); @$pb.TagNumber(9) - $9.Timestamp ensureDeleteTime() => $_ensure(8); + $2.Timestamp ensureDeleteTime() => $_ensure(8); /// Output only. The time the project is scheduled for permanent deletion. @$pb.TagNumber(10) - $9.Timestamp get purgeTime => $_getN(9); + $2.Timestamp get purgeTime => $_getN(9); @$pb.TagNumber(10) - set purgeTime($9.Timestamp v) { - $_setField(10, v); - } - + set purgeTime($2.Timestamp value) => $_setField(10, value); @$pb.TagNumber(10) $core.bool hasPurgeTime() => $_has(9); @$pb.TagNumber(10) void clearPurgeTime() => $_clearField(10); @$pb.TagNumber(10) - $9.Timestamp ensurePurgeTime() => $_ensure(9); + $2.Timestamp ensurePurgeTime() => $_ensure(9); /// Output only. A checksum computed by the server based on the current value /// of the Project resource. This may be sent on update and delete requests to @@ -297,10 +240,7 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.String get etag => $_getSZ(10); @$pb.TagNumber(11) - set etag($core.String v) { - $_setString(10, v); - } - + set etag($core.String value) => $_setString(10, value); @$pb.TagNumber(11) $core.bool hasEtag() => $_has(10); @$pb.TagNumber(11) @@ -314,23 +254,20 @@ class Project extends $pb.GeneratedMessage { @$pb.TagNumber(13) $core.bool get reconciling => $_getBF(12); @$pb.TagNumber(13) - set reconciling($core.bool v) { - $_setBool(12, v); - } - + set reconciling($core.bool value) => $_setBool(12, value); @$pb.TagNumber(13) $core.bool hasReconciling() => $_has(12); @$pb.TagNumber(13) void clearReconciling() => $_clearField(13); - /// Optional. The project region(s) where resources are deployed. + /// Optional. The project region(s) where resources are deployed. /// - /// If not specified, the project region is determined by the organization's default region. Or if not - /// set either, the region closest to the caller. + /// If not specified, the project region is determined by the organization's default region. Or if not + /// set either, the region closest to the caller. /// - /// **NOTE**: This functionality is only available in enterprise subscriptions. + /// **NOTE**: This functionality is only available in enterprise subscriptions. @$pb.TagNumber(14) - $pb.PbList<$14.Region> get regions => $_getList(13); + $pb.PbList<$4.Region> get regions => $_getList(13); } /// Request message for the `CreateProject` method. @@ -341,28 +278,22 @@ class CreateProjectRequest extends $pb.GeneratedMessage { Project? project, $core.bool? validateOnly, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (projectId != null) { - $result.projectId = projectId; - } - if (project != null) { - $result.project = project; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (projectId != null) result.projectId = projectId; + if (project != null) result.project = project; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - CreateProjectRequest._() : super(); - factory CreateProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CreateProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CreateProjectRequest._(); + + factory CreateProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CreateProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CreateProjectRequest', @@ -376,22 +307,20 @@ class CreateProjectRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateProjectRequest clone() => CreateProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CreateProjectRequest copyWith(void Function(CreateProjectRequest) updates) => super.copyWith((message) => updates(message as CreateProjectRequest)) as CreateProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateProjectRequest create() => CreateProjectRequest._(); + @$core.override CreateProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -400,31 +329,25 @@ class CreateProjectRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static CreateProjectRequest? _defaultInstance; - /// Required. The parent organization of the project. + /// Required. The parent organization of the project. /// - /// Format: `organizations/{organization}` + /// Format: `organizations/{organization}` @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) void clearParent() => $_clearField(1); - /// Required. The ID of the project to create. + /// Required. The ID of the project to create. /// - /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. + /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. @$pb.TagNumber(2) $core.String get projectId => $_getSZ(1); @$pb.TagNumber(2) - set projectId($core.String v) { - $_setString(1, v); - } - + set projectId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasProjectId() => $_has(1); @$pb.TagNumber(2) @@ -434,10 +357,7 @@ class CreateProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) Project get project => $_getN(2); @$pb.TagNumber(3) - set project(Project v) { - $_setField(3, v); - } - + set project(Project value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasProject() => $_has(2); @$pb.TagNumber(3) @@ -449,10 +369,7 @@ class CreateProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -464,19 +381,19 @@ class GetProjectRequest extends $pb.GeneratedMessage { factory GetProjectRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetProjectRequest._() : super(); - factory GetProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetProjectRequest._(); + + factory GetProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetProjectRequest', @@ -486,21 +403,19 @@ class GetProjectRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetProjectRequest clone() => GetProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetProjectRequest copyWith(void Function(GetProjectRequest) updates) => super.copyWith((message) => updates(message as GetProjectRequest)) as GetProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetProjectRequest create() => GetProjectRequest._(); + @$core.override GetProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -514,10 +429,7 @@ class GetProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -534,34 +446,24 @@ class ListProjectsRequest extends $pb.GeneratedMessage { $core.String? orderBy, $core.bool? showDeleted, }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (filter != null) { - $result.filter = filter; - } - if (orderBy != null) { - $result.orderBy = orderBy; - } - if (showDeleted != null) { - $result.showDeleted = showDeleted; - } - return $result; + final result = create(); + if (parent != null) result.parent = parent; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (filter != null) result.filter = filter; + if (orderBy != null) result.orderBy = orderBy; + if (showDeleted != null) result.showDeleted = showDeleted; + return result; } - ListProjectsRequest._() : super(); - factory ListProjectsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListProjectsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListProjectsRequest._(); + + factory ListProjectsRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListProjectsRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListProjectsRequest', @@ -576,21 +478,19 @@ class ListProjectsRequest extends $pb.GeneratedMessage { ..aOB(6, _omitFieldNames ? '' : 'showDeleted') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectsRequest clone() => ListProjectsRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectsRequest copyWith(void Function(ListProjectsRequest) updates) => super.copyWith((message) => updates(message as ListProjectsRequest)) as ListProjectsRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListProjectsRequest create() => ListProjectsRequest._(); + @$core.override ListProjectsRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -599,16 +499,13 @@ class ListProjectsRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static ListProjectsRequest? _defaultInstance; - /// Required. The parent organization of the projects to list. + /// Required. The parent organization of the projects to list. /// - /// Format: `organizations/{organization}` + /// Format: `organizations/{organization}` @$pb.TagNumber(1) $core.String get parent => $_getSZ(0); @$pb.TagNumber(1) - set parent($core.String v) { - $_setString(0, v); - } - + set parent($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasParent() => $_has(0); @$pb.TagNumber(1) @@ -618,10 +515,7 @@ class ListProjectsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -631,10 +525,7 @@ class ListProjectsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -644,10 +535,7 @@ class ListProjectsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get filter => $_getSZ(3); @$pb.TagNumber(4) - set filter($core.String v) { - $_setString(3, v); - } - + set filter($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasFilter() => $_has(3); @$pb.TagNumber(4) @@ -657,10 +545,7 @@ class ListProjectsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get orderBy => $_getSZ(4); @$pb.TagNumber(5) - set orderBy($core.String v) { - $_setString(4, v); - } - + set orderBy($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasOrderBy() => $_has(4); @$pb.TagNumber(5) @@ -670,10 +555,7 @@ class ListProjectsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get showDeleted => $_getBF(5); @$pb.TagNumber(6) - set showDeleted($core.bool v) { - $_setBool(5, v); - } - + set showDeleted($core.bool value) => $_setBool(5, value); @$pb.TagNumber(6) $core.bool hasShowDeleted() => $_has(5); @$pb.TagNumber(6) @@ -686,22 +568,20 @@ class ListProjectsResponse extends $pb.GeneratedMessage { $core.Iterable? projects, $core.String? nextPageToken, }) { - final $result = create(); - if (projects != null) { - $result.projects.addAll(projects); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (projects != null) result.projects.addAll(projects); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListProjectsResponse._() : super(); - factory ListProjectsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListProjectsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListProjectsResponse._(); + + factory ListProjectsResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListProjectsResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListProjectsResponse', @@ -713,22 +593,20 @@ class ListProjectsResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectsResponse clone() => ListProjectsResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListProjectsResponse copyWith(void Function(ListProjectsResponse) updates) => super.copyWith((message) => updates(message as ListProjectsResponse)) as ListProjectsResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListProjectsResponse create() => ListProjectsResponse._(); + @$core.override ListProjectsResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -745,10 +623,7 @@ class ListProjectsResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) @@ -759,32 +634,26 @@ class ListProjectsResponse extends $pb.GeneratedMessage { class UpdateProjectRequest extends $pb.GeneratedMessage { factory UpdateProjectRequest({ Project? project, - $12.FieldMask? updateMask, + $3.FieldMask? updateMask, $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (project != null) { - $result.project = project; - } - if (updateMask != null) { - $result.updateMask = updateMask; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (project != null) result.project = project; + if (updateMask != null) result.updateMask = updateMask; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - UpdateProjectRequest._() : super(); - factory UpdateProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UpdateProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UpdateProjectRequest._(); + + factory UpdateProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UpdateProjectRequest', @@ -793,28 +662,26 @@ class UpdateProjectRequest extends $pb.GeneratedMessage { createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'project', subBuilder: Project.create) - ..aOM<$12.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', - subBuilder: $12.FieldMask.create) + ..aOM<$3.FieldMask>(2, _omitFieldNames ? '' : 'updateMask', + subBuilder: $3.FieldMask.create) ..aOB(3, _omitFieldNames ? '' : 'allowMissing') ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateProjectRequest clone() => UpdateProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateProjectRequest copyWith(void Function(UpdateProjectRequest) updates) => super.copyWith((message) => updates(message as UpdateProjectRequest)) as UpdateProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateProjectRequest create() => UpdateProjectRequest._(); + @$core.override UpdateProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -823,17 +690,14 @@ class UpdateProjectRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static UpdateProjectRequest? _defaultInstance; - /// The project to update. + /// The project to update. /// - /// The project's `name` field is used to identify the project to update. - /// Format: `organizations/{organization}/projects/{project}` + /// The project's `name` field is used to identify the project to update. + /// Format: `organizations/{organization}/projects/{project}` @$pb.TagNumber(1) Project get project => $_getN(0); @$pb.TagNumber(1) - set project(Project v) { - $_setField(1, v); - } - + set project(Project value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasProject() => $_has(0); @$pb.TagNumber(1) @@ -843,28 +707,22 @@ class UpdateProjectRequest extends $pb.GeneratedMessage { /// The update mask to apply to the project. @$pb.TagNumber(2) - $12.FieldMask get updateMask => $_getN(1); + $3.FieldMask get updateMask => $_getN(1); @$pb.TagNumber(2) - set updateMask($12.FieldMask v) { - $_setField(2, v); - } - + set updateMask($3.FieldMask value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasUpdateMask() => $_has(1); @$pb.TagNumber(2) void clearUpdateMask() => $_clearField(2); @$pb.TagNumber(2) - $12.FieldMask ensureUpdateMask() => $_ensure(1); + $3.FieldMask ensureUpdateMask() => $_ensure(1); /// If set to true, and the project is not found, a new project will be created. /// In this situation, `update_mask` is ignored. @$pb.TagNumber(3) $core.bool get allowMissing => $_getBF(2); @$pb.TagNumber(3) - set allowMissing($core.bool v) { - $_setBool(2, v); - } - + set allowMissing($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasAllowMissing() => $_has(2); @$pb.TagNumber(3) @@ -874,10 +732,7 @@ class UpdateProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) @@ -893,31 +748,23 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { $core.bool? allowMissing, $core.bool? validateOnly, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (force != null) { - $result.force = force; - } - if (etag != null) { - $result.etag = etag; - } - if (allowMissing != null) { - $result.allowMissing = allowMissing; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (force != null) result.force = force; + if (etag != null) result.etag = etag; + if (allowMissing != null) result.allowMissing = allowMissing; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - DeleteProjectRequest._() : super(); - factory DeleteProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeleteProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeleteProjectRequest._(); + + factory DeleteProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeleteProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteProjectRequest', @@ -931,22 +778,20 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteProjectRequest clone() => DeleteProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteProjectRequest copyWith(void Function(DeleteProjectRequest) updates) => super.copyWith((message) => updates(message as DeleteProjectRequest)) as DeleteProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeleteProjectRequest create() => DeleteProjectRequest._(); + @$core.override DeleteProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -955,16 +800,13 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static DeleteProjectRequest? _defaultInstance; - /// Required. The name of the project to delete. + /// Required. The name of the project to delete. /// - /// Format: `organizations/{organization}/projects/{project}` + /// Format: `organizations/{organization}/projects/{project}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -975,10 +817,7 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get force => $_getBF(1); @$pb.TagNumber(2) - set force($core.bool v) { - $_setBool(1, v); - } - + set force($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasForce() => $_has(1); @$pb.TagNumber(2) @@ -989,10 +828,7 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1003,10 +839,7 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get allowMissing => $_getBF(3); @$pb.TagNumber(4) - set allowMissing($core.bool v) { - $_setBool(3, v); - } - + set allowMissing($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasAllowMissing() => $_has(3); @$pb.TagNumber(4) @@ -1016,10 +849,7 @@ class DeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get validateOnly => $_getBF(4); @$pb.TagNumber(5) - set validateOnly($core.bool v) { - $_setBool(4, v); - } - + set validateOnly($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasValidateOnly() => $_has(4); @$pb.TagNumber(5) @@ -1033,25 +863,21 @@ class UndeleteProjectRequest extends $pb.GeneratedMessage { $core.bool? validateOnly, $core.String? etag, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - if (etag != null) { - $result.etag = etag; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (validateOnly != null) result.validateOnly = validateOnly; + if (etag != null) result.etag = etag; + return result; } - UndeleteProjectRequest._() : super(); - factory UndeleteProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UndeleteProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UndeleteProjectRequest._(); + + factory UndeleteProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UndeleteProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UndeleteProjectRequest', @@ -1063,23 +889,21 @@ class UndeleteProjectRequest extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'etag') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UndeleteProjectRequest clone() => UndeleteProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UndeleteProjectRequest copyWith( void Function(UndeleteProjectRequest) updates) => super.copyWith((message) => updates(message as UndeleteProjectRequest)) as UndeleteProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UndeleteProjectRequest create() => UndeleteProjectRequest._(); + @$core.override UndeleteProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1088,16 +912,13 @@ class UndeleteProjectRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static UndeleteProjectRequest? _defaultInstance; - /// Required. The name of the project to undelete. + /// Required. The name of the project to undelete. /// - /// Format: `organizations/{organization}/projects/{project}` + /// Format: `organizations/{organization}/projects/{project}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1107,10 +928,7 @@ class UndeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get validateOnly => $_getBF(1); @$pb.TagNumber(2) - set validateOnly($core.bool v) { - $_setBool(1, v); - } - + set validateOnly($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasValidateOnly() => $_has(1); @$pb.TagNumber(2) @@ -1121,10 +939,7 @@ class UndeleteProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1139,28 +954,22 @@ class RenameProjectRequest extends $pb.GeneratedMessage { $core.String? etag, $core.bool? validateOnly, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (projectId != null) { - $result.projectId = projectId; - } - if (etag != null) { - $result.etag = etag; - } - if (validateOnly != null) { - $result.validateOnly = validateOnly; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (projectId != null) result.projectId = projectId; + if (etag != null) result.etag = etag; + if (validateOnly != null) result.validateOnly = validateOnly; + return result; } - RenameProjectRequest._() : super(); - factory RenameProjectRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RenameProjectRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + RenameProjectRequest._(); + + factory RenameProjectRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory RenameProjectRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'RenameProjectRequest', @@ -1173,22 +982,20 @@ class RenameProjectRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'validateOnly') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RenameProjectRequest clone() => RenameProjectRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RenameProjectRequest copyWith(void Function(RenameProjectRequest) updates) => super.copyWith((message) => updates(message as RenameProjectRequest)) as RenameProjectRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RenameProjectRequest create() => RenameProjectRequest._(); + @$core.override RenameProjectRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1197,31 +1004,25 @@ class RenameProjectRequest extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static RenameProjectRequest? _defaultInstance; - /// Required. The name of the project to rename. + /// Required. The name of the project to rename. /// - /// Format: `organizations/{organization}/projects/{project}` + /// Format: `organizations/{organization}/projects/{project}` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) void clearName() => $_clearField(1); - /// Required. The new project identifier. + /// Required. The new project identifier. /// - /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. + /// It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. @$pb.TagNumber(2) $core.String get projectId => $_getSZ(1); @$pb.TagNumber(2) - set projectId($core.String v) { - $_setString(1, v); - } - + set projectId($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasProjectId() => $_has(1); @$pb.TagNumber(2) @@ -1232,10 +1033,7 @@ class RenameProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get etag => $_getSZ(2); @$pb.TagNumber(3) - set etag($core.String v) { - $_setString(2, v); - } - + set etag($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasEtag() => $_has(2); @$pb.TagNumber(3) @@ -1245,16 +1043,14 @@ class RenameProjectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get validateOnly => $_getBF(3); @$pb.TagNumber(4) - set validateOnly($core.bool v) { - $_setBool(3, v); - } - + set validateOnly($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasValidateOnly() => $_has(3); @$pb.TagNumber(4) void clearValidateOnly() => $_clearField(4); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbenum.dart index 67d837097..28cadf2cc 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/projects.proto -// +// Generated from celest/cloud/v1alpha1/projects.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbgrpc.dart index 81b2e1ac8..325e274d1 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/projects.proto -// +// Generated from celest/cloud/v1alpha1/projects.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,92 +16,127 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/longrunning/operations.pb.dart' as $4; -import 'projects.pb.dart' as $6; +import '../../../google/longrunning/operations.pb.dart' as $1; +import 'projects.pb.dart' as $0; export 'projects.pb.dart'; +/// Allows organization administrators to create projects. @$pb.GrpcServiceName('celest.cloud.v1alpha1.Projects') class ProjectsClient extends $grpc.Client { - static final _$createProject = - $grpc.ClientMethod<$6.CreateProjectRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Projects/CreateProject', - ($6.CreateProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$getProject = - $grpc.ClientMethod<$6.GetProjectRequest, $6.Project>( - '/celest.cloud.v1alpha1.Projects/GetProject', - ($6.GetProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.Project.fromBuffer(value)); - static final _$listProjects = - $grpc.ClientMethod<$6.ListProjectsRequest, $6.ListProjectsResponse>( - '/celest.cloud.v1alpha1.Projects/ListProjects', - ($6.ListProjectsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $6.ListProjectsResponse.fromBuffer(value)); - static final _$updateProject = - $grpc.ClientMethod<$6.UpdateProjectRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Projects/UpdateProject', - ($6.UpdateProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$deleteProject = - $grpc.ClientMethod<$6.DeleteProjectRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Projects/DeleteProject', - ($6.DeleteProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$undeleteProject = - $grpc.ClientMethod<$6.UndeleteProjectRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Projects/UndeleteProject', - ($6.UndeleteProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$renameProject = - $grpc.ClientMethod<$6.RenameProjectRequest, $4.Operation>( - '/celest.cloud.v1alpha1.Projects/RenameProject', - ($6.RenameProjectRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; ProjectsClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$4.Operation> createProject( - $6.CreateProjectRequest request, - {$grpc.CallOptions? options}) { + /// Creates a new project. + $grpc.ResponseFuture<$1.Operation> createProject( + $0.CreateProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$createProject, request, options: options); } - $grpc.ResponseFuture<$6.Project> getProject($6.GetProjectRequest request, - {$grpc.CallOptions? options}) { + /// Retrieves the project identified by the specified name. + $grpc.ResponseFuture<$0.Project> getProject( + $0.GetProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getProject, request, options: options); } - $grpc.ResponseFuture<$6.ListProjectsResponse> listProjects( - $6.ListProjectsRequest request, - {$grpc.CallOptions? options}) { + /// Lists projects in an organization. + $grpc.ResponseFuture<$0.ListProjectsResponse> listProjects( + $0.ListProjectsRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listProjects, request, options: options); } - $grpc.ResponseFuture<$4.Operation> updateProject( - $6.UpdateProjectRequest request, - {$grpc.CallOptions? options}) { + /// Update the project identified by the specified name. + $grpc.ResponseFuture<$1.Operation> updateProject( + $0.UpdateProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$updateProject, request, options: options); } - $grpc.ResponseFuture<$4.Operation> deleteProject( - $6.DeleteProjectRequest request, - {$grpc.CallOptions? options}) { + /// Marks a project for deletion. + $grpc.ResponseFuture<$1.Operation> deleteProject( + $0.DeleteProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deleteProject, request, options: options); } - $grpc.ResponseFuture<$4.Operation> undeleteProject( - $6.UndeleteProjectRequest request, - {$grpc.CallOptions? options}) { + /// Undeletes a project. + $grpc.ResponseFuture<$1.Operation> undeleteProject( + $0.UndeleteProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$undeleteProject, request, options: options); } - $grpc.ResponseFuture<$4.Operation> renameProject( - $6.RenameProjectRequest request, - {$grpc.CallOptions? options}) { + /// Renames the project identified by the specified name. + /// + /// After renaming, the project can no longer be identified by the previous name. All of its child resources are + /// also renamed and must be accessed using the new identifier. + /// + /// Renaming does not release the previous identifier from use. It is an error to attempt to create a new project + /// with the same identifier as a previously renamed project. + /// + /// (-- api-linter: core::0136::declarative-standard-methods-only=disabled + /// aip.dev/not-precedent: Renaming is an inherently imperative method which should not be handled declaratively. + /// https://google.aip.dev/136#declarative-friendly-resources --) + $grpc.ResponseFuture<$1.Operation> renameProject( + $0.RenameProjectRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$renameProject, request, options: options); } + + // method descriptors + + static final _$createProject = + $grpc.ClientMethod<$0.CreateProjectRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Projects/CreateProject', + ($0.CreateProjectRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$getProject = + $grpc.ClientMethod<$0.GetProjectRequest, $0.Project>( + '/celest.cloud.v1alpha1.Projects/GetProject', + ($0.GetProjectRequest value) => value.writeToBuffer(), + $0.Project.fromBuffer); + static final _$listProjects = + $grpc.ClientMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>( + '/celest.cloud.v1alpha1.Projects/ListProjects', + ($0.ListProjectsRequest value) => value.writeToBuffer(), + $0.ListProjectsResponse.fromBuffer); + static final _$updateProject = + $grpc.ClientMethod<$0.UpdateProjectRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Projects/UpdateProject', + ($0.UpdateProjectRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$deleteProject = + $grpc.ClientMethod<$0.DeleteProjectRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Projects/DeleteProject', + ($0.DeleteProjectRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$undeleteProject = + $grpc.ClientMethod<$0.UndeleteProjectRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Projects/UndeleteProject', + ($0.UndeleteProjectRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); + static final _$renameProject = + $grpc.ClientMethod<$0.RenameProjectRequest, $1.Operation>( + '/celest.cloud.v1alpha1.Projects/RenameProject', + ($0.RenameProjectRequest value) => value.writeToBuffer(), + $1.Operation.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.v1alpha1.Projects') @@ -108,112 +144,118 @@ abstract class ProjectsServiceBase extends $grpc.Service { $core.String get $name => 'celest.cloud.v1alpha1.Projects'; ProjectsServiceBase() { - $addMethod($grpc.ServiceMethod<$6.CreateProjectRequest, $4.Operation>( + $addMethod($grpc.ServiceMethod<$0.CreateProjectRequest, $1.Operation>( 'CreateProject', createProject_Pre, false, false, ($core.List<$core.int> value) => - $6.CreateProjectRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.GetProjectRequest, $6.Project>( + $0.CreateProjectRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetProjectRequest, $0.Project>( 'GetProject', getProject_Pre, false, false, - ($core.List<$core.int> value) => $6.GetProjectRequest.fromBuffer(value), - ($6.Project value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $0.GetProjectRequest.fromBuffer(value), + ($0.Project value) => value.writeToBuffer())); $addMethod( - $grpc.ServiceMethod<$6.ListProjectsRequest, $6.ListProjectsResponse>( + $grpc.ServiceMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>( 'ListProjects', listProjects_Pre, false, false, ($core.List<$core.int> value) => - $6.ListProjectsRequest.fromBuffer(value), - ($6.ListProjectsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.UpdateProjectRequest, $4.Operation>( + $0.ListProjectsRequest.fromBuffer(value), + ($0.ListProjectsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateProjectRequest, $1.Operation>( 'UpdateProject', updateProject_Pre, false, false, ($core.List<$core.int> value) => - $6.UpdateProjectRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.DeleteProjectRequest, $4.Operation>( + $0.UpdateProjectRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteProjectRequest, $1.Operation>( 'DeleteProject', deleteProject_Pre, false, false, ($core.List<$core.int> value) => - $6.DeleteProjectRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.UndeleteProjectRequest, $4.Operation>( + $0.DeleteProjectRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UndeleteProjectRequest, $1.Operation>( 'UndeleteProject', undeleteProject_Pre, false, false, ($core.List<$core.int> value) => - $6.UndeleteProjectRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.RenameProjectRequest, $4.Operation>( + $0.UndeleteProjectRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.RenameProjectRequest, $1.Operation>( 'RenameProject', renameProject_Pre, false, false, ($core.List<$core.int> value) => - $6.RenameProjectRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.RenameProjectRequest.fromBuffer(value), + ($1.Operation value) => value.writeToBuffer())); } - $async.Future<$4.Operation> createProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.CreateProjectRequest> $request) async { + $async.Future<$1.Operation> createProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.CreateProjectRequest> $request) async { return createProject($call, await $request); } - $async.Future<$6.Project> getProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.GetProjectRequest> $request) async { + $async.Future<$1.Operation> createProject( + $grpc.ServiceCall call, $0.CreateProjectRequest request); + + $async.Future<$0.Project> getProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.GetProjectRequest> $request) async { return getProject($call, await $request); } - $async.Future<$6.ListProjectsResponse> listProjects_Pre( + $async.Future<$0.Project> getProject( + $grpc.ServiceCall call, $0.GetProjectRequest request); + + $async.Future<$0.ListProjectsResponse> listProjects_Pre( $grpc.ServiceCall $call, - $async.Future<$6.ListProjectsRequest> $request) async { + $async.Future<$0.ListProjectsRequest> $request) async { return listProjects($call, await $request); } - $async.Future<$4.Operation> updateProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.UpdateProjectRequest> $request) async { + $async.Future<$0.ListProjectsResponse> listProjects( + $grpc.ServiceCall call, $0.ListProjectsRequest request); + + $async.Future<$1.Operation> updateProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.UpdateProjectRequest> $request) async { return updateProject($call, await $request); } - $async.Future<$4.Operation> deleteProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.DeleteProjectRequest> $request) async { + $async.Future<$1.Operation> updateProject( + $grpc.ServiceCall call, $0.UpdateProjectRequest request); + + $async.Future<$1.Operation> deleteProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.DeleteProjectRequest> $request) async { return deleteProject($call, await $request); } - $async.Future<$4.Operation> undeleteProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.UndeleteProjectRequest> $request) async { + $async.Future<$1.Operation> deleteProject( + $grpc.ServiceCall call, $0.DeleteProjectRequest request); + + $async.Future<$1.Operation> undeleteProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.UndeleteProjectRequest> $request) async { return undeleteProject($call, await $request); } - $async.Future<$4.Operation> renameProject_Pre($grpc.ServiceCall $call, - $async.Future<$6.RenameProjectRequest> $request) async { + $async.Future<$1.Operation> undeleteProject( + $grpc.ServiceCall call, $0.UndeleteProjectRequest request); + + $async.Future<$1.Operation> renameProject_Pre($grpc.ServiceCall $call, + $async.Future<$0.RenameProjectRequest> $request) async { return renameProject($call, await $request); } - $async.Future<$4.Operation> createProject( - $grpc.ServiceCall call, $6.CreateProjectRequest request); - $async.Future<$6.Project> getProject( - $grpc.ServiceCall call, $6.GetProjectRequest request); - $async.Future<$6.ListProjectsResponse> listProjects( - $grpc.ServiceCall call, $6.ListProjectsRequest request); - $async.Future<$4.Operation> updateProject( - $grpc.ServiceCall call, $6.UpdateProjectRequest request); - $async.Future<$4.Operation> deleteProject( - $grpc.ServiceCall call, $6.DeleteProjectRequest request); - $async.Future<$4.Operation> undeleteProject( - $grpc.ServiceCall call, $6.UndeleteProjectRequest request); - $async.Future<$4.Operation> renameProject( - $grpc.ServiceCall call, $6.RenameProjectRequest request); + $async.Future<$1.Operation> renameProject( + $grpc.ServiceCall call, $0.RenameProjectRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbjson.dart index 1df9f6c97..a8119184e 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/projects.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/projects.proto -// +// Generated from celest/cloud/v1alpha1/projects.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pb.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pb.dart index 62645b365..c835d3f13 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pb.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pb.dart @@ -1,23 +1,24 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/subscriptions.proto -// +// Generated from celest/cloud/v1alpha1/subscriptions.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/duration.pb.dart' as $8; -import '../../../google/protobuf/empty.pb.dart' as $1; -import '../../../google/protobuf/timestamp.pb.dart' as $9; -import '../../../google/type/money.pb.dart' as $15; +import '../../../google/protobuf/duration.pb.dart' as $4; +import '../../../google/protobuf/empty.pb.dart' as $3; +import '../../../google/protobuf/timestamp.pb.dart' as $1; +import '../../../google/type/money.pb.dart' as $2; import 'subscriptions.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -43,60 +44,38 @@ class Subscription extends $pb.GeneratedMessage { CommunitySubscriptionPlan? community, BuilderSubscriptionPlan? builder, EnterpriseSubscriptionPlan? enterprise, - $9.Timestamp? createTime, - $9.Timestamp? updateTime, + $1.Timestamp? createTime, + $1.Timestamp? updateTime, SubscriptionPaymentRequired? paymentRequired, SubscriptionActive? active, SubscriptionPaused? paused, SubscriptionSuspended? suspended, SubscriptionCanceled? canceled, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (parent != null) { - $result.parent = parent; - } - if (community != null) { - $result.community = community; - } - if (builder != null) { - $result.builder = builder; - } - if (enterprise != null) { - $result.enterprise = enterprise; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (paymentRequired != null) { - $result.paymentRequired = paymentRequired; - } - if (active != null) { - $result.active = active; - } - if (paused != null) { - $result.paused = paused; - } - if (suspended != null) { - $result.suspended = suspended; - } - if (canceled != null) { - $result.canceled = canceled; - } - return $result; - } - Subscription._() : super(); - factory Subscription.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Subscription.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (name != null) result.name = name; + if (parent != null) result.parent = parent; + if (community != null) result.community = community; + if (builder != null) result.builder = builder; + if (enterprise != null) result.enterprise = enterprise; + if (createTime != null) result.createTime = createTime; + if (updateTime != null) result.updateTime = updateTime; + if (paymentRequired != null) result.paymentRequired = paymentRequired; + if (active != null) result.active = active; + if (paused != null) result.paused = paused; + if (suspended != null) result.suspended = suspended; + if (canceled != null) result.canceled = canceled; + return result; + } + + Subscription._(); + + factory Subscription.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Subscription.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Subscription_Plan> _Subscription_PlanByTag = { @@ -129,10 +108,10 @@ class Subscription extends $pb.GeneratedMessage { subBuilder: BuilderSubscriptionPlan.create) ..aOM(5, _omitFieldNames ? '' : 'enterprise', subBuilder: EnterpriseSubscriptionPlan.create) - ..aOM<$9.Timestamp>(6, _omitFieldNames ? '' : 'createTime', - subBuilder: $9.Timestamp.create) - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(6, _omitFieldNames ? '' : 'createTime', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(7, _omitFieldNames ? '' : 'updateTime', + subBuilder: $1.Timestamp.create) ..aOM( 8, _omitFieldNames ? '' : 'paymentRequired', subBuilder: SubscriptionPaymentRequired.create) @@ -146,21 +125,19 @@ class Subscription extends $pb.GeneratedMessage { subBuilder: SubscriptionCanceled.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Subscription clone() => Subscription()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Subscription copyWith(void Function(Subscription) updates) => super.copyWith((message) => updates(message as Subscription)) as Subscription; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Subscription create() => Subscription._(); + @$core.override Subscription createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -175,16 +152,13 @@ class Subscription extends $pb.GeneratedMessage { Subscription_State whichState() => _Subscription_StateByTag[$_whichOneof(1)]!; void clearState() => $_clearField($_whichOneof(1)); - /// Identifier. The resource name of the subscription. + /// Identifier. The resource name of the subscription. /// - /// Format: `users/{user}/subscription` + /// Format: `users/{user}/subscription` @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -194,10 +168,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get parent => $_getSZ(1); @$pb.TagNumber(2) - set parent($core.String v) { - $_setString(1, v); - } - + set parent($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasParent() => $_has(1); @$pb.TagNumber(2) @@ -207,10 +178,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(3) CommunitySubscriptionPlan get community => $_getN(2); @$pb.TagNumber(3) - set community(CommunitySubscriptionPlan v) { - $_setField(3, v); - } - + set community(CommunitySubscriptionPlan value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasCommunity() => $_has(2); @$pb.TagNumber(3) @@ -222,10 +190,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(4) BuilderSubscriptionPlan get builder => $_getN(3); @$pb.TagNumber(4) - set builder(BuilderSubscriptionPlan v) { - $_setField(4, v); - } - + set builder(BuilderSubscriptionPlan value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasBuilder() => $_has(3); @$pb.TagNumber(4) @@ -237,10 +202,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(5) EnterpriseSubscriptionPlan get enterprise => $_getN(4); @$pb.TagNumber(5) - set enterprise(EnterpriseSubscriptionPlan v) { - $_setField(5, v); - } - + set enterprise(EnterpriseSubscriptionPlan value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasEnterprise() => $_has(4); @$pb.TagNumber(5) @@ -250,42 +212,34 @@ class Subscription extends $pb.GeneratedMessage { /// Output only. The time the subscription was created. @$pb.TagNumber(6) - $9.Timestamp get createTime => $_getN(5); + $1.Timestamp get createTime => $_getN(5); @$pb.TagNumber(6) - set createTime($9.Timestamp v) { - $_setField(6, v); - } - + set createTime($1.Timestamp value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasCreateTime() => $_has(5); @$pb.TagNumber(6) void clearCreateTime() => $_clearField(6); @$pb.TagNumber(6) - $9.Timestamp ensureCreateTime() => $_ensure(5); + $1.Timestamp ensureCreateTime() => $_ensure(5); /// Output only. The time the subscription was last updated. @$pb.TagNumber(7) - $9.Timestamp get updateTime => $_getN(6); + $1.Timestamp get updateTime => $_getN(6); @$pb.TagNumber(7) - set updateTime($9.Timestamp v) { - $_setField(7, v); - } - + set updateTime($1.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasUpdateTime() => $_has(6); @$pb.TagNumber(7) void clearUpdateTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureUpdateTime() => $_ensure(6); + $1.Timestamp ensureUpdateTime() => $_ensure(6); /// The subscription requires payment. @$pb.TagNumber(8) SubscriptionPaymentRequired get paymentRequired => $_getN(7); @$pb.TagNumber(8) - set paymentRequired(SubscriptionPaymentRequired v) { - $_setField(8, v); - } - + set paymentRequired(SubscriptionPaymentRequired value) => + $_setField(8, value); @$pb.TagNumber(8) $core.bool hasPaymentRequired() => $_has(7); @$pb.TagNumber(8) @@ -297,10 +251,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(9) SubscriptionActive get active => $_getN(8); @$pb.TagNumber(9) - set active(SubscriptionActive v) { - $_setField(9, v); - } - + set active(SubscriptionActive value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasActive() => $_has(8); @$pb.TagNumber(9) @@ -312,10 +263,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(10) SubscriptionPaused get paused => $_getN(9); @$pb.TagNumber(10) - set paused(SubscriptionPaused v) { - $_setField(10, v); - } - + set paused(SubscriptionPaused value) => $_setField(10, value); @$pb.TagNumber(10) $core.bool hasPaused() => $_has(9); @$pb.TagNumber(10) @@ -327,10 +275,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(11) SubscriptionSuspended get suspended => $_getN(10); @$pb.TagNumber(11) - set suspended(SubscriptionSuspended v) { - $_setField(11, v); - } - + set suspended(SubscriptionSuspended value) => $_setField(11, value); @$pb.TagNumber(11) $core.bool hasSuspended() => $_has(10); @$pb.TagNumber(11) @@ -342,10 +287,7 @@ class Subscription extends $pb.GeneratedMessage { @$pb.TagNumber(12) SubscriptionCanceled get canceled => $_getN(11); @$pb.TagNumber(12) - set canceled(SubscriptionCanceled v) { - $_setField(12, v); - } - + set canceled(SubscriptionCanceled value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasCanceled() => $_has(11); @$pb.TagNumber(12) @@ -360,22 +302,20 @@ class SubscriptionPaymentRequired extends $pb.GeneratedMessage { $core.String? paymentUri, $core.String? redirectUri, }) { - final $result = create(); - if (paymentUri != null) { - $result.paymentUri = paymentUri; - } - if (redirectUri != null) { - $result.redirectUri = redirectUri; - } - return $result; + final result = create(); + if (paymentUri != null) result.paymentUri = paymentUri; + if (redirectUri != null) result.redirectUri = redirectUri; + return result; } - SubscriptionPaymentRequired._() : super(); - factory SubscriptionPaymentRequired.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionPaymentRequired.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionPaymentRequired._(); + + factory SubscriptionPaymentRequired.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionPaymentRequired.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionPaymentRequired', @@ -386,25 +326,23 @@ class SubscriptionPaymentRequired extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'redirectUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionPaymentRequired clone() => SubscriptionPaymentRequired()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionPaymentRequired copyWith( void Function(SubscriptionPaymentRequired) updates) => super.copyWith( (message) => updates(message as SubscriptionPaymentRequired)) as SubscriptionPaymentRequired; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionPaymentRequired create() => SubscriptionPaymentRequired._(); + @$core.override SubscriptionPaymentRequired createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -417,10 +355,7 @@ class SubscriptionPaymentRequired extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get paymentUri => $_getSZ(0); @$pb.TagNumber(1) - set paymentUri($core.String v) { - $_setString(0, v); - } - + set paymentUri($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasPaymentUri() => $_has(0); @$pb.TagNumber(1) @@ -430,10 +365,7 @@ class SubscriptionPaymentRequired extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get redirectUri => $_getSZ(1); @$pb.TagNumber(2) - set redirectUri($core.String v) { - $_setString(1, v); - } - + set redirectUri($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasRedirectUri() => $_has(1); @$pb.TagNumber(2) @@ -445,19 +377,19 @@ class SubscriptionActive extends $pb.GeneratedMessage { factory SubscriptionActive({ SubscriptionBillingInfo? billingInfo, }) { - final $result = create(); - if (billingInfo != null) { - $result.billingInfo = billingInfo; - } - return $result; + final result = create(); + if (billingInfo != null) result.billingInfo = billingInfo; + return result; } - SubscriptionActive._() : super(); - factory SubscriptionActive.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionActive.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionActive._(); + + factory SubscriptionActive.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionActive.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionActive', @@ -468,21 +400,19 @@ class SubscriptionActive extends $pb.GeneratedMessage { subBuilder: SubscriptionBillingInfo.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionActive clone() => SubscriptionActive()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionActive copyWith(void Function(SubscriptionActive) updates) => super.copyWith((message) => updates(message as SubscriptionActive)) as SubscriptionActive; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionActive create() => SubscriptionActive._(); + @$core.override SubscriptionActive createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -495,10 +425,7 @@ class SubscriptionActive extends $pb.GeneratedMessage { @$pb.TagNumber(1) SubscriptionBillingInfo get billingInfo => $_getN(0); @$pb.TagNumber(1) - set billingInfo(SubscriptionBillingInfo v) { - $_setField(1, v); - } - + set billingInfo(SubscriptionBillingInfo value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasBillingInfo() => $_has(0); @$pb.TagNumber(1) @@ -510,48 +437,46 @@ class SubscriptionActive extends $pb.GeneratedMessage { /// Information about the subscription billing. class SubscriptionBillingInfo extends $pb.GeneratedMessage { factory SubscriptionBillingInfo({ - $9.Timestamp? nextBillingTime, + $1.Timestamp? nextBillingTime, }) { - final $result = create(); - if (nextBillingTime != null) { - $result.nextBillingTime = nextBillingTime; - } - return $result; + final result = create(); + if (nextBillingTime != null) result.nextBillingTime = nextBillingTime; + return result; } - SubscriptionBillingInfo._() : super(); - factory SubscriptionBillingInfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionBillingInfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionBillingInfo._(); + + factory SubscriptionBillingInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionBillingInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionBillingInfo', package: const $pb.PackageName( _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) - ..aOM<$9.Timestamp>(1, _omitFieldNames ? '' : 'nextBillingTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(1, _omitFieldNames ? '' : 'nextBillingTime', + subBuilder: $1.Timestamp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionBillingInfo clone() => SubscriptionBillingInfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionBillingInfo copyWith( void Function(SubscriptionBillingInfo) updates) => super.copyWith((message) => updates(message as SubscriptionBillingInfo)) as SubscriptionBillingInfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionBillingInfo create() => SubscriptionBillingInfo._(); + @$core.override SubscriptionBillingInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -562,63 +487,58 @@ class SubscriptionBillingInfo extends $pb.GeneratedMessage { /// The time when the subscription will be billed next. @$pb.TagNumber(1) - $9.Timestamp get nextBillingTime => $_getN(0); + $1.Timestamp get nextBillingTime => $_getN(0); @$pb.TagNumber(1) - set nextBillingTime($9.Timestamp v) { - $_setField(1, v); - } - + set nextBillingTime($1.Timestamp value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasNextBillingTime() => $_has(0); @$pb.TagNumber(1) void clearNextBillingTime() => $_clearField(1); @$pb.TagNumber(1) - $9.Timestamp ensureNextBillingTime() => $_ensure(0); + $1.Timestamp ensureNextBillingTime() => $_ensure(0); } /// The message for when a subscription is paused. class SubscriptionPaused extends $pb.GeneratedMessage { factory SubscriptionPaused({ - $9.Timestamp? resumeTime, + $1.Timestamp? resumeTime, }) { - final $result = create(); - if (resumeTime != null) { - $result.resumeTime = resumeTime; - } - return $result; + final result = create(); + if (resumeTime != null) result.resumeTime = resumeTime; + return result; } - SubscriptionPaused._() : super(); - factory SubscriptionPaused.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionPaused.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionPaused._(); + + factory SubscriptionPaused.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionPaused.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionPaused', package: const $pb.PackageName( _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) - ..aOM<$9.Timestamp>(1, _omitFieldNames ? '' : 'resumeTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(1, _omitFieldNames ? '' : 'resumeTime', + subBuilder: $1.Timestamp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionPaused clone() => SubscriptionPaused()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionPaused copyWith(void Function(SubscriptionPaused) updates) => super.copyWith((message) => updates(message as SubscriptionPaused)) as SubscriptionPaused; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionPaused create() => SubscriptionPaused._(); + @$core.override SubscriptionPaused createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -629,18 +549,15 @@ class SubscriptionPaused extends $pb.GeneratedMessage { /// The time the subscription is scheduled to resume. @$pb.TagNumber(1) - $9.Timestamp get resumeTime => $_getN(0); + $1.Timestamp get resumeTime => $_getN(0); @$pb.TagNumber(1) - set resumeTime($9.Timestamp v) { - $_setField(1, v); - } - + set resumeTime($1.Timestamp value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasResumeTime() => $_has(0); @$pb.TagNumber(1) void clearResumeTime() => $_clearField(1); @$pb.TagNumber(1) - $9.Timestamp ensureResumeTime() => $_ensure(0); + $1.Timestamp ensureResumeTime() => $_ensure(0); } /// The message for when a subscription is suspended. @@ -648,19 +565,19 @@ class SubscriptionSuspended extends $pb.GeneratedMessage { factory SubscriptionSuspended({ $core.String? reason, }) { - final $result = create(); - if (reason != null) { - $result.reason = reason; - } - return $result; + final result = create(); + if (reason != null) result.reason = reason; + return result; } - SubscriptionSuspended._() : super(); - factory SubscriptionSuspended.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionSuspended.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionSuspended._(); + + factory SubscriptionSuspended.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionSuspended.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionSuspended', @@ -670,23 +587,21 @@ class SubscriptionSuspended extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'reason') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionSuspended clone() => SubscriptionSuspended()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionSuspended copyWith( void Function(SubscriptionSuspended) updates) => super.copyWith((message) => updates(message as SubscriptionSuspended)) as SubscriptionSuspended; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionSuspended create() => SubscriptionSuspended._(); + @$core.override SubscriptionSuspended createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -699,10 +614,7 @@ class SubscriptionSuspended extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get reason => $_getSZ(0); @$pb.TagNumber(1) - set reason($core.String v) { - $_setString(0, v); - } - + set reason($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasReason() => $_has(0); @$pb.TagNumber(1) @@ -712,53 +624,49 @@ class SubscriptionSuspended extends $pb.GeneratedMessage { /// The message for when a subscription is canceled. class SubscriptionCanceled extends $pb.GeneratedMessage { factory SubscriptionCanceled({ - $9.Timestamp? cancelTime, + $1.Timestamp? cancelTime, CancelSubscriptionDetails? details, }) { - final $result = create(); - if (cancelTime != null) { - $result.cancelTime = cancelTime; - } - if (details != null) { - $result.details = details; - } - return $result; + final result = create(); + if (cancelTime != null) result.cancelTime = cancelTime; + if (details != null) result.details = details; + return result; } - SubscriptionCanceled._() : super(); - factory SubscriptionCanceled.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SubscriptionCanceled.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SubscriptionCanceled._(); + + factory SubscriptionCanceled.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscriptionCanceled.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SubscriptionCanceled', package: const $pb.PackageName( _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) - ..aOM<$9.Timestamp>(1, _omitFieldNames ? '' : 'cancelTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(1, _omitFieldNames ? '' : 'cancelTime', + subBuilder: $1.Timestamp.create) ..aOM(2, _omitFieldNames ? '' : 'details', subBuilder: CancelSubscriptionDetails.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionCanceled clone() => SubscriptionCanceled()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionCanceled copyWith(void Function(SubscriptionCanceled) updates) => super.copyWith((message) => updates(message as SubscriptionCanceled)) as SubscriptionCanceled; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionCanceled create() => SubscriptionCanceled._(); + @$core.override SubscriptionCanceled createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -769,27 +677,21 @@ class SubscriptionCanceled extends $pb.GeneratedMessage { /// The time the subscription was canceled. @$pb.TagNumber(1) - $9.Timestamp get cancelTime => $_getN(0); + $1.Timestamp get cancelTime => $_getN(0); @$pb.TagNumber(1) - set cancelTime($9.Timestamp v) { - $_setField(1, v); - } - + set cancelTime($1.Timestamp value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCancelTime() => $_has(0); @$pb.TagNumber(1) void clearCancelTime() => $_clearField(1); @$pb.TagNumber(1) - $9.Timestamp ensureCancelTime() => $_ensure(0); + $1.Timestamp ensureCancelTime() => $_ensure(0); /// The details of the cancellation, if provided. @$pb.TagNumber(2) CancelSubscriptionDetails get details => $_getN(1); @$pb.TagNumber(2) - set details(CancelSubscriptionDetails v) { - $_setField(2, v); - } - + set details(CancelSubscriptionDetails value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasDetails() => $_has(1); @$pb.TagNumber(2) @@ -801,13 +703,15 @@ class SubscriptionCanceled extends $pb.GeneratedMessage { /// A Community subscription plan. class CommunitySubscriptionPlan extends $pb.GeneratedMessage { factory CommunitySubscriptionPlan() => create(); - CommunitySubscriptionPlan._() : super(); - factory CommunitySubscriptionPlan.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CommunitySubscriptionPlan.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CommunitySubscriptionPlan._(); + + factory CommunitySubscriptionPlan.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CommunitySubscriptionPlan.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CommunitySubscriptionPlan', @@ -816,23 +720,21 @@ class CommunitySubscriptionPlan extends $pb.GeneratedMessage { createEmptyInstance: create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CommunitySubscriptionPlan clone() => CommunitySubscriptionPlan()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CommunitySubscriptionPlan copyWith( void Function(CommunitySubscriptionPlan) updates) => super.copyWith((message) => updates(message as CommunitySubscriptionPlan)) as CommunitySubscriptionPlan; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CommunitySubscriptionPlan create() => CommunitySubscriptionPlan._(); + @$core.override CommunitySubscriptionPlan createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -848,22 +750,20 @@ class BuilderSubscriptionPlan extends $pb.GeneratedMessage { $core.String? currencyCode, InstanceType? instanceType, }) { - final $result = create(); - if (currencyCode != null) { - $result.currencyCode = currencyCode; - } - if (instanceType != null) { - $result.instanceType = instanceType; - } - return $result; + final result = create(); + if (currencyCode != null) result.currencyCode = currencyCode; + if (instanceType != null) result.instanceType = instanceType; + return result; } - BuilderSubscriptionPlan._() : super(); - factory BuilderSubscriptionPlan.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BuilderSubscriptionPlan.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + BuilderSubscriptionPlan._(); + + factory BuilderSubscriptionPlan.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory BuilderSubscriptionPlan.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BuilderSubscriptionPlan', @@ -878,23 +778,21 @@ class BuilderSubscriptionPlan extends $pb.GeneratedMessage { enumValues: InstanceType.values) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BuilderSubscriptionPlan clone() => BuilderSubscriptionPlan()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BuilderSubscriptionPlan copyWith( void Function(BuilderSubscriptionPlan) updates) => super.copyWith((message) => updates(message as BuilderSubscriptionPlan)) as BuilderSubscriptionPlan; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BuilderSubscriptionPlan create() => BuilderSubscriptionPlan._(); + @$core.override BuilderSubscriptionPlan createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -903,16 +801,13 @@ class BuilderSubscriptionPlan extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static BuilderSubscriptionPlan? _defaultInstance; - /// Optional. The preferred currency for payment. + /// Optional. The preferred currency for payment. /// - /// If not provided, it will be inferred from the user's location. + /// If not provided, it will be inferred from the user's location. @$pb.TagNumber(1) $core.String get currencyCode => $_getSZ(0); @$pb.TagNumber(1) - set currencyCode($core.String v) { - $_setString(0, v); - } - + set currencyCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasCurrencyCode() => $_has(0); @$pb.TagNumber(1) @@ -922,10 +817,7 @@ class BuilderSubscriptionPlan extends $pb.GeneratedMessage { @$pb.TagNumber(2) InstanceType get instanceType => $_getN(1); @$pb.TagNumber(2) - set instanceType(InstanceType v) { - $_setField(2, v); - } - + set instanceType(InstanceType value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasInstanceType() => $_has(1); @$pb.TagNumber(2) @@ -935,13 +827,15 @@ class BuilderSubscriptionPlan extends $pb.GeneratedMessage { /// An Enterprise subscription plan. class EnterpriseSubscriptionPlan extends $pb.GeneratedMessage { factory EnterpriseSubscriptionPlan() => create(); - EnterpriseSubscriptionPlan._() : super(); - factory EnterpriseSubscriptionPlan.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnterpriseSubscriptionPlan.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnterpriseSubscriptionPlan._(); + + factory EnterpriseSubscriptionPlan.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnterpriseSubscriptionPlan.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnterpriseSubscriptionPlan', @@ -950,24 +844,22 @@ class EnterpriseSubscriptionPlan extends $pb.GeneratedMessage { createEmptyInstance: create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnterpriseSubscriptionPlan clone() => EnterpriseSubscriptionPlan()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnterpriseSubscriptionPlan copyWith( void Function(EnterpriseSubscriptionPlan) updates) => super.copyWith( (message) => updates(message as EnterpriseSubscriptionPlan)) as EnterpriseSubscriptionPlan; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnterpriseSubscriptionPlan create() => EnterpriseSubscriptionPlan._(); + @$core.override EnterpriseSubscriptionPlan createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -982,19 +874,19 @@ class GetSubscriptionRequest extends $pb.GeneratedMessage { factory GetSubscriptionRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetSubscriptionRequest._() : super(); - factory GetSubscriptionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetSubscriptionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetSubscriptionRequest._(); + + factory GetSubscriptionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetSubscriptionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetSubscriptionRequest', @@ -1004,23 +896,21 @@ class GetSubscriptionRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetSubscriptionRequest clone() => GetSubscriptionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetSubscriptionRequest copyWith( void Function(GetSubscriptionRequest) updates) => super.copyWith((message) => updates(message as GetSubscriptionRequest)) as GetSubscriptionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetSubscriptionRequest create() => GetSubscriptionRequest._(); + @$core.override GetSubscriptionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1033,10 +923,7 @@ class GetSubscriptionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1054,31 +941,23 @@ class ChangePlanRequest extends $pb.GeneratedMessage { EnterpriseSubscriptionPlan? enterprise, $core.String? redirectUri, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (community != null) { - $result.community = community; - } - if (builder != null) { - $result.builder = builder; - } - if (enterprise != null) { - $result.enterprise = enterprise; - } - if (redirectUri != null) { - $result.redirectUri = redirectUri; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (community != null) result.community = community; + if (builder != null) result.builder = builder; + if (enterprise != null) result.enterprise = enterprise; + if (redirectUri != null) result.redirectUri = redirectUri; + return result; } - ChangePlanRequest._() : super(); - factory ChangePlanRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ChangePlanRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ChangePlanRequest._(); + + factory ChangePlanRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ChangePlanRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, ChangePlanRequest_Plan> _ChangePlanRequest_PlanByTag = { @@ -1103,21 +982,19 @@ class ChangePlanRequest extends $pb.GeneratedMessage { ..aOS(6, _omitFieldNames ? '' : 'redirectUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChangePlanRequest clone() => ChangePlanRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChangePlanRequest copyWith(void Function(ChangePlanRequest) updates) => super.copyWith((message) => updates(message as ChangePlanRequest)) as ChangePlanRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ChangePlanRequest create() => ChangePlanRequest._(); + @$core.override ChangePlanRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1134,10 +1011,7 @@ class ChangePlanRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1147,10 +1021,7 @@ class ChangePlanRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) CommunitySubscriptionPlan get community => $_getN(1); @$pb.TagNumber(2) - set community(CommunitySubscriptionPlan v) { - $_setField(2, v); - } - + set community(CommunitySubscriptionPlan value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasCommunity() => $_has(1); @$pb.TagNumber(2) @@ -1162,10 +1033,7 @@ class ChangePlanRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) BuilderSubscriptionPlan get builder => $_getN(2); @$pb.TagNumber(3) - set builder(BuilderSubscriptionPlan v) { - $_setField(3, v); - } - + set builder(BuilderSubscriptionPlan value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasBuilder() => $_has(2); @$pb.TagNumber(3) @@ -1177,10 +1045,7 @@ class ChangePlanRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) EnterpriseSubscriptionPlan get enterprise => $_getN(3); @$pb.TagNumber(4) - set enterprise(EnterpriseSubscriptionPlan v) { - $_setField(4, v); - } - + set enterprise(EnterpriseSubscriptionPlan value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasEnterprise() => $_has(3); @$pb.TagNumber(4) @@ -1192,10 +1057,7 @@ class ChangePlanRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get redirectUri => $_getSZ(4); @$pb.TagNumber(6) - set redirectUri($core.String v) { - $_setString(4, v); - } - + set redirectUri($core.String value) => $_setString(4, value); @$pb.TagNumber(6) $core.bool hasRedirectUri() => $_has(4); @$pb.TagNumber(6) @@ -1207,19 +1069,19 @@ class ChangePlanResponse extends $pb.GeneratedMessage { factory ChangePlanResponse({ Subscription? subscription, }) { - final $result = create(); - if (subscription != null) { - $result.subscription = subscription; - } - return $result; + final result = create(); + if (subscription != null) result.subscription = subscription; + return result; } - ChangePlanResponse._() : super(); - factory ChangePlanResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ChangePlanResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ChangePlanResponse._(); + + factory ChangePlanResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ChangePlanResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ChangePlanResponse', @@ -1230,21 +1092,19 @@ class ChangePlanResponse extends $pb.GeneratedMessage { subBuilder: Subscription.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChangePlanResponse clone() => ChangePlanResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChangePlanResponse copyWith(void Function(ChangePlanResponse) updates) => super.copyWith((message) => updates(message as ChangePlanResponse)) as ChangePlanResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ChangePlanResponse create() => ChangePlanResponse._(); + @$core.override ChangePlanResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1257,10 +1117,7 @@ class ChangePlanResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) Subscription get subscription => $_getN(0); @$pb.TagNumber(1) - set subscription(Subscription v) { - $_setField(1, v); - } - + set subscription(Subscription value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasSubscription() => $_has(0); @$pb.TagNumber(1) @@ -1273,24 +1130,22 @@ class ChangePlanResponse extends $pb.GeneratedMessage { class PauseSubscriptionRequest extends $pb.GeneratedMessage { factory PauseSubscriptionRequest({ $core.String? name, - $9.Timestamp? resumeTime, + $1.Timestamp? resumeTime, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (resumeTime != null) { - $result.resumeTime = resumeTime; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (resumeTime != null) result.resumeTime = resumeTime; + return result; } - PauseSubscriptionRequest._() : super(); - factory PauseSubscriptionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PauseSubscriptionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PauseSubscriptionRequest._(); + + factory PauseSubscriptionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PauseSubscriptionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PauseSubscriptionRequest', @@ -1298,27 +1153,25 @@ class PauseSubscriptionRequest extends $pb.GeneratedMessage { _omitMessageNames ? '' : 'celest.cloud.v1alpha1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$9.Timestamp>(2, _omitFieldNames ? '' : 'resumeTime', - subBuilder: $9.Timestamp.create) + ..aOM<$1.Timestamp>(2, _omitFieldNames ? '' : 'resumeTime', + subBuilder: $1.Timestamp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PauseSubscriptionRequest clone() => PauseSubscriptionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PauseSubscriptionRequest copyWith( void Function(PauseSubscriptionRequest) updates) => super.copyWith((message) => updates(message as PauseSubscriptionRequest)) as PauseSubscriptionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PauseSubscriptionRequest create() => PauseSubscriptionRequest._(); + @$core.override PauseSubscriptionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1331,10 +1184,7 @@ class PauseSubscriptionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1342,18 +1192,15 @@ class PauseSubscriptionRequest extends $pb.GeneratedMessage { /// Optional. The time to resume the subscription. @$pb.TagNumber(2) - $9.Timestamp get resumeTime => $_getN(1); + $1.Timestamp get resumeTime => $_getN(1); @$pb.TagNumber(2) - set resumeTime($9.Timestamp v) { - $_setField(2, v); - } - + set resumeTime($1.Timestamp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasResumeTime() => $_has(1); @$pb.TagNumber(2) void clearResumeTime() => $_clearField(2); @$pb.TagNumber(2) - $9.Timestamp ensureResumeTime() => $_ensure(1); + $1.Timestamp ensureResumeTime() => $_ensure(1); } /// The response message for the `PauseSubscription` method. @@ -1361,19 +1208,19 @@ class PauseSubscriptionResponse extends $pb.GeneratedMessage { factory PauseSubscriptionResponse({ Subscription? subscription, }) { - final $result = create(); - if (subscription != null) { - $result.subscription = subscription; - } - return $result; + final result = create(); + if (subscription != null) result.subscription = subscription; + return result; } - PauseSubscriptionResponse._() : super(); - factory PauseSubscriptionResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PauseSubscriptionResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PauseSubscriptionResponse._(); + + factory PauseSubscriptionResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PauseSubscriptionResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PauseSubscriptionResponse', @@ -1384,23 +1231,21 @@ class PauseSubscriptionResponse extends $pb.GeneratedMessage { subBuilder: Subscription.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PauseSubscriptionResponse clone() => PauseSubscriptionResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PauseSubscriptionResponse copyWith( void Function(PauseSubscriptionResponse) updates) => super.copyWith((message) => updates(message as PauseSubscriptionResponse)) as PauseSubscriptionResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PauseSubscriptionResponse create() => PauseSubscriptionResponse._(); + @$core.override PauseSubscriptionResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1413,10 +1258,7 @@ class PauseSubscriptionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) Subscription get subscription => $_getN(0); @$pb.TagNumber(1) - set subscription(Subscription v) { - $_setField(1, v); - } - + set subscription(Subscription value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasSubscription() => $_has(0); @$pb.TagNumber(1) @@ -1431,22 +1273,20 @@ class CancelSubscriptionRequest extends $pb.GeneratedMessage { $core.String? name, CancelSubscriptionDetails? details, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (details != null) { - $result.details = details; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (details != null) result.details = details; + return result; } - CancelSubscriptionRequest._() : super(); - factory CancelSubscriptionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CancelSubscriptionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CancelSubscriptionRequest._(); + + factory CancelSubscriptionRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CancelSubscriptionRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CancelSubscriptionRequest', @@ -1458,23 +1298,21 @@ class CancelSubscriptionRequest extends $pb.GeneratedMessage { subBuilder: CancelSubscriptionDetails.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionRequest clone() => CancelSubscriptionRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionRequest copyWith( void Function(CancelSubscriptionRequest) updates) => super.copyWith((message) => updates(message as CancelSubscriptionRequest)) as CancelSubscriptionRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CancelSubscriptionRequest create() => CancelSubscriptionRequest._(); + @$core.override CancelSubscriptionRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1487,10 +1325,7 @@ class CancelSubscriptionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1500,10 +1335,7 @@ class CancelSubscriptionRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) CancelSubscriptionDetails get details => $_getN(1); @$pb.TagNumber(2) - set details(CancelSubscriptionDetails v) { - $_setField(2, v); - } - + set details(CancelSubscriptionDetails value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasDetails() => $_has(1); @$pb.TagNumber(2) @@ -1519,25 +1351,21 @@ class CancelSubscriptionDetails extends $pb.GeneratedMessage { CancelSubscriptionDetails_Feedback? feedback, $core.String? comment, }) { - final $result = create(); - if (reason != null) { - $result.reason = reason; - } - if (feedback != null) { - $result.feedback = feedback; - } - if (comment != null) { - $result.comment = comment; - } - return $result; + final result = create(); + if (reason != null) result.reason = reason; + if (feedback != null) result.feedback = feedback; + if (comment != null) result.comment = comment; + return result; } - CancelSubscriptionDetails._() : super(); - factory CancelSubscriptionDetails.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CancelSubscriptionDetails.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CancelSubscriptionDetails._(); + + factory CancelSubscriptionDetails.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CancelSubscriptionDetails.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CancelSubscriptionDetails', @@ -1557,23 +1385,21 @@ class CancelSubscriptionDetails extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'comment') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionDetails clone() => CancelSubscriptionDetails()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionDetails copyWith( void Function(CancelSubscriptionDetails) updates) => super.copyWith((message) => updates(message as CancelSubscriptionDetails)) as CancelSubscriptionDetails; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CancelSubscriptionDetails create() => CancelSubscriptionDetails._(); + @$core.override CancelSubscriptionDetails createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1586,10 +1412,7 @@ class CancelSubscriptionDetails extends $pb.GeneratedMessage { @$pb.TagNumber(1) CancelSubscriptionDetails_Reason get reason => $_getN(0); @$pb.TagNumber(1) - set reason(CancelSubscriptionDetails_Reason v) { - $_setField(1, v); - } - + set reason(CancelSubscriptionDetails_Reason value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasReason() => $_has(0); @$pb.TagNumber(1) @@ -1599,10 +1422,8 @@ class CancelSubscriptionDetails extends $pb.GeneratedMessage { @$pb.TagNumber(2) CancelSubscriptionDetails_Feedback get feedback => $_getN(1); @$pb.TagNumber(2) - set feedback(CancelSubscriptionDetails_Feedback v) { - $_setField(2, v); - } - + set feedback(CancelSubscriptionDetails_Feedback value) => + $_setField(2, value); @$pb.TagNumber(2) $core.bool hasFeedback() => $_has(1); @$pb.TagNumber(2) @@ -1612,10 +1433,7 @@ class CancelSubscriptionDetails extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get comment => $_getSZ(2); @$pb.TagNumber(3) - set comment($core.String v) { - $_setString(2, v); - } - + set comment($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasComment() => $_has(2); @$pb.TagNumber(3) @@ -1627,19 +1445,19 @@ class CancelSubscriptionResponse extends $pb.GeneratedMessage { factory CancelSubscriptionResponse({ Subscription? subscription, }) { - final $result = create(); - if (subscription != null) { - $result.subscription = subscription; - } - return $result; + final result = create(); + if (subscription != null) result.subscription = subscription; + return result; } - CancelSubscriptionResponse._() : super(); - factory CancelSubscriptionResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CancelSubscriptionResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CancelSubscriptionResponse._(); + + factory CancelSubscriptionResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CancelSubscriptionResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CancelSubscriptionResponse', @@ -1650,24 +1468,22 @@ class CancelSubscriptionResponse extends $pb.GeneratedMessage { subBuilder: Subscription.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionResponse clone() => CancelSubscriptionResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelSubscriptionResponse copyWith( void Function(CancelSubscriptionResponse) updates) => super.copyWith( (message) => updates(message as CancelSubscriptionResponse)) as CancelSubscriptionResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CancelSubscriptionResponse create() => CancelSubscriptionResponse._(); + @$core.override CancelSubscriptionResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1680,10 +1496,7 @@ class CancelSubscriptionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) Subscription get subscription => $_getN(0); @$pb.TagNumber(1) - set subscription(Subscription v) { - $_setField(1, v); - } - + set subscription(Subscription value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasSubscription() => $_has(0); @$pb.TagNumber(1) @@ -1699,25 +1512,21 @@ class Quantity extends $pb.GeneratedMessage { $fixnum.Int64? units, $core.int? nanos, }) { - final $result = create(); - if (measure != null) { - $result.measure = measure; - } - if (units != null) { - $result.units = units; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; + final result = create(); + if (measure != null) result.measure = measure; + if (units != null) result.units = units; + if (nanos != null) result.nanos = nanos; + return result; } - Quantity._() : super(); - factory Quantity.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Quantity.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Quantity._(); + + factory Quantity.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Quantity.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Quantity', @@ -1732,20 +1541,18 @@ class Quantity extends $pb.GeneratedMessage { ..a<$core.int>(3, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Quantity clone() => Quantity()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Quantity copyWith(void Function(Quantity) updates) => super.copyWith((message) => updates(message as Quantity)) as Quantity; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Quantity create() => Quantity._(); + @$core.override Quantity createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -1757,10 +1564,7 @@ class Quantity extends $pb.GeneratedMessage { @$pb.TagNumber(1) Measure get measure => $_getN(0); @$pb.TagNumber(1) - set measure(Measure v) { - $_setField(1, v); - } - + set measure(Measure value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasMeasure() => $_has(0); @$pb.TagNumber(1) @@ -1770,10 +1574,7 @@ class Quantity extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get units => $_getI64(1); @$pb.TagNumber(2) - set units($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set units($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasUnits() => $_has(1); @$pb.TagNumber(2) @@ -1785,10 +1586,7 @@ class Quantity extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get nanos => $_getIZ(2); @$pb.TagNumber(3) - set nanos($core.int v) { - $_setSignedInt32(2, v); - } - + set nanos($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasNanos() => $_has(2); @$pb.TagNumber(3) @@ -1801,22 +1599,20 @@ class DescribePricingRequest extends $pb.GeneratedMessage { $core.String? regionCode, $core.String? currencyCode, }) { - final $result = create(); - if (regionCode != null) { - $result.regionCode = regionCode; - } - if (currencyCode != null) { - $result.currencyCode = currencyCode; - } - return $result; + final result = create(); + if (regionCode != null) result.regionCode = regionCode; + if (currencyCode != null) result.currencyCode = currencyCode; + return result; } - DescribePricingRequest._() : super(); - factory DescribePricingRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DescribePricingRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DescribePricingRequest._(); + + factory DescribePricingRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DescribePricingRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DescribePricingRequest', @@ -1827,23 +1623,21 @@ class DescribePricingRequest extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'currencyCode') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescribePricingRequest clone() => DescribePricingRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescribePricingRequest copyWith( void Function(DescribePricingRequest) updates) => super.copyWith((message) => updates(message as DescribePricingRequest)) as DescribePricingRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DescribePricingRequest create() => DescribePricingRequest._(); + @$core.override DescribePricingRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1856,10 +1650,7 @@ class DescribePricingRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get regionCode => $_getSZ(0); @$pb.TagNumber(1) - set regionCode($core.String v) { - $_setString(0, v); - } - + set regionCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasRegionCode() => $_has(0); @$pb.TagNumber(1) @@ -1869,10 +1660,7 @@ class DescribePricingRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get currencyCode => $_getSZ(1); @$pb.TagNumber(2) - set currencyCode($core.String v) { - $_setString(1, v); - } - + set currencyCode($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasCurrencyCode() => $_has(1); @$pb.TagNumber(2) @@ -1886,25 +1674,21 @@ class DescribePricingResponse extends $pb.GeneratedMessage { $core.String? currencyCode, $core.Iterable? prices, }) { - final $result = create(); - if (regionCode != null) { - $result.regionCode = regionCode; - } - if (currencyCode != null) { - $result.currencyCode = currencyCode; - } - if (prices != null) { - $result.prices.addAll(prices); - } - return $result; + final result = create(); + if (regionCode != null) result.regionCode = regionCode; + if (currencyCode != null) result.currencyCode = currencyCode; + if (prices != null) result.prices.addAll(prices); + return result; } - DescribePricingResponse._() : super(); - factory DescribePricingResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DescribePricingResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DescribePricingResponse._(); + + factory DescribePricingResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DescribePricingResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DescribePricingResponse', @@ -1917,23 +1701,21 @@ class DescribePricingResponse extends $pb.GeneratedMessage { subBuilder: Pricing.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescribePricingResponse clone() => DescribePricingResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescribePricingResponse copyWith( void Function(DescribePricingResponse) updates) => super.copyWith((message) => updates(message as DescribePricingResponse)) as DescribePricingResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DescribePricingResponse create() => DescribePricingResponse._(); + @$core.override DescribePricingResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1946,10 +1728,7 @@ class DescribePricingResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get regionCode => $_getSZ(0); @$pb.TagNumber(1) - set regionCode($core.String v) { - $_setString(0, v); - } - + set regionCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasRegionCode() => $_has(0); @$pb.TagNumber(1) @@ -1959,10 +1738,7 @@ class DescribePricingResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get currencyCode => $_getSZ(1); @$pb.TagNumber(2) - set currencyCode($core.String v) { - $_setString(1, v); - } - + set currencyCode($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasCurrencyCode() => $_has(1); @$pb.TagNumber(2) @@ -1981,44 +1757,32 @@ enum Pricing_Promotion_Duration { forever, once, repeating, notSet } class Pricing_Promotion extends $pb.GeneratedMessage { factory Pricing_Promotion({ $core.String? couponCode, - $15.Money? amount, + $2.Money? amount, $core.int? percentage, - $1.Empty? forever, - $1.Empty? once, - $8.Duration? repeating, - $9.Timestamp? expireTime, + $3.Empty? forever, + $3.Empty? once, + $4.Duration? repeating, + $1.Timestamp? expireTime, }) { - final $result = create(); - if (couponCode != null) { - $result.couponCode = couponCode; - } - if (amount != null) { - $result.amount = amount; - } - if (percentage != null) { - $result.percentage = percentage; - } - if (forever != null) { - $result.forever = forever; - } - if (once != null) { - $result.once = once; - } - if (repeating != null) { - $result.repeating = repeating; - } - if (expireTime != null) { - $result.expireTime = expireTime; - } - return $result; - } - Pricing_Promotion._() : super(); - factory Pricing_Promotion.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Pricing_Promotion.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (couponCode != null) result.couponCode = couponCode; + if (amount != null) result.amount = amount; + if (percentage != null) result.percentage = percentage; + if (forever != null) result.forever = forever; + if (once != null) result.once = once; + if (repeating != null) result.repeating = repeating; + if (expireTime != null) result.expireTime = expireTime; + return result; + } + + Pricing_Promotion._(); + + factory Pricing_Promotion.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Pricing_Promotion.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Pricing_Promotion_Discount> _Pricing_Promotion_DiscountByTag = { @@ -2041,34 +1805,32 @@ class Pricing_Promotion extends $pb.GeneratedMessage { ..oo(0, [2, 3]) ..oo(1, [4, 5, 6]) ..aOS(1, _omitFieldNames ? '' : 'couponCode') - ..aOM<$15.Money>(2, _omitFieldNames ? '' : 'amount', - subBuilder: $15.Money.create) + ..aOM<$2.Money>(2, _omitFieldNames ? '' : 'amount', + subBuilder: $2.Money.create) ..a<$core.int>(3, _omitFieldNames ? '' : 'percentage', $pb.PbFieldType.O3) - ..aOM<$1.Empty>(4, _omitFieldNames ? '' : 'forever', - subBuilder: $1.Empty.create) - ..aOM<$1.Empty>(5, _omitFieldNames ? '' : 'once', - subBuilder: $1.Empty.create) - ..aOM<$8.Duration>(6, _omitFieldNames ? '' : 'repeating', - subBuilder: $8.Duration.create) - ..aOM<$9.Timestamp>(7, _omitFieldNames ? '' : 'expireTime', - subBuilder: $9.Timestamp.create) + ..aOM<$3.Empty>(4, _omitFieldNames ? '' : 'forever', + subBuilder: $3.Empty.create) + ..aOM<$3.Empty>(5, _omitFieldNames ? '' : 'once', + subBuilder: $3.Empty.create) + ..aOM<$4.Duration>(6, _omitFieldNames ? '' : 'repeating', + subBuilder: $4.Duration.create) + ..aOM<$1.Timestamp>(7, _omitFieldNames ? '' : 'expireTime', + subBuilder: $1.Timestamp.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pricing_Promotion clone() => Pricing_Promotion()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pricing_Promotion copyWith(void Function(Pricing_Promotion) updates) => super.copyWith((message) => updates(message as Pricing_Promotion)) as Pricing_Promotion; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Pricing_Promotion create() => Pricing_Promotion._(); + @$core.override Pricing_Promotion createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2089,10 +1851,7 @@ class Pricing_Promotion extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get couponCode => $_getSZ(0); @$pb.TagNumber(1) - set couponCode($core.String v) { - $_setString(0, v); - } - + set couponCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasCouponCode() => $_has(0); @$pb.TagNumber(1) @@ -2100,27 +1859,21 @@ class Pricing_Promotion extends $pb.GeneratedMessage { /// The discount amount. @$pb.TagNumber(2) - $15.Money get amount => $_getN(1); + $2.Money get amount => $_getN(1); @$pb.TagNumber(2) - set amount($15.Money v) { - $_setField(2, v); - } - + set amount($2.Money value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasAmount() => $_has(1); @$pb.TagNumber(2) void clearAmount() => $_clearField(2); @$pb.TagNumber(2) - $15.Money ensureAmount() => $_ensure(1); + $2.Money ensureAmount() => $_ensure(1); /// The discount percentage. @$pb.TagNumber(3) $core.int get percentage => $_getIZ(2); @$pb.TagNumber(3) - set percentage($core.int v) { - $_setSignedInt32(2, v); - } - + set percentage($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasPercentage() => $_has(2); @$pb.TagNumber(3) @@ -2128,63 +1881,51 @@ class Pricing_Promotion extends $pb.GeneratedMessage { /// The promotion is applied forever. @$pb.TagNumber(4) - $1.Empty get forever => $_getN(3); + $3.Empty get forever => $_getN(3); @$pb.TagNumber(4) - set forever($1.Empty v) { - $_setField(4, v); - } - + set forever($3.Empty value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasForever() => $_has(3); @$pb.TagNumber(4) void clearForever() => $_clearField(4); @$pb.TagNumber(4) - $1.Empty ensureForever() => $_ensure(3); + $3.Empty ensureForever() => $_ensure(3); /// The promotion is applied once. @$pb.TagNumber(5) - $1.Empty get once => $_getN(4); + $3.Empty get once => $_getN(4); @$pb.TagNumber(5) - set once($1.Empty v) { - $_setField(5, v); - } - + set once($3.Empty value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasOnce() => $_has(4); @$pb.TagNumber(5) void clearOnce() => $_clearField(5); @$pb.TagNumber(5) - $1.Empty ensureOnce() => $_ensure(4); + $3.Empty ensureOnce() => $_ensure(4); /// The duration of the promotion. @$pb.TagNumber(6) - $8.Duration get repeating => $_getN(5); + $4.Duration get repeating => $_getN(5); @$pb.TagNumber(6) - set repeating($8.Duration v) { - $_setField(6, v); - } - + set repeating($4.Duration value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasRepeating() => $_has(5); @$pb.TagNumber(6) void clearRepeating() => $_clearField(6); @$pb.TagNumber(6) - $8.Duration ensureRepeating() => $_ensure(5); + $4.Duration ensureRepeating() => $_ensure(5); /// Optional. The time the promotion expires. @$pb.TagNumber(7) - $9.Timestamp get expireTime => $_getN(6); + $1.Timestamp get expireTime => $_getN(6); @$pb.TagNumber(7) - set expireTime($9.Timestamp v) { - $_setField(7, v); - } - + set expireTime($1.Timestamp value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasExpireTime() => $_has(6); @$pb.TagNumber(7) void clearExpireTime() => $_clearField(7); @$pb.TagNumber(7) - $9.Timestamp ensureExpireTime() => $_ensure(6); + $1.Timestamp ensureExpireTime() => $_ensure(6); } enum Pricing_Plan { community, builder, enterprise, notSet } @@ -2195,34 +1936,26 @@ class Pricing extends $pb.GeneratedMessage { CommunitySubscriptionPlan? community, BuilderSubscriptionPlan? builder, EnterpriseSubscriptionPlan? enterprise, - $15.Money? price, + $2.Money? price, $core.Iterable? promotions, }) { - final $result = create(); - if (community != null) { - $result.community = community; - } - if (builder != null) { - $result.builder = builder; - } - if (enterprise != null) { - $result.enterprise = enterprise; - } - if (price != null) { - $result.price = price; - } - if (promotions != null) { - $result.promotions.addAll(promotions); - } - return $result; + final result = create(); + if (community != null) result.community = community; + if (builder != null) result.builder = builder; + if (enterprise != null) result.enterprise = enterprise; + if (price != null) result.price = price; + if (promotions != null) result.promotions.addAll(promotions); + return result; } - Pricing._() : super(); - factory Pricing.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Pricing.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Pricing._(); + + factory Pricing.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Pricing.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Pricing_Plan> _Pricing_PlanByTag = { 1: Pricing_Plan.community, @@ -2242,27 +1975,25 @@ class Pricing extends $pb.GeneratedMessage { subBuilder: BuilderSubscriptionPlan.create) ..aOM(3, _omitFieldNames ? '' : 'enterprise', subBuilder: EnterpriseSubscriptionPlan.create) - ..aOM<$15.Money>(4, _omitFieldNames ? '' : 'price', - subBuilder: $15.Money.create) + ..aOM<$2.Money>(4, _omitFieldNames ? '' : 'price', + subBuilder: $2.Money.create) ..pc( 5, _omitFieldNames ? '' : 'promotions', $pb.PbFieldType.PM, subBuilder: Pricing_Promotion.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pricing clone() => Pricing()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pricing copyWith(void Function(Pricing) updates) => super.copyWith((message) => updates(message as Pricing)) as Pricing; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Pricing create() => Pricing._(); + @$core.override Pricing createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2277,10 +2008,7 @@ class Pricing extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommunitySubscriptionPlan get community => $_getN(0); @$pb.TagNumber(1) - set community(CommunitySubscriptionPlan v) { - $_setField(1, v); - } - + set community(CommunitySubscriptionPlan value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommunity() => $_has(0); @$pb.TagNumber(1) @@ -2292,10 +2020,7 @@ class Pricing extends $pb.GeneratedMessage { @$pb.TagNumber(2) BuilderSubscriptionPlan get builder => $_getN(1); @$pb.TagNumber(2) - set builder(BuilderSubscriptionPlan v) { - $_setField(2, v); - } - + set builder(BuilderSubscriptionPlan value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasBuilder() => $_has(1); @$pb.TagNumber(2) @@ -2307,10 +2032,7 @@ class Pricing extends $pb.GeneratedMessage { @$pb.TagNumber(3) EnterpriseSubscriptionPlan get enterprise => $_getN(2); @$pb.TagNumber(3) - set enterprise(EnterpriseSubscriptionPlan v) { - $_setField(3, v); - } - + set enterprise(EnterpriseSubscriptionPlan value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasEnterprise() => $_has(2); @$pb.TagNumber(3) @@ -2320,24 +2042,22 @@ class Pricing extends $pb.GeneratedMessage { /// The price of the plan. @$pb.TagNumber(4) - $15.Money get price => $_getN(3); + $2.Money get price => $_getN(3); @$pb.TagNumber(4) - set price($15.Money v) { - $_setField(4, v); - } - + set price($2.Money value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasPrice() => $_has(3); @$pb.TagNumber(4) void clearPrice() => $_clearField(4); @$pb.TagNumber(4) - $15.Money ensurePrice() => $_ensure(3); + $2.Money ensurePrice() => $_ensure(3); /// Optional. The active promotions for the plan, if any. @$pb.TagNumber(5) $pb.PbList get promotions => $_getList(4); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbenum.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbenum.dart index 5fc895d94..3acd88c52 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/subscriptions.proto -// +// Generated from celest/cloud/v1alpha1/subscriptions.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -53,11 +54,12 @@ class Measure extends $pb.ProtobufEnum { TERABYTES, ]; - static final $core.Map<$core.int, Measure> _byValue = - $pb.ProtobufEnum.initByValue(values); - static Measure? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 6); + static Measure? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const Measure._(super.v, super.n); + const Measure._(super.value, super.name); } /// The type of instance. @@ -105,11 +107,12 @@ class InstanceType extends $pb.ProtobufEnum { HEXA, ]; - static final $core.Map<$core.int, InstanceType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static InstanceType? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 7); + static InstanceType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const InstanceType._(super.v, super.n); + const InstanceType._(super.value, super.name); } /// The reason for the cancellation. @@ -142,12 +145,12 @@ class CancelSubscriptionDetails_Reason extends $pb.ProtobufEnum { PAYMENT_FAILED, ]; - static final $core.Map<$core.int, CancelSubscriptionDetails_Reason> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static CancelSubscriptionDetails_Reason? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const CancelSubscriptionDetails_Reason._(super.v, super.n); + const CancelSubscriptionDetails_Reason._(super.value, super.name); } /// The feedback for cancellation. @@ -208,12 +211,13 @@ class CancelSubscriptionDetails_Feedback extends $pb.ProtobufEnum { UNUSED, ]; - static final $core.Map<$core.int, CancelSubscriptionDetails_Feedback> - _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 8); static CancelSubscriptionDetails_Feedback? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const CancelSubscriptionDetails_Feedback._(super.v, super.n); + const CancelSubscriptionDetails_Feedback._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbgrpc.dart index 64e82f32b..46adddfd3 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/subscriptions.proto -// +// Generated from celest/cloud/v1alpha1/subscriptions.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,73 +16,94 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'subscriptions.pb.dart' as $7; +import 'subscriptions.pb.dart' as $0; export 'subscriptions.pb.dart'; +/// Manages subscriptions to the Celest Cloud service. @$pb.GrpcServiceName('celest.cloud.v1alpha1.Subscriptions') class SubscriptionsClient extends $grpc.Client { - static final _$getSubscription = - $grpc.ClientMethod<$7.GetSubscriptionRequest, $7.Subscription>( - '/celest.cloud.v1alpha1.Subscriptions/GetSubscription', - ($7.GetSubscriptionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.Subscription.fromBuffer(value)); - static final _$changePlan = - $grpc.ClientMethod<$7.ChangePlanRequest, $7.ChangePlanResponse>( - '/celest.cloud.v1alpha1.Subscriptions/ChangePlan', - ($7.ChangePlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $7.ChangePlanResponse.fromBuffer(value)); - static final _$pauseSubscription = $grpc.ClientMethod< - $7.PauseSubscriptionRequest, $7.PauseSubscriptionResponse>( - '/celest.cloud.v1alpha1.Subscriptions/PauseSubscription', - ($7.PauseSubscriptionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $7.PauseSubscriptionResponse.fromBuffer(value)); - static final _$cancelSubscription = $grpc.ClientMethod< - $7.CancelSubscriptionRequest, $7.CancelSubscriptionResponse>( - '/celest.cloud.v1alpha1.Subscriptions/CancelSubscription', - ($7.CancelSubscriptionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $7.CancelSubscriptionResponse.fromBuffer(value)); - static final _$describePricing = - $grpc.ClientMethod<$7.DescribePricingRequest, $7.DescribePricingResponse>( - '/celest.cloud.v1alpha1.Subscriptions/DescribePricing', - ($7.DescribePricingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $7.DescribePricingResponse.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'cloud.celest.dev'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; SubscriptionsClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$7.Subscription> getSubscription( - $7.GetSubscriptionRequest request, - {$grpc.CallOptions? options}) { + /// Gets a subscription. + $grpc.ResponseFuture<$0.Subscription> getSubscription( + $0.GetSubscriptionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getSubscription, request, options: options); } - $grpc.ResponseFuture<$7.ChangePlanResponse> changePlan( - $7.ChangePlanRequest request, - {$grpc.CallOptions? options}) { + /// Change a user's subscription to Celest Cloud. + $grpc.ResponseFuture<$0.ChangePlanResponse> changePlan( + $0.ChangePlanRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$changePlan, request, options: options); } - $grpc.ResponseFuture<$7.PauseSubscriptionResponse> pauseSubscription( - $7.PauseSubscriptionRequest request, - {$grpc.CallOptions? options}) { + /// Pauses a subscription to Celest Cloud. + $grpc.ResponseFuture<$0.PauseSubscriptionResponse> pauseSubscription( + $0.PauseSubscriptionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$pauseSubscription, request, options: options); } - $grpc.ResponseFuture<$7.CancelSubscriptionResponse> cancelSubscription( - $7.CancelSubscriptionRequest request, - {$grpc.CallOptions? options}) { + /// Cancels a subscription to Celest Cloud. + $grpc.ResponseFuture<$0.CancelSubscriptionResponse> cancelSubscription( + $0.CancelSubscriptionRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$cancelSubscription, request, options: options); } - $grpc.ResponseFuture<$7.DescribePricingResponse> describePricing( - $7.DescribePricingRequest request, - {$grpc.CallOptions? options}) { + /// Describes current pricing for all subscription plans and tiers. + /// + /// The `country_code` and `currency_code` can be provided to calculate + /// regional pricing. If neither is provided, the user's location is determined + /// from their IP address and the local pricing is returned for the local currency. + $grpc.ResponseFuture<$0.DescribePricingResponse> describePricing( + $0.DescribePricingRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$describePricing, request, options: options); } + + // method descriptors + + static final _$getSubscription = + $grpc.ClientMethod<$0.GetSubscriptionRequest, $0.Subscription>( + '/celest.cloud.v1alpha1.Subscriptions/GetSubscription', + ($0.GetSubscriptionRequest value) => value.writeToBuffer(), + $0.Subscription.fromBuffer); + static final _$changePlan = + $grpc.ClientMethod<$0.ChangePlanRequest, $0.ChangePlanResponse>( + '/celest.cloud.v1alpha1.Subscriptions/ChangePlan', + ($0.ChangePlanRequest value) => value.writeToBuffer(), + $0.ChangePlanResponse.fromBuffer); + static final _$pauseSubscription = $grpc.ClientMethod< + $0.PauseSubscriptionRequest, $0.PauseSubscriptionResponse>( + '/celest.cloud.v1alpha1.Subscriptions/PauseSubscription', + ($0.PauseSubscriptionRequest value) => value.writeToBuffer(), + $0.PauseSubscriptionResponse.fromBuffer); + static final _$cancelSubscription = $grpc.ClientMethod< + $0.CancelSubscriptionRequest, $0.CancelSubscriptionResponse>( + '/celest.cloud.v1alpha1.Subscriptions/CancelSubscription', + ($0.CancelSubscriptionRequest value) => value.writeToBuffer(), + $0.CancelSubscriptionResponse.fromBuffer); + static final _$describePricing = + $grpc.ClientMethod<$0.DescribePricingRequest, $0.DescribePricingResponse>( + '/celest.cloud.v1alpha1.Subscriptions/DescribePricing', + ($0.DescribePricingRequest value) => value.writeToBuffer(), + $0.DescribePricingResponse.fromBuffer); } @$pb.GrpcServiceName('celest.cloud.v1alpha1.Subscriptions') @@ -89,86 +111,90 @@ abstract class SubscriptionsServiceBase extends $grpc.Service { $core.String get $name => 'celest.cloud.v1alpha1.Subscriptions'; SubscriptionsServiceBase() { - $addMethod($grpc.ServiceMethod<$7.GetSubscriptionRequest, $7.Subscription>( + $addMethod($grpc.ServiceMethod<$0.GetSubscriptionRequest, $0.Subscription>( 'GetSubscription', getSubscription_Pre, false, false, ($core.List<$core.int> value) => - $7.GetSubscriptionRequest.fromBuffer(value), - ($7.Subscription value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.ChangePlanRequest, $7.ChangePlanResponse>( + $0.GetSubscriptionRequest.fromBuffer(value), + ($0.Subscription value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ChangePlanRequest, $0.ChangePlanResponse>( 'ChangePlan', changePlan_Pre, false, false, - ($core.List<$core.int> value) => $7.ChangePlanRequest.fromBuffer(value), - ($7.ChangePlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.PauseSubscriptionRequest, - $7.PauseSubscriptionResponse>( + ($core.List<$core.int> value) => $0.ChangePlanRequest.fromBuffer(value), + ($0.ChangePlanResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.PauseSubscriptionRequest, + $0.PauseSubscriptionResponse>( 'PauseSubscription', pauseSubscription_Pre, false, false, ($core.List<$core.int> value) => - $7.PauseSubscriptionRequest.fromBuffer(value), - ($7.PauseSubscriptionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.CancelSubscriptionRequest, - $7.CancelSubscriptionResponse>( + $0.PauseSubscriptionRequest.fromBuffer(value), + ($0.PauseSubscriptionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CancelSubscriptionRequest, + $0.CancelSubscriptionResponse>( 'CancelSubscription', cancelSubscription_Pre, false, false, ($core.List<$core.int> value) => - $7.CancelSubscriptionRequest.fromBuffer(value), - ($7.CancelSubscriptionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.DescribePricingRequest, - $7.DescribePricingResponse>( + $0.CancelSubscriptionRequest.fromBuffer(value), + ($0.CancelSubscriptionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DescribePricingRequest, + $0.DescribePricingResponse>( 'DescribePricing', describePricing_Pre, false, false, ($core.List<$core.int> value) => - $7.DescribePricingRequest.fromBuffer(value), - ($7.DescribePricingResponse value) => value.writeToBuffer())); + $0.DescribePricingRequest.fromBuffer(value), + ($0.DescribePricingResponse value) => value.writeToBuffer())); } - $async.Future<$7.Subscription> getSubscription_Pre($grpc.ServiceCall $call, - $async.Future<$7.GetSubscriptionRequest> $request) async { + $async.Future<$0.Subscription> getSubscription_Pre($grpc.ServiceCall $call, + $async.Future<$0.GetSubscriptionRequest> $request) async { return getSubscription($call, await $request); } - $async.Future<$7.ChangePlanResponse> changePlan_Pre($grpc.ServiceCall $call, - $async.Future<$7.ChangePlanRequest> $request) async { + $async.Future<$0.Subscription> getSubscription( + $grpc.ServiceCall call, $0.GetSubscriptionRequest request); + + $async.Future<$0.ChangePlanResponse> changePlan_Pre($grpc.ServiceCall $call, + $async.Future<$0.ChangePlanRequest> $request) async { return changePlan($call, await $request); } - $async.Future<$7.PauseSubscriptionResponse> pauseSubscription_Pre( + $async.Future<$0.ChangePlanResponse> changePlan( + $grpc.ServiceCall call, $0.ChangePlanRequest request); + + $async.Future<$0.PauseSubscriptionResponse> pauseSubscription_Pre( $grpc.ServiceCall $call, - $async.Future<$7.PauseSubscriptionRequest> $request) async { + $async.Future<$0.PauseSubscriptionRequest> $request) async { return pauseSubscription($call, await $request); } - $async.Future<$7.CancelSubscriptionResponse> cancelSubscription_Pre( + $async.Future<$0.PauseSubscriptionResponse> pauseSubscription( + $grpc.ServiceCall call, $0.PauseSubscriptionRequest request); + + $async.Future<$0.CancelSubscriptionResponse> cancelSubscription_Pre( $grpc.ServiceCall $call, - $async.Future<$7.CancelSubscriptionRequest> $request) async { + $async.Future<$0.CancelSubscriptionRequest> $request) async { return cancelSubscription($call, await $request); } - $async.Future<$7.DescribePricingResponse> describePricing_Pre( + $async.Future<$0.CancelSubscriptionResponse> cancelSubscription( + $grpc.ServiceCall call, $0.CancelSubscriptionRequest request); + + $async.Future<$0.DescribePricingResponse> describePricing_Pre( $grpc.ServiceCall $call, - $async.Future<$7.DescribePricingRequest> $request) async { + $async.Future<$0.DescribePricingRequest> $request) async { return describePricing($call, await $request); } - $async.Future<$7.Subscription> getSubscription( - $grpc.ServiceCall call, $7.GetSubscriptionRequest request); - $async.Future<$7.ChangePlanResponse> changePlan( - $grpc.ServiceCall call, $7.ChangePlanRequest request); - $async.Future<$7.PauseSubscriptionResponse> pauseSubscription( - $grpc.ServiceCall call, $7.PauseSubscriptionRequest request); - $async.Future<$7.CancelSubscriptionResponse> cancelSubscription( - $grpc.ServiceCall call, $7.CancelSubscriptionRequest request); - $async.Future<$7.DescribePricingResponse> describePricing( - $grpc.ServiceCall call, $7.DescribePricingRequest request); + $async.Future<$0.DescribePricingResponse> describePricing( + $grpc.ServiceCall call, $0.DescribePricingRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbjson.dart b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbjson.dart index 51d1ccb44..30ba0739c 100644 --- a/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/celest/cloud/v1alpha1/subscriptions.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: celest/cloud/v1alpha1/subscriptions.proto -// +// Generated from celest/cloud/v1alpha1/subscriptions.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/annotations.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/annotations.pb.dart index f4738baf6..e80b5d9c2 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/annotations.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/annotations.pb.dart @@ -1,35 +1,37 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/annotations.proto -// +// Generated from google/api/annotations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 'http.pb.dart' as $16; +import 'http.pb.dart' as $0; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; class Annotations { - static final http = $pb.Extension<$16.HttpRule>( + static final http = $pb.Extension<$0.HttpRule>( _omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'http', 72295728, $pb.PbFieldType.OM, - defaultOrMaker: $16.HttpRule.getDefault, - subBuilder: $16.HttpRule.create); + defaultOrMaker: $0.HttpRule.getDefault, + subBuilder: $0.HttpRule.create); static void registerAllExtensions($pb.ExtensionRegistry registry) { registry.add(http); } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/annotations.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/annotations.pbenum.dart index 7865e3581..2beef33f0 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/annotations.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/annotations.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/annotations.proto -// +// Generated from google/api/annotations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/api/annotations.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/annotations.pbjson.dart index a1ac5575e..8755e04d8 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/annotations.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/annotations.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/annotations.proto -// +// Generated from google/api/annotations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/client.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/client.pb.dart index 53ef2662d..4660db8c8 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/client.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/client.pb.dart @@ -1,21 +1,22 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/client.proto -// +// Generated from google/api/client.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../protobuf/duration.pb.dart' as $8; +import '../protobuf/duration.pb.dart' as $0; import 'client.pbenum.dart'; -import 'launch_stage.pbenum.dart' as $17; +import 'launch_stage.pbenum.dart' as $1; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -29,26 +30,22 @@ class CommonLanguageSettings extends $pb.GeneratedMessage { $core.Iterable? destinations, SelectiveGapicGeneration? selectiveGapicGeneration, }) { - final $result = create(); - if (referenceDocsUri != null) { - // ignore: deprecated_member_use_from_same_package - $result.referenceDocsUri = referenceDocsUri; - } - if (destinations != null) { - $result.destinations.addAll(destinations); - } - if (selectiveGapicGeneration != null) { - $result.selectiveGapicGeneration = selectiveGapicGeneration; - } - return $result; + final result = create(); + if (referenceDocsUri != null) result.referenceDocsUri = referenceDocsUri; + if (destinations != null) result.destinations.addAll(destinations); + if (selectiveGapicGeneration != null) + result.selectiveGapicGeneration = selectiveGapicGeneration; + return result; } - CommonLanguageSettings._() : super(); - factory CommonLanguageSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CommonLanguageSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CommonLanguageSettings._(); + + factory CommonLanguageSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CommonLanguageSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CommonLanguageSettings', @@ -66,23 +63,21 @@ class CommonLanguageSettings extends $pb.GeneratedMessage { subBuilder: SelectiveGapicGeneration.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CommonLanguageSettings clone() => CommonLanguageSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CommonLanguageSettings copyWith( void Function(CommonLanguageSettings) updates) => super.copyWith((message) => updates(message as CommonLanguageSettings)) as CommonLanguageSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CommonLanguageSettings create() => CommonLanguageSettings._(); + @$core.override CommonLanguageSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -98,10 +93,7 @@ class CommonLanguageSettings extends $pb.GeneratedMessage { $core.String get referenceDocsUri => $_getSZ(0); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) - set referenceDocsUri($core.String v) { - $_setString(0, v); - } - + set referenceDocsUri($core.String value) => $_setString(0, value); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasReferenceDocsUri() => $_has(0); @@ -117,10 +109,8 @@ class CommonLanguageSettings extends $pb.GeneratedMessage { @$pb.TagNumber(3) SelectiveGapicGeneration get selectiveGapicGeneration => $_getN(2); @$pb.TagNumber(3) - set selectiveGapicGeneration(SelectiveGapicGeneration v) { - $_setField(3, v); - } - + set selectiveGapicGeneration(SelectiveGapicGeneration value) => + $_setField(3, value); @$pb.TagNumber(3) $core.bool hasSelectiveGapicGeneration() => $_has(2); @$pb.TagNumber(3) @@ -133,7 +123,7 @@ class CommonLanguageSettings extends $pb.GeneratedMessage { class ClientLibrarySettings extends $pb.GeneratedMessage { factory ClientLibrarySettings({ $core.String? version, - $17.LaunchStage? launchStage, + $1.LaunchStage? launchStage, $core.bool? restNumericEnums, JavaSettings? javaSettings, CppSettings? cppSettings, @@ -144,60 +134,40 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { RubySettings? rubySettings, GoSettings? goSettings, }) { - final $result = create(); - if (version != null) { - $result.version = version; - } - if (launchStage != null) { - $result.launchStage = launchStage; - } - if (restNumericEnums != null) { - $result.restNumericEnums = restNumericEnums; - } - if (javaSettings != null) { - $result.javaSettings = javaSettings; - } - if (cppSettings != null) { - $result.cppSettings = cppSettings; - } - if (phpSettings != null) { - $result.phpSettings = phpSettings; - } - if (pythonSettings != null) { - $result.pythonSettings = pythonSettings; - } - if (nodeSettings != null) { - $result.nodeSettings = nodeSettings; - } - if (dotnetSettings != null) { - $result.dotnetSettings = dotnetSettings; - } - if (rubySettings != null) { - $result.rubySettings = rubySettings; - } - if (goSettings != null) { - $result.goSettings = goSettings; - } - return $result; + final result = create(); + if (version != null) result.version = version; + if (launchStage != null) result.launchStage = launchStage; + if (restNumericEnums != null) result.restNumericEnums = restNumericEnums; + if (javaSettings != null) result.javaSettings = javaSettings; + if (cppSettings != null) result.cppSettings = cppSettings; + if (phpSettings != null) result.phpSettings = phpSettings; + if (pythonSettings != null) result.pythonSettings = pythonSettings; + if (nodeSettings != null) result.nodeSettings = nodeSettings; + if (dotnetSettings != null) result.dotnetSettings = dotnetSettings; + if (rubySettings != null) result.rubySettings = rubySettings; + if (goSettings != null) result.goSettings = goSettings; + return result; } - ClientLibrarySettings._() : super(); - factory ClientLibrarySettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ClientLibrarySettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ClientLibrarySettings._(); + + factory ClientLibrarySettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ClientLibrarySettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ClientLibrarySettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'version') - ..e<$17.LaunchStage>( + ..e<$1.LaunchStage>( 2, _omitFieldNames ? '' : 'launchStage', $pb.PbFieldType.OE, - defaultOrMaker: $17.LaunchStage.LAUNCH_STAGE_UNSPECIFIED, - valueOf: $17.LaunchStage.valueOf, - enumValues: $17.LaunchStage.values) + defaultOrMaker: $1.LaunchStage.LAUNCH_STAGE_UNSPECIFIED, + valueOf: $1.LaunchStage.valueOf, + enumValues: $1.LaunchStage.values) ..aOB(3, _omitFieldNames ? '' : 'restNumericEnums') ..aOM(21, _omitFieldNames ? '' : 'javaSettings', subBuilder: JavaSettings.create) @@ -217,23 +187,21 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { subBuilder: GoSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientLibrarySettings clone() => ClientLibrarySettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientLibrarySettings copyWith( void Function(ClientLibrarySettings) updates) => super.copyWith((message) => updates(message as ClientLibrarySettings)) as ClientLibrarySettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ClientLibrarySettings create() => ClientLibrarySettings._(); + @$core.override ClientLibrarySettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -248,10 +216,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get version => $_getSZ(0); @$pb.TagNumber(1) - set version($core.String v) { - $_setString(0, v); - } - + set version($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasVersion() => $_has(0); @$pb.TagNumber(1) @@ -259,12 +224,9 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { /// Launch stage of this version of the API. @$pb.TagNumber(2) - $17.LaunchStage get launchStage => $_getN(1); + $1.LaunchStage get launchStage => $_getN(1); @$pb.TagNumber(2) - set launchStage($17.LaunchStage v) { - $_setField(2, v); - } - + set launchStage($1.LaunchStage value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasLaunchStage() => $_has(1); @$pb.TagNumber(2) @@ -275,10 +237,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get restNumericEnums => $_getBF(2); @$pb.TagNumber(3) - set restNumericEnums($core.bool v) { - $_setBool(2, v); - } - + set restNumericEnums($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasRestNumericEnums() => $_has(2); @$pb.TagNumber(3) @@ -288,10 +247,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(21) JavaSettings get javaSettings => $_getN(3); @$pb.TagNumber(21) - set javaSettings(JavaSettings v) { - $_setField(21, v); - } - + set javaSettings(JavaSettings value) => $_setField(21, value); @$pb.TagNumber(21) $core.bool hasJavaSettings() => $_has(3); @$pb.TagNumber(21) @@ -303,10 +259,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(22) CppSettings get cppSettings => $_getN(4); @$pb.TagNumber(22) - set cppSettings(CppSettings v) { - $_setField(22, v); - } - + set cppSettings(CppSettings value) => $_setField(22, value); @$pb.TagNumber(22) $core.bool hasCppSettings() => $_has(4); @$pb.TagNumber(22) @@ -318,10 +271,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(23) PhpSettings get phpSettings => $_getN(5); @$pb.TagNumber(23) - set phpSettings(PhpSettings v) { - $_setField(23, v); - } - + set phpSettings(PhpSettings value) => $_setField(23, value); @$pb.TagNumber(23) $core.bool hasPhpSettings() => $_has(5); @$pb.TagNumber(23) @@ -333,10 +283,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(24) PythonSettings get pythonSettings => $_getN(6); @$pb.TagNumber(24) - set pythonSettings(PythonSettings v) { - $_setField(24, v); - } - + set pythonSettings(PythonSettings value) => $_setField(24, value); @$pb.TagNumber(24) $core.bool hasPythonSettings() => $_has(6); @$pb.TagNumber(24) @@ -348,10 +295,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(25) NodeSettings get nodeSettings => $_getN(7); @$pb.TagNumber(25) - set nodeSettings(NodeSettings v) { - $_setField(25, v); - } - + set nodeSettings(NodeSettings value) => $_setField(25, value); @$pb.TagNumber(25) $core.bool hasNodeSettings() => $_has(7); @$pb.TagNumber(25) @@ -363,10 +307,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(26) DotnetSettings get dotnetSettings => $_getN(8); @$pb.TagNumber(26) - set dotnetSettings(DotnetSettings v) { - $_setField(26, v); - } - + set dotnetSettings(DotnetSettings value) => $_setField(26, value); @$pb.TagNumber(26) $core.bool hasDotnetSettings() => $_has(8); @$pb.TagNumber(26) @@ -378,10 +319,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(27) RubySettings get rubySettings => $_getN(9); @$pb.TagNumber(27) - set rubySettings(RubySettings v) { - $_setField(27, v); - } - + set rubySettings(RubySettings value) => $_setField(27, value); @$pb.TagNumber(27) $core.bool hasRubySettings() => $_has(9); @$pb.TagNumber(27) @@ -393,10 +331,7 @@ class ClientLibrarySettings extends $pb.GeneratedMessage { @$pb.TagNumber(28) GoSettings get goSettings => $_getN(10); @$pb.TagNumber(28) - set goSettings(GoSettings v) { - $_setField(28, v); - } - + set goSettings(GoSettings value) => $_setField(28, value); @$pb.TagNumber(28) $core.bool hasGoSettings() => $_has(10); @$pb.TagNumber(28) @@ -422,49 +357,32 @@ class Publishing extends $pb.GeneratedMessage { $core.String? protoReferenceDocumentationUri, $core.String? restReferenceDocumentationUri, }) { - final $result = create(); - if (methodSettings != null) { - $result.methodSettings.addAll(methodSettings); - } - if (newIssueUri != null) { - $result.newIssueUri = newIssueUri; - } - if (documentationUri != null) { - $result.documentationUri = documentationUri; - } - if (apiShortName != null) { - $result.apiShortName = apiShortName; - } - if (githubLabel != null) { - $result.githubLabel = githubLabel; - } - if (codeownerGithubTeams != null) { - $result.codeownerGithubTeams.addAll(codeownerGithubTeams); - } - if (docTagPrefix != null) { - $result.docTagPrefix = docTagPrefix; - } - if (organization != null) { - $result.organization = organization; - } - if (librarySettings != null) { - $result.librarySettings.addAll(librarySettings); - } - if (protoReferenceDocumentationUri != null) { - $result.protoReferenceDocumentationUri = protoReferenceDocumentationUri; - } - if (restReferenceDocumentationUri != null) { - $result.restReferenceDocumentationUri = restReferenceDocumentationUri; - } - return $result; + final result = create(); + if (methodSettings != null) result.methodSettings.addAll(methodSettings); + if (newIssueUri != null) result.newIssueUri = newIssueUri; + if (documentationUri != null) result.documentationUri = documentationUri; + if (apiShortName != null) result.apiShortName = apiShortName; + if (githubLabel != null) result.githubLabel = githubLabel; + if (codeownerGithubTeams != null) + result.codeownerGithubTeams.addAll(codeownerGithubTeams); + if (docTagPrefix != null) result.docTagPrefix = docTagPrefix; + if (organization != null) result.organization = organization; + if (librarySettings != null) result.librarySettings.addAll(librarySettings); + if (protoReferenceDocumentationUri != null) + result.protoReferenceDocumentationUri = protoReferenceDocumentationUri; + if (restReferenceDocumentationUri != null) + result.restReferenceDocumentationUri = restReferenceDocumentationUri; + return result; } - Publishing._() : super(); - factory Publishing.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Publishing.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Publishing._(); + + factory Publishing.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Publishing.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Publishing', @@ -492,20 +410,18 @@ class Publishing extends $pb.GeneratedMessage { ..aOS(111, _omitFieldNames ? '' : 'restReferenceDocumentationUri') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Publishing clone() => Publishing()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Publishing copyWith(void Function(Publishing) updates) => super.copyWith((message) => updates(message as Publishing)) as Publishing; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Publishing create() => Publishing._(); + @$core.override Publishing createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -523,10 +439,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(101) $core.String get newIssueUri => $_getSZ(1); @$pb.TagNumber(101) - set newIssueUri($core.String v) { - $_setString(1, v); - } - + set newIssueUri($core.String value) => $_setString(1, value); @$pb.TagNumber(101) $core.bool hasNewIssueUri() => $_has(1); @$pb.TagNumber(101) @@ -537,10 +450,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(102) $core.String get documentationUri => $_getSZ(2); @$pb.TagNumber(102) - set documentationUri($core.String v) { - $_setString(2, v); - } - + set documentationUri($core.String value) => $_setString(2, value); @$pb.TagNumber(102) $core.bool hasDocumentationUri() => $_has(2); @$pb.TagNumber(102) @@ -552,10 +462,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(103) $core.String get apiShortName => $_getSZ(3); @$pb.TagNumber(103) - set apiShortName($core.String v) { - $_setString(3, v); - } - + set apiShortName($core.String value) => $_setString(3, value); @$pb.TagNumber(103) $core.bool hasApiShortName() => $_has(3); @$pb.TagNumber(103) @@ -565,10 +472,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(104) $core.String get githubLabel => $_getSZ(4); @$pb.TagNumber(104) - set githubLabel($core.String v) { - $_setString(4, v); - } - + set githubLabel($core.String value) => $_setString(4, value); @$pb.TagNumber(104) $core.bool hasGithubLabel() => $_has(4); @$pb.TagNumber(104) @@ -584,10 +488,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(106) $core.String get docTagPrefix => $_getSZ(6); @$pb.TagNumber(106) - set docTagPrefix($core.String v) { - $_setString(6, v); - } - + set docTagPrefix($core.String value) => $_setString(6, value); @$pb.TagNumber(106) $core.bool hasDocTagPrefix() => $_has(6); @$pb.TagNumber(106) @@ -597,10 +498,7 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(107) ClientLibraryOrganization get organization => $_getN(7); @$pb.TagNumber(107) - set organization(ClientLibraryOrganization v) { - $_setField(107, v); - } - + set organization(ClientLibraryOrganization value) => $_setField(107, value); @$pb.TagNumber(107) $core.bool hasOrganization() => $_has(7); @$pb.TagNumber(107) @@ -617,10 +515,8 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(110) $core.String get protoReferenceDocumentationUri => $_getSZ(9); @$pb.TagNumber(110) - set protoReferenceDocumentationUri($core.String v) { - $_setString(9, v); - } - + set protoReferenceDocumentationUri($core.String value) => + $_setString(9, value); @$pb.TagNumber(110) $core.bool hasProtoReferenceDocumentationUri() => $_has(9); @$pb.TagNumber(110) @@ -631,10 +527,8 @@ class Publishing extends $pb.GeneratedMessage { @$pb.TagNumber(111) $core.String get restReferenceDocumentationUri => $_getSZ(10); @$pb.TagNumber(111) - set restReferenceDocumentationUri($core.String v) { - $_setString(10, v); - } - + set restReferenceDocumentationUri($core.String value) => + $_setString(10, value); @$pb.TagNumber(111) $core.bool hasRestReferenceDocumentationUri() => $_has(10); @$pb.TagNumber(111) @@ -649,25 +543,22 @@ class JavaSettings extends $pb.GeneratedMessage { serviceClassNames, CommonLanguageSettings? common, }) { - final $result = create(); - if (libraryPackage != null) { - $result.libraryPackage = libraryPackage; - } - if (serviceClassNames != null) { - $result.serviceClassNames.addEntries(serviceClassNames); - } - if (common != null) { - $result.common = common; - } - return $result; + final result = create(); + if (libraryPackage != null) result.libraryPackage = libraryPackage; + if (serviceClassNames != null) + result.serviceClassNames.addEntries(serviceClassNames); + if (common != null) result.common = common; + return result; } - JavaSettings._() : super(); - factory JavaSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory JavaSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + JavaSettings._(); + + factory JavaSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory JavaSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'JavaSettings', @@ -684,21 +575,19 @@ class JavaSettings extends $pb.GeneratedMessage { subBuilder: CommonLanguageSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JavaSettings clone() => JavaSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JavaSettings copyWith(void Function(JavaSettings) updates) => super.copyWith((message) => updates(message as JavaSettings)) as JavaSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static JavaSettings create() => JavaSettings._(); + @$core.override JavaSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -707,43 +596,40 @@ class JavaSettings extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static JavaSettings? _defaultInstance; - /// The package name to use in Java. Clobbers the java_package option - /// set in the protobuf. This should be used **only** by APIs - /// who have already set the language_settings.java.package_name" field - /// in gapic.yaml. API teams should use the protobuf java_package option - /// where possible. + /// The package name to use in Java. Clobbers the java_package option + /// set in the protobuf. This should be used **only** by APIs + /// who have already set the language_settings.java.package_name" field + /// in gapic.yaml. API teams should use the protobuf java_package option + /// where possible. /// - /// Example of a YAML configuration:: + /// Example of a YAML configuration:: /// - /// publishing: - /// java_settings: - /// library_package: com.google.cloud.pubsub.v1 + /// publishing: + /// java_settings: + /// library_package: com.google.cloud.pubsub.v1 @$pb.TagNumber(1) $core.String get libraryPackage => $_getSZ(0); @$pb.TagNumber(1) - set libraryPackage($core.String v) { - $_setString(0, v); - } - + set libraryPackage($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasLibraryPackage() => $_has(0); @$pb.TagNumber(1) void clearLibraryPackage() => $_clearField(1); - /// Configure the Java class name to use instead of the service's for its - /// corresponding generated GAPIC client. Keys are fully-qualified - /// service names as they appear in the protobuf (including the full - /// the language_settings.java.interface_names" field in gapic.yaml. API - /// teams should otherwise use the service name as it appears in the - /// protobuf. + /// Configure the Java class name to use instead of the service's for its + /// corresponding generated GAPIC client. Keys are fully-qualified + /// service names as they appear in the protobuf (including the full + /// the language_settings.java.interface_names" field in gapic.yaml. API + /// teams should otherwise use the service name as it appears in the + /// protobuf. /// - /// Example of a YAML configuration:: + /// Example of a YAML configuration:: /// - /// publishing: - /// java_settings: - /// service_class_names: - /// - google.pubsub.v1.Publisher: TopicAdmin - /// - google.pubsub.v1.Subscriber: SubscriptionAdmin + /// publishing: + /// java_settings: + /// service_class_names: + /// - google.pubsub.v1.Publisher: TopicAdmin + /// - google.pubsub.v1.Subscriber: SubscriptionAdmin @$pb.TagNumber(2) $pb.PbMap<$core.String, $core.String> get serviceClassNames => $_getMap(1); @@ -751,10 +637,7 @@ class JavaSettings extends $pb.GeneratedMessage { @$pb.TagNumber(3) CommonLanguageSettings get common => $_getN(2); @$pb.TagNumber(3) - set common(CommonLanguageSettings v) { - $_setField(3, v); - } - + set common(CommonLanguageSettings value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasCommon() => $_has(2); @$pb.TagNumber(3) @@ -768,19 +651,19 @@ class CppSettings extends $pb.GeneratedMessage { factory CppSettings({ CommonLanguageSettings? common, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; + final result = create(); + if (common != null) result.common = common; + return result; } - CppSettings._() : super(); - factory CppSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CppSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CppSettings._(); + + factory CppSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CppSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CppSettings', @@ -790,21 +673,19 @@ class CppSettings extends $pb.GeneratedMessage { subBuilder: CommonLanguageSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CppSettings clone() => CppSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CppSettings copyWith(void Function(CppSettings) updates) => super.copyWith((message) => updates(message as CppSettings)) as CppSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CppSettings create() => CppSettings._(); + @$core.override CppSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -816,10 +697,7 @@ class CppSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -833,19 +711,19 @@ class PhpSettings extends $pb.GeneratedMessage { factory PhpSettings({ CommonLanguageSettings? common, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; + final result = create(); + if (common != null) result.common = common; + return result; } - PhpSettings._() : super(); - factory PhpSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PhpSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PhpSettings._(); + + factory PhpSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PhpSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PhpSettings', @@ -855,21 +733,19 @@ class PhpSettings extends $pb.GeneratedMessage { subBuilder: CommonLanguageSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhpSettings clone() => PhpSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhpSettings copyWith(void Function(PhpSettings) updates) => super.copyWith((message) => updates(message as PhpSettings)) as PhpSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PhpSettings create() => PhpSettings._(); + @$core.override PhpSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -881,10 +757,7 @@ class PhpSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -902,26 +775,25 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { $core.bool? protobufPythonicTypesEnabled, $core.bool? unversionedPackageDisabled, }) { - final $result = create(); - if (restAsyncIoEnabled != null) { - $result.restAsyncIoEnabled = restAsyncIoEnabled; - } - if (protobufPythonicTypesEnabled != null) { - $result.protobufPythonicTypesEnabled = protobufPythonicTypesEnabled; - } - if (unversionedPackageDisabled != null) { - $result.unversionedPackageDisabled = unversionedPackageDisabled; - } - return $result; + final result = create(); + if (restAsyncIoEnabled != null) + result.restAsyncIoEnabled = restAsyncIoEnabled; + if (protobufPythonicTypesEnabled != null) + result.protobufPythonicTypesEnabled = protobufPythonicTypesEnabled; + if (unversionedPackageDisabled != null) + result.unversionedPackageDisabled = unversionedPackageDisabled; + return result; } - PythonSettings_ExperimentalFeatures._() : super(); + + PythonSettings_ExperimentalFeatures._(); + factory PythonSettings_ExperimentalFeatures.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PythonSettings_ExperimentalFeatures.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PythonSettings_ExperimentalFeatures.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PythonSettings.ExperimentalFeatures', @@ -932,25 +804,23 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { ..aOB(3, _omitFieldNames ? '' : 'unversionedPackageDisabled') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PythonSettings_ExperimentalFeatures clone() => PythonSettings_ExperimentalFeatures()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PythonSettings_ExperimentalFeatures copyWith( void Function(PythonSettings_ExperimentalFeatures) updates) => super.copyWith((message) => updates(message as PythonSettings_ExperimentalFeatures)) as PythonSettings_ExperimentalFeatures; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PythonSettings_ExperimentalFeatures create() => PythonSettings_ExperimentalFeatures._(); + @$core.override PythonSettings_ExperimentalFeatures createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -967,10 +837,7 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.bool get restAsyncIoEnabled => $_getBF(0); @$pb.TagNumber(1) - set restAsyncIoEnabled($core.bool v) { - $_setBool(0, v); - } - + set restAsyncIoEnabled($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasRestAsyncIoEnabled() => $_has(0); @$pb.TagNumber(1) @@ -983,10 +850,7 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get protobufPythonicTypesEnabled => $_getBF(1); @$pb.TagNumber(2) - set protobufPythonicTypesEnabled($core.bool v) { - $_setBool(1, v); - } - + set protobufPythonicTypesEnabled($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasProtobufPythonicTypesEnabled() => $_has(1); @$pb.TagNumber(2) @@ -999,10 +863,7 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get unversionedPackageDisabled => $_getBF(2); @$pb.TagNumber(3) - set unversionedPackageDisabled($core.bool v) { - $_setBool(2, v); - } - + set unversionedPackageDisabled($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasUnversionedPackageDisabled() => $_has(2); @$pb.TagNumber(3) @@ -1015,22 +876,21 @@ class PythonSettings extends $pb.GeneratedMessage { CommonLanguageSettings? common, PythonSettings_ExperimentalFeatures? experimentalFeatures, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (experimentalFeatures != null) { - $result.experimentalFeatures = experimentalFeatures; - } - return $result; + final result = create(); + if (common != null) result.common = common; + if (experimentalFeatures != null) + result.experimentalFeatures = experimentalFeatures; + return result; } - PythonSettings._() : super(); - factory PythonSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PythonSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PythonSettings._(); + + factory PythonSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PythonSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PythonSettings', @@ -1043,21 +903,19 @@ class PythonSettings extends $pb.GeneratedMessage { subBuilder: PythonSettings_ExperimentalFeatures.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PythonSettings clone() => PythonSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PythonSettings copyWith(void Function(PythonSettings) updates) => super.copyWith((message) => updates(message as PythonSettings)) as PythonSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PythonSettings create() => PythonSettings._(); + @$core.override PythonSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1070,10 +928,7 @@ class PythonSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -1085,10 +940,8 @@ class PythonSettings extends $pb.GeneratedMessage { @$pb.TagNumber(2) PythonSettings_ExperimentalFeatures get experimentalFeatures => $_getN(1); @$pb.TagNumber(2) - set experimentalFeatures(PythonSettings_ExperimentalFeatures v) { - $_setField(2, v); - } - + set experimentalFeatures(PythonSettings_ExperimentalFeatures value) => + $_setField(2, value); @$pb.TagNumber(2) $core.bool hasExperimentalFeatures() => $_has(1); @$pb.TagNumber(2) @@ -1103,19 +956,19 @@ class NodeSettings extends $pb.GeneratedMessage { factory NodeSettings({ CommonLanguageSettings? common, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; + final result = create(); + if (common != null) result.common = common; + return result; } - NodeSettings._() : super(); - factory NodeSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory NodeSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + NodeSettings._(); + + factory NodeSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory NodeSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'NodeSettings', @@ -1125,21 +978,19 @@ class NodeSettings extends $pb.GeneratedMessage { subBuilder: CommonLanguageSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') NodeSettings clone() => NodeSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') NodeSettings copyWith(void Function(NodeSettings) updates) => super.copyWith((message) => updates(message as NodeSettings)) as NodeSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static NodeSettings create() => NodeSettings._(); + @$core.override NodeSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1152,10 +1003,7 @@ class NodeSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -1175,34 +1023,29 @@ class DotnetSettings extends $pb.GeneratedMessage { $core.Iterable<$core.String>? forcedNamespaceAliases, $core.Iterable<$core.String>? handwrittenSignatures, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (renamedServices != null) { - $result.renamedServices.addEntries(renamedServices); - } - if (renamedResources != null) { - $result.renamedResources.addEntries(renamedResources); - } - if (ignoredResources != null) { - $result.ignoredResources.addAll(ignoredResources); - } - if (forcedNamespaceAliases != null) { - $result.forcedNamespaceAliases.addAll(forcedNamespaceAliases); - } - if (handwrittenSignatures != null) { - $result.handwrittenSignatures.addAll(handwrittenSignatures); - } - return $result; + final result = create(); + if (common != null) result.common = common; + if (renamedServices != null) + result.renamedServices.addEntries(renamedServices); + if (renamedResources != null) + result.renamedResources.addEntries(renamedResources); + if (ignoredResources != null) + result.ignoredResources.addAll(ignoredResources); + if (forcedNamespaceAliases != null) + result.forcedNamespaceAliases.addAll(forcedNamespaceAliases); + if (handwrittenSignatures != null) + result.handwrittenSignatures.addAll(handwrittenSignatures); + return result; } - DotnetSettings._() : super(); - factory DotnetSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DotnetSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DotnetSettings._(); + + factory DotnetSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DotnetSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DotnetSettings', @@ -1226,21 +1069,19 @@ class DotnetSettings extends $pb.GeneratedMessage { ..pPS(6, _omitFieldNames ? '' : 'handwrittenSignatures') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DotnetSettings clone() => DotnetSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DotnetSettings copyWith(void Function(DotnetSettings) updates) => super.copyWith((message) => updates(message as DotnetSettings)) as DotnetSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DotnetSettings create() => DotnetSettings._(); + @$core.override DotnetSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1253,10 +1094,7 @@ class DotnetSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -1305,19 +1143,19 @@ class RubySettings extends $pb.GeneratedMessage { factory RubySettings({ CommonLanguageSettings? common, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; + final result = create(); + if (common != null) result.common = common; + return result; } - RubySettings._() : super(); - factory RubySettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory RubySettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + RubySettings._(); + + factory RubySettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory RubySettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'RubySettings', @@ -1327,21 +1165,19 @@ class RubySettings extends $pb.GeneratedMessage { subBuilder: CommonLanguageSettings.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RubySettings clone() => RubySettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RubySettings copyWith(void Function(RubySettings) updates) => super.copyWith((message) => updates(message as RubySettings)) as RubySettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RubySettings create() => RubySettings._(); + @$core.override RubySettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1354,10 +1190,7 @@ class RubySettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -1372,22 +1205,21 @@ class GoSettings extends $pb.GeneratedMessage { CommonLanguageSettings? common, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? renamedServices, }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (renamedServices != null) { - $result.renamedServices.addEntries(renamedServices); - } - return $result; + final result = create(); + if (common != null) result.common = common; + if (renamedServices != null) + result.renamedServices.addEntries(renamedServices); + return result; } - GoSettings._() : super(); - factory GoSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GoSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GoSettings._(); + + factory GoSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GoSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GoSettings', @@ -1402,20 +1234,18 @@ class GoSettings extends $pb.GeneratedMessage { packageName: const $pb.PackageName('google.api')) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GoSettings clone() => GoSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GoSettings copyWith(void Function(GoSettings) updates) => super.copyWith((message) => updates(message as GoSettings)) as GoSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GoSettings create() => GoSettings._(); + @$core.override GoSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -1427,10 +1257,7 @@ class GoSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings get common => $_getN(0); @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { - $_setField(1, v); - } - + set common(CommonLanguageSettings value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCommon() => $_has(0); @$pb.TagNumber(1) @@ -1438,14 +1265,14 @@ class GoSettings extends $pb.GeneratedMessage { @$pb.TagNumber(1) CommonLanguageSettings ensureCommon() => $_ensure(0); - /// Map of service names to renamed services. Keys are the package relative - /// service names and values are the name to be used for the service client - /// and call options. + /// Map of service names to renamed services. Keys are the package relative + /// service names and values are the name to be used for the service client + /// and call options. /// - /// publishing: - /// go_settings: - /// renamed_services: - /// Publisher: TopicAdmin + /// publishing: + /// go_settings: + /// renamed_services: + /// Publisher: TopicAdmin @$pb.TagNumber(2) $pb.PbMap<$core.String, $core.String> get renamedServices => $_getMap(1); } @@ -1457,66 +1284,59 @@ class GoSettings extends $pb.GeneratedMessage { /// [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). class MethodSettings_LongRunning extends $pb.GeneratedMessage { factory MethodSettings_LongRunning({ - $8.Duration? initialPollDelay, + $0.Duration? initialPollDelay, $core.double? pollDelayMultiplier, - $8.Duration? maxPollDelay, - $8.Duration? totalPollTimeout, + $0.Duration? maxPollDelay, + $0.Duration? totalPollTimeout, }) { - final $result = create(); - if (initialPollDelay != null) { - $result.initialPollDelay = initialPollDelay; - } - if (pollDelayMultiplier != null) { - $result.pollDelayMultiplier = pollDelayMultiplier; - } - if (maxPollDelay != null) { - $result.maxPollDelay = maxPollDelay; - } - if (totalPollTimeout != null) { - $result.totalPollTimeout = totalPollTimeout; - } - return $result; + final result = create(); + if (initialPollDelay != null) result.initialPollDelay = initialPollDelay; + if (pollDelayMultiplier != null) + result.pollDelayMultiplier = pollDelayMultiplier; + if (maxPollDelay != null) result.maxPollDelay = maxPollDelay; + if (totalPollTimeout != null) result.totalPollTimeout = totalPollTimeout; + return result; } - MethodSettings_LongRunning._() : super(); - factory MethodSettings_LongRunning.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MethodSettings_LongRunning.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MethodSettings_LongRunning._(); + + factory MethodSettings_LongRunning.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MethodSettings_LongRunning.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MethodSettings.LongRunning', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM<$8.Duration>(1, _omitFieldNames ? '' : 'initialPollDelay', - subBuilder: $8.Duration.create) + ..aOM<$0.Duration>(1, _omitFieldNames ? '' : 'initialPollDelay', + subBuilder: $0.Duration.create) ..a<$core.double>( 2, _omitFieldNames ? '' : 'pollDelayMultiplier', $pb.PbFieldType.OF) - ..aOM<$8.Duration>(3, _omitFieldNames ? '' : 'maxPollDelay', - subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(4, _omitFieldNames ? '' : 'totalPollTimeout', - subBuilder: $8.Duration.create) + ..aOM<$0.Duration>(3, _omitFieldNames ? '' : 'maxPollDelay', + subBuilder: $0.Duration.create) + ..aOM<$0.Duration>(4, _omitFieldNames ? '' : 'totalPollTimeout', + subBuilder: $0.Duration.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodSettings_LongRunning clone() => MethodSettings_LongRunning()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodSettings_LongRunning copyWith( void Function(MethodSettings_LongRunning) updates) => super.copyWith( (message) => updates(message as MethodSettings_LongRunning)) as MethodSettings_LongRunning; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MethodSettings_LongRunning create() => MethodSettings_LongRunning._(); + @$core.override MethodSettings_LongRunning createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1528,18 +1348,15 @@ class MethodSettings_LongRunning extends $pb.GeneratedMessage { /// Initial delay after which the first poll request will be made. /// Default value: 5 seconds. @$pb.TagNumber(1) - $8.Duration get initialPollDelay => $_getN(0); + $0.Duration get initialPollDelay => $_getN(0); @$pb.TagNumber(1) - set initialPollDelay($8.Duration v) { - $_setField(1, v); - } - + set initialPollDelay($0.Duration value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasInitialPollDelay() => $_has(0); @$pb.TagNumber(1) void clearInitialPollDelay() => $_clearField(1); @$pb.TagNumber(1) - $8.Duration ensureInitialPollDelay() => $_ensure(0); + $0.Duration ensureInitialPollDelay() => $_ensure(0); /// Multiplier to gradually increase delay between subsequent polls until it /// reaches max_poll_delay. @@ -1547,10 +1364,7 @@ class MethodSettings_LongRunning extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.double get pollDelayMultiplier => $_getN(1); @$pb.TagNumber(2) - set pollDelayMultiplier($core.double v) { - $_setFloat(1, v); - } - + set pollDelayMultiplier($core.double value) => $_setFloat(1, value); @$pb.TagNumber(2) $core.bool hasPollDelayMultiplier() => $_has(1); @$pb.TagNumber(2) @@ -1559,34 +1373,28 @@ class MethodSettings_LongRunning extends $pb.GeneratedMessage { /// Maximum time between two subsequent poll requests. /// Default value: 45 seconds. @$pb.TagNumber(3) - $8.Duration get maxPollDelay => $_getN(2); + $0.Duration get maxPollDelay => $_getN(2); @$pb.TagNumber(3) - set maxPollDelay($8.Duration v) { - $_setField(3, v); - } - + set maxPollDelay($0.Duration value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasMaxPollDelay() => $_has(2); @$pb.TagNumber(3) void clearMaxPollDelay() => $_clearField(3); @$pb.TagNumber(3) - $8.Duration ensureMaxPollDelay() => $_ensure(2); + $0.Duration ensureMaxPollDelay() => $_ensure(2); /// Total polling timeout. /// Default value: 5 minutes. @$pb.TagNumber(4) - $8.Duration get totalPollTimeout => $_getN(3); + $0.Duration get totalPollTimeout => $_getN(3); @$pb.TagNumber(4) - set totalPollTimeout($8.Duration v) { - $_setField(4, v); - } - + set totalPollTimeout($0.Duration value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasTotalPollTimeout() => $_has(3); @$pb.TagNumber(4) void clearTotalPollTimeout() => $_clearField(4); @$pb.TagNumber(4) - $8.Duration ensureTotalPollTimeout() => $_ensure(3); + $0.Duration ensureTotalPollTimeout() => $_ensure(3); } /// Describes the generator configuration for a method. @@ -1596,25 +1404,22 @@ class MethodSettings extends $pb.GeneratedMessage { MethodSettings_LongRunning? longRunning, $core.Iterable<$core.String>? autoPopulatedFields, }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (longRunning != null) { - $result.longRunning = longRunning; - } - if (autoPopulatedFields != null) { - $result.autoPopulatedFields.addAll(autoPopulatedFields); - } - return $result; + final result = create(); + if (selector != null) result.selector = selector; + if (longRunning != null) result.longRunning = longRunning; + if (autoPopulatedFields != null) + result.autoPopulatedFields.addAll(autoPopulatedFields); + return result; } - MethodSettings._() : super(); - factory MethodSettings.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MethodSettings.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MethodSettings._(); + + factory MethodSettings.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MethodSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MethodSettings', @@ -1626,21 +1431,19 @@ class MethodSettings extends $pb.GeneratedMessage { ..pPS(3, _omitFieldNames ? '' : 'autoPopulatedFields') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodSettings clone() => MethodSettings()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodSettings copyWith(void Function(MethodSettings) updates) => super.copyWith((message) => updates(message as MethodSettings)) as MethodSettings; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MethodSettings create() => MethodSettings._(); + @$core.override MethodSettings createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1649,48 +1452,42 @@ class MethodSettings extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static MethodSettings? _defaultInstance; - /// The fully qualified name of the method, for which the options below apply. - /// This is used to find the method to apply the options. + /// The fully qualified name of the method, for which the options below apply. + /// This is used to find the method to apply the options. /// - /// Example: + /// Example: /// - /// publishing: - /// method_settings: - /// - selector: google.storage.control.v2.StorageControl.CreateFolder - /// # method settings for CreateFolder... + /// publishing: + /// method_settings: + /// - selector: google.storage.control.v2.StorageControl.CreateFolder + /// # method settings for CreateFolder... @$pb.TagNumber(1) $core.String get selector => $_getSZ(0); @$pb.TagNumber(1) - set selector($core.String v) { - $_setString(0, v); - } - + set selector($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSelector() => $_has(0); @$pb.TagNumber(1) void clearSelector() => $_clearField(1); - /// Describes settings to use for long-running operations when generating - /// API methods for RPCs. Complements RPCs that use the annotations in - /// google/longrunning/operations.proto. + /// Describes settings to use for long-running operations when generating + /// API methods for RPCs. Complements RPCs that use the annotations in + /// google/longrunning/operations.proto. /// - /// Example of a YAML configuration:: + /// Example of a YAML configuration:: /// - /// publishing: - /// method_settings: - /// - selector: google.cloud.speech.v2.Speech.BatchRecognize - /// long_running: - /// initial_poll_delay: 60s # 1 minute - /// poll_delay_multiplier: 1.5 - /// max_poll_delay: 360s # 6 minutes - /// total_poll_timeout: 54000s # 90 minutes + /// publishing: + /// method_settings: + /// - selector: google.cloud.speech.v2.Speech.BatchRecognize + /// long_running: + /// initial_poll_delay: 60s # 1 minute + /// poll_delay_multiplier: 1.5 + /// max_poll_delay: 360s # 6 minutes + /// total_poll_timeout: 54000s # 90 minutes @$pb.TagNumber(2) MethodSettings_LongRunning get longRunning => $_getN(1); @$pb.TagNumber(2) - set longRunning(MethodSettings_LongRunning v) { - $_setField(2, v); - } - + set longRunning(MethodSettings_LongRunning value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasLongRunning() => $_has(1); @$pb.TagNumber(2) @@ -1698,17 +1495,17 @@ class MethodSettings extends $pb.GeneratedMessage { @$pb.TagNumber(2) MethodSettings_LongRunning ensureLongRunning() => $_ensure(1); - /// List of top-level fields of the request message, that should be - /// automatically populated by the client libraries based on their - /// (google.api.field_info).format. Currently supported format: UUID4. + /// List of top-level fields of the request message, that should be + /// automatically populated by the client libraries based on their + /// (google.api.field_info).format. Currently supported format: UUID4. /// - /// Example of a YAML configuration: + /// Example of a YAML configuration: /// - /// publishing: - /// method_settings: - /// - selector: google.example.v1.ExampleService.CreateExample - /// auto_populated_fields: - /// - request_id + /// publishing: + /// method_settings: + /// - selector: google.example.v1.ExampleService.CreateExample + /// auto_populated_fields: + /// - request_id @$pb.TagNumber(3) $pb.PbList<$core.String> get autoPopulatedFields => $_getList(2); } @@ -1720,22 +1517,21 @@ class SelectiveGapicGeneration extends $pb.GeneratedMessage { $core.Iterable<$core.String>? methods, $core.bool? generateOmittedAsInternal, }) { - final $result = create(); - if (methods != null) { - $result.methods.addAll(methods); - } - if (generateOmittedAsInternal != null) { - $result.generateOmittedAsInternal = generateOmittedAsInternal; - } - return $result; + final result = create(); + if (methods != null) result.methods.addAll(methods); + if (generateOmittedAsInternal != null) + result.generateOmittedAsInternal = generateOmittedAsInternal; + return result; } - SelectiveGapicGeneration._() : super(); - factory SelectiveGapicGeneration.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SelectiveGapicGeneration.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SelectiveGapicGeneration._(); + + factory SelectiveGapicGeneration.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SelectiveGapicGeneration.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SelectiveGapicGeneration', @@ -1745,23 +1541,21 @@ class SelectiveGapicGeneration extends $pb.GeneratedMessage { ..aOB(2, _omitFieldNames ? '' : 'generateOmittedAsInternal') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SelectiveGapicGeneration clone() => SelectiveGapicGeneration()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SelectiveGapicGeneration copyWith( void Function(SelectiveGapicGeneration) updates) => super.copyWith((message) => updates(message as SelectiveGapicGeneration)) as SelectiveGapicGeneration; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SelectiveGapicGeneration create() => SelectiveGapicGeneration._(); + @$core.override SelectiveGapicGeneration createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1784,10 +1578,7 @@ class SelectiveGapicGeneration extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get generateOmittedAsInternal => $_getBF(1); @$pb.TagNumber(2) - set generateOmittedAsInternal($core.bool v) { - $_setBool(1, v); - } - + set generateOmittedAsInternal($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasGenerateOmittedAsInternal() => $_has(1); @$pb.TagNumber(2) @@ -1824,6 +1615,7 @@ class Client { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/client.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/client.pbenum.dart index 9cff44a70..d6b803eef 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/client.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/client.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/client.proto -// +// Generated from google/api/client.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -61,11 +62,12 @@ class ClientLibraryOrganization extends $pb.ProtobufEnum { GENERATIVE_AI, ]; - static final $core.Map<$core.int, ClientLibraryOrganization> _byValue = - $pb.ProtobufEnum.initByValue(values); - static ClientLibraryOrganization? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 7); + static ClientLibraryOrganization? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ClientLibraryOrganization._(super.v, super.n); + const ClientLibraryOrganization._(super.value, super.name); } /// To where should client libraries be published? @@ -96,7 +98,8 @@ class ClientLibraryDestination extends $pb.ProtobufEnum { $pb.ProtobufEnum.initByValue(values); static ClientLibraryDestination? valueOf($core.int value) => _byValue[value]; - const ClientLibraryDestination._(super.v, super.n); + const ClientLibraryDestination._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/client.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/client.pbjson.dart index 4d65d665c..85848c0fd 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/client.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/client.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/client.proto -// +// Generated from google/api/client.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pb.dart index 8ac20537e..a33116e67 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// +// Generated from google/api/field_behavior.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -33,6 +34,7 @@ class Field_behavior { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbenum.dart index 1f36c4183..4d31e62a9 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbenum.dart @@ -1,24 +1,25 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// +// Generated from google/api/field_behavior.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; -/// An indicator of the behavior of a given field (for example, that a field -/// is required in requests, or given as output but ignored as input). -/// This **does not** change the behavior in protocol buffers itself; it only -/// denotes the behavior and may affect how API tooling handles the field. +/// An indicator of the behavior of a given field (for example, that a field +/// is required in requests, or given as output but ignored as input). +/// This **does not** change the behavior in protocol buffers itself; it only +/// denotes the behavior and may affect how API tooling handles the field. /// -/// Note: This enum **may** receive new values in the future. +/// Note: This enum **may** receive new values in the future. class FieldBehavior extends $pb.ProtobufEnum { /// Conventional default for enums. Do not use this. static const FieldBehavior FIELD_BEHAVIOR_UNSPECIFIED = @@ -69,18 +70,18 @@ class FieldBehavior extends $pb.ProtobufEnum { 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. + /// 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. + /// 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. + /// 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'); @@ -96,11 +97,13 @@ class FieldBehavior extends $pb.ProtobufEnum { IDENTIFIER, ]; - static final $core.Map<$core.int, FieldBehavior> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FieldBehavior? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 8); + static FieldBehavior? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldBehavior._(super.v, super.n); + const FieldBehavior._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbjson.dart index 96a911b72..d0b772a7f 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_behavior.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// +// Generated from google/api/field_behavior.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_info.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/field_info.pb.dart index 278092687..7c9106b6a 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_info.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_info.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_info.proto -// +// Generated from google/api/field_info.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -25,22 +26,20 @@ class FieldInfo extends $pb.GeneratedMessage { FieldInfo_Format? format, $core.Iterable? referencedTypes, }) { - final $result = create(); - if (format != null) { - $result.format = format; - } - if (referencedTypes != null) { - $result.referencedTypes.addAll(referencedTypes); - } - return $result; + final result = create(); + if (format != null) result.format = format; + if (referencedTypes != null) result.referencedTypes.addAll(referencedTypes); + return result; } - FieldInfo._() : super(); - factory FieldInfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldInfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FieldInfo._(); + + factory FieldInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldInfo', @@ -56,20 +55,18 @@ class FieldInfo extends $pb.GeneratedMessage { subBuilder: TypeReference.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldInfo clone() => FieldInfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldInfo copyWith(void Function(FieldInfo) updates) => super.copyWith((message) => updates(message as FieldInfo)) as FieldInfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldInfo create() => FieldInfo._(); + @$core.override FieldInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -83,19 +80,16 @@ class FieldInfo extends $pb.GeneratedMessage { @$pb.TagNumber(1) FieldInfo_Format get format => $_getN(0); @$pb.TagNumber(1) - set format(FieldInfo_Format v) { - $_setField(1, v); - } - + set format(FieldInfo_Format value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasFormat() => $_has(0); @$pb.TagNumber(1) void clearFormat() => $_clearField(1); - /// The type(s) that the annotated, generic field may represent. + /// The type(s) that the annotated, generic field may represent. /// - /// Currently, this must only be used on fields of type `google.protobuf.Any`. - /// Supporting other generic types may be considered in the future. + /// Currently, this must only be used on fields of type `google.protobuf.Any`. + /// Supporting other generic types may be considered in the future. @$pb.TagNumber(2) $pb.PbList get referencedTypes => $_getList(1); } @@ -105,19 +99,19 @@ class TypeReference extends $pb.GeneratedMessage { factory TypeReference({ $core.String? typeName, }) { - final $result = create(); - if (typeName != null) { - $result.typeName = typeName; - } - return $result; + final result = create(); + if (typeName != null) result.typeName = typeName; + return result; } - TypeReference._() : super(); - factory TypeReference.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory TypeReference.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + TypeReference._(); + + factory TypeReference.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory TypeReference.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'TypeReference', @@ -126,21 +120,19 @@ class TypeReference extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'typeName') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TypeReference clone() => TypeReference()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TypeReference copyWith(void Function(TypeReference) updates) => super.copyWith((message) => updates(message as TypeReference)) as TypeReference; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TypeReference create() => TypeReference._(); + @$core.override TypeReference createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -149,22 +141,19 @@ class TypeReference extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static TypeReference? _defaultInstance; - /// The name of the type that the annotated, generic field may represent. - /// If the type is in the same protobuf package, the value can be the simple - /// message name e.g., `"MyMessage"`. Otherwise, the value must be the - /// fully-qualified message name e.g., `"google.library.v1.Book"`. + /// The name of the type that the annotated, generic field may represent. + /// If the type is in the same protobuf package, the value can be the simple + /// message name e.g., `"MyMessage"`. Otherwise, the value must be the + /// fully-qualified message name e.g., `"google.library.v1.Book"`. /// - /// If the type(s) are unknown to the service (e.g. the field accepts generic - /// user input), use the wildcard `"*"` to denote this behavior. + /// If the type(s) are unknown to the service (e.g. the field accepts generic + /// user input), use the wildcard `"*"` to denote this behavior. /// - /// See [AIP-202](https://google.aip.dev/202#type-references) for more details. + /// See [AIP-202](https://google.aip.dev/202#type-references) for more details. @$pb.TagNumber(1) $core.String get typeName => $_getSZ(0); @$pb.TagNumber(1) - set typeName($core.String v) { - $_setString(0, v); - } - + set typeName($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasTypeName() => $_has(0); @$pb.TagNumber(1) @@ -184,6 +173,7 @@ class Field_info { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_info.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/field_info.pbenum.dart index 9cef7ec5c..40bfe88d2 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_info.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_info.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_info.proto -// +// Generated from google/api/field_info.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -57,11 +58,13 @@ class FieldInfo_Format extends $pb.ProtobufEnum { IPV4_OR_IPV6, ]; - static final $core.Map<$core.int, FieldInfo_Format> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FieldInfo_Format? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static FieldInfo_Format? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldInfo_Format._(super.v, super.n); + const FieldInfo_Format._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/field_info.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/field_info.pbjson.dart index a36a6988c..2cbcf4068 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/field_info.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/field_info.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/field_info.proto -// +// Generated from google/api/field_info.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/http.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/http.pb.dart index 930e594cd..2fa07e333 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/http.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/http.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/http.proto -// +// Generated from google/api/http.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -23,22 +24,21 @@ class Http extends $pb.GeneratedMessage { $core.Iterable? rules, $core.bool? fullyDecodeReservedExpansion, }) { - final $result = create(); - if (rules != null) { - $result.rules.addAll(rules); - } - if (fullyDecodeReservedExpansion != null) { - $result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion; - } - return $result; + final result = create(); + if (rules != null) result.rules.addAll(rules); + if (fullyDecodeReservedExpansion != null) + result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion; + return result; } - Http._() : super(); - factory Http.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Http.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Http._(); + + factory Http.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Http.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Http', @@ -49,20 +49,18 @@ class Http extends $pb.GeneratedMessage { ..aOB(2, _omitFieldNames ? '' : 'fullyDecodeReservedExpansion') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Http clone() => Http()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Http copyWith(void Function(Http) updates) => super.copyWith((message) => updates(message as Http)) as Http; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Http create() => Http._(); + @$core.override Http createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -70,25 +68,22 @@ class Http extends $pb.GeneratedMessage { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Http? _defaultInstance; - /// A list of HTTP configuration rules that apply to individual API methods. + /// A list of HTTP configuration rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. @$pb.TagNumber(1) $pb.PbList get rules => $_getList(0); - /// When set to true, URL path parameters will be fully URI-decoded except in - /// cases of single segment matches in reserved expansion, where "%2F" will be - /// left encoded. + /// When set to true, URL path parameters will be fully URI-decoded except in + /// cases of single segment matches in reserved expansion, where "%2F" will be + /// left encoded. /// - /// The default behavior is to not decode RFC 6570 reserved characters in multi - /// segment matches. + /// The default behavior is to not decode RFC 6570 reserved characters in multi + /// segment matches. @$pb.TagNumber(2) $core.bool get fullyDecodeReservedExpansion => $_getBF(1); @$pb.TagNumber(2) - set fullyDecodeReservedExpansion($core.bool v) { - $_setBool(1, v); - } - + set fullyDecodeReservedExpansion($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasFullyDecodeReservedExpansion() => $_has(1); @$pb.TagNumber(2) @@ -97,270 +92,270 @@ class Http extends $pb.GeneratedMessage { enum HttpRule_Pattern { get, put, post, delete, patch, custom, notSet } -/// 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 -/// that supports both gRPC APIs and REST APIs. Many systems, including [Google -/// APIs](https://github.com/googleapis/googleapis), -/// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -/// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -/// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -/// and use it for large scale production services. -/// -/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -/// how different portions of the gRPC request message are mapped to the URL -/// path, URL query parameters, and HTTP request body. It also controls how the -/// gRPC response message is mapped to the HTTP response body. `HttpRule` is -/// typically specified as an `google.api.http` annotation on the gRPC method. -/// -/// Each mapping specifies a URL path template and an HTTP method. The path -/// template may refer to one or more fields in the gRPC request message, as long -/// as each field is a non-repeated field with a primitive (non-message) type. -/// The path template controls how fields of the request message are mapped to -/// the URL path. -/// -/// Example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get: "/v1/{name=messages/*}" -/// }; -/// } -/// } -/// message GetMessageRequest { -/// string name = 1; // Mapped to URL path. -/// } -/// message Message { -/// string text = 1; // The resource content. -/// } -/// -/// This enables an HTTP REST to gRPC mapping as below: -/// -/// - 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. -/// For example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get:"/v1/messages/{message_id}" -/// }; -/// } -/// } -/// message GetMessageRequest { -/// message SubMessage { -/// string subfield = 1; -/// } -/// string message_id = 1; // Mapped to URL path. -/// int64 revision = 2; // Mapped to URL query parameter `revision`. -/// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -/// } -/// -/// This enables a HTTP JSON to RPC mapping as below: -/// -/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` -/// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: -/// SubMessage(subfield: "foo"))` -/// -/// 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. -/// In the case of a repeated type, the parameter can be repeated in the URL -/// as `...?param=A¶m=B`. In the case of a message type, each field of the -/// message is mapped to a separate parameter, such as -/// `...?foo.a=A&foo.b=B&foo.c=C`. -/// -/// For HTTP methods that allow a request body, the `body` field -/// specifies the mapping. Consider a REST update method on the -/// message resource collection: -/// -/// service Messaging { -/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// patch: "/v1/messages/{message_id}" -/// body: "message" -/// }; -/// } -/// } -/// message UpdateMessageRequest { -/// string message_id = 1; // mapped to the URL -/// Message message = 2; // mapped to the body -/// } -/// -/// The following HTTP JSON to RPC mapping is enabled, where the -/// representation of the JSON in the request body is determined by -/// protos JSON encoding: -/// -/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` -/// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` -/// -/// 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 -/// request body. This enables the following alternative definition of -/// the update method: -/// -/// service Messaging { -/// rpc UpdateMessage(Message) returns (Message) { -/// option (google.api.http) = { -/// patch: "/v1/messages/{message_id}" -/// body: "*" -/// }; -/// } -/// } -/// message Message { -/// string message_id = 1; -/// string text = 2; -/// } -/// -/// -/// The following HTTP JSON to RPC mapping is enabled: -/// -/// - 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 -/// the body. This makes this option more rarely used in practice when -/// defining REST APIs. The common usage of `*` is in custom methods -/// which don't use the URL at all for transferring data. -/// -/// It is possible to define multiple HTTP methods for one RPC by using -/// the `additional_bindings` option. Example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get: "/v1/messages/{message_id}" -/// additional_bindings { -/// get: "/v1/users/{user_id}/messages/{message_id}" -/// } -/// }; -/// } -/// } -/// message GetMessageRequest { -/// string message_id = 1; -/// string user_id = 2; -/// } -/// -/// This enables the following two alternative HTTP JSON to RPC mappings: -/// -/// - HTTP: `GET /v1/messages/123456` -/// - gRPC: `GetMessage(message_id: "123456")` -/// -/// - 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 -/// 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 -/// 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 -/// fields are passed via URL path and URL query parameters. -/// -/// Path template syntax -/// -/// Template = "/" Segments [ Verb ] ; -/// Segments = Segment { "/" Segment } ; -/// Segment = "*" | "**" | LITERAL | Variable ; -/// Variable = "{" FieldPath [ "=" Segments ] "}" ; -/// FieldPath = IDENT { "." IDENT } ; -/// Verb = ":" LITERAL ; -/// -/// The syntax `*` matches a single URL path segment. The syntax `**` matches -/// zero or more URL path segments, which must be the last part of the URL path -/// except the `Verb`. -/// -/// The syntax `Variable` matches part of the URL path as specified by its -/// template. A variable template must not contain other variables. If a variable -/// matches a single path segment, its template may be omitted, e.g. `{var}` -/// is equivalent to `{var=*}`. -/// -/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -/// contains any reserved character, such characters should be percent-encoded -/// before the matching. -/// -/// If a variable contains exactly one path segment, such as `"{var}"` or -/// `"{var=*}"`, when such a variable is expanded into a URL path on the client -/// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -/// server side does the reverse decoding. Such variables show up in the -/// [Discovery -/// Document](https://developers.google.com/discovery/v1/reference/apis) as -/// `{var}`. -/// -/// If a variable contains multiple path segments, such as `"{var=foo/*}"` -/// or `"{var=**}"`, when such a variable is expanded into a URL path on the -/// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -/// The server side does the reverse decoding, except "%2F" and "%2f" are left -/// unchanged. Such variables show up in the -/// [Discovery -/// Document](https://developers.google.com/discovery/v1/reference/apis) as -/// `{+var}`. -/// -/// 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 -/// service config is simply the YAML representation of the `google.api.Service` -/// proto message. -/// -/// As an alternative to annotating your proto file, you can configure gRPC -/// transcoding in your service config YAML files. You do this by specifying a -/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -/// effect as the proto annotation. This can be particularly useful if you -/// have a proto that is reused in multiple services. Note that any transcoding -/// specified in the service config will override any matching transcoding -/// configuration in the proto. -/// -/// The following example selects a gRPC method and applies an `HttpRule` to it: -/// -/// http: -/// rules: -/// - selector: example.v1.Messaging.GetMessage -/// get: /v1/messages/{message_id}/{sub.subfield} -/// -/// Special notes -/// -/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -/// proto to JSON conversion must follow the [proto3 -/// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -/// -/// While the single segment variable follows the semantics of -/// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -/// Expansion, the multi segment variable **does not** follow RFC 6570 Section -/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -/// does not expand special characters like `?` and `#`, which would lead -/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -/// for multi segment variables. -/// -/// The path variables **must not** refer to any repeated or mapped field, -/// because client libraries are not capable of handling such variable expansion. -/// -/// The path variables **must not** capture the leading "/" character. The reason -/// is that the most common use case "{var}" does not capture the leading "/" -/// character. For consistency, all path variables must share the same behavior. -/// -/// Repeated message fields must not be mapped to URL query parameters, because -/// no client library can support such complicated mapping. -/// -/// If an API needs to use a JSON array for request or response body, it can map -/// the request or response body to a repeated field. However, some gRPC -/// Transcoding implementations may not support this feature. +/// 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 +/// that supports both gRPC APIs and REST APIs. Many systems, including [Google +/// APIs](https://github.com/googleapis/googleapis), +/// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC +/// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), +/// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature +/// and use it for large scale production services. +/// +/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies +/// how different portions of the gRPC request message are mapped to the URL +/// path, URL query parameters, and HTTP request body. It also controls how the +/// gRPC response message is mapped to the HTTP response body. `HttpRule` is +/// typically specified as an `google.api.http` annotation on the gRPC method. +/// +/// Each mapping specifies a URL path template and an HTTP method. The path +/// template may refer to one or more fields in the gRPC request message, as long +/// as each field is a non-repeated field with a primitive (non-message) type. +/// The path template controls how fields of the request message are mapped to +/// the URL path. +/// +/// Example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get: "/v1/{name=messages/*}" +/// }; +/// } +/// } +/// message GetMessageRequest { +/// string name = 1; // Mapped to URL path. +/// } +/// message Message { +/// string text = 1; // The resource content. +/// } +/// +/// This enables an HTTP REST to gRPC mapping as below: +/// +/// - 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. +/// For example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get:"/v1/messages/{message_id}" +/// }; +/// } +/// } +/// message GetMessageRequest { +/// message SubMessage { +/// string subfield = 1; +/// } +/// string message_id = 1; // Mapped to URL path. +/// int64 revision = 2; // Mapped to URL query parameter `revision`. +/// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. +/// } +/// +/// This enables a HTTP JSON to RPC mapping as below: +/// +/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` +/// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: +/// SubMessage(subfield: "foo"))` +/// +/// 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. +/// In the case of a repeated type, the parameter can be repeated in the URL +/// as `...?param=A¶m=B`. In the case of a message type, each field of the +/// message is mapped to a separate parameter, such as +/// `...?foo.a=A&foo.b=B&foo.c=C`. +/// +/// For HTTP methods that allow a request body, the `body` field +/// specifies the mapping. Consider a REST update method on the +/// message resource collection: +/// +/// service Messaging { +/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// patch: "/v1/messages/{message_id}" +/// body: "message" +/// }; +/// } +/// } +/// message UpdateMessageRequest { +/// string message_id = 1; // mapped to the URL +/// Message message = 2; // mapped to the body +/// } +/// +/// The following HTTP JSON to RPC mapping is enabled, where the +/// representation of the JSON in the request body is determined by +/// protos JSON encoding: +/// +/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` +/// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` +/// +/// 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 +/// request body. This enables the following alternative definition of +/// the update method: +/// +/// service Messaging { +/// rpc UpdateMessage(Message) returns (Message) { +/// option (google.api.http) = { +/// patch: "/v1/messages/{message_id}" +/// body: "*" +/// }; +/// } +/// } +/// message Message { +/// string message_id = 1; +/// string text = 2; +/// } +/// +/// +/// The following HTTP JSON to RPC mapping is enabled: +/// +/// - 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 +/// the body. This makes this option more rarely used in practice when +/// defining REST APIs. The common usage of `*` is in custom methods +/// which don't use the URL at all for transferring data. +/// +/// It is possible to define multiple HTTP methods for one RPC by using +/// the `additional_bindings` option. Example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get: "/v1/messages/{message_id}" +/// additional_bindings { +/// get: "/v1/users/{user_id}/messages/{message_id}" +/// } +/// }; +/// } +/// } +/// message GetMessageRequest { +/// string message_id = 1; +/// string user_id = 2; +/// } +/// +/// This enables the following two alternative HTTP JSON to RPC mappings: +/// +/// - HTTP: `GET /v1/messages/123456` +/// - gRPC: `GetMessage(message_id: "123456")` +/// +/// - 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 +/// 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 +/// 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 +/// fields are passed via URL path and URL query parameters. +/// +/// Path template syntax +/// +/// Template = "/" Segments [ Verb ] ; +/// Segments = Segment { "/" Segment } ; +/// Segment = "*" | "**" | LITERAL | Variable ; +/// Variable = "{" FieldPath [ "=" Segments ] "}" ; +/// FieldPath = IDENT { "." IDENT } ; +/// Verb = ":" LITERAL ; +/// +/// The syntax `*` matches a single URL path segment. The syntax `**` matches +/// zero or more URL path segments, which must be the last part of the URL path +/// except the `Verb`. +/// +/// The syntax `Variable` matches part of the URL path as specified by its +/// template. A variable template must not contain other variables. If a variable +/// matches a single path segment, its template may be omitted, e.g. `{var}` +/// is equivalent to `{var=*}`. +/// +/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +/// contains any reserved character, such characters should be percent-encoded +/// before the matching. +/// +/// If a variable contains exactly one path segment, such as `"{var}"` or +/// `"{var=*}"`, when such a variable is expanded into a URL path on the client +/// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The +/// server side does the reverse decoding. Such variables show up in the +/// [Discovery +/// Document](https://developers.google.com/discovery/v1/reference/apis) as +/// `{var}`. +/// +/// If a variable contains multiple path segments, such as `"{var=foo/*}"` +/// or `"{var=**}"`, when such a variable is expanded into a URL path on the +/// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. +/// The server side does the reverse decoding, except "%2F" and "%2f" are left +/// unchanged. Such variables show up in the +/// [Discovery +/// Document](https://developers.google.com/discovery/v1/reference/apis) as +/// `{+var}`. +/// +/// 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 +/// service config is simply the YAML representation of the `google.api.Service` +/// proto message. +/// +/// As an alternative to annotating your proto file, you can configure gRPC +/// transcoding in your service config YAML files. You do this by specifying a +/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same +/// effect as the proto annotation. This can be particularly useful if you +/// have a proto that is reused in multiple services. Note that any transcoding +/// specified in the service config will override any matching transcoding +/// configuration in the proto. +/// +/// The following example selects a gRPC method and applies an `HttpRule` to it: +/// +/// http: +/// rules: +/// - selector: example.v1.Messaging.GetMessage +/// get: /v1/messages/{message_id}/{sub.subfield} +/// +/// Special notes +/// +/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +/// proto to JSON conversion must follow the [proto3 +/// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). +/// +/// While the single segment variable follows the semantics of +/// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String +/// Expansion, the multi segment variable **does not** follow RFC 6570 Section +/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion +/// does not expand special characters like `?` and `#`, which would lead +/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding +/// for multi segment variables. +/// +/// The path variables **must not** refer to any repeated or mapped field, +/// because client libraries are not capable of handling such variable expansion. +/// +/// The path variables **must not** capture the leading "/" character. The reason +/// is that the most common use case "{var}" does not capture the leading "/" +/// character. For consistency, all path variables must share the same behavior. +/// +/// Repeated message fields must not be mapped to URL query parameters, because +/// no client library can support such complicated mapping. +/// +/// If an API needs to use a JSON array for request or response body, it can map +/// the request or response body to a repeated field. However, some gRPC +/// Transcoding implementations may not support this feature. class HttpRule extends $pb.GeneratedMessage { factory HttpRule({ $core.String? selector, @@ -374,46 +369,29 @@ class HttpRule extends $pb.GeneratedMessage { $core.Iterable? additionalBindings, $core.String? responseBody, }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (get != null) { - $result.get = get; - } - if (put != null) { - $result.put = put; - } - if (post != null) { - $result.post = post; - } - if (delete != null) { - $result.delete = delete; - } - if (patch != null) { - $result.patch = patch; - } - if (body != null) { - $result.body = body; - } - if (custom != null) { - $result.custom = custom; - } - if (additionalBindings != null) { - $result.additionalBindings.addAll(additionalBindings); - } - if (responseBody != null) { - $result.responseBody = responseBody; - } - return $result; + final result = create(); + if (selector != null) result.selector = selector; + if (get != null) result.get = get; + if (put != null) result.put = put; + if (post != null) result.post = post; + if (delete != null) result.delete = delete; + if (patch != null) result.patch = patch; + if (body != null) result.body = body; + if (custom != null) result.custom = custom; + if (additionalBindings != null) + result.additionalBindings.addAll(additionalBindings); + if (responseBody != null) result.responseBody = responseBody; + return result; } - HttpRule._() : super(); - factory HttpRule.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory HttpRule.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + HttpRule._(); + + factory HttpRule.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory HttpRule.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, HttpRule_Pattern> _HttpRule_PatternByTag = { 2: HttpRule_Pattern.get, @@ -444,20 +422,18 @@ class HttpRule extends $pb.GeneratedMessage { ..aOS(12, _omitFieldNames ? '' : 'responseBody') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') HttpRule clone() => HttpRule()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') HttpRule copyWith(void Function(HttpRule) updates) => super.copyWith((message) => updates(message as HttpRule)) as HttpRule; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static HttpRule create() => HttpRule._(); + @$core.override HttpRule createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -468,17 +444,14 @@ class HttpRule extends $pb.GeneratedMessage { HttpRule_Pattern whichPattern() => _HttpRule_PatternByTag[$_whichOneof(0)]!; void clearPattern() => $_clearField($_whichOneof(0)); - /// Selects a method to which this rule applies. + /// 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) - set selector($core.String v) { - $_setString(0, v); - } - + set selector($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSelector() => $_has(0); @$pb.TagNumber(1) @@ -489,10 +462,7 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get get => $_getSZ(1); @$pb.TagNumber(2) - set get($core.String v) { - $_setString(1, v); - } - + set get($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasGet() => $_has(1); @$pb.TagNumber(2) @@ -502,10 +472,7 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get put => $_getSZ(2); @$pb.TagNumber(3) - set put($core.String v) { - $_setString(2, v); - } - + set put($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPut() => $_has(2); @$pb.TagNumber(3) @@ -515,10 +482,7 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get post => $_getSZ(3); @$pb.TagNumber(4) - set post($core.String v) { - $_setString(3, v); - } - + set post($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasPost() => $_has(3); @$pb.TagNumber(4) @@ -528,10 +492,7 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get delete => $_getSZ(4); @$pb.TagNumber(5) - set delete($core.String v) { - $_setString(4, v); - } - + set delete($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasDelete() => $_has(4); @$pb.TagNumber(5) @@ -541,28 +502,22 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get patch => $_getSZ(5); @$pb.TagNumber(6) - set patch($core.String v) { - $_setString(5, v); - } - + set patch($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasPatch() => $_has(5); @$pb.TagNumber(6) void clearPatch() => $_clearField(6); - /// The name of the request field whose value is mapped to the HTTP request - /// body, or `*` for mapping all request fields not captured by the path - /// pattern to the HTTP body, or omitted for not having any HTTP request body. + /// The name of the request field whose value is mapped to the HTTP request + /// body, or `*` for mapping all request fields not captured by the path + /// pattern to the HTTP body, or omitted for not having any HTTP request body. /// - /// NOTE: the referred field must be present at the top-level of the request - /// message type. + /// NOTE: the referred field must be present at the top-level of the request + /// message type. @$pb.TagNumber(7) $core.String get body => $_getSZ(6); @$pb.TagNumber(7) - set body($core.String v) { - $_setString(6, v); - } - + set body($core.String value) => $_setString(6, value); @$pb.TagNumber(7) $core.bool hasBody() => $_has(6); @$pb.TagNumber(7) @@ -575,10 +530,7 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(8) CustomHttpPattern get custom => $_getN(7); @$pb.TagNumber(8) - set custom(CustomHttpPattern v) { - $_setField(8, v); - } - + set custom(CustomHttpPattern value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasCustom() => $_has(7); @$pb.TagNumber(8) @@ -592,19 +544,16 @@ class HttpRule extends $pb.GeneratedMessage { @$pb.TagNumber(11) $pb.PbList get additionalBindings => $_getList(8); - /// Optional. The name of the response field whose value is mapped to the HTTP - /// response body. When omitted, the entire response message will be used - /// as the HTTP response body. + /// Optional. The name of the response field whose value is mapped to the HTTP + /// response body. When omitted, the entire response message will be used + /// as the HTTP response body. /// - /// NOTE: The referred field must be present at the top-level of the response - /// message type. + /// NOTE: The referred field must be present at the top-level of the response + /// message type. @$pb.TagNumber(12) $core.String get responseBody => $_getSZ(9); @$pb.TagNumber(12) - set responseBody($core.String v) { - $_setString(9, v); - } - + set responseBody($core.String value) => $_setString(9, value); @$pb.TagNumber(12) $core.bool hasResponseBody() => $_has(9); @$pb.TagNumber(12) @@ -617,22 +566,20 @@ class CustomHttpPattern extends $pb.GeneratedMessage { $core.String? kind, $core.String? path, }) { - final $result = create(); - if (kind != null) { - $result.kind = kind; - } - if (path != null) { - $result.path = path; - } - return $result; + final result = create(); + if (kind != null) result.kind = kind; + if (path != null) result.path = path; + return result; } - CustomHttpPattern._() : super(); - factory CustomHttpPattern.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CustomHttpPattern.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CustomHttpPattern._(); + + factory CustomHttpPattern.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CustomHttpPattern.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CustomHttpPattern', @@ -642,21 +589,19 @@ class CustomHttpPattern extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'path') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CustomHttpPattern clone() => CustomHttpPattern()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CustomHttpPattern copyWith(void Function(CustomHttpPattern) updates) => super.copyWith((message) => updates(message as CustomHttpPattern)) as CustomHttpPattern; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CustomHttpPattern create() => CustomHttpPattern._(); + @$core.override CustomHttpPattern createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -669,10 +614,7 @@ class CustomHttpPattern extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get kind => $_getSZ(0); @$pb.TagNumber(1) - set kind($core.String v) { - $_setString(0, v); - } - + set kind($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasKind() => $_has(0); @$pb.TagNumber(1) @@ -682,16 +624,14 @@ class CustomHttpPattern extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get path => $_getSZ(1); @$pb.TagNumber(2) - set path($core.String v) { - $_setString(1, v); - } - + set path($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasPath() => $_has(1); @$pb.TagNumber(2) void clearPath() => $_clearField(2); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/http.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/http.pbenum.dart index 48243932d..6ed73bf88 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/http.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/http.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/http.proto -// +// Generated from google/api/http.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/api/http.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/http.pbjson.dart index b6e751b30..79a225f09 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/http.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/http.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/http.proto -// +// Generated from google/api/http.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pb.dart index 4373372b6..4d97868aa 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// +// Generated from google/api/launch_stage.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbenum.dart index f293d5ea0..b441be82c 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// +// Generated from google/api/launch_stage.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -79,11 +80,13 @@ class LaunchStage extends $pb.ProtobufEnum { DEPRECATED, ]; - static final $core.Map<$core.int, LaunchStage> _byValue = - $pb.ProtobufEnum.initByValue(values); - static LaunchStage? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 7); + static LaunchStage? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const LaunchStage._(super.v, super.n); + const LaunchStage._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbjson.dart index dfdc2f755..de02e6d98 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/launch_stage.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// +// Generated from google/api/launch_stage.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/resource.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/resource.pb.dart index aaabf8f7c..f626d0222 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/resource.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/resource.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/resource.proto -// +// Generated from google/api/resource.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -19,53 +20,53 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'resource.pbenum.dart'; -/// A simple descriptor of a resource type. +/// A simple descriptor of a resource type. /// -/// ResourceDescriptor annotates a resource message (either by means of a -/// protobuf annotation or use in the service config), and associates the -/// resource's schema, the resource type, and the pattern of the resource name. +/// ResourceDescriptor annotates a resource message (either by means of a +/// protobuf annotation or use in the service config), and associates the +/// resource's schema, the resource type, and the pattern of the resource name. /// -/// Example: +/// Example: /// -/// message Topic { -/// // Indicates this message defines a resource schema. -/// // Declares the resource type in the format of {service}/{kind}. -/// // For Kubernetes resources, the format is {api group}/{kind}. -/// option (google.api.resource) = { -/// type: "pubsub.googleapis.com/Topic" -/// pattern: "projects/{project}/topics/{topic}" -/// }; -/// } +/// message Topic { +/// // Indicates this message defines a resource schema. +/// // Declares the resource type in the format of {service}/{kind}. +/// // For Kubernetes resources, the format is {api group}/{kind}. +/// option (google.api.resource) = { +/// type: "pubsub.googleapis.com/Topic" +/// pattern: "projects/{project}/topics/{topic}" +/// }; +/// } /// -/// The ResourceDescriptor Yaml config will look like: +/// The ResourceDescriptor Yaml config will look like: /// -/// resources: -/// - type: "pubsub.googleapis.com/Topic" -/// pattern: "projects/{project}/topics/{topic}" +/// resources: +/// - type: "pubsub.googleapis.com/Topic" +/// pattern: "projects/{project}/topics/{topic}" /// -/// Sometimes, resources have multiple patterns, typically because they can -/// live under multiple parents. +/// Sometimes, resources have multiple patterns, typically because they can +/// live under multiple parents. /// -/// Example: +/// Example: /// -/// message LogEntry { -/// option (google.api.resource) = { -/// type: "logging.googleapis.com/LogEntry" -/// pattern: "projects/{project}/logs/{log}" -/// pattern: "folders/{folder}/logs/{log}" -/// pattern: "organizations/{organization}/logs/{log}" -/// pattern: "billingAccounts/{billing_account}/logs/{log}" -/// }; -/// } +/// message LogEntry { +/// option (google.api.resource) = { +/// type: "logging.googleapis.com/LogEntry" +/// pattern: "projects/{project}/logs/{log}" +/// pattern: "folders/{folder}/logs/{log}" +/// pattern: "organizations/{organization}/logs/{log}" +/// pattern: "billingAccounts/{billing_account}/logs/{log}" +/// }; +/// } /// -/// The ResourceDescriptor Yaml config will look like: +/// The ResourceDescriptor Yaml config will look like: /// -/// resources: -/// - type: 'logging.googleapis.com/LogEntry' -/// pattern: "projects/{project}/logs/{log}" -/// pattern: "folders/{folder}/logs/{log}" -/// pattern: "organizations/{organization}/logs/{log}" -/// pattern: "billingAccounts/{billing_account}/logs/{log}" +/// resources: +/// - type: 'logging.googleapis.com/LogEntry' +/// pattern: "projects/{project}/logs/{log}" +/// pattern: "folders/{folder}/logs/{log}" +/// pattern: "organizations/{organization}/logs/{log}" +/// pattern: "billingAccounts/{billing_account}/logs/{log}" class ResourceDescriptor extends $pb.GeneratedMessage { factory ResourceDescriptor({ $core.String? type, @@ -76,37 +77,25 @@ class ResourceDescriptor extends $pb.GeneratedMessage { $core.String? singular, $core.Iterable? style, }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (pattern != null) { - $result.pattern.addAll(pattern); - } - if (nameField != null) { - $result.nameField = nameField; - } - if (history != null) { - $result.history = history; - } - if (plural != null) { - $result.plural = plural; - } - if (singular != null) { - $result.singular = singular; - } - if (style != null) { - $result.style.addAll(style); - } - return $result; + final result = create(); + if (type != null) result.type = type; + if (pattern != null) result.pattern.addAll(pattern); + if (nameField != null) result.nameField = nameField; + if (history != null) result.history = history; + if (plural != null) result.plural = plural; + if (singular != null) result.singular = singular; + if (style != null) result.style.addAll(style); + return result; } - ResourceDescriptor._() : super(); - factory ResourceDescriptor.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ResourceDescriptor.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ResourceDescriptor._(); + + factory ResourceDescriptor.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ResourceDescriptor.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ResourceDescriptor', @@ -129,21 +118,19 @@ class ResourceDescriptor extends $pb.GeneratedMessage { defaultEnumValue: ResourceDescriptor_Style.STYLE_UNSPECIFIED) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ResourceDescriptor clone() => ResourceDescriptor()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ResourceDescriptor copyWith(void Function(ResourceDescriptor) updates) => super.copyWith((message) => updates(message as ResourceDescriptor)) as ResourceDescriptor; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ResourceDescriptor create() => ResourceDescriptor._(); + @$core.override ResourceDescriptor createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -152,47 +139,44 @@ class ResourceDescriptor extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static ResourceDescriptor? _defaultInstance; - /// The resource type. It must be in the format of - /// {service_name}/{resource_type_kind}. The `resource_type_kind` must be - /// singular and must not include version numbers. + /// The resource type. It must be in the format of + /// {service_name}/{resource_type_kind}. The `resource_type_kind` must be + /// singular and must not include version numbers. /// - /// Example: `storage.googleapis.com/Bucket` + /// Example: `storage.googleapis.com/Bucket` /// - /// The value of the resource_type_kind must follow the regular expression - /// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and - /// should use PascalCase (UpperCamelCase). The maximum number of - /// characters allowed for the `resource_type_kind` is 100. + /// The value of the resource_type_kind must follow the regular expression + /// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and + /// should use PascalCase (UpperCamelCase). The maximum number of + /// characters allowed for the `resource_type_kind` is 100. @$pb.TagNumber(1) $core.String get type => $_getSZ(0); @$pb.TagNumber(1) - set type($core.String v) { - $_setString(0, v); - } - + set type($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasType() => $_has(0); @$pb.TagNumber(1) void clearType() => $_clearField(1); - /// Optional. The relative resource name pattern associated with this resource - /// type. The DNS prefix of the full resource name shouldn't be specified here. + /// Optional. The relative resource name pattern associated with this resource + /// type. The DNS prefix of the full resource name shouldn't be specified here. /// - /// The path pattern must follow the syntax, which aligns with HTTP binding - /// syntax: + /// The path pattern must follow the syntax, which aligns with HTTP binding + /// syntax: /// - /// Template = Segment { "/" Segment } ; - /// Segment = LITERAL | Variable ; - /// Variable = "{" LITERAL "}" ; + /// Template = Segment { "/" Segment } ; + /// Segment = LITERAL | Variable ; + /// Variable = "{" LITERAL "}" ; /// - /// Examples: + /// Examples: /// - /// - "projects/{project}/topics/{topic}" - /// - "projects/{project}/knowledgeBases/{knowledge_base}" + /// - "projects/{project}/topics/{topic}" + /// - "projects/{project}/knowledgeBases/{knowledge_base}" /// - /// The components in braces correspond to the IDs for each resource in the - /// hierarchy. It is expected that, if multiple patterns are provided, - /// the same component name (e.g. "project") refers to IDs of the same - /// type of resource. + /// The components in braces correspond to the IDs for each resource in the + /// hierarchy. It is expected that, if multiple patterns are provided, + /// the same component name (e.g. "project") refers to IDs of the same + /// type of resource. @$pb.TagNumber(2) $pb.PbList<$core.String> get pattern => $_getList(1); @@ -201,62 +185,53 @@ class ResourceDescriptor extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get nameField => $_getSZ(2); @$pb.TagNumber(3) - set nameField($core.String v) { - $_setString(2, v); - } - + set nameField($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasNameField() => $_has(2); @$pb.TagNumber(3) void clearNameField() => $_clearField(3); - /// Optional. The historical or future-looking state of the resource pattern. + /// Optional. The historical or future-looking state of the resource pattern. /// - /// Example: + /// Example: /// - /// // The InspectTemplate message originally only supported resource - /// // names with organization, and project was added later. - /// message InspectTemplate { - /// option (google.api.resource) = { - /// type: "dlp.googleapis.com/InspectTemplate" - /// pattern: - /// "organizations/{organization}/inspectTemplates/{inspect_template}" - /// pattern: "projects/{project}/inspectTemplates/{inspect_template}" - /// history: ORIGINALLY_SINGLE_PATTERN - /// }; - /// } + /// // The InspectTemplate message originally only supported resource + /// // names with organization, and project was added later. + /// message InspectTemplate { + /// option (google.api.resource) = { + /// type: "dlp.googleapis.com/InspectTemplate" + /// pattern: + /// "organizations/{organization}/inspectTemplates/{inspect_template}" + /// pattern: "projects/{project}/inspectTemplates/{inspect_template}" + /// history: ORIGINALLY_SINGLE_PATTERN + /// }; + /// } @$pb.TagNumber(4) ResourceDescriptor_History get history => $_getN(3); @$pb.TagNumber(4) - set history(ResourceDescriptor_History v) { - $_setField(4, v); - } - + set history(ResourceDescriptor_History value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasHistory() => $_has(3); @$pb.TagNumber(4) void clearHistory() => $_clearField(4); - /// The plural name used in the resource name and permission names, such as - /// 'projects' for the resource name of 'projects/{project}' and the permission - /// name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception - /// to this is for Nested Collections that have stuttering names, as defined - /// in [AIP-122](https://google.aip.dev/122#nested-collections), where the - /// collection ID in the resource name pattern does not necessarily directly - /// match the `plural` value. + /// The plural name used in the resource name and permission names, such as + /// 'projects' for the resource name of 'projects/{project}' and the permission + /// name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception + /// to this is for Nested Collections that have stuttering names, as defined + /// in [AIP-122](https://google.aip.dev/122#nested-collections), where the + /// collection ID in the resource name pattern does not necessarily directly + /// match the `plural` value. /// - /// It is the same concept of the `plural` field in k8s CRD spec - /// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ + /// It is the same concept of the `plural` field in k8s CRD spec + /// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ /// - /// Note: The plural form is required even for singleton resources. See - /// https://aip.dev/156 + /// Note: The plural form is required even for singleton resources. See + /// https://aip.dev/156 @$pb.TagNumber(5) $core.String get plural => $_getSZ(4); @$pb.TagNumber(5) - set plural($core.String v) { - $_setString(4, v); - } - + set plural($core.String value) => $_setString(4, value); @$pb.TagNumber(5) $core.bool hasPlural() => $_has(4); @$pb.TagNumber(5) @@ -268,10 +243,7 @@ class ResourceDescriptor extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get singular => $_getSZ(5); @$pb.TagNumber(6) - set singular($core.String v) { - $_setString(5, v); - } - + set singular($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasSingular() => $_has(5); @$pb.TagNumber(6) @@ -291,22 +263,20 @@ class ResourceReference extends $pb.GeneratedMessage { $core.String? type, $core.String? childType, }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (childType != null) { - $result.childType = childType; - } - return $result; + final result = create(); + if (type != null) result.type = type; + if (childType != null) result.childType = childType; + return result; } - ResourceReference._() : super(); - factory ResourceReference.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ResourceReference.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ResourceReference._(); + + factory ResourceReference.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ResourceReference.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ResourceReference', @@ -316,21 +286,19 @@ class ResourceReference extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'childType') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ResourceReference clone() => ResourceReference()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ResourceReference copyWith(void Function(ResourceReference) updates) => super.copyWith((message) => updates(message as ResourceReference)) as ResourceReference; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ResourceReference create() => ResourceReference._(); + @$core.override ResourceReference createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -339,56 +307,50 @@ class ResourceReference extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static ResourceReference? _defaultInstance; - /// The resource type that the annotated field references. + /// The resource type that the annotated field references. /// - /// Example: + /// Example: /// - /// message Subscription { - /// string topic = 2 [(google.api.resource_reference) = { - /// type: "pubsub.googleapis.com/Topic" - /// }]; - /// } + /// message Subscription { + /// string topic = 2 [(google.api.resource_reference) = { + /// type: "pubsub.googleapis.com/Topic" + /// }]; + /// } /// - /// Occasionally, a field may reference an arbitrary resource. In this case, - /// APIs use the special value * in their resource reference. + /// Occasionally, a field may reference an arbitrary resource. In this case, + /// APIs use the special value * in their resource reference. /// - /// Example: + /// Example: /// - /// message GetIamPolicyRequest { - /// string resource = 2 [(google.api.resource_reference) = { - /// type: "*" - /// }]; - /// } + /// message GetIamPolicyRequest { + /// string resource = 2 [(google.api.resource_reference) = { + /// type: "*" + /// }]; + /// } @$pb.TagNumber(1) $core.String get type => $_getSZ(0); @$pb.TagNumber(1) - set type($core.String v) { - $_setString(0, v); - } - + set type($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasType() => $_has(0); @$pb.TagNumber(1) void clearType() => $_clearField(1); - /// The resource type of a child collection that the annotated field - /// references. This is useful for annotating the `parent` field that - /// doesn't have a fixed resource type. + /// The resource type of a child collection that the annotated field + /// references. This is useful for annotating the `parent` field that + /// doesn't have a fixed resource type. /// - /// Example: + /// Example: /// - /// message ListLogEntriesRequest { - /// string parent = 1 [(google.api.resource_reference) = { - /// child_type: "logging.googleapis.com/LogEntry" - /// }; - /// } + /// message ListLogEntriesRequest { + /// string parent = 1 [(google.api.resource_reference) = { + /// child_type: "logging.googleapis.com/LogEntry" + /// }; + /// } @$pb.TagNumber(2) $core.String get childType => $_getSZ(1); @$pb.TagNumber(2) - set childType($core.String v) { - $_setString(1, v); - } - + set childType($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasChildType() => $_has(1); @$pb.TagNumber(2) @@ -424,6 +386,7 @@ class Resource { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/resource.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/resource.pbenum.dart index 77bb8d5ce..e0aa038c6 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/resource.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/resource.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/resource.proto -// +// Generated from google/api/resource.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -41,12 +42,12 @@ class ResourceDescriptor_History extends $pb.ProtobufEnum { FUTURE_MULTI_PATTERN, ]; - static final $core.Map<$core.int, ResourceDescriptor_History> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static ResourceDescriptor_History? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ResourceDescriptor_History._(super.v, super.n); + const ResourceDescriptor_History._(super.value, super.name); } /// A flag representing a specific style that a resource claims to conform to. @@ -55,14 +56,14 @@ class ResourceDescriptor_Style extends $pb.ProtobufEnum { static const ResourceDescriptor_Style STYLE_UNSPECIFIED = ResourceDescriptor_Style._(0, _omitEnumNames ? '' : 'STYLE_UNSPECIFIED'); - /// This resource is intended to be "declarative-friendly". + /// This resource is intended to be "declarative-friendly". /// - /// Declarative-friendly resources must be more strictly consistent, and - /// setting this to true communicates to tools that this resource should - /// adhere to declarative-friendly expectations. + /// Declarative-friendly resources must be more strictly consistent, and + /// setting this to true communicates to tools that this resource should + /// adhere to declarative-friendly expectations. /// - /// Note: This is used by the API linter (linter.aip.dev) to enable - /// additional checks. + /// Note: This is used by the API linter (linter.aip.dev) to enable + /// additional checks. static const ResourceDescriptor_Style DECLARATIVE_FRIENDLY = ResourceDescriptor_Style._( 1, _omitEnumNames ? '' : 'DECLARATIVE_FRIENDLY'); @@ -73,11 +74,13 @@ class ResourceDescriptor_Style extends $pb.ProtobufEnum { DECLARATIVE_FRIENDLY, ]; - static final $core.Map<$core.int, ResourceDescriptor_Style> _byValue = - $pb.ProtobufEnum.initByValue(values); - static ResourceDescriptor_Style? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static ResourceDescriptor_Style? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ResourceDescriptor_Style._(super.v, super.n); + const ResourceDescriptor_Style._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/resource.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/resource.pbjson.dart index ee6060d7e..9b6c4ef33 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/resource.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/resource.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/resource.proto -// +// Generated from google/api/resource.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/api/visibility.pb.dart b/packages/celest_cloud/lib/src/proto/google/api/visibility.pb.dart index 95fee953c..f414f3ea1 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/visibility.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/visibility.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/visibility.proto -// +// Generated from google/api/visibility.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,46 +16,46 @@ import 'package:protobuf/protobuf.dart' as $pb; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// `Visibility` restricts service consumer's access to service elements, -/// such as whether an application can call a visibility-restricted method. -/// The restriction is expressed by applying visibility labels on service -/// elements. The visibility labels are elsewhere linked to service consumers. +/// `Visibility` restricts service consumer's access to service elements, +/// such as whether an application can call a visibility-restricted method. +/// The restriction is expressed by applying visibility labels on service +/// elements. The visibility labels are elsewhere linked to service consumers. /// -/// A service can define multiple visibility labels, but a service consumer -/// should be granted at most one visibility label. Multiple visibility -/// labels for a single service consumer are not supported. +/// A service can define multiple visibility labels, but a service consumer +/// should be granted at most one visibility label. Multiple visibility +/// labels for a single service consumer are not supported. /// -/// If an element and all its parents have no visibility label, its visibility -/// is unconditionally granted. +/// If an element and all its parents have no visibility label, its visibility +/// is unconditionally granted. /// -/// Example: +/// Example: /// -/// visibility: -/// rules: -/// - selector: google.calendar.Calendar.EnhancedSearch -/// restriction: PREVIEW -/// - selector: google.calendar.Calendar.Delegate -/// restriction: INTERNAL +/// visibility: +/// rules: +/// - selector: google.calendar.Calendar.EnhancedSearch +/// restriction: PREVIEW +/// - selector: google.calendar.Calendar.Delegate +/// restriction: INTERNAL /// -/// Here, all methods are publicly visible except for the restricted methods -/// EnhancedSearch and Delegate. +/// Here, all methods are publicly visible except for the restricted methods +/// EnhancedSearch and Delegate. class Visibility extends $pb.GeneratedMessage { factory Visibility({ $core.Iterable? rules, }) { - final $result = create(); - if (rules != null) { - $result.rules.addAll(rules); - } - return $result; + final result = create(); + if (rules != null) result.rules.addAll(rules); + return result; } - Visibility._() : super(); - factory Visibility.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Visibility.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Visibility._(); + + factory Visibility.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Visibility.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Visibility', @@ -64,20 +65,18 @@ class Visibility extends $pb.GeneratedMessage { subBuilder: VisibilityRule.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Visibility clone() => Visibility()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Visibility create() => Visibility._(); + @$core.override Visibility createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -85,9 +84,9 @@ class Visibility extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static Visibility? _defaultInstance; - /// A list of visibility rules that apply to individual API elements. + /// A list of visibility rules that apply to individual API elements. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. @$pb.TagNumber(1) $pb.PbList get rules => $_getList(0); } @@ -99,22 +98,20 @@ class VisibilityRule extends $pb.GeneratedMessage { $core.String? selector, $core.String? restriction, }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (restriction != null) { - $result.restriction = restriction; - } - return $result; + final result = create(); + if (selector != null) result.selector = selector; + if (restriction != null) result.restriction = restriction; + return result; } - VisibilityRule._() : super(); - factory VisibilityRule.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory VisibilityRule.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + VisibilityRule._(); + + factory VisibilityRule.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory VisibilityRule.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'VisibilityRule', @@ -124,21 +121,19 @@ class VisibilityRule extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'restriction') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VisibilityRule clone() => VisibilityRule()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static VisibilityRule create() => VisibilityRule._(); + @$core.override VisibilityRule createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -147,44 +142,38 @@ class VisibilityRule extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static VisibilityRule? _defaultInstance; - /// Selects methods, messages, fields, enums, etc. to which this rule applies. + /// Selects methods, messages, fields, enums, etc. 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) - set selector($core.String v) { - $_setString(0, v); - } - + set selector($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasSelector() => $_has(0); @$pb.TagNumber(1) void clearSelector() => $_clearField(1); - /// A comma-separated list of visibility labels that apply to the `selector`. - /// Any of the listed labels can be used to grant the visibility. + /// A comma-separated list of visibility labels that apply to the `selector`. + /// Any of the listed labels can be used to grant the visibility. /// - /// If a rule has multiple labels, removing one of the labels but not all of - /// them can break clients. + /// If a rule has multiple labels, removing one of the labels but not all of + /// them can break clients. /// - /// Example: + /// Example: /// - /// visibility: - /// rules: - /// - selector: google.calendar.Calendar.EnhancedSearch - /// restriction: INTERNAL, PREVIEW + /// visibility: + /// rules: + /// - selector: google.calendar.Calendar.EnhancedSearch + /// restriction: INTERNAL, PREVIEW /// - /// Removing INTERNAL from this restriction will break clients that rely on - /// this method and only had access to it through INTERNAL. + /// Removing INTERNAL from this restriction will break clients that rely on + /// this method and only had access to it through INTERNAL. @$pb.TagNumber(2) $core.String get restriction => $_getSZ(1); @$pb.TagNumber(2) - set restriction($core.String v) { - $_setString(1, v); - } - + set restriction($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasRestriction() => $_has(1); @$pb.TagNumber(2) @@ -244,6 +233,7 @@ class VisibilityExt { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/api/visibility.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/api/visibility.pbenum.dart index 5e457b68e..7ad2d38bc 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/visibility.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/visibility.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/visibility.proto -// +// Generated from google/api/visibility.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/api/visibility.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/api/visibility.pbjson.dart index c672ff4a1..ae1d6b35e 100644 --- a/packages/celest_cloud/lib/src/proto/google/api/visibility.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/api/visibility.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/api/visibility.proto -// +// Generated from google/api/visibility.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pb.dart b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pb.dart index 044dd6e1d..8eca69909 100644 --- a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pb.dart @@ -1,21 +1,22 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// +// Generated from google/longrunning/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../protobuf/any.pb.dart' as $13; -import '../protobuf/duration.pb.dart' as $8; -import '../rpc/status.pb.dart' as $18; +import '../protobuf/any.pb.dart' as $2; +import '../protobuf/duration.pb.dart' as $4; +import '../rpc/status.pb.dart' as $3; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -26,36 +27,28 @@ enum Operation_Result { error, response, notSet } class Operation extends $pb.GeneratedMessage { factory Operation({ $core.String? name, - $13.Any? metadata, + $2.Any? metadata, $core.bool? done, - $18.Status? error, - $13.Any? response, + $3.Status? error, + $2.Any? response, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (metadata != null) { - $result.metadata = metadata; - } - if (done != null) { - $result.done = done; - } - if (error != null) { - $result.error = error; - } - if (response != null) { - $result.response = response; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (metadata != null) result.metadata = metadata; + if (done != null) result.done = done; + if (error != null) result.error = error; + if (response != null) result.response = response; + return result; } - Operation._() : super(); - factory Operation.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Operation.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Operation._(); + + factory Operation.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Operation.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Operation_Result> _Operation_ResultByTag = { 4: Operation_Result.error, @@ -69,29 +62,27 @@ class Operation extends $pb.GeneratedMessage { createEmptyInstance: create) ..oo(0, [4, 5]) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.Any>(2, _omitFieldNames ? '' : 'metadata', - subBuilder: $13.Any.create) + ..aOM<$2.Any>(2, _omitFieldNames ? '' : 'metadata', + subBuilder: $2.Any.create) ..aOB(3, _omitFieldNames ? '' : 'done') - ..aOM<$18.Status>(4, _omitFieldNames ? '' : 'error', - subBuilder: $18.Status.create) - ..aOM<$13.Any>(5, _omitFieldNames ? '' : 'response', - subBuilder: $13.Any.create) + ..aOM<$3.Status>(4, _omitFieldNames ? '' : 'error', + subBuilder: $3.Status.create) + ..aOM<$2.Any>(5, _omitFieldNames ? '' : 'response', + subBuilder: $2.Any.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Operation clone() => Operation()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Operation copyWith(void Function(Operation) updates) => super.copyWith((message) => updates(message as Operation)) as Operation; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Operation create() => Operation._(); + @$core.override Operation createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -108,10 +99,7 @@ class Operation extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -122,18 +110,15 @@ class Operation extends $pb.GeneratedMessage { /// Some services might not provide such metadata. Any method that returns a /// long-running operation should document the metadata type, if any. @$pb.TagNumber(2) - $13.Any get metadata => $_getN(1); + $2.Any get metadata => $_getN(1); @$pb.TagNumber(2) - set metadata($13.Any v) { - $_setField(2, v); - } - + set metadata($2.Any value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasMetadata() => $_has(1); @$pb.TagNumber(2) void clearMetadata() => $_clearField(2); @$pb.TagNumber(2) - $13.Any ensureMetadata() => $_ensure(1); + $2.Any ensureMetadata() => $_ensure(1); /// If the value is `false`, it means the operation is still in progress. /// If `true`, the operation is completed, and either `error` or `response` is @@ -141,10 +126,7 @@ class Operation extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get done => $_getBF(2); @$pb.TagNumber(3) - set done($core.bool v) { - $_setBool(2, v); - } - + set done($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasDone() => $_has(2); @$pb.TagNumber(3) @@ -152,18 +134,15 @@ class Operation extends $pb.GeneratedMessage { /// The error result of the operation in case of failure or cancellation. @$pb.TagNumber(4) - $18.Status get error => $_getN(3); + $3.Status get error => $_getN(3); @$pb.TagNumber(4) - set error($18.Status v) { - $_setField(4, v); - } - + set error($3.Status value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasError() => $_has(3); @$pb.TagNumber(4) void clearError() => $_clearField(4); @$pb.TagNumber(4) - $18.Status ensureError() => $_ensure(3); + $3.Status ensureError() => $_ensure(3); /// The normal, successful response of the operation. If the original /// method returns no data on success, such as `Delete`, the response is @@ -174,18 +153,15 @@ class Operation extends $pb.GeneratedMessage { /// is `TakeSnapshot()`, the inferred response type is /// `TakeSnapshotResponse`. @$pb.TagNumber(5) - $13.Any get response => $_getN(4); + $2.Any get response => $_getN(4); @$pb.TagNumber(5) - set response($13.Any v) { - $_setField(5, v); - } - + set response($2.Any value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasResponse() => $_has(4); @$pb.TagNumber(5) void clearResponse() => $_clearField(5); @$pb.TagNumber(5) - $13.Any ensureResponse() => $_ensure(4); + $2.Any ensureResponse() => $_ensure(4); } /// The request message for @@ -194,19 +170,19 @@ class GetOperationRequest extends $pb.GeneratedMessage { factory GetOperationRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - GetOperationRequest._() : super(); - factory GetOperationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GetOperationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GetOperationRequest._(); + + factory GetOperationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GetOperationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetOperationRequest', @@ -216,21 +192,19 @@ class GetOperationRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetOperationRequest clone() => GetOperationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GetOperationRequest copyWith(void Function(GetOperationRequest) updates) => super.copyWith((message) => updates(message as GetOperationRequest)) as GetOperationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GetOperationRequest create() => GetOperationRequest._(); + @$core.override GetOperationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -243,10 +217,7 @@ class GetOperationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -262,28 +233,22 @@ class ListOperationsRequest extends $pb.GeneratedMessage { $core.String? pageToken, $core.String? name, }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (filter != null) result.filter = filter; + if (pageSize != null) result.pageSize = pageSize; + if (pageToken != null) result.pageToken = pageToken; + if (name != null) result.name = name; + return result; } - ListOperationsRequest._() : super(); - factory ListOperationsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListOperationsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListOperationsRequest._(); + + factory ListOperationsRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListOperationsRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListOperationsRequest', @@ -296,23 +261,21 @@ class ListOperationsRequest extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOperationsRequest clone() => ListOperationsRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOperationsRequest copyWith( void Function(ListOperationsRequest) updates) => super.copyWith((message) => updates(message as ListOperationsRequest)) as ListOperationsRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListOperationsRequest create() => ListOperationsRequest._(); + @$core.override ListOperationsRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -325,10 +288,7 @@ class ListOperationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get filter => $_getSZ(0); @$pb.TagNumber(1) - set filter($core.String v) { - $_setString(0, v); - } - + set filter($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasFilter() => $_has(0); @$pb.TagNumber(1) @@ -338,10 +298,7 @@ class ListOperationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get pageSize => $_getIZ(1); @$pb.TagNumber(2) - set pageSize($core.int v) { - $_setSignedInt32(1, v); - } - + set pageSize($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasPageSize() => $_has(1); @$pb.TagNumber(2) @@ -351,10 +308,7 @@ class ListOperationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get pageToken => $_getSZ(2); @$pb.TagNumber(3) - set pageToken($core.String v) { - $_setString(2, v); - } - + set pageToken($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasPageToken() => $_has(2); @$pb.TagNumber(3) @@ -364,10 +318,7 @@ class ListOperationsRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get name => $_getSZ(3); @$pb.TagNumber(4) - set name($core.String v) { - $_setString(3, v); - } - + set name($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasName() => $_has(3); @$pb.TagNumber(4) @@ -381,22 +332,20 @@ class ListOperationsResponse extends $pb.GeneratedMessage { $core.Iterable? operations, $core.String? nextPageToken, }) { - final $result = create(); - if (operations != null) { - $result.operations.addAll(operations); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; + final result = create(); + if (operations != null) result.operations.addAll(operations); + if (nextPageToken != null) result.nextPageToken = nextPageToken; + return result; } - ListOperationsResponse._() : super(); - factory ListOperationsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListOperationsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListOperationsResponse._(); + + factory ListOperationsResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListOperationsResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListOperationsResponse', @@ -408,23 +357,21 @@ class ListOperationsResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOperationsResponse clone() => ListOperationsResponse()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListOperationsResponse copyWith( void Function(ListOperationsResponse) updates) => super.copyWith((message) => updates(message as ListOperationsResponse)) as ListOperationsResponse; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListOperationsResponse create() => ListOperationsResponse._(); + @$core.override ListOperationsResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -441,10 +388,7 @@ class ListOperationsResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @$pb.TagNumber(2) - set nextPageToken($core.String v) { - $_setString(1, v); - } - + set nextPageToken($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNextPageToken() => $_has(1); @$pb.TagNumber(2) @@ -457,19 +401,19 @@ class CancelOperationRequest extends $pb.GeneratedMessage { factory CancelOperationRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - CancelOperationRequest._() : super(); - factory CancelOperationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory CancelOperationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + CancelOperationRequest._(); + + factory CancelOperationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory CancelOperationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'CancelOperationRequest', @@ -479,23 +423,21 @@ class CancelOperationRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelOperationRequest clone() => CancelOperationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') CancelOperationRequest copyWith( void Function(CancelOperationRequest) updates) => super.copyWith((message) => updates(message as CancelOperationRequest)) as CancelOperationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CancelOperationRequest create() => CancelOperationRequest._(); + @$core.override CancelOperationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -508,10 +450,7 @@ class CancelOperationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -524,19 +463,19 @@ class DeleteOperationRequest extends $pb.GeneratedMessage { factory DeleteOperationRequest({ $core.String? name, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; + final result = create(); + if (name != null) result.name = name; + return result; } - DeleteOperationRequest._() : super(); - factory DeleteOperationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DeleteOperationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DeleteOperationRequest._(); + + factory DeleteOperationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DeleteOperationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteOperationRequest', @@ -546,23 +485,21 @@ class DeleteOperationRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteOperationRequest clone() => DeleteOperationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DeleteOperationRequest copyWith( void Function(DeleteOperationRequest) updates) => super.copyWith((message) => updates(message as DeleteOperationRequest)) as DeleteOperationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DeleteOperationRequest create() => DeleteOperationRequest._(); + @$core.override DeleteOperationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -575,10 +512,7 @@ class DeleteOperationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -590,24 +524,22 @@ class DeleteOperationRequest extends $pb.GeneratedMessage { class WaitOperationRequest extends $pb.GeneratedMessage { factory WaitOperationRequest({ $core.String? name, - $8.Duration? timeout, + $4.Duration? timeout, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (timeout != null) { - $result.timeout = timeout; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (timeout != null) result.timeout = timeout; + return result; } - WaitOperationRequest._() : super(); - factory WaitOperationRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory WaitOperationRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + WaitOperationRequest._(); + + factory WaitOperationRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory WaitOperationRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'WaitOperationRequest', @@ -615,26 +547,24 @@ class WaitOperationRequest extends $pb.GeneratedMessage { const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$8.Duration>(2, _omitFieldNames ? '' : 'timeout', - subBuilder: $8.Duration.create) + ..aOM<$4.Duration>(2, _omitFieldNames ? '' : 'timeout', + subBuilder: $4.Duration.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WaitOperationRequest clone() => WaitOperationRequest()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WaitOperationRequest copyWith(void Function(WaitOperationRequest) updates) => super.copyWith((message) => updates(message as WaitOperationRequest)) as WaitOperationRequest; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static WaitOperationRequest create() => WaitOperationRequest._(); + @$core.override WaitOperationRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -647,10 +577,7 @@ class WaitOperationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -660,51 +587,46 @@ class WaitOperationRequest extends $pb.GeneratedMessage { /// will be at most the time permitted by the underlying HTTP/RPC protocol. /// If RPC context deadline is also specified, the shorter one will be used. @$pb.TagNumber(2) - $8.Duration get timeout => $_getN(1); + $4.Duration get timeout => $_getN(1); @$pb.TagNumber(2) - set timeout($8.Duration v) { - $_setField(2, v); - } - + set timeout($4.Duration value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasTimeout() => $_has(1); @$pb.TagNumber(2) void clearTimeout() => $_clearField(2); @$pb.TagNumber(2) - $8.Duration ensureTimeout() => $_ensure(1); + $4.Duration ensureTimeout() => $_ensure(1); } -/// A message representing the message types used by a long-running operation. +/// A message representing the message types used by a long-running operation. /// -/// Example: +/// Example: /// -/// rpc Export(ExportRequest) returns (google.longrunning.Operation) { -/// option (google.longrunning.operation_info) = { -/// response_type: "ExportResponse" -/// metadata_type: "ExportMetadata" -/// }; -/// } +/// rpc Export(ExportRequest) returns (google.longrunning.Operation) { +/// option (google.longrunning.operation_info) = { +/// response_type: "ExportResponse" +/// metadata_type: "ExportMetadata" +/// }; +/// } class OperationInfo extends $pb.GeneratedMessage { factory OperationInfo({ $core.String? responseType, $core.String? metadataType, }) { - final $result = create(); - if (responseType != null) { - $result.responseType = responseType; - } - if (metadataType != null) { - $result.metadataType = metadataType; - } - return $result; + final result = create(); + if (responseType != null) result.responseType = responseType; + if (metadataType != null) result.metadataType = metadataType; + return result; } - OperationInfo._() : super(); - factory OperationInfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OperationInfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OperationInfo._(); + + factory OperationInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OperationInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OperationInfo', @@ -715,21 +637,19 @@ class OperationInfo extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'metadataType') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OperationInfo clone() => OperationInfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OperationInfo copyWith(void Function(OperationInfo) updates) => super.copyWith((message) => updates(message as OperationInfo)) as OperationInfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OperationInfo create() => OperationInfo._(); + @$core.override OperationInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -738,40 +658,34 @@ class OperationInfo extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static OperationInfo? _defaultInstance; - /// Required. The message name of the primary return type for this - /// long-running operation. - /// This type will be used to deserialize the LRO's response. + /// Required. The message name of the primary return type for this + /// long-running operation. + /// This type will be used to deserialize the LRO's response. /// - /// If the response is in a different package from the rpc, a fully-qualified - /// message name must be used (e.g. `google.protobuf.Struct`). + /// If the response is in a different package from the rpc, a fully-qualified + /// message name must be used (e.g. `google.protobuf.Struct`). /// - /// Note: Altering this value constitutes a breaking change. + /// Note: Altering this value constitutes a breaking change. @$pb.TagNumber(1) $core.String get responseType => $_getSZ(0); @$pb.TagNumber(1) - set responseType($core.String v) { - $_setString(0, v); - } - + set responseType($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasResponseType() => $_has(0); @$pb.TagNumber(1) void clearResponseType() => $_clearField(1); - /// Required. The message name of the metadata type for this long-running - /// operation. + /// Required. The message name of the metadata type for this long-running + /// operation. /// - /// If the response is in a different package from the rpc, a fully-qualified - /// message name must be used (e.g. `google.protobuf.Struct`). + /// If the response is in a different package from the rpc, a fully-qualified + /// message name must be used (e.g. `google.protobuf.Struct`). /// - /// Note: Altering this value constitutes a breaking change. + /// Note: Altering this value constitutes a breaking change. @$pb.TagNumber(2) $core.String get metadataType => $_getSZ(1); @$pb.TagNumber(2) - set metadataType($core.String v) { - $_setString(1, v); - } - + set metadataType($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasMetadataType() => $_has(1); @$pb.TagNumber(2) @@ -791,6 +705,7 @@ class Operations { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbenum.dart index e031c22ff..9d3cf854b 100644 --- a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// +// Generated from google/longrunning/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbgrpc.dart b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbgrpc.dart index 50196ded7..77859622c 100644 --- a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbgrpc.dart +++ b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbgrpc.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// +// Generated from google/longrunning/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -16,70 +17,122 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../protobuf/empty.pb.dart' as $1; -import 'operations.pb.dart' as $4; +import 'operations.pb.dart' as $0; export 'operations.pb.dart'; +/// Manages long-running operations with an API service. +/// +/// When an API method normally takes long time to complete, it can be designed +/// to return [Operation][google.longrunning.Operation] to the client, and the +/// client can use this interface to receive the real response asynchronously by +/// polling the operation resource, or pass the operation resource to another API +/// (such as Pub/Sub API) to receive the response. Any API service that returns +/// long-running operations should implement the `Operations` interface so +/// developers can have a consistent client experience. @$pb.GrpcServiceName('google.longrunning.Operations') class OperationsClient extends $grpc.Client { - static final _$listOperations = - $grpc.ClientMethod<$4.ListOperationsRequest, $4.ListOperationsResponse>( - '/google.longrunning.Operations/ListOperations', - ($4.ListOperationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $4.ListOperationsResponse.fromBuffer(value)); - static final _$getOperation = - $grpc.ClientMethod<$4.GetOperationRequest, $4.Operation>( - '/google.longrunning.Operations/GetOperation', - ($4.GetOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); - static final _$deleteOperation = - $grpc.ClientMethod<$4.DeleteOperationRequest, $1.Empty>( - '/google.longrunning.Operations/DeleteOperation', - ($4.DeleteOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.Empty.fromBuffer(value)); - static final _$cancelOperation = - $grpc.ClientMethod<$4.CancelOperationRequest, $1.Empty>( - '/google.longrunning.Operations/CancelOperation', - ($4.CancelOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.Empty.fromBuffer(value)); - static final _$waitOperation = - $grpc.ClientMethod<$4.WaitOperationRequest, $4.Operation>( - '/google.longrunning.Operations/WaitOperation', - ($4.WaitOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.Operation.fromBuffer(value)); + /// The hostname for this service. + static const $core.String defaultHost = 'longrunning.googleapis.com'; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; OperationsClient(super.channel, {super.options, super.interceptors}); - $grpc.ResponseFuture<$4.ListOperationsResponse> listOperations( - $4.ListOperationsRequest request, - {$grpc.CallOptions? options}) { + /// Lists operations that match the specified filter in the request. If the + /// server doesn't support this method, it returns `UNIMPLEMENTED`. + $grpc.ResponseFuture<$0.ListOperationsResponse> listOperations( + $0.ListOperationsRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$listOperations, request, options: options); } - $grpc.ResponseFuture<$4.Operation> getOperation( - $4.GetOperationRequest request, - {$grpc.CallOptions? options}) { + /// Gets the latest state of a long-running operation. Clients can use this + /// method to poll the operation result at intervals as recommended by the API + /// service. + $grpc.ResponseFuture<$0.Operation> getOperation( + $0.GetOperationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$getOperation, request, options: options); } + /// Deletes a long-running operation. This method indicates that the client is + /// no longer interested in the operation result. It does not cancel the + /// operation. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. $grpc.ResponseFuture<$1.Empty> deleteOperation( - $4.DeleteOperationRequest request, - {$grpc.CallOptions? options}) { + $0.DeleteOperationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$deleteOperation, request, options: options); } + /// Starts asynchronous cancellation on a long-running operation. The server + /// makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use + /// [Operations.GetOperation][google.longrunning.Operations.GetOperation] or + /// other methods to check whether the cancellation succeeded or whether the + /// operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with + /// an [Operation.error][google.longrunning.Operation.error] value with a + /// [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to + /// `Code.CANCELLED`. $grpc.ResponseFuture<$1.Empty> cancelOperation( - $4.CancelOperationRequest request, - {$grpc.CallOptions? options}) { + $0.CancelOperationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$cancelOperation, request, options: options); } - $grpc.ResponseFuture<$4.Operation> waitOperation( - $4.WaitOperationRequest request, - {$grpc.CallOptions? options}) { + /// Waits until the specified long-running operation is done or reaches at most + /// a specified timeout, returning the latest state. If the operation is + /// already done, the latest state is immediately returned. If the timeout + /// specified is greater than the default HTTP/RPC timeout, the HTTP/RPC + /// timeout is used. If the server does not support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. + /// Note that this method is on a best-effort basis. It may return the latest + /// state before the specified timeout (including immediately), meaning even an + /// immediate response is no guarantee that the operation is done. + $grpc.ResponseFuture<$0.Operation> waitOperation( + $0.WaitOperationRequest request, { + $grpc.CallOptions? options, + }) { return $createUnaryCall(_$waitOperation, request, options: options); } + + // method descriptors + + static final _$listOperations = + $grpc.ClientMethod<$0.ListOperationsRequest, $0.ListOperationsResponse>( + '/google.longrunning.Operations/ListOperations', + ($0.ListOperationsRequest value) => value.writeToBuffer(), + $0.ListOperationsResponse.fromBuffer); + static final _$getOperation = + $grpc.ClientMethod<$0.GetOperationRequest, $0.Operation>( + '/google.longrunning.Operations/GetOperation', + ($0.GetOperationRequest value) => value.writeToBuffer(), + $0.Operation.fromBuffer); + static final _$deleteOperation = + $grpc.ClientMethod<$0.DeleteOperationRequest, $1.Empty>( + '/google.longrunning.Operations/DeleteOperation', + ($0.DeleteOperationRequest value) => value.writeToBuffer(), + $1.Empty.fromBuffer); + static final _$cancelOperation = + $grpc.ClientMethod<$0.CancelOperationRequest, $1.Empty>( + '/google.longrunning.Operations/CancelOperation', + ($0.CancelOperationRequest value) => value.writeToBuffer(), + $1.Empty.fromBuffer); + static final _$waitOperation = + $grpc.ClientMethod<$0.WaitOperationRequest, $0.Operation>( + '/google.longrunning.Operations/WaitOperation', + ($0.WaitOperationRequest value) => value.writeToBuffer(), + $0.Operation.fromBuffer); } @$pb.GrpcServiceName('google.longrunning.Operations') @@ -87,83 +140,87 @@ abstract class OperationsServiceBase extends $grpc.Service { $core.String get $name => 'google.longrunning.Operations'; OperationsServiceBase() { - $addMethod($grpc.ServiceMethod<$4.ListOperationsRequest, - $4.ListOperationsResponse>( + $addMethod($grpc.ServiceMethod<$0.ListOperationsRequest, + $0.ListOperationsResponse>( 'ListOperations', listOperations_Pre, false, false, ($core.List<$core.int> value) => - $4.ListOperationsRequest.fromBuffer(value), - ($4.ListOperationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.GetOperationRequest, $4.Operation>( + $0.ListOperationsRequest.fromBuffer(value), + ($0.ListOperationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetOperationRequest, $0.Operation>( 'GetOperation', getOperation_Pre, false, false, ($core.List<$core.int> value) => - $4.GetOperationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.DeleteOperationRequest, $1.Empty>( + $0.GetOperationRequest.fromBuffer(value), + ($0.Operation value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteOperationRequest, $1.Empty>( 'DeleteOperation', deleteOperation_Pre, false, false, ($core.List<$core.int> value) => - $4.DeleteOperationRequest.fromBuffer(value), + $0.DeleteOperationRequest.fromBuffer(value), ($1.Empty value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.CancelOperationRequest, $1.Empty>( + $addMethod($grpc.ServiceMethod<$0.CancelOperationRequest, $1.Empty>( 'CancelOperation', cancelOperation_Pre, false, false, ($core.List<$core.int> value) => - $4.CancelOperationRequest.fromBuffer(value), + $0.CancelOperationRequest.fromBuffer(value), ($1.Empty value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.WaitOperationRequest, $4.Operation>( + $addMethod($grpc.ServiceMethod<$0.WaitOperationRequest, $0.Operation>( 'WaitOperation', waitOperation_Pre, false, false, ($core.List<$core.int> value) => - $4.WaitOperationRequest.fromBuffer(value), - ($4.Operation value) => value.writeToBuffer())); + $0.WaitOperationRequest.fromBuffer(value), + ($0.Operation value) => value.writeToBuffer())); } - $async.Future<$4.ListOperationsResponse> listOperations_Pre( + $async.Future<$0.ListOperationsResponse> listOperations_Pre( $grpc.ServiceCall $call, - $async.Future<$4.ListOperationsRequest> $request) async { + $async.Future<$0.ListOperationsRequest> $request) async { return listOperations($call, await $request); } - $async.Future<$4.Operation> getOperation_Pre($grpc.ServiceCall $call, - $async.Future<$4.GetOperationRequest> $request) async { + $async.Future<$0.ListOperationsResponse> listOperations( + $grpc.ServiceCall call, $0.ListOperationsRequest request); + + $async.Future<$0.Operation> getOperation_Pre($grpc.ServiceCall $call, + $async.Future<$0.GetOperationRequest> $request) async { return getOperation($call, await $request); } + $async.Future<$0.Operation> getOperation( + $grpc.ServiceCall call, $0.GetOperationRequest request); + $async.Future<$1.Empty> deleteOperation_Pre($grpc.ServiceCall $call, - $async.Future<$4.DeleteOperationRequest> $request) async { + $async.Future<$0.DeleteOperationRequest> $request) async { return deleteOperation($call, await $request); } + $async.Future<$1.Empty> deleteOperation( + $grpc.ServiceCall call, $0.DeleteOperationRequest request); + $async.Future<$1.Empty> cancelOperation_Pre($grpc.ServiceCall $call, - $async.Future<$4.CancelOperationRequest> $request) async { + $async.Future<$0.CancelOperationRequest> $request) async { return cancelOperation($call, await $request); } - $async.Future<$4.Operation> waitOperation_Pre($grpc.ServiceCall $call, - $async.Future<$4.WaitOperationRequest> $request) async { + $async.Future<$1.Empty> cancelOperation( + $grpc.ServiceCall call, $0.CancelOperationRequest request); + + $async.Future<$0.Operation> waitOperation_Pre($grpc.ServiceCall $call, + $async.Future<$0.WaitOperationRequest> $request) async { return waitOperation($call, await $request); } - $async.Future<$4.ListOperationsResponse> listOperations( - $grpc.ServiceCall call, $4.ListOperationsRequest request); - $async.Future<$4.Operation> getOperation( - $grpc.ServiceCall call, $4.GetOperationRequest request); - $async.Future<$1.Empty> deleteOperation( - $grpc.ServiceCall call, $4.DeleteOperationRequest request); - $async.Future<$1.Empty> cancelOperation( - $grpc.ServiceCall call, $4.CancelOperationRequest request); - $async.Future<$4.Operation> waitOperation( - $grpc.ServiceCall call, $4.WaitOperationRequest request); + $async.Future<$0.Operation> waitOperation( + $grpc.ServiceCall call, $0.WaitOperationRequest request); } diff --git a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbjson.dart index 3cadbc794..7b33dcc4f 100644 --- a/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/longrunning/operations.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// +// Generated from google/longrunning/operations.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pb.dart index 5ed2134e3..a8bf1938a 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// +// Generated from google/protobuf/any.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -16,112 +18,110 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// `Any` contains an arbitrary serialized protocol buffer message along with a -/// URL that describes the type of the serialized message. +/// `Any` contains an arbitrary serialized protocol buffer message along with a +/// URL that describes the type of the serialized message. /// -/// Protobuf library provides support to pack/unpack Any values in the form -/// of utility functions or additional generated methods of the Any type. +/// Protobuf library provides support to pack/unpack Any values in the form +/// of utility functions or additional generated methods of the Any type. /// -/// Example 1: Pack and unpack a message in C++. +/// Example 1: Pack and unpack a message in C++. /// -/// Foo foo = ...; -/// Any any; -/// any.PackFrom(foo); -/// ... -/// if (any.UnpackTo(&foo)) { -/// ... -/// } +/// Foo foo = ...; +/// Any any; +/// any.PackFrom(foo); +/// ... +/// if (any.UnpackTo(&foo)) { +/// ... +/// } /// -/// Example 2: Pack and unpack a message in Java. +/// Example 2: Pack and unpack a message in Java. /// -/// Foo foo = ...; -/// Any any = Any.pack(foo); -/// ... -/// if (any.is(Foo.class)) { -/// foo = any.unpack(Foo.class); -/// } -/// // or ... -/// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -/// foo = any.unpack(Foo.getDefaultInstance()); -/// } +/// Foo foo = ...; +/// Any any = Any.pack(foo); +/// ... +/// 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. +/// Example 3: Pack and unpack a message in Python. /// -/// foo = Foo(...) -/// any = Any() -/// any.Pack(foo) -/// ... -/// if any.Is(Foo.DESCRIPTOR): -/// any.Unpack(foo) -/// ... +/// foo = Foo(...) +/// any = Any() +/// any.Pack(foo) +/// ... +/// if any.Is(Foo.DESCRIPTOR): +/// any.Unpack(foo) +/// ... /// -/// Example 4: Pack and unpack a message in Go +/// Example 4: Pack and unpack a message in Go /// -/// foo := &pb.Foo{...} -/// any, err := anypb.New(foo) -/// if err != nil { -/// ... -/// } -/// ... -/// foo := &pb.Foo{} -/// if err := any.UnmarshalTo(foo); err != nil { -/// ... -/// } +/// foo := &pb.Foo{...} +/// any, err := anypb.New(foo) +/// if err != nil { +/// ... +/// } +/// ... +/// foo := &pb.Foo{} +/// if err := any.UnmarshalTo(foo); err != nil { +/// ... +/// } /// -/// The pack methods provided by protobuf library will by default use -/// 'type.googleapis.com/full.type.name' as the type URL and the unpack -/// methods only use the fully qualified type name after the last '/' -/// in the type URL, for example "foo.bar.com/x/y.z" will yield type -/// name "y.z". +/// The pack methods provided by protobuf library will by default use +/// 'type.googleapis.com/full.type.name' as the type URL and the unpack +/// methods only use the fully qualified type name after the last '/' +/// 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 -/// representation of the deserialized, embedded message, with an -/// additional field `@type` which contains the type URL. Example: +/// JSON +/// ==== +/// The JSON representation of an `Any` value uses the regular +/// representation of the deserialized, embedded message, with an +/// additional field `@type` which contains the type URL. Example: /// -/// package google.profile; -/// message Person { -/// string first_name = 1; -/// string last_name = 2; -/// } +/// package google.profile; +/// message Person { +/// string first_name = 1; +/// string last_name = 2; +/// } /// -/// { -/// "@type": "type.googleapis.com/google.profile.Person", -/// "firstName": , -/// "lastName": -/// } +/// { +/// "@type": "type.googleapis.com/google.profile.Person", +/// "firstName": , +/// "lastName": +/// } /// -/// If the embedded message type is well-known and has a custom JSON -/// representation, that representation will be embedded adding a field -/// `value` which holds the custom JSON in addition to the `@type` -/// field. Example (for message [google.protobuf.Duration][]): +/// If the embedded message type is well-known and has a custom JSON +/// representation, that representation will be embedded adding a field +/// `value` which holds the custom JSON in addition to the `@type` +/// field. Example (for message [google.protobuf.Duration][]): /// -/// { -/// "@type": "type.googleapis.com/google.protobuf.Duration", -/// "value": "1.212s" -/// } +/// { +/// "@type": "type.googleapis.com/google.protobuf.Duration", +/// "value": "1.212s" +/// } class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { factory Any({ $core.String? typeUrl, $core.List<$core.int>? value, }) { - final $result = create(); - if (typeUrl != null) { - $result.typeUrl = typeUrl; - } - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (typeUrl != null) result.typeUrl = typeUrl; + if (value != null) result.value = value; + return result; } - Any._() : super(); - factory Any.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Any.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Any._(); + + factory Any.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Any.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Any', @@ -135,20 +135,18 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { 2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Any clone() => Any()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Any copyWith(void Function(Any) updates) => super.copyWith((message) => updates(message as Any)) as Any; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Any create() => Any._(); + @$core.override Any createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -156,41 +154,38 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Any? _defaultInstance; - /// A URL/resource name that uniquely identifies the type of the serialized - /// protocol buffer message. This string must contain at least - /// one "/" character. The last segment of the URL's path must represent - /// the fully qualified name of the type (as in - /// `path/google.protobuf.Duration`). The name should be in a canonical form - /// (e.g., leading "." is not accepted). + /// A URL/resource name that uniquely identifies the type of the serialized + /// protocol buffer message. This string must contain at least + /// one "/" character. The last segment of the URL's path must represent + /// the fully qualified name of the type (as in + /// `path/google.protobuf.Duration`). The name should be in a canonical form + /// (e.g., leading "." is not accepted). /// - /// In practice, teams usually precompile into the binary all types that they - /// expect it to use in the context of Any. However, for URLs which use the - /// scheme `http`, `https`, or no scheme, one can optionally set up a type - /// server that maps type URLs to message definitions as follows: + /// In practice, teams usually precompile into the binary all types that they + /// expect it to use in the context of Any. However, for URLs which use the + /// scheme `http`, `https`, or no scheme, one can optionally set up a type + /// server that maps type URLs to message definitions as follows: /// - /// * If no scheme is provided, `https` is assumed. - /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] - /// value in binary format, or produce an error. - /// * Applications are allowed to cache lookup results based on the - /// URL, or have them precompiled into a binary to avoid any - /// lookup. Therefore, binary compatibility needs to be preserved - /// on changes to types. (Use versioned type names to manage - /// breaking changes.) + /// * If no scheme is provided, `https` is assumed. + /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] + /// value in binary format, or produce an error. + /// * Applications are allowed to cache lookup results based on the + /// URL, or have them precompiled into a binary to avoid any + /// lookup. Therefore, binary compatibility needs to be preserved + /// on changes to types. (Use versioned type names to manage + /// breaking changes.) /// - /// Note: this functionality is not currently available in the official - /// protobuf release, and it is not used for type URLs beginning with - /// type.googleapis.com. As of May 2023, there are no widely used type server - /// implementations and no plans to implement one. + /// Note: this functionality is not currently available in the official + /// protobuf release, and it is not used for type URLs beginning with + /// type.googleapis.com. As of May 2023, there are no widely used type server + /// implementations and no plans to implement one. /// - /// Schemes other than `http`, `https` (or the empty scheme) might be - /// used with implementation specific semantics. + /// Schemes other than `http`, `https` (or the empty scheme) might be + /// used with implementation specific semantics. @$pb.TagNumber(1) $core.String get typeUrl => $_getSZ(0); @$pb.TagNumber(1) - set typeUrl($core.String v) { - $_setString(0, v); - } - + set typeUrl($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasTypeUrl() => $_has(0); @$pb.TagNumber(1) @@ -200,10 +195,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { @$pb.TagNumber(2) $core.List<$core.int> get value => $_getN(1); @$pb.TagNumber(2) - set value($core.List<$core.int> v) { - $_setBytes(1, v); - } - + set value($core.List<$core.int> value) => $_setBytes(1, value); @$pb.TagNumber(2) $core.bool hasValue() => $_has(1); @$pb.TagNumber(2) @@ -221,6 +213,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbenum.dart index ac5242a94..a829fd5b5 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// +// Generated from google/protobuf/any.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbjson.dart index dd4ad488e..1a9543b21 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/any.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// +// Generated from google/protobuf/any.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pb.dart index df56f3d49..ef0717317 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// +// Generated from google/protobuf/descriptor.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -26,19 +27,19 @@ class FileDescriptorSet extends $pb.GeneratedMessage { factory FileDescriptorSet({ $core.Iterable? file, }) { - final $result = create(); - if (file != null) { - $result.file.addAll(file); - } - return $result; + final result = create(); + if (file != null) result.file.addAll(file); + return result; } - FileDescriptorSet._() : super(); - factory FileDescriptorSet.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FileDescriptorSet.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FileDescriptorSet._(); + + factory FileDescriptorSet.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FileDescriptorSet.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FileDescriptorSet', @@ -49,21 +50,19 @@ class FileDescriptorSet extends $pb.GeneratedMessage { 1, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: FileDescriptorProto.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileDescriptorSet clone() => FileDescriptorSet()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileDescriptorSet copyWith(void Function(FileDescriptorSet) updates) => super.copyWith((message) => updates(message as FileDescriptorSet)) as FileDescriptorSet; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FileDescriptorSet create() => FileDescriptorSet._(); + @$core.override FileDescriptorSet createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -93,55 +92,32 @@ class FileDescriptorProto extends $pb.GeneratedMessage { $core.String? syntax, Edition? edition, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (package != null) { - $result.package = package; - } - if (dependency != null) { - $result.dependency.addAll(dependency); - } - if (messageType != null) { - $result.messageType.addAll(messageType); - } - if (enumType != null) { - $result.enumType.addAll(enumType); - } - if (service != null) { - $result.service.addAll(service); - } - if (extension != null) { - $result.extension.addAll(extension); - } - if (options != null) { - $result.options = options; - } - if (sourceCodeInfo != null) { - $result.sourceCodeInfo = sourceCodeInfo; - } - if (publicDependency != null) { - $result.publicDependency.addAll(publicDependency); - } - if (weakDependency != null) { - $result.weakDependency.addAll(weakDependency); - } - if (syntax != null) { - $result.syntax = syntax; - } - if (edition != null) { - $result.edition = edition; - } - return $result; - } - FileDescriptorProto._() : super(); - factory FileDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FileDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (name != null) result.name = name; + if (package != null) result.package = package; + if (dependency != null) result.dependency.addAll(dependency); + if (messageType != null) result.messageType.addAll(messageType); + if (enumType != null) result.enumType.addAll(enumType); + if (service != null) result.service.addAll(service); + if (extension != null) result.extension.addAll(extension); + if (options != null) result.options = options; + if (sourceCodeInfo != null) result.sourceCodeInfo = sourceCodeInfo; + if (publicDependency != null) + result.publicDependency.addAll(publicDependency); + if (weakDependency != null) result.weakDependency.addAll(weakDependency); + if (syntax != null) result.syntax = syntax; + if (edition != null) result.edition = edition; + return result; + } + + FileDescriptorProto._(); + + factory FileDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FileDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FileDescriptorProto', @@ -177,21 +153,19 @@ class FileDescriptorProto extends $pb.GeneratedMessage { valueOf: Edition.valueOf, enumValues: Edition.values); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileDescriptorProto clone() => FileDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileDescriptorProto copyWith(void Function(FileDescriptorProto) updates) => super.copyWith((message) => updates(message as FileDescriptorProto)) as FileDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FileDescriptorProto create() => FileDescriptorProto._(); + @$core.override FileDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -203,10 +177,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -215,10 +186,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get package => $_getSZ(1); @$pb.TagNumber(2) - set package($core.String v) { - $_setString(1, v); - } - + set package($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasPackage() => $_has(1); @$pb.TagNumber(2) @@ -244,10 +212,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(8) FileOptions get options => $_getN(7); @$pb.TagNumber(8) - set options(FileOptions v) { - $_setField(8, v); - } - + set options(FileOptions value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasOptions() => $_has(7); @$pb.TagNumber(8) @@ -262,10 +227,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(9) SourceCodeInfo get sourceCodeInfo => $_getN(8); @$pb.TagNumber(9) - set sourceCodeInfo(SourceCodeInfo v) { - $_setField(9, v); - } - + set sourceCodeInfo(SourceCodeInfo value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasSourceCodeInfo() => $_has(8); @$pb.TagNumber(9) @@ -282,17 +244,14 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(11) $pb.PbList<$core.int> get weakDependency => $_getList(10); - /// The syntax of the proto file. - /// The supported values are "proto2", "proto3", and "editions". + /// The syntax of the proto file. + /// The supported values are "proto2", "proto3", and "editions". /// - /// If `edition` is present, this value must be "editions". + /// If `edition` is present, this value must be "editions". @$pb.TagNumber(12) $core.String get syntax => $_getSZ(11); @$pb.TagNumber(12) - set syntax($core.String v) { - $_setString(11, v); - } - + set syntax($core.String value) => $_setString(11, value); @$pb.TagNumber(12) $core.bool hasSyntax() => $_has(11); @$pb.TagNumber(12) @@ -302,10 +261,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(14) Edition get edition => $_getN(12); @$pb.TagNumber(14) - set edition(Edition v) { - $_setField(14, v); - } - + set edition(Edition value) => $_setField(14, value); @$pb.TagNumber(14) $core.bool hasEdition() => $_has(12); @$pb.TagNumber(14) @@ -318,25 +274,21 @@ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { $core.int? end, ExtensionRangeOptions? options, }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - if (options != null) { - $result.options = options; - } - return $result; + final result = create(); + if (start != null) result.start = start; + if (end != null) result.end = end; + if (options != null) result.options = options; + return result; } - DescriptorProto_ExtensionRange._() : super(); - factory DescriptorProto_ExtensionRange.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DescriptorProto_ExtensionRange.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DescriptorProto_ExtensionRange._(); + + factory DescriptorProto_ExtensionRange.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DescriptorProto_ExtensionRange.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DescriptorProto.ExtensionRange', @@ -348,25 +300,23 @@ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ExtensionRangeOptions.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto_ExtensionRange clone() => DescriptorProto_ExtensionRange()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto_ExtensionRange copyWith( void Function(DescriptorProto_ExtensionRange) updates) => super.copyWith( (message) => updates(message as DescriptorProto_ExtensionRange)) as DescriptorProto_ExtensionRange; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DescriptorProto_ExtensionRange create() => DescriptorProto_ExtensionRange._(); + @$core.override DescriptorProto_ExtensionRange createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -378,10 +328,7 @@ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get start => $_getIZ(0); @$pb.TagNumber(1) - set start($core.int v) { - $_setSignedInt32(0, v); - } - + set start($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) @@ -390,10 +337,7 @@ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get end => $_getIZ(1); @$pb.TagNumber(2) - set end($core.int v) { - $_setSignedInt32(1, v); - } - + set end($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) @@ -402,10 +346,7 @@ class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { @$pb.TagNumber(3) ExtensionRangeOptions get options => $_getN(2); @$pb.TagNumber(3) - set options(ExtensionRangeOptions v) { - $_setField(3, v); - } - + set options(ExtensionRangeOptions value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasOptions() => $_has(2); @$pb.TagNumber(3) @@ -422,22 +363,20 @@ class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { $core.int? start, $core.int? end, }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; + final result = create(); + if (start != null) result.start = start; + if (end != null) result.end = end; + return result; } - DescriptorProto_ReservedRange._() : super(); - factory DescriptorProto_ReservedRange.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DescriptorProto_ReservedRange.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DescriptorProto_ReservedRange._(); + + factory DescriptorProto_ReservedRange.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DescriptorProto_ReservedRange.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DescriptorProto.ReservedRange', @@ -448,25 +387,23 @@ class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto_ReservedRange clone() => DescriptorProto_ReservedRange()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto_ReservedRange copyWith( void Function(DescriptorProto_ReservedRange) updates) => super.copyWith( (message) => updates(message as DescriptorProto_ReservedRange)) as DescriptorProto_ReservedRange; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DescriptorProto_ReservedRange create() => DescriptorProto_ReservedRange._(); + @$core.override DescriptorProto_ReservedRange createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -478,10 +415,7 @@ class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get start => $_getIZ(0); @$pb.TagNumber(1) - set start($core.int v) { - $_setSignedInt32(0, v); - } - + set start($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) @@ -490,10 +424,7 @@ class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get end => $_getIZ(1); @$pb.TagNumber(2) - set end($core.int v) { - $_setSignedInt32(1, v); - } - + set end($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) @@ -514,46 +445,28 @@ class DescriptorProto extends $pb.GeneratedMessage { $core.Iterable? reservedRange, $core.Iterable<$core.String>? reservedName, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (field != null) { - $result.field.addAll(field); - } - if (nestedType != null) { - $result.nestedType.addAll(nestedType); - } - if (enumType != null) { - $result.enumType.addAll(enumType); - } - if (extensionRange != null) { - $result.extensionRange.addAll(extensionRange); - } - if (extension != null) { - $result.extension.addAll(extension); - } - if (options != null) { - $result.options = options; - } - if (oneofDecl != null) { - $result.oneofDecl.addAll(oneofDecl); - } - if (reservedRange != null) { - $result.reservedRange.addAll(reservedRange); - } - if (reservedName != null) { - $result.reservedName.addAll(reservedName); - } - return $result; - } - DescriptorProto._() : super(); - factory DescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (name != null) result.name = name; + if (field != null) result.field.addAll(field); + if (nestedType != null) result.nestedType.addAll(nestedType); + if (enumType != null) result.enumType.addAll(enumType); + if (extensionRange != null) result.extensionRange.addAll(extensionRange); + if (extension != null) result.extension.addAll(extension); + if (options != null) result.options = options; + if (oneofDecl != null) result.oneofDecl.addAll(oneofDecl); + if (reservedRange != null) result.reservedRange.addAll(reservedRange); + if (reservedName != null) result.reservedName.addAll(reservedName); + return result; + } + + DescriptorProto._(); + + factory DescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DescriptorProto', @@ -586,21 +499,19 @@ class DescriptorProto extends $pb.GeneratedMessage { subBuilder: DescriptorProto_ReservedRange.create) ..pPS(10, _omitFieldNames ? '' : 'reservedName'); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto clone() => DescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DescriptorProto copyWith(void Function(DescriptorProto) updates) => super.copyWith((message) => updates(message as DescriptorProto)) as DescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DescriptorProto create() => DescriptorProto._(); + @$core.override DescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -612,10 +523,7 @@ class DescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -639,10 +547,7 @@ class DescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(7) MessageOptions get options => $_getN(6); @$pb.TagNumber(7) - set options(MessageOptions v) { - $_setField(7, v); - } - + set options(MessageOptions value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasOptions() => $_has(6); @$pb.TagNumber(7) @@ -670,31 +575,24 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { $core.bool? reserved, $core.bool? repeated, }) { - final $result = create(); - if (number != null) { - $result.number = number; - } - if (fullName != null) { - $result.fullName = fullName; - } - if (type != null) { - $result.type = type; - } - if (reserved != null) { - $result.reserved = reserved; - } - if (repeated != null) { - $result.repeated = repeated; - } - return $result; + final result = create(); + if (number != null) result.number = number; + if (fullName != null) result.fullName = fullName; + if (type != null) result.type = type; + if (reserved != null) result.reserved = reserved; + if (repeated != null) result.repeated = repeated; + return result; } - ExtensionRangeOptions_Declaration._() : super(); - factory ExtensionRangeOptions_Declaration.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ExtensionRangeOptions_Declaration.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ExtensionRangeOptions_Declaration._(); + + factory ExtensionRangeOptions_Declaration.fromBuffer( + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ExtensionRangeOptions_Declaration.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ExtensionRangeOptions.Declaration', @@ -708,25 +606,23 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { ..aOB(6, _omitFieldNames ? '' : 'repeated') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExtensionRangeOptions_Declaration clone() => ExtensionRangeOptions_Declaration()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExtensionRangeOptions_Declaration copyWith( void Function(ExtensionRangeOptions_Declaration) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions_Declaration)) as ExtensionRangeOptions_Declaration; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ExtensionRangeOptions_Declaration create() => ExtensionRangeOptions_Declaration._(); + @$core.override ExtensionRangeOptions_Declaration createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -740,10 +636,7 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get number => $_getIZ(0); @$pb.TagNumber(1) - set number($core.int v) { - $_setSignedInt32(0, v); - } - + set number($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasNumber() => $_has(0); @$pb.TagNumber(1) @@ -754,10 +647,7 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get fullName => $_getSZ(1); @$pb.TagNumber(2) - set fullName($core.String v) { - $_setString(1, v); - } - + set fullName($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasFullName() => $_has(1); @$pb.TagNumber(2) @@ -769,10 +659,7 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get type => $_getSZ(2); @$pb.TagNumber(3) - set type($core.String v) { - $_setString(2, v); - } - + set type($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasType() => $_has(2); @$pb.TagNumber(3) @@ -784,10 +671,7 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get reserved => $_getBF(3); @$pb.TagNumber(5) - set reserved($core.bool v) { - $_setBool(3, v); - } - + set reserved($core.bool value) => $_setBool(3, value); @$pb.TagNumber(5) $core.bool hasReserved() => $_has(3); @$pb.TagNumber(5) @@ -798,10 +682,7 @@ class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get repeated => $_getBF(4); @$pb.TagNumber(6) - set repeated($core.bool v) { - $_setBool(4, v); - } - + set repeated($core.bool value) => $_setBool(4, value); @$pb.TagNumber(6) $core.bool hasRepeated() => $_has(4); @$pb.TagNumber(6) @@ -815,28 +696,23 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (declaration != null) { - $result.declaration.addAll(declaration); - } - if (verification != null) { - $result.verification = verification; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + final result = create(); + if (declaration != null) result.declaration.addAll(declaration); + if (verification != null) result.verification = verification; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - ExtensionRangeOptions._() : super(); - factory ExtensionRangeOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ExtensionRangeOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ExtensionRangeOptions._(); + + factory ExtensionRangeOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ExtensionRangeOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ExtensionRangeOptions', @@ -858,23 +734,21 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExtensionRangeOptions clone() => ExtensionRangeOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ExtensionRangeOptions copyWith( void Function(ExtensionRangeOptions) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions)) as ExtensionRangeOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ExtensionRangeOptions create() => ExtensionRangeOptions._(); + @$core.override ExtensionRangeOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -895,10 +769,8 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) ExtensionRangeOptions_VerificationState get verification => $_getN(1); @$pb.TagNumber(3) - set verification(ExtensionRangeOptions_VerificationState v) { - $_setField(3, v); - } - + set verification(ExtensionRangeOptions_VerificationState value) => + $_setField(3, value); @$pb.TagNumber(3) $core.bool hasVerification() => $_has(1); @$pb.TagNumber(3) @@ -908,10 +780,7 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { @$pb.TagNumber(50) FeatureSet get features => $_getN(2); @$pb.TagNumber(50) - set features(FeatureSet v) { - $_setField(50, v); - } - + set features(FeatureSet value) => $_setField(50, value); @$pb.TagNumber(50) $core.bool hasFeatures() => $_has(2); @$pb.TagNumber(50) @@ -939,49 +808,29 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { $core.String? jsonName, $core.bool? proto3Optional, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extendee != null) { - $result.extendee = extendee; - } - if (number != null) { - $result.number = number; - } - if (label != null) { - $result.label = label; - } - if (type != null) { - $result.type = type; - } - if (typeName != null) { - $result.typeName = typeName; - } - if (defaultValue != null) { - $result.defaultValue = defaultValue; - } - if (options != null) { - $result.options = options; - } - if (oneofIndex != null) { - $result.oneofIndex = oneofIndex; - } - if (jsonName != null) { - $result.jsonName = jsonName; - } - if (proto3Optional != null) { - $result.proto3Optional = proto3Optional; - } - return $result; - } - FieldDescriptorProto._() : super(); - factory FieldDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (name != null) result.name = name; + if (extendee != null) result.extendee = extendee; + if (number != null) result.number = number; + if (label != null) result.label = label; + if (type != null) result.type = type; + if (typeName != null) result.typeName = typeName; + if (defaultValue != null) result.defaultValue = defaultValue; + if (options != null) result.options = options; + if (oneofIndex != null) result.oneofIndex = oneofIndex; + if (jsonName != null) result.jsonName = jsonName; + if (proto3Optional != null) result.proto3Optional = proto3Optional; + return result; + } + + FieldDescriptorProto._(); + + factory FieldDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldDescriptorProto', @@ -1009,22 +858,20 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { ..aOS(10, _omitFieldNames ? '' : 'jsonName') ..aOB(17, _omitFieldNames ? '' : 'proto3Optional'); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldDescriptorProto clone() => FieldDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldDescriptorProto copyWith(void Function(FieldDescriptorProto) updates) => super.copyWith((message) => updates(message as FieldDescriptorProto)) as FieldDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldDescriptorProto create() => FieldDescriptorProto._(); + @$core.override FieldDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1036,10 +883,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1050,10 +894,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get extendee => $_getSZ(1); @$pb.TagNumber(2) - set extendee($core.String v) { - $_setString(1, v); - } - + set extendee($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasExtendee() => $_has(1); @$pb.TagNumber(2) @@ -1062,10 +903,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get number => $_getIZ(2); @$pb.TagNumber(3) - set number($core.int v) { - $_setSignedInt32(2, v); - } - + set number($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasNumber() => $_has(2); @$pb.TagNumber(3) @@ -1074,10 +912,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(4) FieldDescriptorProto_Label get label => $_getN(3); @$pb.TagNumber(4) - set label(FieldDescriptorProto_Label v) { - $_setField(4, v); - } - + set label(FieldDescriptorProto_Label value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasLabel() => $_has(3); @$pb.TagNumber(4) @@ -1088,10 +923,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(5) FieldDescriptorProto_Type get type => $_getN(4); @$pb.TagNumber(5) - set type(FieldDescriptorProto_Type v) { - $_setField(5, v); - } - + set type(FieldDescriptorProto_Type value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasType() => $_has(4); @$pb.TagNumber(5) @@ -1105,10 +937,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get typeName => $_getSZ(5); @$pb.TagNumber(6) - set typeName($core.String v) { - $_setString(5, v); - } - + set typeName($core.String value) => $_setString(5, value); @$pb.TagNumber(6) $core.bool hasTypeName() => $_has(5); @$pb.TagNumber(6) @@ -1121,10 +950,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.String get defaultValue => $_getSZ(6); @$pb.TagNumber(7) - set defaultValue($core.String v) { - $_setString(6, v); - } - + set defaultValue($core.String value) => $_setString(6, value); @$pb.TagNumber(7) $core.bool hasDefaultValue() => $_has(6); @$pb.TagNumber(7) @@ -1133,10 +959,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(8) FieldOptions get options => $_getN(7); @$pb.TagNumber(8) - set options(FieldOptions v) { - $_setField(8, v); - } - + set options(FieldOptions value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasOptions() => $_has(7); @$pb.TagNumber(8) @@ -1149,10 +972,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.int get oneofIndex => $_getIZ(8); @$pb.TagNumber(9) - set oneofIndex($core.int v) { - $_setSignedInt32(8, v); - } - + set oneofIndex($core.int value) => $_setSignedInt32(8, value); @$pb.TagNumber(9) $core.bool hasOneofIndex() => $_has(8); @$pb.TagNumber(9) @@ -1165,43 +985,37 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get jsonName => $_getSZ(9); @$pb.TagNumber(10) - set jsonName($core.String v) { - $_setString(9, v); - } - + set jsonName($core.String value) => $_setString(9, value); @$pb.TagNumber(10) $core.bool hasJsonName() => $_has(9); @$pb.TagNumber(10) void clearJsonName() => $_clearField(10); - /// If true, this is a proto3 "optional". When a proto3 field is optional, it - /// tracks presence regardless of field type. + /// If true, this is a proto3 "optional". When a proto3 field is optional, it + /// tracks presence regardless of field type. /// - /// When proto3_optional is true, this field must belong to a oneof to signal - /// to old proto3 clients that presence is tracked for this field. This oneof - /// is known as a "synthetic" oneof, and this field must be its sole member - /// (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - /// exist in the descriptor only, and do not generate any API. Synthetic oneofs - /// must be ordered after all "real" oneofs. + /// When proto3_optional is true, this field must belong to a oneof to signal + /// to old proto3 clients that presence is tracked for this field. This oneof + /// is known as a "synthetic" oneof, and this field must be its sole member + /// (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs + /// exist in the descriptor only, and do not generate any API. Synthetic oneofs + /// must be ordered after all "real" oneofs. /// - /// For message fields, proto3_optional doesn't create any semantic change, - /// since non-repeated message fields always track presence. However it still - /// indicates the semantic detail of whether the user wrote "optional" or not. - /// This can be useful for round-tripping the .proto file. For consistency we - /// give message fields a synthetic oneof also, even though it is not required - /// to track presence. This is especially important because the parser can't - /// tell if a field is a message or an enum, so it must always create a - /// synthetic oneof. + /// For message fields, proto3_optional doesn't create any semantic change, + /// since non-repeated message fields always track presence. However it still + /// indicates the semantic detail of whether the user wrote "optional" or not. + /// This can be useful for round-tripping the .proto file. For consistency we + /// give message fields a synthetic oneof also, even though it is not required + /// to track presence. This is especially important because the parser can't + /// tell if a field is a message or an enum, so it must always create a + /// synthetic oneof. /// - /// Proto2 optional fields do not set this flag, because they already indicate - /// optional with `LABEL_OPTIONAL`. + /// Proto2 optional fields do not set this flag, because they already indicate + /// optional with `LABEL_OPTIONAL`. @$pb.TagNumber(17) $core.bool get proto3Optional => $_getBF(10); @$pb.TagNumber(17) - set proto3Optional($core.bool v) { - $_setBool(10, v); - } - + set proto3Optional($core.bool value) => $_setBool(10, value); @$pb.TagNumber(17) $core.bool hasProto3Optional() => $_has(10); @$pb.TagNumber(17) @@ -1214,22 +1028,20 @@ class OneofDescriptorProto extends $pb.GeneratedMessage { $core.String? name, OneofOptions? options, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (options != null) { - $result.options = options; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (options != null) result.options = options; + return result; } - OneofDescriptorProto._() : super(); - factory OneofDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OneofDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OneofDescriptorProto._(); + + factory OneofDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OneofDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OneofDescriptorProto', @@ -1240,22 +1052,20 @@ class OneofDescriptorProto extends $pb.GeneratedMessage { ..aOM(2, _omitFieldNames ? '' : 'options', subBuilder: OneofOptions.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OneofDescriptorProto clone() => OneofDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OneofDescriptorProto copyWith(void Function(OneofDescriptorProto) updates) => super.copyWith((message) => updates(message as OneofDescriptorProto)) as OneofDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OneofDescriptorProto create() => OneofDescriptorProto._(); + @$core.override OneofDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1267,10 +1077,7 @@ class OneofDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1279,10 +1086,7 @@ class OneofDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(2) OneofOptions get options => $_getN(1); @$pb.TagNumber(2) - set options(OneofOptions v) { - $_setField(2, v); - } - + set options(OneofOptions value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasOptions() => $_has(1); @$pb.TagNumber(2) @@ -1291,34 +1095,32 @@ class OneofDescriptorProto extends $pb.GeneratedMessage { OneofOptions ensureOptions() => $_ensure(1); } -/// Range of reserved numeric values. Reserved values may not be used by -/// entries in the same enum. Reserved ranges may not overlap. +/// Range of reserved numeric values. Reserved values may not be used by +/// entries in the same enum. Reserved ranges may not overlap. /// -/// Note that this is distinct from DescriptorProto.ReservedRange in that it -/// is inclusive such that it can appropriately represent the entire int32 -/// domain. +/// Note that this is distinct from DescriptorProto.ReservedRange in that it +/// is inclusive such that it can appropriately represent the entire int32 +/// domain. class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { factory EnumDescriptorProto_EnumReservedRange({ $core.int? start, $core.int? end, }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; + final result = create(); + if (start != null) result.start = start; + if (end != null) result.end = end; + return result; } - EnumDescriptorProto_EnumReservedRange._() : super(); + + EnumDescriptorProto_EnumReservedRange._(); + factory EnumDescriptorProto_EnumReservedRange.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumDescriptorProto_EnumReservedRange.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumDescriptorProto_EnumReservedRange.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumDescriptorProto.EnumReservedRange', @@ -1329,25 +1131,23 @@ class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumDescriptorProto_EnumReservedRange clone() => EnumDescriptorProto_EnumReservedRange()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumDescriptorProto_EnumReservedRange copyWith( void Function(EnumDescriptorProto_EnumReservedRange) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto_EnumReservedRange)) as EnumDescriptorProto_EnumReservedRange; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumDescriptorProto_EnumReservedRange create() => EnumDescriptorProto_EnumReservedRange._(); + @$core.override EnumDescriptorProto_EnumReservedRange createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1360,10 +1160,7 @@ class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get start => $_getIZ(0); @$pb.TagNumber(1) - set start($core.int v) { - $_setSignedInt32(0, v); - } - + set start($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) @@ -1372,10 +1169,7 @@ class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get end => $_getIZ(1); @$pb.TagNumber(2) - set end($core.int v) { - $_setSignedInt32(1, v); - } - + set end($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) @@ -1391,31 +1185,23 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { $core.Iterable? reservedRange, $core.Iterable<$core.String>? reservedName, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (value != null) { - $result.value.addAll(value); - } - if (options != null) { - $result.options = options; - } - if (reservedRange != null) { - $result.reservedRange.addAll(reservedRange); - } - if (reservedName != null) { - $result.reservedName.addAll(reservedName); - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (value != null) result.value.addAll(value); + if (options != null) result.options = options; + if (reservedRange != null) result.reservedRange.addAll(reservedRange); + if (reservedName != null) result.reservedName.addAll(reservedName); + return result; } - EnumDescriptorProto._() : super(); - factory EnumDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnumDescriptorProto._(); + + factory EnumDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumDescriptorProto', @@ -1433,21 +1219,19 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { subBuilder: EnumDescriptorProto_EnumReservedRange.create) ..pPS(5, _omitFieldNames ? '' : 'reservedName'); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumDescriptorProto clone() => EnumDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumDescriptorProto copyWith(void Function(EnumDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto)) as EnumDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumDescriptorProto create() => EnumDescriptorProto._(); + @$core.override EnumDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1459,10 +1243,7 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1474,10 +1255,7 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(3) EnumOptions get options => $_getN(2); @$pb.TagNumber(3) - set options(EnumOptions v) { - $_setField(3, v); - } - + set options(EnumOptions value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasOptions() => $_has(2); @$pb.TagNumber(3) @@ -1505,25 +1283,21 @@ class EnumValueDescriptorProto extends $pb.GeneratedMessage { $core.int? number, EnumValueOptions? options, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (number != null) { - $result.number = number; - } - if (options != null) { - $result.options = options; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (number != null) result.number = number; + if (options != null) result.options = options; + return result; } - EnumValueDescriptorProto._() : super(); - factory EnumValueDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumValueDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnumValueDescriptorProto._(); + + factory EnumValueDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumValueDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumValueDescriptorProto', @@ -1535,23 +1309,21 @@ class EnumValueDescriptorProto extends $pb.GeneratedMessage { ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumValueOptions.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumValueDescriptorProto clone() => EnumValueDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumValueDescriptorProto copyWith( void Function(EnumValueDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumValueDescriptorProto)) as EnumValueDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumValueDescriptorProto create() => EnumValueDescriptorProto._(); + @$core.override EnumValueDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1563,10 +1335,7 @@ class EnumValueDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1575,10 +1344,7 @@ class EnumValueDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get number => $_getIZ(1); @$pb.TagNumber(2) - set number($core.int v) { - $_setSignedInt32(1, v); - } - + set number($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasNumber() => $_has(1); @$pb.TagNumber(2) @@ -1587,10 +1353,7 @@ class EnumValueDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(3) EnumValueOptions get options => $_getN(2); @$pb.TagNumber(3) - set options(EnumValueOptions v) { - $_setField(3, v); - } - + set options(EnumValueOptions value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasOptions() => $_has(2); @$pb.TagNumber(3) @@ -1606,25 +1369,21 @@ class ServiceDescriptorProto extends $pb.GeneratedMessage { $core.Iterable? method, ServiceOptions? options, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (method != null) { - $result.method.addAll(method); - } - if (options != null) { - $result.options = options; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (method != null) result.method.addAll(method); + if (options != null) result.options = options; + return result; } - ServiceDescriptorProto._() : super(); - factory ServiceDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ServiceDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ServiceDescriptorProto._(); + + factory ServiceDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ServiceDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ServiceDescriptorProto', @@ -1638,23 +1397,21 @@ class ServiceDescriptorProto extends $pb.GeneratedMessage { ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ServiceOptions.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ServiceDescriptorProto clone() => ServiceDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ServiceDescriptorProto copyWith( void Function(ServiceDescriptorProto) updates) => super.copyWith((message) => updates(message as ServiceDescriptorProto)) as ServiceDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ServiceDescriptorProto create() => ServiceDescriptorProto._(); + @$core.override ServiceDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1666,10 +1423,7 @@ class ServiceDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1681,10 +1435,7 @@ class ServiceDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(3) ServiceOptions get options => $_getN(2); @$pb.TagNumber(3) - set options(ServiceOptions v) { - $_setField(3, v); - } - + set options(ServiceOptions value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasOptions() => $_has(2); @$pb.TagNumber(3) @@ -1703,34 +1454,24 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { $core.bool? clientStreaming, $core.bool? serverStreaming, }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (inputType != null) { - $result.inputType = inputType; - } - if (outputType != null) { - $result.outputType = outputType; - } - if (options != null) { - $result.options = options; - } - if (clientStreaming != null) { - $result.clientStreaming = clientStreaming; - } - if (serverStreaming != null) { - $result.serverStreaming = serverStreaming; - } - return $result; + final result = create(); + if (name != null) result.name = name; + if (inputType != null) result.inputType = inputType; + if (outputType != null) result.outputType = outputType; + if (options != null) result.options = options; + if (clientStreaming != null) result.clientStreaming = clientStreaming; + if (serverStreaming != null) result.serverStreaming = serverStreaming; + return result; } - MethodDescriptorProto._() : super(); - factory MethodDescriptorProto.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MethodDescriptorProto.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MethodDescriptorProto._(); + + factory MethodDescriptorProto.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MethodDescriptorProto.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MethodDescriptorProto', @@ -1745,23 +1486,21 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'clientStreaming') ..aOB(6, _omitFieldNames ? '' : 'serverStreaming'); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodDescriptorProto clone() => MethodDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodDescriptorProto copyWith( void Function(MethodDescriptorProto) updates) => super.copyWith((message) => updates(message as MethodDescriptorProto)) as MethodDescriptorProto; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MethodDescriptorProto create() => MethodDescriptorProto._(); + @$core.override MethodDescriptorProto createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -1773,10 +1512,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @$pb.TagNumber(1) - set name($core.String v) { - $_setString(0, v); - } - + set name($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) @@ -1787,10 +1523,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get inputType => $_getSZ(1); @$pb.TagNumber(2) - set inputType($core.String v) { - $_setString(1, v); - } - + set inputType($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasInputType() => $_has(1); @$pb.TagNumber(2) @@ -1799,10 +1532,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get outputType => $_getSZ(2); @$pb.TagNumber(3) - set outputType($core.String v) { - $_setString(2, v); - } - + set outputType($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasOutputType() => $_has(2); @$pb.TagNumber(3) @@ -1811,10 +1541,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(4) MethodOptions get options => $_getN(3); @$pb.TagNumber(4) - set options(MethodOptions v) { - $_setField(4, v); - } - + set options(MethodOptions value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasOptions() => $_has(3); @$pb.TagNumber(4) @@ -1826,10 +1553,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get clientStreaming => $_getBF(4); @$pb.TagNumber(5) - set clientStreaming($core.bool v) { - $_setBool(4, v); - } - + set clientStreaming($core.bool value) => $_setBool(4, value); @$pb.TagNumber(5) $core.bool hasClientStreaming() => $_has(4); @$pb.TagNumber(5) @@ -1839,10 +1563,7 @@ class MethodDescriptorProto extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get serverStreaming => $_getBF(5); @$pb.TagNumber(6) - set serverStreaming($core.bool v) { - $_setBool(5, v); - } - + set serverStreaming($core.bool value) => $_setBool(5, value); @$pb.TagNumber(6) $core.bool hasServerStreaming() => $_has(5); @$pb.TagNumber(6) @@ -1874,80 +1595,45 @@ class FileOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (javaPackage != null) { - $result.javaPackage = javaPackage; - } - if (javaOuterClassname != null) { - $result.javaOuterClassname = javaOuterClassname; - } - if (optimizeFor != null) { - $result.optimizeFor = optimizeFor; - } - if (javaMultipleFiles != null) { - $result.javaMultipleFiles = javaMultipleFiles; - } - if (goPackage != null) { - $result.goPackage = goPackage; - } - if (ccGenericServices != null) { - $result.ccGenericServices = ccGenericServices; - } - if (javaGenericServices != null) { - $result.javaGenericServices = javaGenericServices; - } - if (pyGenericServices != null) { - $result.pyGenericServices = pyGenericServices; - } - if (javaGenerateEqualsAndHash != null) { - // ignore: deprecated_member_use_from_same_package - $result.javaGenerateEqualsAndHash = javaGenerateEqualsAndHash; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (javaStringCheckUtf8 != null) { - $result.javaStringCheckUtf8 = javaStringCheckUtf8; - } - if (ccEnableArenas != null) { - $result.ccEnableArenas = ccEnableArenas; - } - if (objcClassPrefix != null) { - $result.objcClassPrefix = objcClassPrefix; - } - if (csharpNamespace != null) { - $result.csharpNamespace = csharpNamespace; - } - if (swiftPrefix != null) { - $result.swiftPrefix = swiftPrefix; - } - if (phpClassPrefix != null) { - $result.phpClassPrefix = phpClassPrefix; - } - if (phpNamespace != null) { - $result.phpNamespace = phpNamespace; - } - if (phpMetadataNamespace != null) { - $result.phpMetadataNamespace = phpMetadataNamespace; - } - if (rubyPackage != null) { - $result.rubyPackage = rubyPackage; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - FileOptions._() : super(); - factory FileOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FileOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (javaPackage != null) result.javaPackage = javaPackage; + if (javaOuterClassname != null) + result.javaOuterClassname = javaOuterClassname; + if (optimizeFor != null) result.optimizeFor = optimizeFor; + if (javaMultipleFiles != null) result.javaMultipleFiles = javaMultipleFiles; + if (goPackage != null) result.goPackage = goPackage; + if (ccGenericServices != null) result.ccGenericServices = ccGenericServices; + if (javaGenericServices != null) + result.javaGenericServices = javaGenericServices; + if (pyGenericServices != null) result.pyGenericServices = pyGenericServices; + if (javaGenerateEqualsAndHash != null) + result.javaGenerateEqualsAndHash = javaGenerateEqualsAndHash; + if (deprecated != null) result.deprecated = deprecated; + if (javaStringCheckUtf8 != null) + result.javaStringCheckUtf8 = javaStringCheckUtf8; + if (ccEnableArenas != null) result.ccEnableArenas = ccEnableArenas; + if (objcClassPrefix != null) result.objcClassPrefix = objcClassPrefix; + if (csharpNamespace != null) result.csharpNamespace = csharpNamespace; + if (swiftPrefix != null) result.swiftPrefix = swiftPrefix; + if (phpClassPrefix != null) result.phpClassPrefix = phpClassPrefix; + if (phpNamespace != null) result.phpNamespace = phpNamespace; + if (phpMetadataNamespace != null) + result.phpMetadataNamespace = phpMetadataNamespace; + if (rubyPackage != null) result.rubyPackage = rubyPackage; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; + } + + FileOptions._(); + + factory FileOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FileOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FileOptions', @@ -1986,21 +1672,19 @@ class FileOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileOptions clone() => FileOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FileOptions copyWith(void Function(FileOptions) updates) => super.copyWith((message) => updates(message as FileOptions)) as FileOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FileOptions create() => FileOptions._(); + @$core.override FileOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -2015,10 +1699,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get javaPackage => $_getSZ(0); @$pb.TagNumber(1) - set javaPackage($core.String v) { - $_setString(0, v); - } - + set javaPackage($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasJavaPackage() => $_has(0); @$pb.TagNumber(1) @@ -2032,10 +1713,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get javaOuterClassname => $_getSZ(1); @$pb.TagNumber(8) - set javaOuterClassname($core.String v) { - $_setString(1, v); - } - + set javaOuterClassname($core.String value) => $_setString(1, value); @$pb.TagNumber(8) $core.bool hasJavaOuterClassname() => $_has(1); @$pb.TagNumber(8) @@ -2044,10 +1722,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(9) FileOptions_OptimizeMode get optimizeFor => $_getN(2); @$pb.TagNumber(9) - set optimizeFor(FileOptions_OptimizeMode v) { - $_setField(9, v); - } - + set optimizeFor(FileOptions_OptimizeMode value) => $_setField(9, value); @$pb.TagNumber(9) $core.bool hasOptimizeFor() => $_has(2); @$pb.TagNumber(9) @@ -2062,10 +1737,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get javaMultipleFiles => $_getBF(3); @$pb.TagNumber(10) - set javaMultipleFiles($core.bool v) { - $_setBool(3, v); - } - + set javaMultipleFiles($core.bool value) => $_setBool(3, value); @$pb.TagNumber(10) $core.bool hasJavaMultipleFiles() => $_has(3); @$pb.TagNumber(10) @@ -2079,32 +1751,26 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.String get goPackage => $_getSZ(4); @$pb.TagNumber(11) - set goPackage($core.String v) { - $_setString(4, v); - } - + set goPackage($core.String value) => $_setString(4, value); @$pb.TagNumber(11) $core.bool hasGoPackage() => $_has(4); @$pb.TagNumber(11) void clearGoPackage() => $_clearField(11); - /// Should generic services be generated in each language? "Generic" services - /// are not specific to any particular RPC system. They are generated by the - /// main code generators in each language (without additional plugins). - /// Generic services were the only kind of service generation supported by - /// early versions of google.protobuf. + /// Should generic services be generated in each language? "Generic" services + /// are not specific to any particular RPC system. They are generated by the + /// main code generators in each language (without additional plugins). + /// Generic services were the only kind of service generation supported by + /// early versions of google.protobuf. /// - /// Generic services are now considered deprecated in favor of using plugins - /// that generate code specific to your particular RPC system. Therefore, - /// these default to false. Old code which depends on generic services should - /// explicitly set them to true. + /// Generic services are now considered deprecated in favor of using plugins + /// that generate code specific to your particular RPC system. Therefore, + /// these default to false. Old code which depends on generic services should + /// explicitly set them to true. @$pb.TagNumber(16) $core.bool get ccGenericServices => $_getBF(5); @$pb.TagNumber(16) - set ccGenericServices($core.bool v) { - $_setBool(5, v); - } - + set ccGenericServices($core.bool value) => $_setBool(5, value); @$pb.TagNumber(16) $core.bool hasCcGenericServices() => $_has(5); @$pb.TagNumber(16) @@ -2113,10 +1779,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(17) $core.bool get javaGenericServices => $_getBF(6); @$pb.TagNumber(17) - set javaGenericServices($core.bool v) { - $_setBool(6, v); - } - + set javaGenericServices($core.bool value) => $_setBool(6, value); @$pb.TagNumber(17) $core.bool hasJavaGenericServices() => $_has(6); @$pb.TagNumber(17) @@ -2125,10 +1788,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(18) $core.bool get pyGenericServices => $_getBF(7); @$pb.TagNumber(18) - set pyGenericServices($core.bool v) { - $_setBool(7, v); - } - + set pyGenericServices($core.bool value) => $_setBool(7, value); @$pb.TagNumber(18) $core.bool hasPyGenericServices() => $_has(7); @$pb.TagNumber(18) @@ -2140,10 +1800,7 @@ class FileOptions extends $pb.GeneratedMessage { $core.bool get javaGenerateEqualsAndHash => $_getBF(8); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) - set javaGenerateEqualsAndHash($core.bool v) { - $_setBool(8, v); - } - + set javaGenerateEqualsAndHash($core.bool value) => $_setBool(8, value); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) $core.bool hasJavaGenerateEqualsAndHash() => $_has(8); @@ -2158,32 +1815,26 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(23) $core.bool get deprecated => $_getBF(9); @$pb.TagNumber(23) - set deprecated($core.bool v) { - $_setBool(9, v); - } - + set deprecated($core.bool value) => $_setBool(9, value); @$pb.TagNumber(23) $core.bool hasDeprecated() => $_has(9); @$pb.TagNumber(23) void clearDeprecated() => $_clearField(23); - /// A proto2 file can set this to true to opt in to UTF-8 checking for Java, - /// which will throw an exception if invalid UTF-8 is parsed from the wire or - /// assigned to a string field. + /// A proto2 file can set this to true to opt in to UTF-8 checking for Java, + /// which will throw an exception if invalid UTF-8 is parsed from the wire or + /// assigned to a string field. /// - /// TODO: clarify exactly what kinds of field types this option - /// applies to, and update these docs accordingly. + /// TODO: clarify exactly what kinds of field types this option + /// applies to, and update these docs accordingly. /// - /// Proto3 files already perform these checks. Setting the option explicitly to - /// false has no effect: it cannot be used to opt proto3 files out of UTF-8 - /// checks. + /// Proto3 files already perform these checks. Setting the option explicitly to + /// false has no effect: it cannot be used to opt proto3 files out of UTF-8 + /// checks. @$pb.TagNumber(27) $core.bool get javaStringCheckUtf8 => $_getBF(10); @$pb.TagNumber(27) - set javaStringCheckUtf8($core.bool v) { - $_setBool(10, v); - } - + set javaStringCheckUtf8($core.bool value) => $_setBool(10, value); @$pb.TagNumber(27) $core.bool hasJavaStringCheckUtf8() => $_has(10); @$pb.TagNumber(27) @@ -2194,10 +1845,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(31) $core.bool get ccEnableArenas => $_getB(11, true); @$pb.TagNumber(31) - set ccEnableArenas($core.bool v) { - $_setBool(11, v); - } - + set ccEnableArenas($core.bool value) => $_setBool(11, value); @$pb.TagNumber(31) $core.bool hasCcEnableArenas() => $_has(11); @$pb.TagNumber(31) @@ -2208,10 +1856,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(36) $core.String get objcClassPrefix => $_getSZ(12); @$pb.TagNumber(36) - set objcClassPrefix($core.String v) { - $_setString(12, v); - } - + set objcClassPrefix($core.String value) => $_setString(12, value); @$pb.TagNumber(36) $core.bool hasObjcClassPrefix() => $_has(12); @$pb.TagNumber(36) @@ -2221,10 +1866,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(37) $core.String get csharpNamespace => $_getSZ(13); @$pb.TagNumber(37) - set csharpNamespace($core.String v) { - $_setString(13, v); - } - + set csharpNamespace($core.String value) => $_setString(13, value); @$pb.TagNumber(37) $core.bool hasCsharpNamespace() => $_has(13); @$pb.TagNumber(37) @@ -2237,10 +1879,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(39) $core.String get swiftPrefix => $_getSZ(14); @$pb.TagNumber(39) - set swiftPrefix($core.String v) { - $_setString(14, v); - } - + set swiftPrefix($core.String value) => $_setString(14, value); @$pb.TagNumber(39) $core.bool hasSwiftPrefix() => $_has(14); @$pb.TagNumber(39) @@ -2251,10 +1890,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(40) $core.String get phpClassPrefix => $_getSZ(15); @$pb.TagNumber(40) - set phpClassPrefix($core.String v) { - $_setString(15, v); - } - + set phpClassPrefix($core.String value) => $_setString(15, value); @$pb.TagNumber(40) $core.bool hasPhpClassPrefix() => $_has(15); @$pb.TagNumber(40) @@ -2266,10 +1902,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(41) $core.String get phpNamespace => $_getSZ(16); @$pb.TagNumber(41) - set phpNamespace($core.String v) { - $_setString(16, v); - } - + set phpNamespace($core.String value) => $_setString(16, value); @$pb.TagNumber(41) $core.bool hasPhpNamespace() => $_has(16); @$pb.TagNumber(41) @@ -2281,10 +1914,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(44) $core.String get phpMetadataNamespace => $_getSZ(17); @$pb.TagNumber(44) - set phpMetadataNamespace($core.String v) { - $_setString(17, v); - } - + set phpMetadataNamespace($core.String value) => $_setString(17, value); @$pb.TagNumber(44) $core.bool hasPhpMetadataNamespace() => $_has(17); @$pb.TagNumber(44) @@ -2296,10 +1926,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(45) $core.String get rubyPackage => $_getSZ(18); @$pb.TagNumber(45) - set rubyPackage($core.String v) { - $_setString(18, v); - } - + set rubyPackage($core.String value) => $_setString(18, value); @$pb.TagNumber(45) $core.bool hasRubyPackage() => $_has(18); @$pb.TagNumber(45) @@ -2309,10 +1936,7 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(50) FeatureSet get features => $_getN(19); @$pb.TagNumber(50) - set features(FeatureSet v) { - $_setField(50, v); - } - + set features(FeatureSet value) => $_setField(50, value); @$pb.TagNumber(50) $core.bool hasFeatures() => $_has(19); @$pb.TagNumber(50) @@ -2337,39 +1961,30 @@ class MessageOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (messageSetWireFormat != null) { - $result.messageSetWireFormat = messageSetWireFormat; - } - if (noStandardDescriptorAccessor != null) { - $result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (mapEntry != null) { - $result.mapEntry = mapEntry; - } - if (deprecatedLegacyJsonFieldConflicts != null) { - // ignore: deprecated_member_use_from_same_package - $result.deprecatedLegacyJsonFieldConflicts = + final result = create(); + if (messageSetWireFormat != null) + result.messageSetWireFormat = messageSetWireFormat; + if (noStandardDescriptorAccessor != null) + result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; + if (deprecated != null) result.deprecated = deprecated; + if (mapEntry != null) result.mapEntry = mapEntry; + if (deprecatedLegacyJsonFieldConflicts != null) + result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - MessageOptions._() : super(); - factory MessageOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MessageOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MessageOptions._(); + + factory MessageOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MessageOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MessageOptions', @@ -2388,21 +2003,19 @@ class MessageOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MessageOptions clone() => MessageOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MessageOptions copyWith(void Function(MessageOptions) updates) => super.copyWith((message) => updates(message as MessageOptions)) as MessageOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MessageOptions create() => MessageOptions._(); + @$core.override MessageOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2411,31 +2024,28 @@ class MessageOptions extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static MessageOptions? _defaultInstance; - /// Set true to use the old proto1 MessageSet wire format for extensions. - /// This is provided for backwards-compatibility with the MessageSet wire - /// format. You should not use this for any other reason: It's less - /// efficient, has fewer features, and is more complicated. + /// Set true to use the old proto1 MessageSet wire format for extensions. + /// This is provided for backwards-compatibility with the MessageSet wire + /// format. You should not use this for any other reason: It's less + /// efficient, has fewer features, and is more complicated. /// - /// The message must be defined exactly as follows: - /// message Foo { - /// option message_set_wire_format = true; - /// extensions 4 to max; - /// } - /// Note that the message cannot have any defined fields; MessageSets only - /// have extensions. + /// The message must be defined exactly as follows: + /// message Foo { + /// option message_set_wire_format = true; + /// extensions 4 to max; + /// } + /// Note that the message cannot have any defined fields; MessageSets only + /// have extensions. /// - /// All extensions of your type must be singular messages; e.g. they cannot - /// be int32s, enums, or repeated messages. + /// All extensions of your type must be singular messages; e.g. they cannot + /// be int32s, enums, or repeated messages. /// - /// Because this is an option, the above two restrictions are not enforced by - /// the protocol compiler. + /// Because this is an option, the above two restrictions are not enforced by + /// the protocol compiler. @$pb.TagNumber(1) $core.bool get messageSetWireFormat => $_getBF(0); @$pb.TagNumber(1) - set messageSetWireFormat($core.bool v) { - $_setBool(0, v); - } - + set messageSetWireFormat($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasMessageSetWireFormat() => $_has(0); @$pb.TagNumber(1) @@ -2447,10 +2057,7 @@ class MessageOptions extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get noStandardDescriptorAccessor => $_getBF(1); @$pb.TagNumber(2) - set noStandardDescriptorAccessor($core.bool v) { - $_setBool(1, v); - } - + set noStandardDescriptorAccessor($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasNoStandardDescriptorAccessor() => $_has(1); @$pb.TagNumber(2) @@ -2463,67 +2070,59 @@ class MessageOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get deprecated => $_getBF(2); @$pb.TagNumber(3) - set deprecated($core.bool v) { - $_setBool(2, v); - } - + set deprecated($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasDeprecated() => $_has(2); @$pb.TagNumber(3) void clearDeprecated() => $_clearField(3); - /// Whether the message is an automatically generated map entry type for the - /// maps field. + /// Whether the message is an automatically generated map entry type for the + /// maps field. /// - /// For maps fields: - /// map map_field = 1; - /// The parsed descriptor looks like: - /// message MapFieldEntry { - /// option map_entry = true; - /// optional KeyType key = 1; - /// optional ValueType value = 2; - /// } - /// repeated MapFieldEntry map_field = 1; + /// For maps fields: + /// map map_field = 1; + /// The parsed descriptor looks like: + /// message MapFieldEntry { + /// option map_entry = true; + /// optional KeyType key = 1; + /// optional ValueType value = 2; + /// } + /// repeated MapFieldEntry map_field = 1; /// - /// Implementations may choose not to generate the map_entry=true message, but - /// use a native map in the target language to hold the keys and values. - /// The reflection APIs in such implementations still need to work as - /// if the field is a repeated message field. + /// Implementations may choose not to generate the map_entry=true message, but + /// use a native map in the target language to hold the keys and values. + /// The reflection APIs in such implementations still need to work as + /// if the field is a repeated message field. /// - /// NOTE: Do not set the option in .proto files. Always use the maps syntax - /// instead. The option should only be implicitly set by the proto compiler - /// parser. + /// NOTE: Do not set the option in .proto files. Always use the maps syntax + /// instead. The option should only be implicitly set by the proto compiler + /// parser. @$pb.TagNumber(7) $core.bool get mapEntry => $_getBF(3); @$pb.TagNumber(7) - set mapEntry($core.bool v) { - $_setBool(3, v); - } - + set mapEntry($core.bool value) => $_setBool(3, value); @$pb.TagNumber(7) $core.bool hasMapEntry() => $_has(3); @$pb.TagNumber(7) void clearMapEntry() => $_clearField(7); - /// Enable the legacy handling of JSON field name conflicts. This lowercases - /// and strips underscored from the fields before comparison in proto3 only. - /// The new behavior takes `json_name` into account and applies to proto2 as - /// well. + /// Enable the legacy handling of JSON field name conflicts. This lowercases + /// and strips underscored from the fields before comparison in proto3 only. + /// The new behavior takes `json_name` into account and applies to proto2 as + /// well. /// - /// This should only be used as a temporary measure against broken builds due - /// to the change in behavior for JSON field name conflicts. + /// This should only be used as a temporary measure against broken builds due + /// to the change in behavior for JSON field name conflicts. /// - /// TODO This is legacy behavior we plan to remove once downstream - /// teams have had time to migrate. + /// TODO This is legacy behavior we plan to remove once downstream + /// teams have had time to migrate. @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(11) $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(4); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(11) - set deprecatedLegacyJsonFieldConflicts($core.bool v) { - $_setBool(4, v); - } - + set deprecatedLegacyJsonFieldConflicts($core.bool value) => + $_setBool(4, value); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(11) $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(4); @@ -2535,10 +2134,7 @@ class MessageOptions extends $pb.GeneratedMessage { @$pb.TagNumber(12) FeatureSet get features => $_getN(5); @$pb.TagNumber(12) - set features(FeatureSet v) { - $_setField(12, v); - } - + set features(FeatureSet value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasFeatures() => $_has(5); @$pb.TagNumber(12) @@ -2556,22 +2152,20 @@ class FieldOptions_EditionDefault extends $pb.GeneratedMessage { $core.String? value, Edition? edition, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (edition != null) { - $result.edition = edition; - } - return $result; + final result = create(); + if (value != null) result.value = value; + if (edition != null) result.edition = edition; + return result; } - FieldOptions_EditionDefault._() : super(); - factory FieldOptions_EditionDefault.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldOptions_EditionDefault.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FieldOptions_EditionDefault._(); + + factory FieldOptions_EditionDefault.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldOptions_EditionDefault.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldOptions.EditionDefault', @@ -2585,25 +2179,23 @@ class FieldOptions_EditionDefault extends $pb.GeneratedMessage { enumValues: Edition.values) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions_EditionDefault clone() => FieldOptions_EditionDefault()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions_EditionDefault copyWith( void Function(FieldOptions_EditionDefault) updates) => super.copyWith( (message) => updates(message as FieldOptions_EditionDefault)) as FieldOptions_EditionDefault; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldOptions_EditionDefault create() => FieldOptions_EditionDefault._(); + @$core.override FieldOptions_EditionDefault createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2615,10 +2207,7 @@ class FieldOptions_EditionDefault extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get value => $_getSZ(0); @$pb.TagNumber(2) - set value($core.String v) { - $_setString(0, v); - } - + set value($core.String value) => $_setString(0, value); @$pb.TagNumber(2) $core.bool hasValue() => $_has(0); @$pb.TagNumber(2) @@ -2627,10 +2216,7 @@ class FieldOptions_EditionDefault extends $pb.GeneratedMessage { @$pb.TagNumber(3) Edition get edition => $_getN(1); @$pb.TagNumber(3) - set edition(Edition v) { - $_setField(3, v); - } - + set edition(Edition value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasEdition() => $_has(1); @$pb.TagNumber(3) @@ -2645,28 +2231,23 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { $core.String? deprecationWarning, Edition? editionRemoved, }) { - final $result = create(); - if (editionIntroduced != null) { - $result.editionIntroduced = editionIntroduced; - } - if (editionDeprecated != null) { - $result.editionDeprecated = editionDeprecated; - } - if (deprecationWarning != null) { - $result.deprecationWarning = deprecationWarning; - } - if (editionRemoved != null) { - $result.editionRemoved = editionRemoved; - } - return $result; + final result = create(); + if (editionIntroduced != null) result.editionIntroduced = editionIntroduced; + if (editionDeprecated != null) result.editionDeprecated = editionDeprecated; + if (deprecationWarning != null) + result.deprecationWarning = deprecationWarning; + if (editionRemoved != null) result.editionRemoved = editionRemoved; + return result; } - FieldOptions_FeatureSupport._() : super(); - factory FieldOptions_FeatureSupport.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldOptions_FeatureSupport.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FieldOptions_FeatureSupport._(); + + factory FieldOptions_FeatureSupport.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldOptions_FeatureSupport.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldOptions.FeatureSupport', @@ -2690,25 +2271,23 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { enumValues: Edition.values) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions_FeatureSupport clone() => FieldOptions_FeatureSupport()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions_FeatureSupport copyWith( void Function(FieldOptions_FeatureSupport) updates) => super.copyWith( (message) => updates(message as FieldOptions_FeatureSupport)) as FieldOptions_FeatureSupport; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldOptions_FeatureSupport create() => FieldOptions_FeatureSupport._(); + @$core.override FieldOptions_FeatureSupport createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2723,10 +2302,7 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { @$pb.TagNumber(1) Edition get editionIntroduced => $_getN(0); @$pb.TagNumber(1) - set editionIntroduced(Edition v) { - $_setField(1, v); - } - + set editionIntroduced(Edition value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasEditionIntroduced() => $_has(0); @$pb.TagNumber(1) @@ -2737,10 +2313,7 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { @$pb.TagNumber(2) Edition get editionDeprecated => $_getN(1); @$pb.TagNumber(2) - set editionDeprecated(Edition v) { - $_setField(2, v); - } - + set editionDeprecated(Edition value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEditionDeprecated() => $_has(1); @$pb.TagNumber(2) @@ -2751,10 +2324,7 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get deprecationWarning => $_getSZ(2); @$pb.TagNumber(3) - set deprecationWarning($core.String v) { - $_setString(2, v); - } - + set deprecationWarning($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasDeprecationWarning() => $_has(2); @$pb.TagNumber(3) @@ -2766,10 +2336,7 @@ class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { @$pb.TagNumber(4) Edition get editionRemoved => $_getN(3); @$pb.TagNumber(4) - set editionRemoved(Edition v) { - $_setField(4, v); - } - + set editionRemoved(Edition value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasEditionRemoved() => $_has(3); @$pb.TagNumber(4) @@ -2793,58 +2360,33 @@ class FieldOptions extends $pb.GeneratedMessage { FieldOptions_FeatureSupport? featureSupport, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (ctype != null) { - $result.ctype = ctype; - } - if (packed != null) { - $result.packed = packed; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (lazy != null) { - $result.lazy = lazy; - } - if (jstype != null) { - $result.jstype = jstype; - } - if (weak != null) { - $result.weak = weak; - } - if (unverifiedLazy != null) { - $result.unverifiedLazy = unverifiedLazy; - } - if (debugRedact != null) { - $result.debugRedact = debugRedact; - } - if (retention != null) { - $result.retention = retention; - } - if (targets != null) { - $result.targets.addAll(targets); - } - if (editionDefaults != null) { - $result.editionDefaults.addAll(editionDefaults); - } - if (features != null) { - $result.features = features; - } - if (featureSupport != null) { - $result.featureSupport = featureSupport; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - FieldOptions._() : super(); - factory FieldOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (ctype != null) result.ctype = ctype; + if (packed != null) result.packed = packed; + if (deprecated != null) result.deprecated = deprecated; + if (lazy != null) result.lazy = lazy; + if (jstype != null) result.jstype = jstype; + if (weak != null) result.weak = weak; + if (unverifiedLazy != null) result.unverifiedLazy = unverifiedLazy; + if (debugRedact != null) result.debugRedact = debugRedact; + if (retention != null) result.retention = retention; + if (targets != null) result.targets.addAll(targets); + if (editionDefaults != null) result.editionDefaults.addAll(editionDefaults); + if (features != null) result.features = features; + if (featureSupport != null) result.featureSupport = featureSupport; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; + } + + FieldOptions._(); + + factory FieldOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldOptions', @@ -2890,21 +2432,19 @@ class FieldOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions clone() => FieldOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldOptions copyWith(void Function(FieldOptions) updates) => super.copyWith((message) => updates(message as FieldOptions)) as FieldOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldOptions create() => FieldOptions._(); + @$core.override FieldOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -2922,10 +2462,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) FieldOptions_CType get ctype => $_getN(0); @$pb.TagNumber(1) - set ctype(FieldOptions_CType v) { - $_setField(1, v); - } - + set ctype(FieldOptions_CType value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasCtype() => $_has(0); @$pb.TagNumber(1) @@ -2941,10 +2478,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get packed => $_getBF(1); @$pb.TagNumber(2) - set packed($core.bool v) { - $_setBool(1, v); - } - + set packed($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasPacked() => $_has(1); @$pb.TagNumber(2) @@ -2957,67 +2491,58 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get deprecated => $_getBF(2); @$pb.TagNumber(3) - set deprecated($core.bool v) { - $_setBool(2, v); - } - + set deprecated($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasDeprecated() => $_has(2); @$pb.TagNumber(3) void clearDeprecated() => $_clearField(3); - /// Should this field be parsed lazily? Lazy applies only to message-type - /// fields. It means that when the outer message is initially parsed, the - /// inner message's contents will not be parsed but instead stored in encoded - /// form. The inner message will actually be parsed when it is first accessed. + /// Should this field be parsed lazily? Lazy applies only to message-type + /// fields. It means that when the outer message is initially parsed, the + /// inner message's contents will not be parsed but instead stored in encoded + /// form. The inner message will actually be parsed when it is first accessed. /// - /// This is only a hint. Implementations are free to choose whether to use - /// eager or lazy parsing regardless of the value of this option. However, - /// setting this option true suggests that the protocol author believes that - /// using lazy parsing on this field is worth the additional bookkeeping - /// overhead typically needed to implement it. + /// This is only a hint. Implementations are free to choose whether to use + /// eager or lazy parsing regardless of the value of this option. However, + /// setting this option true suggests that the protocol author believes that + /// using lazy parsing on this field is worth the additional bookkeeping + /// overhead typically needed to implement it. /// - /// This option does not affect the public interface of any generated code; - /// all method signatures remain the same. Furthermore, thread-safety of the - /// interface is not affected by this option; const methods remain safe to - /// call from multiple threads concurrently, while non-const methods continue - /// to require exclusive access. + /// This option does not affect the public interface of any generated code; + /// all method signatures remain the same. Furthermore, thread-safety of the + /// interface is not affected by this option; const methods remain safe to + /// call from multiple threads concurrently, while non-const methods continue + /// to require exclusive access. /// - /// Note that lazy message fields are still eagerly verified to check - /// ill-formed wireformat or missing required fields. Calling IsInitialized() - /// on the outer message would fail if the inner message has missing required - /// fields. Failed verification would result in parsing failure (except when - /// uninitialized messages are acceptable). + /// Note that lazy message fields are still eagerly verified to check + /// ill-formed wireformat or missing required fields. Calling IsInitialized() + /// on the outer message would fail if the inner message has missing required + /// fields. Failed verification would result in parsing failure (except when + /// uninitialized messages are acceptable). @$pb.TagNumber(5) $core.bool get lazy => $_getBF(3); @$pb.TagNumber(5) - set lazy($core.bool v) { - $_setBool(3, v); - } - + set lazy($core.bool value) => $_setBool(3, value); @$pb.TagNumber(5) $core.bool hasLazy() => $_has(3); @$pb.TagNumber(5) void clearLazy() => $_clearField(5); - /// The jstype option determines the JavaScript type used for values of the - /// field. The option is permitted only for 64 bit integral and fixed types - /// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - /// is represented as JavaScript string, which avoids loss of precision that - /// can happen when a large value is converted to a floating point JavaScript. - /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - /// use the JavaScript "number" type. The behavior of the default option - /// JS_NORMAL is implementation dependent. + /// The jstype option determines the JavaScript type used for values of the + /// field. The option is permitted only for 64 bit integral and fixed types + /// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + /// is represented as JavaScript string, which avoids loss of precision that + /// can happen when a large value is converted to a floating point JavaScript. + /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + /// use the JavaScript "number" type. The behavior of the default option + /// JS_NORMAL is implementation dependent. /// - /// This option is an enum to permit additional types to be added, e.g. - /// goog.math.Integer. + /// This option is an enum to permit additional types to be added, e.g. + /// goog.math.Integer. @$pb.TagNumber(6) FieldOptions_JSType get jstype => $_getN(4); @$pb.TagNumber(6) - set jstype(FieldOptions_JSType v) { - $_setField(6, v); - } - + set jstype(FieldOptions_JSType value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasJstype() => $_has(4); @$pb.TagNumber(6) @@ -3027,10 +2552,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get weak => $_getBF(5); @$pb.TagNumber(10) - set weak($core.bool v) { - $_setBool(5, v); - } - + set weak($core.bool value) => $_setBool(5, value); @$pb.TagNumber(10) $core.bool hasWeak() => $_has(5); @$pb.TagNumber(10) @@ -3042,10 +2564,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(15) $core.bool get unverifiedLazy => $_getBF(6); @$pb.TagNumber(15) - set unverifiedLazy($core.bool v) { - $_setBool(6, v); - } - + set unverifiedLazy($core.bool value) => $_setBool(6, value); @$pb.TagNumber(15) $core.bool hasUnverifiedLazy() => $_has(6); @$pb.TagNumber(15) @@ -3056,10 +2575,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(16) $core.bool get debugRedact => $_getBF(7); @$pb.TagNumber(16) - set debugRedact($core.bool v) { - $_setBool(7, v); - } - + set debugRedact($core.bool value) => $_setBool(7, value); @$pb.TagNumber(16) $core.bool hasDebugRedact() => $_has(7); @$pb.TagNumber(16) @@ -3068,10 +2584,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(17) FieldOptions_OptionRetention get retention => $_getN(8); @$pb.TagNumber(17) - set retention(FieldOptions_OptionRetention v) { - $_setField(17, v); - } - + set retention(FieldOptions_OptionRetention value) => $_setField(17, value); @$pb.TagNumber(17) $core.bool hasRetention() => $_has(8); @$pb.TagNumber(17) @@ -3087,10 +2600,7 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(21) FeatureSet get features => $_getN(11); @$pb.TagNumber(21) - set features(FeatureSet v) { - $_setField(21, v); - } - + set features(FeatureSet value) => $_setField(21, value); @$pb.TagNumber(21) $core.bool hasFeatures() => $_has(11); @$pb.TagNumber(21) @@ -3101,10 +2611,8 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(22) FieldOptions_FeatureSupport get featureSupport => $_getN(12); @$pb.TagNumber(22) - set featureSupport(FieldOptions_FeatureSupport v) { - $_setField(22, v); - } - + set featureSupport(FieldOptions_FeatureSupport value) => + $_setField(22, value); @$pb.TagNumber(22) $core.bool hasFeatureSupport() => $_has(12); @$pb.TagNumber(22) @@ -3122,22 +2630,21 @@ class OneofOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + final result = create(); + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - OneofOptions._() : super(); - factory OneofOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory OneofOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + OneofOptions._(); + + factory OneofOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory OneofOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'OneofOptions', @@ -3151,21 +2658,19 @@ class OneofOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OneofOptions clone() => OneofOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') OneofOptions copyWith(void Function(OneofOptions) updates) => super.copyWith((message) => updates(message as OneofOptions)) as OneofOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static OneofOptions create() => OneofOptions._(); + @$core.override OneofOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3178,10 +2683,7 @@ class OneofOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) FeatureSet get features => $_getN(0); @$pb.TagNumber(1) - set features(FeatureSet v) { - $_setField(1, v); - } - + set features(FeatureSet value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasFeatures() => $_has(0); @$pb.TagNumber(1) @@ -3203,33 +2705,26 @@ class EnumOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (allowAlias != null) { - $result.allowAlias = allowAlias; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (deprecatedLegacyJsonFieldConflicts != null) { - // ignore: deprecated_member_use_from_same_package - $result.deprecatedLegacyJsonFieldConflicts = + final result = create(); + if (allowAlias != null) result.allowAlias = allowAlias; + if (deprecated != null) result.deprecated = deprecated; + if (deprecatedLegacyJsonFieldConflicts != null) + result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - EnumOptions._() : super(); - factory EnumOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnumOptions._(); + + factory EnumOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumOptions', @@ -3246,21 +2741,19 @@ class EnumOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumOptions clone() => EnumOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumOptions copyWith(void Function(EnumOptions) updates) => super.copyWith((message) => updates(message as EnumOptions)) as EnumOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumOptions create() => EnumOptions._(); + @$core.override EnumOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -3273,10 +2766,7 @@ class EnumOptions extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get allowAlias => $_getBF(0); @$pb.TagNumber(2) - set allowAlias($core.bool v) { - $_setBool(0, v); - } - + set allowAlias($core.bool value) => $_setBool(0, value); @$pb.TagNumber(2) $core.bool hasAllowAlias() => $_has(0); @$pb.TagNumber(2) @@ -3289,10 +2779,7 @@ class EnumOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get deprecated => $_getBF(1); @$pb.TagNumber(3) - set deprecated($core.bool v) { - $_setBool(1, v); - } - + set deprecated($core.bool value) => $_setBool(1, value); @$pb.TagNumber(3) $core.bool hasDeprecated() => $_has(1); @$pb.TagNumber(3) @@ -3309,10 +2796,8 @@ class EnumOptions extends $pb.GeneratedMessage { $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(2); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) - set deprecatedLegacyJsonFieldConflicts($core.bool v) { - $_setBool(2, v); - } - + set deprecatedLegacyJsonFieldConflicts($core.bool value) => + $_setBool(2, value); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(2); @@ -3324,10 +2809,7 @@ class EnumOptions extends $pb.GeneratedMessage { @$pb.TagNumber(7) FeatureSet get features => $_getN(3); @$pb.TagNumber(7) - set features(FeatureSet v) { - $_setField(7, v); - } - + set features(FeatureSet value) => $_setField(7, value); @$pb.TagNumber(7) $core.bool hasFeatures() => $_has(3); @$pb.TagNumber(7) @@ -3348,31 +2830,24 @@ class EnumValueOptions extends $pb.GeneratedMessage { FieldOptions_FeatureSupport? featureSupport, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (features != null) { - $result.features = features; - } - if (debugRedact != null) { - $result.debugRedact = debugRedact; - } - if (featureSupport != null) { - $result.featureSupport = featureSupport; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + final result = create(); + if (deprecated != null) result.deprecated = deprecated; + if (features != null) result.features = features; + if (debugRedact != null) result.debugRedact = debugRedact; + if (featureSupport != null) result.featureSupport = featureSupport; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - EnumValueOptions._() : super(); - factory EnumValueOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory EnumValueOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + EnumValueOptions._(); + + factory EnumValueOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory EnumValueOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'EnumValueOptions', @@ -3391,21 +2866,19 @@ class EnumValueOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumValueOptions clone() => EnumValueOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EnumValueOptions copyWith(void Function(EnumValueOptions) updates) => super.copyWith((message) => updates(message as EnumValueOptions)) as EnumValueOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumValueOptions create() => EnumValueOptions._(); + @$core.override EnumValueOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3421,10 +2894,7 @@ class EnumValueOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.bool get deprecated => $_getBF(0); @$pb.TagNumber(1) - set deprecated($core.bool v) { - $_setBool(0, v); - } - + set deprecated($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasDeprecated() => $_has(0); @$pb.TagNumber(1) @@ -3434,10 +2904,7 @@ class EnumValueOptions extends $pb.GeneratedMessage { @$pb.TagNumber(2) FeatureSet get features => $_getN(1); @$pb.TagNumber(2) - set features(FeatureSet v) { - $_setField(2, v); - } - + set features(FeatureSet value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasFeatures() => $_has(1); @$pb.TagNumber(2) @@ -3451,10 +2918,7 @@ class EnumValueOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get debugRedact => $_getBF(2); @$pb.TagNumber(3) - set debugRedact($core.bool v) { - $_setBool(2, v); - } - + set debugRedact($core.bool value) => $_setBool(2, value); @$pb.TagNumber(3) $core.bool hasDebugRedact() => $_has(2); @$pb.TagNumber(3) @@ -3464,10 +2928,7 @@ class EnumValueOptions extends $pb.GeneratedMessage { @$pb.TagNumber(4) FieldOptions_FeatureSupport get featureSupport => $_getN(3); @$pb.TagNumber(4) - set featureSupport(FieldOptions_FeatureSupport v) { - $_setField(4, v); - } - + set featureSupport(FieldOptions_FeatureSupport value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasFeatureSupport() => $_has(3); @$pb.TagNumber(4) @@ -3486,25 +2947,22 @@ class ServiceOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + final result = create(); + if (deprecated != null) result.deprecated = deprecated; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - ServiceOptions._() : super(); - factory ServiceOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ServiceOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ServiceOptions._(); + + factory ServiceOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ServiceOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ServiceOptions', @@ -3519,21 +2977,19 @@ class ServiceOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ServiceOptions clone() => ServiceOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ServiceOptions copyWith(void Function(ServiceOptions) updates) => super.copyWith((message) => updates(message as ServiceOptions)) as ServiceOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ServiceOptions create() => ServiceOptions._(); + @$core.override ServiceOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3549,10 +3005,7 @@ class ServiceOptions extends $pb.GeneratedMessage { @$pb.TagNumber(33) $core.bool get deprecated => $_getBF(0); @$pb.TagNumber(33) - set deprecated($core.bool v) { - $_setBool(0, v); - } - + set deprecated($core.bool value) => $_setBool(0, value); @$pb.TagNumber(33) $core.bool hasDeprecated() => $_has(0); @$pb.TagNumber(33) @@ -3562,10 +3015,7 @@ class ServiceOptions extends $pb.GeneratedMessage { @$pb.TagNumber(34) FeatureSet get features => $_getN(1); @$pb.TagNumber(34) - set features(FeatureSet v) { - $_setField(34, v); - } - + set features(FeatureSet value) => $_setField(34, value); @$pb.TagNumber(34) $core.bool hasFeatures() => $_has(1); @$pb.TagNumber(34) @@ -3585,28 +3035,23 @@ class MethodOptions extends $pb.GeneratedMessage { FeatureSet? features, $core.Iterable? uninterpretedOption, }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (idempotencyLevel != null) { - $result.idempotencyLevel = idempotencyLevel; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; + final result = create(); + if (deprecated != null) result.deprecated = deprecated; + if (idempotencyLevel != null) result.idempotencyLevel = idempotencyLevel; + if (features != null) result.features = features; + if (uninterpretedOption != null) + result.uninterpretedOption.addAll(uninterpretedOption); + return result; } - MethodOptions._() : super(); - factory MethodOptions.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory MethodOptions.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + MethodOptions._(); + + factory MethodOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MethodOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MethodOptions', @@ -3626,21 +3071,19 @@ class MethodOptions extends $pb.GeneratedMessage { subBuilder: UninterpretedOption.create) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodOptions clone() => MethodOptions()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MethodOptions copyWith(void Function(MethodOptions) updates) => super.copyWith((message) => updates(message as MethodOptions)) as MethodOptions; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MethodOptions create() => MethodOptions._(); + @$core.override MethodOptions createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3656,10 +3099,7 @@ class MethodOptions extends $pb.GeneratedMessage { @$pb.TagNumber(33) $core.bool get deprecated => $_getBF(0); @$pb.TagNumber(33) - set deprecated($core.bool v) { - $_setBool(0, v); - } - + set deprecated($core.bool value) => $_setBool(0, value); @$pb.TagNumber(33) $core.bool hasDeprecated() => $_has(0); @$pb.TagNumber(33) @@ -3668,10 +3108,8 @@ class MethodOptions extends $pb.GeneratedMessage { @$pb.TagNumber(34) MethodOptions_IdempotencyLevel get idempotencyLevel => $_getN(1); @$pb.TagNumber(34) - set idempotencyLevel(MethodOptions_IdempotencyLevel v) { - $_setField(34, v); - } - + set idempotencyLevel(MethodOptions_IdempotencyLevel value) => + $_setField(34, value); @$pb.TagNumber(34) $core.bool hasIdempotencyLevel() => $_has(1); @$pb.TagNumber(34) @@ -3681,10 +3119,7 @@ class MethodOptions extends $pb.GeneratedMessage { @$pb.TagNumber(35) FeatureSet get features => $_getN(2); @$pb.TagNumber(35) - set features(FeatureSet v) { - $_setField(35, v); - } - + set features(FeatureSet value) => $_setField(35, value); @$pb.TagNumber(35) $core.bool hasFeatures() => $_has(2); @$pb.TagNumber(35) @@ -3707,22 +3142,20 @@ class UninterpretedOption_NamePart extends $pb.GeneratedMessage { $core.String? namePart, $core.bool? isExtension, }) { - final $result = create(); - if (namePart != null) { - $result.namePart = namePart; - } - if (isExtension != null) { - $result.isExtension = isExtension; - } - return $result; + final result = create(); + if (namePart != null) result.namePart = namePart; + if (isExtension != null) result.isExtension = isExtension; + return result; } - UninterpretedOption_NamePart._() : super(); - factory UninterpretedOption_NamePart.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UninterpretedOption_NamePart.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UninterpretedOption_NamePart._(); + + factory UninterpretedOption_NamePart.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UninterpretedOption_NamePart.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UninterpretedOption.NamePart', @@ -3733,25 +3166,23 @@ class UninterpretedOption_NamePart extends $pb.GeneratedMessage { ..a<$core.bool>( 2, _omitFieldNames ? '' : 'isExtension', $pb.PbFieldType.QB); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UninterpretedOption_NamePart clone() => UninterpretedOption_NamePart()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UninterpretedOption_NamePart copyWith( void Function(UninterpretedOption_NamePart) updates) => super.copyWith( (message) => updates(message as UninterpretedOption_NamePart)) as UninterpretedOption_NamePart; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UninterpretedOption_NamePart create() => UninterpretedOption_NamePart._(); + @$core.override UninterpretedOption_NamePart createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3763,10 +3194,7 @@ class UninterpretedOption_NamePart extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get namePart => $_getSZ(0); @$pb.TagNumber(1) - set namePart($core.String v) { - $_setString(0, v); - } - + set namePart($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasNamePart() => $_has(0); @$pb.TagNumber(1) @@ -3775,10 +3203,7 @@ class UninterpretedOption_NamePart extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get isExtension => $_getBF(1); @$pb.TagNumber(2) - set isExtension($core.bool v) { - $_setBool(1, v); - } - + set isExtension($core.bool value) => $_setBool(1, value); @$pb.TagNumber(2) $core.bool hasIsExtension() => $_has(1); @$pb.TagNumber(2) @@ -3801,37 +3226,25 @@ class UninterpretedOption extends $pb.GeneratedMessage { $core.List<$core.int>? stringValue, $core.String? aggregateValue, }) { - final $result = create(); - if (name != null) { - $result.name.addAll(name); - } - if (identifierValue != null) { - $result.identifierValue = identifierValue; - } - if (positiveIntValue != null) { - $result.positiveIntValue = positiveIntValue; - } - if (negativeIntValue != null) { - $result.negativeIntValue = negativeIntValue; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (aggregateValue != null) { - $result.aggregateValue = aggregateValue; - } - return $result; - } - UninterpretedOption._() : super(); - factory UninterpretedOption.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UninterpretedOption.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (name != null) result.name.addAll(name); + if (identifierValue != null) result.identifierValue = identifierValue; + if (positiveIntValue != null) result.positiveIntValue = positiveIntValue; + if (negativeIntValue != null) result.negativeIntValue = negativeIntValue; + if (doubleValue != null) result.doubleValue = doubleValue; + if (stringValue != null) result.stringValue = stringValue; + if (aggregateValue != null) result.aggregateValue = aggregateValue; + return result; + } + + UninterpretedOption._(); + + factory UninterpretedOption.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UninterpretedOption.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UninterpretedOption', @@ -3852,21 +3265,19 @@ class UninterpretedOption extends $pb.GeneratedMessage { 7, _omitFieldNames ? '' : 'stringValue', $pb.PbFieldType.OY) ..aOS(8, _omitFieldNames ? '' : 'aggregateValue'); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UninterpretedOption clone() => UninterpretedOption()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UninterpretedOption copyWith(void Function(UninterpretedOption) updates) => super.copyWith((message) => updates(message as UninterpretedOption)) as UninterpretedOption; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UninterpretedOption create() => UninterpretedOption._(); + @$core.override UninterpretedOption createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -3883,10 +3294,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get identifierValue => $_getSZ(1); @$pb.TagNumber(3) - set identifierValue($core.String v) { - $_setString(1, v); - } - + set identifierValue($core.String value) => $_setString(1, value); @$pb.TagNumber(3) $core.bool hasIdentifierValue() => $_has(1); @$pb.TagNumber(3) @@ -3895,10 +3303,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(4) $fixnum.Int64 get positiveIntValue => $_getI64(2); @$pb.TagNumber(4) - set positiveIntValue($fixnum.Int64 v) { - $_setInt64(2, v); - } - + set positiveIntValue($fixnum.Int64 value) => $_setInt64(2, value); @$pb.TagNumber(4) $core.bool hasPositiveIntValue() => $_has(2); @$pb.TagNumber(4) @@ -3907,10 +3312,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(5) $fixnum.Int64 get negativeIntValue => $_getI64(3); @$pb.TagNumber(5) - set negativeIntValue($fixnum.Int64 v) { - $_setInt64(3, v); - } - + set negativeIntValue($fixnum.Int64 value) => $_setInt64(3, value); @$pb.TagNumber(5) $core.bool hasNegativeIntValue() => $_has(3); @$pb.TagNumber(5) @@ -3919,10 +3321,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.double get doubleValue => $_getN(4); @$pb.TagNumber(6) - set doubleValue($core.double v) { - $_setDouble(4, v); - } - + set doubleValue($core.double value) => $_setDouble(4, value); @$pb.TagNumber(6) $core.bool hasDoubleValue() => $_has(4); @$pb.TagNumber(6) @@ -3931,10 +3330,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.List<$core.int> get stringValue => $_getN(5); @$pb.TagNumber(7) - set stringValue($core.List<$core.int> v) { - $_setBytes(5, v); - } - + set stringValue($core.List<$core.int> value) => $_setBytes(5, value); @$pb.TagNumber(7) $core.bool hasStringValue() => $_has(5); @$pb.TagNumber(7) @@ -3943,10 +3339,7 @@ class UninterpretedOption extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get aggregateValue => $_getSZ(6); @$pb.TagNumber(8) - set aggregateValue($core.String v) { - $_setString(6, v); - } - + set aggregateValue($core.String value) => $_setString(6, value); @$pb.TagNumber(8) $core.bool hasAggregateValue() => $_has(6); @$pb.TagNumber(8) @@ -3968,34 +3361,25 @@ class FeatureSet extends $pb.GeneratedMessage { FeatureSet_MessageEncoding? messageEncoding, FeatureSet_JsonFormat? jsonFormat, }) { - final $result = create(); - if (fieldPresence != null) { - $result.fieldPresence = fieldPresence; - } - if (enumType != null) { - $result.enumType = enumType; - } - if (repeatedFieldEncoding != null) { - $result.repeatedFieldEncoding = repeatedFieldEncoding; - } - if (utf8Validation != null) { - $result.utf8Validation = utf8Validation; - } - if (messageEncoding != null) { - $result.messageEncoding = messageEncoding; - } - if (jsonFormat != null) { - $result.jsonFormat = jsonFormat; - } - return $result; - } - FeatureSet._() : super(); - factory FeatureSet.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FeatureSet.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + final result = create(); + if (fieldPresence != null) result.fieldPresence = fieldPresence; + if (enumType != null) result.enumType = enumType; + if (repeatedFieldEncoding != null) + result.repeatedFieldEncoding = repeatedFieldEncoding; + if (utf8Validation != null) result.utf8Validation = utf8Validation; + if (messageEncoding != null) result.messageEncoding = messageEncoding; + if (jsonFormat != null) result.jsonFormat = jsonFormat; + return result; + } + + FeatureSet._(); + + factory FeatureSet.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FeatureSet.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FeatureSet', @@ -4035,20 +3419,18 @@ class FeatureSet extends $pb.GeneratedMessage { enumValues: FeatureSet_JsonFormat.values) ..hasExtensions = true; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSet clone() => FeatureSet()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSet copyWith(void Function(FeatureSet) updates) => super.copyWith((message) => updates(message as FeatureSet)) as FeatureSet; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FeatureSet create() => FeatureSet._(); + @$core.override FeatureSet createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -4059,10 +3441,7 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(1) FeatureSet_FieldPresence get fieldPresence => $_getN(0); @$pb.TagNumber(1) - set fieldPresence(FeatureSet_FieldPresence v) { - $_setField(1, v); - } - + set fieldPresence(FeatureSet_FieldPresence value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasFieldPresence() => $_has(0); @$pb.TagNumber(1) @@ -4071,10 +3450,7 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(2) FeatureSet_EnumType get enumType => $_getN(1); @$pb.TagNumber(2) - set enumType(FeatureSet_EnumType v) { - $_setField(2, v); - } - + set enumType(FeatureSet_EnumType value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEnumType() => $_has(1); @$pb.TagNumber(2) @@ -4083,10 +3459,8 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(3) FeatureSet_RepeatedFieldEncoding get repeatedFieldEncoding => $_getN(2); @$pb.TagNumber(3) - set repeatedFieldEncoding(FeatureSet_RepeatedFieldEncoding v) { - $_setField(3, v); - } - + set repeatedFieldEncoding(FeatureSet_RepeatedFieldEncoding value) => + $_setField(3, value); @$pb.TagNumber(3) $core.bool hasRepeatedFieldEncoding() => $_has(2); @$pb.TagNumber(3) @@ -4095,10 +3469,7 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(4) FeatureSet_Utf8Validation get utf8Validation => $_getN(3); @$pb.TagNumber(4) - set utf8Validation(FeatureSet_Utf8Validation v) { - $_setField(4, v); - } - + set utf8Validation(FeatureSet_Utf8Validation value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasUtf8Validation() => $_has(3); @$pb.TagNumber(4) @@ -4107,10 +3478,7 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(5) FeatureSet_MessageEncoding get messageEncoding => $_getN(4); @$pb.TagNumber(5) - set messageEncoding(FeatureSet_MessageEncoding v) { - $_setField(5, v); - } - + set messageEncoding(FeatureSet_MessageEncoding value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasMessageEncoding() => $_has(4); @$pb.TagNumber(5) @@ -4119,10 +3487,7 @@ class FeatureSet extends $pb.GeneratedMessage { @$pb.TagNumber(6) FeatureSet_JsonFormat get jsonFormat => $_getN(5); @$pb.TagNumber(6) - set jsonFormat(FeatureSet_JsonFormat v) { - $_setField(6, v); - } - + set jsonFormat(FeatureSet_JsonFormat value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasJsonFormat() => $_has(5); @$pb.TagNumber(6) @@ -4139,26 +3504,24 @@ class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { FeatureSet? overridableFeatures, FeatureSet? fixedFeatures, }) { - final $result = create(); - if (edition != null) { - $result.edition = edition; - } - if (overridableFeatures != null) { - $result.overridableFeatures = overridableFeatures; - } - if (fixedFeatures != null) { - $result.fixedFeatures = fixedFeatures; - } - return $result; + final result = create(); + if (edition != null) result.edition = edition; + if (overridableFeatures != null) + result.overridableFeatures = overridableFeatures; + if (fixedFeatures != null) result.fixedFeatures = fixedFeatures; + return result; } - FeatureSetDefaults_FeatureSetEditionDefault._() : super(); + + FeatureSetDefaults_FeatureSetEditionDefault._(); + factory FeatureSetDefaults_FeatureSetEditionDefault.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FeatureSetDefaults_FeatureSetEditionDefault.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FeatureSetDefaults_FeatureSetEditionDefault.fromJson( + $core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FeatureSetDefaults.FeatureSetEditionDefault', @@ -4174,25 +3537,23 @@ class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { ..aOM(5, _omitFieldNames ? '' : 'fixedFeatures', subBuilder: FeatureSet.create); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSetDefaults_FeatureSetEditionDefault clone() => FeatureSetDefaults_FeatureSetEditionDefault()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSetDefaults_FeatureSetEditionDefault copyWith( void Function(FeatureSetDefaults_FeatureSetEditionDefault) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults_FeatureSetEditionDefault)) as FeatureSetDefaults_FeatureSetEditionDefault; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FeatureSetDefaults_FeatureSetEditionDefault create() => FeatureSetDefaults_FeatureSetEditionDefault._(); + @$core.override FeatureSetDefaults_FeatureSetEditionDefault createEmptyInstance() => create(); static $pb.PbList createRepeated() => @@ -4206,10 +3567,7 @@ class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { @$pb.TagNumber(3) Edition get edition => $_getN(0); @$pb.TagNumber(3) - set edition(Edition v) { - $_setField(3, v); - } - + set edition(Edition value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasEdition() => $_has(0); @$pb.TagNumber(3) @@ -4219,10 +3577,7 @@ class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { @$pb.TagNumber(4) FeatureSet get overridableFeatures => $_getN(1); @$pb.TagNumber(4) - set overridableFeatures(FeatureSet v) { - $_setField(4, v); - } - + set overridableFeatures(FeatureSet value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasOverridableFeatures() => $_has(1); @$pb.TagNumber(4) @@ -4234,10 +3589,7 @@ class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { @$pb.TagNumber(5) FeatureSet get fixedFeatures => $_getN(2); @$pb.TagNumber(5) - set fixedFeatures(FeatureSet v) { - $_setField(5, v); - } - + set fixedFeatures(FeatureSet value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasFixedFeatures() => $_has(2); @$pb.TagNumber(5) @@ -4256,25 +3608,21 @@ class FeatureSetDefaults extends $pb.GeneratedMessage { Edition? minimumEdition, Edition? maximumEdition, }) { - final $result = create(); - if (defaults != null) { - $result.defaults.addAll(defaults); - } - if (minimumEdition != null) { - $result.minimumEdition = minimumEdition; - } - if (maximumEdition != null) { - $result.maximumEdition = maximumEdition; - } - return $result; + final result = create(); + if (defaults != null) result.defaults.addAll(defaults); + if (minimumEdition != null) result.minimumEdition = minimumEdition; + if (maximumEdition != null) result.maximumEdition = maximumEdition; + return result; } - FeatureSetDefaults._() : super(); - factory FeatureSetDefaults.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FeatureSetDefaults.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FeatureSetDefaults._(); + + factory FeatureSetDefaults.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FeatureSetDefaults.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FeatureSetDefaults', @@ -4293,21 +3641,19 @@ class FeatureSetDefaults extends $pb.GeneratedMessage { valueOf: Edition.valueOf, enumValues: Edition.values); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSetDefaults clone() => FeatureSetDefaults()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FeatureSetDefaults copyWith(void Function(FeatureSetDefaults) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults)) as FeatureSetDefaults; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FeatureSetDefaults create() => FeatureSetDefaults._(); + @$core.override FeatureSetDefaults createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4325,10 +3671,7 @@ class FeatureSetDefaults extends $pb.GeneratedMessage { @$pb.TagNumber(4) Edition get minimumEdition => $_getN(1); @$pb.TagNumber(4) - set minimumEdition(Edition v) { - $_setField(4, v); - } - + set minimumEdition(Edition value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasMinimumEdition() => $_has(1); @$pb.TagNumber(4) @@ -4339,10 +3682,7 @@ class FeatureSetDefaults extends $pb.GeneratedMessage { @$pb.TagNumber(5) Edition get maximumEdition => $_getN(2); @$pb.TagNumber(5) - set maximumEdition(Edition v) { - $_setField(5, v); - } - + set maximumEdition(Edition value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasMaximumEdition() => $_has(2); @$pb.TagNumber(5) @@ -4357,31 +3697,24 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { $core.String? trailingComments, $core.Iterable<$core.String>? leadingDetachedComments, }) { - final $result = create(); - if (path != null) { - $result.path.addAll(path); - } - if (span != null) { - $result.span.addAll(span); - } - if (leadingComments != null) { - $result.leadingComments = leadingComments; - } - if (trailingComments != null) { - $result.trailingComments = trailingComments; - } - if (leadingDetachedComments != null) { - $result.leadingDetachedComments.addAll(leadingDetachedComments); - } - return $result; + final result = create(); + if (path != null) result.path.addAll(path); + if (span != null) result.span.addAll(span); + if (leadingComments != null) result.leadingComments = leadingComments; + if (trailingComments != null) result.trailingComments = trailingComments; + if (leadingDetachedComments != null) + result.leadingDetachedComments.addAll(leadingDetachedComments); + return result; } - SourceCodeInfo_Location._() : super(); - factory SourceCodeInfo_Location.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SourceCodeInfo_Location.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SourceCodeInfo_Location._(); + + factory SourceCodeInfo_Location.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SourceCodeInfo_Location.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SourceCodeInfo.Location', @@ -4395,23 +3728,21 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { ..pPS(6, _omitFieldNames ? '' : 'leadingDetachedComments') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SourceCodeInfo_Location clone() => SourceCodeInfo_Location()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SourceCodeInfo_Location copyWith( void Function(SourceCodeInfo_Location) updates) => super.copyWith((message) => updates(message as SourceCodeInfo_Location)) as SourceCodeInfo_Location; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SourceCodeInfo_Location create() => SourceCodeInfo_Location._(); + @$core.override SourceCodeInfo_Location createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4420,29 +3751,29 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static SourceCodeInfo_Location? _defaultInstance; - /// Identifies which part of the FileDescriptorProto was defined at this - /// location. + /// Identifies which part of the FileDescriptorProto was defined at this + /// location. /// - /// Each element is a field number or an index. They form a path from - /// the root FileDescriptorProto to the place where the definition appears. - /// For example, this path: - /// [ 4, 3, 2, 7, 1 ] - /// refers to: - /// file.message_type(3) // 4, 3 - /// .field(7) // 2, 7 - /// .name() // 1 - /// This is because FileDescriptorProto.message_type has field number 4: - /// repeated DescriptorProto message_type = 4; - /// and DescriptorProto.field has field number 2: - /// repeated FieldDescriptorProto field = 2; - /// and FieldDescriptorProto.name has field number 1: - /// optional string name = 1; + /// Each element is a field number or an index. They form a path from + /// the root FileDescriptorProto to the place where the definition appears. + /// For example, this path: + /// [ 4, 3, 2, 7, 1 ] + /// refers to: + /// file.message_type(3) // 4, 3 + /// .field(7) // 2, 7 + /// .name() // 1 + /// This is because FileDescriptorProto.message_type has field number 4: + /// repeated DescriptorProto message_type = 4; + /// and DescriptorProto.field has field number 2: + /// repeated FieldDescriptorProto field = 2; + /// and FieldDescriptorProto.name has field number 1: + /// optional string name = 1; /// - /// Thus, the above path gives the location of a field name. If we removed - /// the last element: - /// [ 4, 3, 2, 7 ] - /// this path refers to the whole field declaration (from the beginning - /// of the label to the terminating semicolon). + /// Thus, the above path gives the location of a field name. If we removed + /// the last element: + /// [ 4, 3, 2, 7 ] + /// this path refers to the whole field declaration (from the beginning + /// of the label to the terminating semicolon). @$pb.TagNumber(1) $pb.PbList<$core.int> get path => $_getList(0); @@ -4454,60 +3785,57 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { @$pb.TagNumber(2) $pb.PbList<$core.int> get span => $_getList(1); - /// If this SourceCodeInfo represents a complete declaration, these are any - /// comments appearing before and after the declaration which appear to be - /// attached to the declaration. + /// If this SourceCodeInfo represents a complete declaration, these are any + /// comments appearing before and after the declaration which appear to be + /// attached to the declaration. /// - /// A series of line comments appearing on consecutive lines, with no other - /// tokens appearing on those lines, will be treated as a single comment. + /// A series of line comments appearing on consecutive lines, with no other + /// tokens appearing on those lines, will be treated as a single comment. /// - /// leading_detached_comments will keep paragraphs of comments that appear - /// before (but not connected to) the current element. Each paragraph, - /// separated by empty lines, will be one comment element in the repeated - /// field. + /// leading_detached_comments will keep paragraphs of comments that appear + /// before (but not connected to) the current element. Each paragraph, + /// separated by empty lines, will be one comment element in the repeated + /// field. /// - /// Only the comment content is provided; comment markers (e.g. //) are - /// stripped out. For block comments, leading whitespace and an asterisk - /// will be stripped from the beginning of each line other than the first. - /// Newlines are included in the output. + /// Only the comment content is provided; comment markers (e.g. //) are + /// stripped out. For block comments, leading whitespace and an asterisk + /// will be stripped from the beginning of each line other than the first. + /// Newlines are included in the output. /// - /// Examples: + /// Examples: /// - /// optional int32 foo = 1; // Comment attached to foo. - /// // Comment attached to bar. - /// optional int32 bar = 2; + /// optional int32 foo = 1; // Comment attached to foo. + /// // Comment attached to bar. + /// optional int32 bar = 2; /// - /// optional string baz = 3; - /// // Comment attached to baz. - /// // Another line attached to baz. + /// optional string baz = 3; + /// // Comment attached to baz. + /// // Another line attached to baz. /// - /// // Comment attached to moo. - /// // - /// // Another line attached to moo. - /// optional double moo = 4; + /// // Comment attached to moo. + /// // + /// // Another line attached to moo. + /// optional double moo = 4; /// - /// // Detached comment for corge. This is not leading or trailing comments - /// // to moo or corge because there are blank lines separating it from - /// // both. + /// // Detached comment for corge. This is not leading or trailing comments + /// // to moo or corge because there are blank lines separating it from + /// // both. /// - /// // Detached comment for corge paragraph 2. + /// // Detached comment for corge paragraph 2. /// - /// optional string corge = 5; - /// /* Block comment attached - /// * to corge. Leading asterisks - /// * will be removed. */ - /// /* Block comment attached to - /// * grault. */ - /// optional int32 grault = 6; + /// optional string corge = 5; + /// /* Block comment attached + /// * to corge. Leading asterisks + /// * will be removed. */ + /// /* Block comment attached to + /// * grault. */ + /// optional int32 grault = 6; /// - /// // ignored detached comments. + /// // ignored detached comments. @$pb.TagNumber(3) $core.String get leadingComments => $_getSZ(2); @$pb.TagNumber(3) - set leadingComments($core.String v) { - $_setString(2, v); - } - + set leadingComments($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasLeadingComments() => $_has(2); @$pb.TagNumber(3) @@ -4516,10 +3844,7 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get trailingComments => $_getSZ(3); @$pb.TagNumber(4) - set trailingComments($core.String v) { - $_setString(3, v); - } - + set trailingComments($core.String value) => $_setString(3, value); @$pb.TagNumber(4) $core.bool hasTrailingComments() => $_has(3); @$pb.TagNumber(4) @@ -4535,19 +3860,19 @@ class SourceCodeInfo extends $pb.GeneratedMessage { factory SourceCodeInfo({ $core.Iterable? location, }) { - final $result = create(); - if (location != null) { - $result.location.addAll(location); - } - return $result; + final result = create(); + if (location != null) result.location.addAll(location); + return result; } - SourceCodeInfo._() : super(); - factory SourceCodeInfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory SourceCodeInfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + SourceCodeInfo._(); + + factory SourceCodeInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SourceCodeInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'SourceCodeInfo', @@ -4559,21 +3884,19 @@ class SourceCodeInfo extends $pb.GeneratedMessage { subBuilder: SourceCodeInfo_Location.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SourceCodeInfo clone() => SourceCodeInfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SourceCodeInfo copyWith(void Function(SourceCodeInfo) updates) => super.copyWith((message) => updates(message as SourceCodeInfo)) as SourceCodeInfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SourceCodeInfo create() => SourceCodeInfo._(); + @$core.override SourceCodeInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4582,49 +3905,49 @@ class SourceCodeInfo extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static SourceCodeInfo? _defaultInstance; - /// A Location identifies a piece of source code in a .proto file which - /// corresponds to a particular definition. This information is intended - /// to be useful to IDEs, code indexers, documentation generators, and similar - /// tools. + /// A Location identifies a piece of source code in a .proto file which + /// corresponds to a particular definition. This information is intended + /// to be useful to IDEs, code indexers, documentation generators, and similar + /// tools. /// - /// For example, say we have a file like: - /// message Foo { - /// optional string foo = 1; - /// } - /// Let's look at just the field definition: - /// optional string foo = 1; - /// ^ ^^ ^^ ^ ^^^ - /// a bc de f ghi - /// We have the following locations: - /// span path represents - /// [a,i) [ 4, 0, 2, 0 ] The whole field definition. - /// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - /// [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - /// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - /// [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + /// For example, say we have a file like: + /// message Foo { + /// optional string foo = 1; + /// } + /// Let's look at just the field definition: + /// optional string foo = 1; + /// ^ ^^ ^^ ^ ^^^ + /// a bc de f ghi + /// We have the following locations: + /// span path represents + /// [a,i) [ 4, 0, 2, 0 ] The whole field definition. + /// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + /// [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + /// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + /// [g,h) [ 4, 0, 2, 0, 3 ] The number (1). /// - /// Notes: - /// - A location may refer to a repeated field itself (i.e. not to any - /// particular index within it). This is used whenever a set of elements are - /// logically enclosed in a single code segment. For example, an entire - /// extend block (possibly containing multiple extension definitions) will - /// have an outer location whose path refers to the "extensions" repeated - /// field without an index. - /// - Multiple locations may have the same path. This happens when a single - /// logical declaration is spread out across multiple places. The most - /// obvious example is the "extend" block again -- there may be multiple - /// extend blocks in the same scope, each of which will have the same path. - /// - A location's span is not always a subset of its parent's span. For - /// example, the "extendee" of an extension declaration appears at the - /// beginning of the "extend" block and is shared by all extensions within - /// the block. - /// - Just because a location's span is a subset of some other location's span - /// does not mean that it is a descendant. For example, a "group" defines - /// both a type and a field in a single declaration. Thus, the locations - /// corresponding to the type and field and their components will overlap. - /// - Code which tries to interpret locations should probably be designed to - /// ignore those that it doesn't understand, as more types of locations could - /// be recorded in the future. + /// Notes: + /// - A location may refer to a repeated field itself (i.e. not to any + /// particular index within it). This is used whenever a set of elements are + /// logically enclosed in a single code segment. For example, an entire + /// extend block (possibly containing multiple extension definitions) will + /// have an outer location whose path refers to the "extensions" repeated + /// field without an index. + /// - Multiple locations may have the same path. This happens when a single + /// logical declaration is spread out across multiple places. The most + /// obvious example is the "extend" block again -- there may be multiple + /// extend blocks in the same scope, each of which will have the same path. + /// - A location's span is not always a subset of its parent's span. For + /// example, the "extendee" of an extension declaration appears at the + /// beginning of the "extend" block and is shared by all extensions within + /// the block. + /// - Just because a location's span is a subset of some other location's span + /// does not mean that it is a descendant. For example, a "group" defines + /// both a type and a field in a single declaration. Thus, the locations + /// corresponding to the type and field and their components will overlap. + /// - Code which tries to interpret locations should probably be designed to + /// ignore those that it doesn't understand, as more types of locations could + /// be recorded in the future. @$pb.TagNumber(1) $pb.PbList get location => $_getList(0); } @@ -4637,31 +3960,23 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { $core.int? end, GeneratedCodeInfo_Annotation_Semantic? semantic, }) { - final $result = create(); - if (path != null) { - $result.path.addAll(path); - } - if (sourceFile != null) { - $result.sourceFile = sourceFile; - } - if (begin != null) { - $result.begin = begin; - } - if (end != null) { - $result.end = end; - } - if (semantic != null) { - $result.semantic = semantic; - } - return $result; + final result = create(); + if (path != null) result.path.addAll(path); + if (sourceFile != null) result.sourceFile = sourceFile; + if (begin != null) result.begin = begin; + if (end != null) result.end = end; + if (semantic != null) result.semantic = semantic; + return result; } - GeneratedCodeInfo_Annotation._() : super(); - factory GeneratedCodeInfo_Annotation.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GeneratedCodeInfo_Annotation.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GeneratedCodeInfo_Annotation._(); + + factory GeneratedCodeInfo_Annotation.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GeneratedCodeInfo_Annotation.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GeneratedCodeInfo.Annotation', @@ -4679,25 +3994,23 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { enumValues: GeneratedCodeInfo_Annotation_Semantic.values) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GeneratedCodeInfo_Annotation clone() => GeneratedCodeInfo_Annotation()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GeneratedCodeInfo_Annotation copyWith( void Function(GeneratedCodeInfo_Annotation) updates) => super.copyWith( (message) => updates(message as GeneratedCodeInfo_Annotation)) as GeneratedCodeInfo_Annotation; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GeneratedCodeInfo_Annotation create() => GeneratedCodeInfo_Annotation._(); + @$core.override GeneratedCodeInfo_Annotation createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4715,10 +4028,7 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get sourceFile => $_getSZ(1); @$pb.TagNumber(2) - set sourceFile($core.String v) { - $_setString(1, v); - } - + set sourceFile($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasSourceFile() => $_has(1); @$pb.TagNumber(2) @@ -4729,10 +4039,7 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get begin => $_getIZ(2); @$pb.TagNumber(3) - set begin($core.int v) { - $_setSignedInt32(2, v); - } - + set begin($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasBegin() => $_has(2); @$pb.TagNumber(3) @@ -4744,10 +4051,7 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get end => $_getIZ(3); @$pb.TagNumber(4) - set end($core.int v) { - $_setSignedInt32(3, v); - } - + set end($core.int value) => $_setSignedInt32(3, value); @$pb.TagNumber(4) $core.bool hasEnd() => $_has(3); @$pb.TagNumber(4) @@ -4756,10 +4060,8 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { @$pb.TagNumber(5) GeneratedCodeInfo_Annotation_Semantic get semantic => $_getN(4); @$pb.TagNumber(5) - set semantic(GeneratedCodeInfo_Annotation_Semantic v) { - $_setField(5, v); - } - + set semantic(GeneratedCodeInfo_Annotation_Semantic value) => + $_setField(5, value); @$pb.TagNumber(5) $core.bool hasSemantic() => $_has(4); @$pb.TagNumber(5) @@ -4773,19 +4075,19 @@ class GeneratedCodeInfo extends $pb.GeneratedMessage { factory GeneratedCodeInfo({ $core.Iterable? annotation, }) { - final $result = create(); - if (annotation != null) { - $result.annotation.addAll(annotation); - } - return $result; + final result = create(); + if (annotation != null) result.annotation.addAll(annotation); + return result; } - GeneratedCodeInfo._() : super(); - factory GeneratedCodeInfo.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory GeneratedCodeInfo.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + GeneratedCodeInfo._(); + + factory GeneratedCodeInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory GeneratedCodeInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GeneratedCodeInfo', @@ -4797,21 +4099,19 @@ class GeneratedCodeInfo extends $pb.GeneratedMessage { subBuilder: GeneratedCodeInfo_Annotation.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GeneratedCodeInfo clone() => GeneratedCodeInfo()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') GeneratedCodeInfo copyWith(void Function(GeneratedCodeInfo) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo)) as GeneratedCodeInfo; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static GeneratedCodeInfo create() => GeneratedCodeInfo._(); + @$core.override GeneratedCodeInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -4826,6 +4126,7 @@ class GeneratedCodeInfo extends $pb.GeneratedMessage { $pb.PbList get annotation => $_getList(0); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbenum.dart index 9308e3e5c..bead4cfcd 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbenum.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// +// Generated from google/protobuf/descriptor.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -79,7 +80,7 @@ class Edition extends $pb.ProtobufEnum { $pb.ProtobufEnum.initByValue(values); static Edition? valueOf($core.int value) => _byValue[value]; - const Edition._(super.v, super.n); + const Edition._(super.value, super.name); } /// The verification state of the extension range. @@ -98,12 +99,12 @@ class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum { UNVERIFIED, ]; - static final $core.Map<$core.int, ExtensionRangeOptions_VerificationState> - _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const ExtensionRangeOptions_VerificationState._(super.v, super.n); + const ExtensionRangeOptions_VerificationState._(super.value, super.name); } class FieldDescriptorProto_Type extends $pb.ProtobufEnum { @@ -182,11 +183,12 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum { TYPE_SINT64, ]; - static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 18); + static FieldDescriptorProto_Type? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldDescriptorProto_Type._(super.v, super.n); + const FieldDescriptorProto_Type._(super.value, super.name); } class FieldDescriptorProto_Label extends $pb.ProtobufEnum { @@ -209,12 +211,12 @@ class FieldDescriptorProto_Label extends $pb.ProtobufEnum { LABEL_REQUIRED, ]; - static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static FieldDescriptorProto_Label? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldDescriptorProto_Label._(super.v, super.n); + const FieldDescriptorProto_Label._(super.value, super.name); } /// Generated classes can be optimized for speed or code size. @@ -235,11 +237,12 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum { LITE_RUNTIME, ]; - static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static FileOptions_OptimizeMode? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FileOptions_OptimizeMode._(super.v, super.n); + const FileOptions_OptimizeMode._(super.value, super.name); } class FieldOptions_CType extends $pb.ProtobufEnum { @@ -264,11 +267,12 @@ class FieldOptions_CType extends $pb.ProtobufEnum { STRING_PIECE, ]; - static final $core.Map<$core.int, FieldOptions_CType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FieldOptions_CType? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static FieldOptions_CType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldOptions_CType._(super.v, super.n); + const FieldOptions_CType._(super.value, super.name); } class FieldOptions_JSType extends $pb.ProtobufEnum { @@ -290,11 +294,12 @@ class FieldOptions_JSType extends $pb.ProtobufEnum { JS_NUMBER, ]; - static final $core.Map<$core.int, FieldOptions_JSType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FieldOptions_JSType? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static FieldOptions_JSType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldOptions_JSType._(super.v, super.n); + const FieldOptions_JSType._(super.value, super.name); } /// If set to RETENTION_SOURCE, the option will be omitted from the binary. @@ -318,12 +323,12 @@ class FieldOptions_OptionRetention extends $pb.ProtobufEnum { RETENTION_SOURCE, ]; - static final $core.Map<$core.int, FieldOptions_OptionRetention> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static FieldOptions_OptionRetention? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldOptions_OptionRetention._(super.v, super.n); + const FieldOptions_OptionRetention._(super.value, super.name); } /// This indicates the types of entities that the field may apply to when used @@ -376,12 +381,12 @@ class FieldOptions_OptionTargetType extends $pb.ProtobufEnum { TARGET_TYPE_METHOD, ]; - static final $core.Map<$core.int, FieldOptions_OptionTargetType> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 9); static FieldOptions_OptionTargetType? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FieldOptions_OptionTargetType._(super.v, super.n); + const FieldOptions_OptionTargetType._(super.value, super.name); } /// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, @@ -404,12 +409,12 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum { IDEMPOTENT, ]; - static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static MethodOptions_IdempotencyLevel? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const MethodOptions_IdempotencyLevel._(super.v, super.n); + const MethodOptions_IdempotencyLevel._(super.value, super.name); } class FeatureSet_FieldPresence extends $pb.ProtobufEnum { @@ -431,11 +436,12 @@ class FeatureSet_FieldPresence extends $pb.ProtobufEnum { LEGACY_REQUIRED, ]; - static final $core.Map<$core.int, FeatureSet_FieldPresence> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FeatureSet_FieldPresence? valueOf($core.int value) => _byValue[value]; + static final $core.List _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.v, super.n); + const FeatureSet_FieldPresence._(super.value, super.name); } class FeatureSet_EnumType extends $pb.ProtobufEnum { @@ -452,11 +458,12 @@ class FeatureSet_EnumType extends $pb.ProtobufEnum { CLOSED, ]; - static final $core.Map<$core.int, FeatureSet_EnumType> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FeatureSet_EnumType? valueOf($core.int value) => _byValue[value]; + static final $core.List _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.v, super.n); + const FeatureSet_EnumType._(super.value, super.name); } class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum { @@ -475,12 +482,12 @@ class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum { EXPANDED, ]; - static final $core.Map<$core.int, FeatureSet_RepeatedFieldEncoding> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FeatureSet_RepeatedFieldEncoding._(super.v, super.n); + const FeatureSet_RepeatedFieldEncoding._(super.value, super.name); } class FeatureSet_Utf8Validation extends $pb.ProtobufEnum { @@ -499,11 +506,12 @@ class FeatureSet_Utf8Validation extends $pb.ProtobufEnum { NONE, ]; - static final $core.Map<$core.int, FeatureSet_Utf8Validation> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FeatureSet_Utf8Validation? valueOf($core.int value) => _byValue[value]; + static final $core.List _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.v, super.n); + const FeatureSet_Utf8Validation._(super.value, super.name); } class FeatureSet_MessageEncoding extends $pb.ProtobufEnum { @@ -522,12 +530,12 @@ class FeatureSet_MessageEncoding extends $pb.ProtobufEnum { DELIMITED, ]; - static final $core.Map<$core.int, FeatureSet_MessageEncoding> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static FeatureSet_MessageEncoding? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const FeatureSet_MessageEncoding._(super.v, super.n); + const FeatureSet_MessageEncoding._(super.value, super.name); } class FeatureSet_JsonFormat extends $pb.ProtobufEnum { @@ -545,11 +553,12 @@ class FeatureSet_JsonFormat extends $pb.ProtobufEnum { LEGACY_BEST_EFFORT, ]; - static final $core.Map<$core.int, FeatureSet_JsonFormat> _byValue = - $pb.ProtobufEnum.initByValue(values); - static FeatureSet_JsonFormat? valueOf($core.int value) => _byValue[value]; + static final $core.List _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.v, super.n); + const FeatureSet_JsonFormat._(super.value, super.name); } /// Represents the identified object's effect on the element in the original @@ -574,12 +583,13 @@ class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum { ALIAS, ]; - static final $core.Map<$core.int, GeneratedCodeInfo_Annotation_Semantic> - _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => - _byValue[value]; + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const GeneratedCodeInfo_Annotation_Semantic._(super.v, super.n); + const GeneratedCodeInfo_Annotation_Semantic._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbjson.dart index 6baa16ddd..c5c67a09a 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/descriptor.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// +// Generated from google/protobuf/descriptor.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -290,8 +291,8 @@ const ExtensionRangeOptions$json = { '4': 3, '5': 11, '6': '.google.protobuf.ExtensionRangeOptions.Declaration', - '8': {}, - '10': 'declaration' + '8': {'17': 2}, + '10': 'declaration', }, { '1': 'features', @@ -308,8 +309,8 @@ const ExtensionRangeOptions$json = { '5': 14, '6': '.google.protobuf.ExtensionRangeOptions.VerificationState', '7': 'UNVERIFIED', - '8': {}, - '10': 'verification' + '8': {'17': 2}, + '10': 'verification', }, ], '3': [ExtensionRangeOptions_Declaration$json], @@ -1436,8 +1437,17 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.FieldPresence', - '8': {}, - '10': 'fieldPresence' + '8': { + '17': 1, + '19': [4, 1], + '20': [ + {'2': 'EXPLICIT', '3': 998}, + {'2': 'IMPLICIT', '3': 999}, + {'2': 'EXPLICIT', '3': 1000}, + ], + '22': {'1': 1000}, + }, + '10': 'fieldPresence', }, { '1': 'enum_type', @@ -1445,8 +1455,16 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.EnumType', - '8': {}, - '10': 'enumType' + '8': { + '17': 1, + '19': [6, 1], + '20': [ + {'2': 'CLOSED', '3': 998}, + {'2': 'OPEN', '3': 999}, + ], + '22': {'1': 1000}, + }, + '10': 'enumType', }, { '1': 'repeated_field_encoding', @@ -1454,8 +1472,16 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.RepeatedFieldEncoding', - '8': {}, - '10': 'repeatedFieldEncoding' + '8': { + '17': 1, + '19': [4, 1], + '20': [ + {'2': 'EXPANDED', '3': 998}, + {'2': 'PACKED', '3': 999}, + ], + '22': {'1': 1000}, + }, + '10': 'repeatedFieldEncoding', }, { '1': 'utf8_validation', @@ -1463,8 +1489,16 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.Utf8Validation', - '8': {}, - '10': 'utf8Validation' + '8': { + '17': 1, + '19': [4, 1], + '20': [ + {'2': 'NONE', '3': 998}, + {'2': 'VERIFY', '3': 999}, + ], + '22': {'1': 1000}, + }, + '10': 'utf8Validation', }, { '1': 'message_encoding', @@ -1472,8 +1506,15 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.MessageEncoding', - '8': {}, - '10': 'messageEncoding' + '8': { + '17': 1, + '19': [4, 1], + '20': [ + {'2': 'LENGTH_PREFIXED', '3': 998}, + ], + '22': {'1': 1000}, + }, + '10': 'messageEncoding', }, { '1': 'json_format', @@ -1481,8 +1522,16 @@ const FeatureSet$json = { '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.JsonFormat', - '8': {}, - '10': 'jsonFormat' + '8': { + '17': 1, + '19': [3, 6, 1], + '20': [ + {'2': 'LEGACY_BEST_EFFORT', '3': 998}, + {'2': 'ALLOW', '3': 999}, + ], + '22': {'1': 1000}, + }, + '10': 'jsonFormat', }, ], '4': [ diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pb.dart index ba1a76b0e..5cba2308c 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// +// Generated from google/protobuf/duration.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -17,85 +19,83 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// A Duration represents a signed, fixed-length span of time represented -/// as a count of seconds and fractions of seconds at nanosecond -/// resolution. It is independent of any calendar and concepts like "day" -/// or "month". It is related to Timestamp in that the difference between -/// two Timestamp values is a Duration and it can be added or subtracted -/// from a Timestamp. Range is approximately +-10,000 years. +/// A Duration represents a signed, fixed-length span of time represented +/// as a count of seconds and fractions of seconds at nanosecond +/// resolution. It is independent of any calendar and concepts like "day" +/// or "month". It is related to Timestamp in that the difference between +/// two Timestamp values is a Duration and it can be added or subtracted +/// from a Timestamp. Range is approximately +-10,000 years. /// -/// # Examples +/// # Examples /// -/// Example 1: Compute Duration from two Timestamps in pseudo code. +/// Example 1: Compute Duration from two Timestamps in pseudo code. /// -/// Timestamp start = ...; -/// Timestamp end = ...; -/// Duration duration = ...; +/// Timestamp start = ...; +/// Timestamp end = ...; +/// Duration duration = ...; /// -/// duration.seconds = end.seconds - start.seconds; -/// duration.nanos = end.nanos - start.nanos; +/// duration.seconds = end.seconds - start.seconds; +/// duration.nanos = end.nanos - start.nanos; /// -/// if (duration.seconds < 0 && duration.nanos > 0) { -/// duration.seconds += 1; -/// duration.nanos -= 1000000000; -/// } else if (duration.seconds > 0 && duration.nanos < 0) { -/// duration.seconds -= 1; -/// duration.nanos += 1000000000; -/// } +/// if (duration.seconds < 0 && duration.nanos > 0) { +/// duration.seconds += 1; +/// duration.nanos -= 1000000000; +/// } else if (duration.seconds > 0 && duration.nanos < 0) { +/// duration.seconds -= 1; +/// duration.nanos += 1000000000; +/// } /// -/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. +/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. /// -/// Timestamp start = ...; -/// Duration duration = ...; -/// Timestamp end = ...; +/// Timestamp start = ...; +/// Duration duration = ...; +/// Timestamp end = ...; /// -/// end.seconds = start.seconds + duration.seconds; -/// end.nanos = start.nanos + duration.nanos; +/// end.seconds = start.seconds + duration.seconds; +/// end.nanos = start.nanos + duration.nanos; /// -/// if (end.nanos < 0) { -/// end.seconds -= 1; -/// end.nanos += 1000000000; -/// } else if (end.nanos >= 1000000000) { -/// end.seconds += 1; -/// end.nanos -= 1000000000; -/// } +/// if (end.nanos < 0) { +/// end.seconds -= 1; +/// end.nanos += 1000000000; +/// } else if (end.nanos >= 1000000000) { +/// end.seconds += 1; +/// end.nanos -= 1000000000; +/// } /// -/// Example 3: Compute Duration from datetime.timedelta in Python. +/// Example 3: Compute Duration from datetime.timedelta in Python. /// -/// td = datetime.timedelta(days=3, minutes=10) -/// duration = Duration() -/// duration.FromTimedelta(td) +/// td = datetime.timedelta(days=3, minutes=10) +/// duration = Duration() +/// duration.FromTimedelta(td) /// -/// # JSON Mapping +/// # JSON Mapping /// -/// In JSON format, the Duration type is encoded as a string rather than an -/// object, where the string ends in the suffix "s" (indicating seconds) and -/// is preceded by the number of seconds, with nanoseconds expressed as -/// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -/// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -/// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -/// microsecond should be expressed in JSON format as "3.000001s". +/// In JSON format, the Duration type is encoded as a string rather than an +/// object, where the string ends in the suffix "s" (indicating seconds) and +/// is preceded by the number of seconds, with nanoseconds expressed as +/// fractional seconds. For example, 3 seconds with 0 nanoseconds should be +/// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +/// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +/// microsecond should be expressed in JSON format as "3.000001s". class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { factory Duration({ $fixnum.Int64? seconds, $core.int? nanos, }) { - final $result = create(); - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; + final result = create(); + if (seconds != null) result.seconds = seconds; + if (nanos != null) result.nanos = nanos; + return result; } - Duration._() : super(); - factory Duration.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Duration.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Duration._(); + + factory Duration.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Duration.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Duration', @@ -108,20 +108,18 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Duration clone() => Duration()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Duration copyWith(void Function(Duration) updates) => super.copyWith((message) => updates(message as Duration)) as Duration; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Duration create() => Duration._(); + @$core.override Duration createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -135,10 +133,7 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { @$pb.TagNumber(1) $fixnum.Int64 get seconds => $_getI64(0); @$pb.TagNumber(1) - set seconds($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set seconds($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasSeconds() => $_has(0); @$pb.TagNumber(1) @@ -153,10 +148,7 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { @$pb.TagNumber(2) $core.int get nanos => $_getIZ(1); @$pb.TagNumber(2) - set nanos($core.int v) { - $_setSignedInt32(1, v); - } - + set nanos($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasNanos() => $_has(1); @$pb.TagNumber(2) @@ -178,6 +170,7 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { (duration.inMicroseconds % $core.Duration.microsecondsPerSecond) * 1000; } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbenum.dart index 431da01d6..bc980256f 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// +// Generated from google/protobuf/duration.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbjson.dart index 247421db0..9d986eafa 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/duration.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// +// Generated from google/protobuf/duration.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pb.dart index 5c21c3c37..0d803e08c 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// +// Generated from google/protobuf/empty.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,22 +16,24 @@ import 'package:protobuf/protobuf.dart' as $pb; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// A generic empty message that you can re-use to avoid defining duplicated -/// empty messages in your APIs. A typical example is to use it as the request -/// or the response type of an API method. For instance: +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. A typical example is to use it as the request +/// or the response type of an API method. For instance: /// -/// service Foo { -/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -/// } +/// service Foo { +/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +/// } class Empty extends $pb.GeneratedMessage { factory Empty() => create(); - Empty._() : super(); - factory Empty.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Empty.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Empty._(); + + factory Empty.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Empty.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Empty', @@ -39,20 +42,18 @@ class Empty extends $pb.GeneratedMessage { createEmptyInstance: create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Empty clone() => Empty()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Empty create() => Empty._(); + @$core.override Empty createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -61,5 +62,5 @@ class Empty extends $pb.GeneratedMessage { static Empty? _defaultInstance; } -const _omitMessageNames = +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbenum.dart index dfb634ba2..0573bd5a6 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// +// Generated from google/protobuf/empty.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbjson.dart index 9a2647285..1a7b5e489 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/empty.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// +// Generated from google/protobuf/empty.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pb.dart index 8126dfa2c..d8e78e416 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/field_mask.proto -// +// Generated from google/protobuf/field_mask.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -16,222 +18,222 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// `FieldMask` represents a set of symbolic field paths, for example: -/// -/// paths: "f.a" -/// paths: "f.b.d" -/// -/// Here `f` represents a field in some root message, `a` and `b` -/// fields in the message found in `f`, and `d` a field found in the -/// message in `f.b`. -/// -/// Field masks are used to specify a subset of fields that should be -/// returned by a get operation or modified by an update operation. -/// Field masks also have a custom JSON encoding (see below). -/// -/// # Field Masks in Projections -/// -/// When used in the context of a projection, a response message or -/// sub-message is filtered by the API to only contain those fields as -/// specified in the mask. For example, if the mask in the previous -/// example is applied to a response message as follows: -/// -/// f { -/// a : 22 -/// b { -/// d : 1 -/// x : 2 -/// } -/// y : 13 -/// } -/// z: 8 -/// -/// The result will not contain specific values for fields x,y and z -/// (their value will be set to the default, and omitted in proto text -/// output): -/// -/// -/// f { -/// a : 22 -/// b { -/// d : 1 -/// } -/// } -/// -/// A repeated field is not allowed except at the last position of a -/// paths string. -/// -/// If a FieldMask object is not present in a get operation, the -/// operation applies to all fields (as if a FieldMask of all fields -/// had been specified). -/// -/// Note that a field mask does not necessarily apply to the -/// top-level response message. In case of a REST get operation, the -/// field mask applies directly to the response, but in case of a REST -/// list operation, the mask instead applies to each individual message -/// in the returned resource list. In case of a REST custom method, -/// other definitions may be used. Where the mask applies will be -/// clearly documented together with its declaration in the API. In -/// any case, the effect on the returned resource/resources is required -/// behavior for APIs. -/// -/// # Field Masks in Update Operations -/// -/// A field mask in update operations specifies which fields of the -/// targeted resource are going to be updated. The API is required -/// to only change the values of the fields as specified in the mask -/// and leave the others untouched. If a resource is passed in to -/// describe the updated values, the API ignores the values of all -/// fields not covered by the mask. -/// -/// If a repeated field is specified for an update operation, new values will -/// be appended to the existing repeated field in the target resource. Note that -/// a repeated field is only allowed in the last position of a `paths` string. -/// -/// If a sub-message is specified in the last position of the field mask for an -/// update operation, then new value will be merged into the existing sub-message -/// in the target resource. -/// -/// For example, given the target message: -/// -/// f { -/// b { -/// d: 1 -/// x: 2 -/// } -/// c: [1] -/// } -/// -/// And an update message: -/// -/// f { -/// b { -/// d: 10 -/// } -/// c: [2] -/// } -/// -/// then if the field mask is: -/// -/// paths: ["f.b", "f.c"] -/// -/// then the result will be: -/// -/// f { -/// b { -/// d: 10 -/// x: 2 -/// } -/// c: [1, 2] -/// } -/// -/// An implementation may provide options to override this default behavior for -/// repeated and message fields. -/// -/// In order to reset a field's value to the default, the field must -/// be in the mask and set to the default value in the provided resource. -/// Hence, in order to reset all fields of a resource, provide a default -/// instance of the resource and set all fields in the mask, or do -/// not provide a mask as described below. -/// -/// If a field mask is not present on update, the operation applies to -/// all fields (as if a field mask of all fields has been specified). -/// Note that in the presence of schema evolution, this may mean that -/// fields the client does not know and has therefore not filled into -/// the request will be reset to their default. If this is unwanted -/// behavior, a specific service may require a client to always specify -/// a field mask, producing an error if not. -/// -/// As with get operations, the location of the resource which -/// describes the updated values in the request message depends on the -/// operation kind. In any case, the effect of the field mask is -/// required to be honored by the API. -/// -/// ## Considerations for HTTP REST +/// `FieldMask` represents a set of symbolic field paths, for example: +/// +/// paths: "f.a" +/// paths: "f.b.d" +/// +/// Here `f` represents a field in some root message, `a` and `b` +/// fields in the message found in `f`, and `d` a field found in the +/// message in `f.b`. +/// +/// Field masks are used to specify a subset of fields that should be +/// returned by a get operation or modified by an update operation. +/// Field masks also have a custom JSON encoding (see below). +/// +/// # Field Masks in Projections +/// +/// When used in the context of a projection, a response message or +/// sub-message is filtered by the API to only contain those fields as +/// specified in the mask. For example, if the mask in the previous +/// example is applied to a response message as follows: +/// +/// f { +/// a : 22 +/// b { +/// d : 1 +/// x : 2 +/// } +/// y : 13 +/// } +/// z: 8 +/// +/// The result will not contain specific values for fields x,y and z +/// (their value will be set to the default, and omitted in proto text +/// output): +/// +/// +/// f { +/// a : 22 +/// b { +/// d : 1 +/// } +/// } +/// +/// A repeated field is not allowed except at the last position of a +/// paths string. +/// +/// If a FieldMask object is not present in a get operation, the +/// operation applies to all fields (as if a FieldMask of all fields +/// had been specified). +/// +/// Note that a field mask does not necessarily apply to the +/// top-level response message. In case of a REST get operation, the +/// field mask applies directly to the response, but in case of a REST +/// list operation, the mask instead applies to each individual message +/// in the returned resource list. In case of a REST custom method, +/// other definitions may be used. Where the mask applies will be +/// clearly documented together with its declaration in the API. In +/// any case, the effect on the returned resource/resources is required +/// behavior for APIs. +/// +/// # Field Masks in Update Operations +/// +/// A field mask in update operations specifies which fields of the +/// targeted resource are going to be updated. The API is required +/// to only change the values of the fields as specified in the mask +/// and leave the others untouched. If a resource is passed in to +/// describe the updated values, the API ignores the values of all +/// fields not covered by the mask. +/// +/// If a repeated field is specified for an update operation, new values will +/// be appended to the existing repeated field in the target resource. Note that +/// a repeated field is only allowed in the last position of a `paths` string. +/// +/// If a sub-message is specified in the last position of the field mask for an +/// update operation, then new value will be merged into the existing sub-message +/// in the target resource. +/// +/// For example, given the target message: +/// +/// f { +/// b { +/// d: 1 +/// x: 2 +/// } +/// c: [1] +/// } +/// +/// And an update message: +/// +/// f { +/// b { +/// d: 10 +/// } +/// c: [2] +/// } +/// +/// then if the field mask is: +/// +/// paths: ["f.b", "f.c"] +/// +/// then the result will be: +/// +/// f { +/// b { +/// d: 10 +/// x: 2 +/// } +/// c: [1, 2] +/// } +/// +/// An implementation may provide options to override this default behavior for +/// repeated and message fields. +/// +/// In order to reset a field's value to the default, the field must +/// be in the mask and set to the default value in the provided resource. +/// Hence, in order to reset all fields of a resource, provide a default +/// instance of the resource and set all fields in the mask, or do +/// not provide a mask as described below. +/// +/// If a field mask is not present on update, the operation applies to +/// all fields (as if a field mask of all fields has been specified). +/// Note that in the presence of schema evolution, this may mean that +/// fields the client does not know and has therefore not filled into +/// the request will be reset to their default. If this is unwanted +/// behavior, a specific service may require a client to always specify +/// a field mask, producing an error if not. +/// +/// As with get operations, the location of the resource which +/// describes the updated values in the request message depends on the +/// operation kind. In any case, the effect of the field mask is +/// required to be honored by the API. +/// +/// ## Considerations for HTTP REST /// -/// The HTTP kind of an update operation which uses a field mask must -/// be set to PATCH instead of PUT in order to satisfy HTTP semantics -/// (PUT must only be used for full updates). -/// -/// # JSON Encoding of Field Masks -/// -/// In JSON, a field mask is encoded as a single string where paths are -/// separated by a comma. Fields name in each path are converted -/// to/from lower-camel naming conventions. -/// -/// As an example, consider the following message declarations: +/// The HTTP kind of an update operation which uses a field mask must +/// be set to PATCH instead of PUT in order to satisfy HTTP semantics +/// (PUT must only be used for full updates). +/// +/// # JSON Encoding of Field Masks +/// +/// In JSON, a field mask is encoded as a single string where paths are +/// separated by a comma. Fields name in each path are converted +/// to/from lower-camel naming conventions. +/// +/// As an example, consider the following message declarations: /// -/// message Profile { -/// User user = 1; -/// Photo photo = 2; -/// } -/// message User { -/// string display_name = 1; -/// string address = 2; -/// } +/// message Profile { +/// User user = 1; +/// Photo photo = 2; +/// } +/// message User { +/// string display_name = 1; +/// string address = 2; +/// } /// -/// In proto a field mask for `Profile` may look as such: +/// In proto a field mask for `Profile` may look as such: /// -/// mask { -/// paths: "user.display_name" -/// paths: "photo" -/// } +/// mask { +/// paths: "user.display_name" +/// paths: "photo" +/// } /// -/// In JSON, the same mask is represented as below: +/// In JSON, the same mask is represented as below: /// -/// { -/// mask: "user.displayName,photo" -/// } +/// { +/// mask: "user.displayName,photo" +/// } /// -/// # Field Masks and Oneof Fields +/// # Field Masks and Oneof Fields /// -/// Field masks treat fields in oneofs just as regular fields. Consider the -/// following message: +/// Field masks treat fields in oneofs just as regular fields. Consider the +/// following message: /// -/// message SampleMessage { -/// oneof test_oneof { -/// string name = 4; -/// SubMessage sub_message = 9; -/// } -/// } +/// message SampleMessage { +/// oneof test_oneof { +/// string name = 4; +/// SubMessage sub_message = 9; +/// } +/// } /// -/// The field mask can be: +/// The field mask can be: /// -/// mask { -/// paths: "name" -/// } +/// mask { +/// paths: "name" +/// } /// -/// Or: +/// Or: /// -/// mask { -/// paths: "sub_message" -/// } +/// mask { +/// paths: "sub_message" +/// } /// -/// Note that oneof type names ("test_oneof" in this case) cannot be used in -/// paths. +/// Note that oneof type names ("test_oneof" in this case) cannot be used in +/// paths. /// -/// ## Field Mask Verification +/// ## Field Mask Verification /// -/// The implementation of any API method which has a FieldMask type field in the -/// request should verify the included field paths, and return an -/// `INVALID_ARGUMENT` error if any path is unmappable. +/// The implementation of any API method which has a FieldMask type field in the +/// request should verify the included field paths, and return an +/// `INVALID_ARGUMENT` error if any path is unmappable. class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin { factory FieldMask({ $core.Iterable<$core.String>? paths, }) { - final $result = create(); - if (paths != null) { - $result.paths.addAll(paths); - } - return $result; + final result = create(); + if (paths != null) result.paths.addAll(paths); + return result; } - FieldMask._() : super(); - factory FieldMask.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FieldMask.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FieldMask._(); + + factory FieldMask.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FieldMask.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FieldMask', @@ -243,20 +245,18 @@ class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin { ..pPS(1, _omitFieldNames ? '' : 'paths') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldMask clone() => FieldMask()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FieldMask copyWith(void Function(FieldMask) updates) => super.copyWith((message) => updates(message as FieldMask)) as FieldMask; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldMask create() => FieldMask._(); + @$core.override FieldMask createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -269,6 +269,7 @@ class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin { $pb.PbList<$core.String> get paths => $_getList(0); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbenum.dart index c357b68bc..bccc4ef62 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/field_mask.proto -// +// Generated from google/protobuf/field_mask.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbjson.dart index 311d2c1ac..322fb1618 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/field_mask.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/field_mask.proto -// +// Generated from google/protobuf/field_mask.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pb.dart index 043ff99e4..f52331541 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// +// Generated from google/protobuf/struct.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -20,31 +22,31 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'struct.pbenum.dart'; -/// `Struct` represents a structured data value, consisting of fields -/// which map to dynamically typed values. In some languages, `Struct` -/// might be supported by a native representation. For example, in -/// scripting languages like JS a struct is represented as an -/// object. The details of that representation are described together -/// with the proto support for the language. +/// `Struct` represents a structured data value, consisting of fields +/// which map to dynamically typed values. In some languages, `Struct` +/// might be supported by a native representation. For example, in +/// scripting languages like JS a struct is represented as an +/// object. The details of that representation are described together +/// with the proto support for the language. /// -/// The JSON representation for `Struct` is JSON object. +/// The JSON representation for `Struct` is JSON object. class Struct extends $pb.GeneratedMessage with $mixin.StructMixin { factory Struct({ $core.Iterable<$core.MapEntry<$core.String, Value>>? fields, }) { - final $result = create(); - if (fields != null) { - $result.fields.addEntries(fields); - } - return $result; + final result = create(); + if (fields != null) result.fields.addEntries(fields); + return result; } - Struct._() : super(); - factory Struct.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Struct.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Struct._(); + + factory Struct.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Struct.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Struct', @@ -62,20 +64,18 @@ class Struct extends $pb.GeneratedMessage with $mixin.StructMixin { packageName: const $pb.PackageName('google.protobuf')) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Struct clone() => Struct()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Struct copyWith(void Function(Struct) updates) => super.copyWith((message) => updates(message as Struct)) as Struct; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Struct create() => Struct._(); + @$core.override Struct createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -98,12 +98,12 @@ enum Value_Kind { notSet } -/// `Value` represents a dynamically typed value which can be either -/// null, a number, a string, a boolean, a recursive struct value, or a -/// list of values. A producer of value is expected to set one of these -/// variants. Absence of any variant indicates an error. +/// `Value` represents a dynamically typed value which can be either +/// null, a number, a string, a boolean, a recursive struct value, or a +/// list of values. A producer of value is expected to set one of these +/// variants. Absence of any variant indicates an error. /// -/// The JSON representation for `Value` is JSON value. +/// The JSON representation for `Value` is JSON value. class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { factory Value({ NullValue? nullValue, @@ -113,34 +113,24 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { Struct? structValue, ListValue? listValue, }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (numberValue != null) { - $result.numberValue = numberValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (structValue != null) { - $result.structValue = structValue; - } - if (listValue != null) { - $result.listValue = listValue; - } - return $result; + final result = create(); + if (nullValue != null) result.nullValue = nullValue; + if (numberValue != null) result.numberValue = numberValue; + if (stringValue != null) result.stringValue = stringValue; + if (boolValue != null) result.boolValue = boolValue; + if (structValue != null) result.structValue = structValue; + if (listValue != null) result.listValue = listValue; + return result; } - Value._() : super(); - factory Value.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Value.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Value._(); + + factory Value.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Value.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { 1: Value_Kind.nullValue, @@ -173,20 +163,18 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { subBuilder: ListValue.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Value clone() => Value()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Value create() => Value._(); + @$core.override Value createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -201,10 +189,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(1) NullValue get nullValue => $_getN(0); @$pb.TagNumber(1) - set nullValue(NullValue v) { - $_setField(1, v); - } - + set nullValue(NullValue value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasNullValue() => $_has(0); @$pb.TagNumber(1) @@ -214,10 +199,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(2) $core.double get numberValue => $_getN(1); @$pb.TagNumber(2) - set numberValue($core.double v) { - $_setDouble(1, v); - } - + set numberValue($core.double value) => $_setDouble(1, value); @$pb.TagNumber(2) $core.bool hasNumberValue() => $_has(1); @$pb.TagNumber(2) @@ -227,10 +209,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(3) $core.String get stringValue => $_getSZ(2); @$pb.TagNumber(3) - set stringValue($core.String v) { - $_setString(2, v); - } - + set stringValue($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasStringValue() => $_has(2); @$pb.TagNumber(3) @@ -240,10 +219,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(4) $core.bool get boolValue => $_getBF(3); @$pb.TagNumber(4) - set boolValue($core.bool v) { - $_setBool(3, v); - } - + set boolValue($core.bool value) => $_setBool(3, value); @$pb.TagNumber(4) $core.bool hasBoolValue() => $_has(3); @$pb.TagNumber(4) @@ -253,10 +229,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(5) Struct get structValue => $_getN(4); @$pb.TagNumber(5) - set structValue(Struct v) { - $_setField(5, v); - } - + set structValue(Struct value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasStructValue() => $_has(4); @$pb.TagNumber(5) @@ -268,10 +241,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { @$pb.TagNumber(6) ListValue get listValue => $_getN(5); @$pb.TagNumber(6) - set listValue(ListValue v) { - $_setField(6, v); - } - + set listValue(ListValue value) => $_setField(6, value); @$pb.TagNumber(6) $core.bool hasListValue() => $_has(5); @$pb.TagNumber(6) @@ -280,26 +250,26 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { ListValue ensureListValue() => $_ensure(5); } -/// `ListValue` is a wrapper around a repeated field of values. +/// `ListValue` is a wrapper around a repeated field of values. /// -/// The JSON representation for `ListValue` is JSON array. +/// The JSON representation for `ListValue` is JSON array. class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { factory ListValue({ $core.Iterable? values, }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; + final result = create(); + if (values != null) result.values.addAll(values); + return result; } - ListValue._() : super(); - factory ListValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory ListValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + ListValue._(); + + factory ListValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory ListValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ListValue', @@ -312,20 +282,18 @@ class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { subBuilder: Value.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListValue clone() => ListValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ListValue create() => ListValue._(); + @$core.override ListValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -338,6 +306,7 @@ class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { $pb.PbList get values => $_getList(0); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbenum.dart index 78528b711..480d81506 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbenum.dart @@ -1,22 +1,23 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// +// Generated from google/protobuf/struct.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; -/// `NullValue` is a singleton enumeration to represent the null value for the -/// `Value` type union. +/// `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 = @@ -26,11 +27,13 @@ class NullValue extends $pb.ProtobufEnum { NULL_VALUE, ]; - static final $core.Map<$core.int, NullValue> _byValue = - $pb.ProtobufEnum.initByValue(values); - static NullValue? valueOf($core.int value) => _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 0); + static NullValue? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; - const NullValue._(super.v, super.n); + const NullValue._(super.value, super.name); } -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbjson.dart index 36967b55d..87f9cb49a 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/struct.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// +// Generated from google/protobuf/struct.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pb.dart index 4d8b6cbaa..5feef14dc 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// +// Generated from google/protobuf/timestamp.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -17,116 +19,114 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// A Timestamp represents a point in time independent of any time zone or local -/// calendar, encoded as a count of seconds and fractions of seconds at -/// nanosecond resolution. The count is relative to an epoch at UTC midnight on -/// January 1, 1970, in the proleptic Gregorian calendar which extends the -/// Gregorian calendar backwards to year one. +/// A Timestamp represents a point in time independent of any time zone or local +/// calendar, encoded as a count of seconds and fractions of seconds at +/// nanosecond resolution. The count is relative to an epoch at UTC midnight on +/// January 1, 1970, in the proleptic Gregorian calendar which extends the +/// Gregorian calendar backwards to year one. /// -/// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -/// second table is needed for interpretation, using a [24-hour linear -/// smear](https://developers.google.com/time/smear). +/// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +/// second table is needed for interpretation, using a [24-hour linear +/// smear](https://developers.google.com/time/smear). /// -/// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -/// restricting to that range, we ensure that we can convert to and from [RFC -/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. +/// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +/// restricting to that range, we ensure that we can convert to and from [RFC +/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. /// -/// # Examples +/// # Examples /// -/// Example 1: Compute Timestamp from POSIX `time()`. +/// Example 1: Compute Timestamp from POSIX `time()`. /// -/// Timestamp timestamp; -/// timestamp.set_seconds(time(NULL)); -/// timestamp.set_nanos(0); +/// Timestamp timestamp; +/// timestamp.set_seconds(time(NULL)); +/// timestamp.set_nanos(0); /// -/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. +/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. /// -/// struct timeval tv; -/// gettimeofday(&tv, NULL); +/// struct timeval tv; +/// gettimeofday(&tv, NULL); /// -/// Timestamp timestamp; -/// timestamp.set_seconds(tv.tv_sec); -/// timestamp.set_nanos(tv.tv_usec * 1000); +/// Timestamp timestamp; +/// timestamp.set_seconds(tv.tv_sec); +/// timestamp.set_nanos(tv.tv_usec * 1000); /// -/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. +/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. /// -/// FILETIME ft; -/// GetSystemTimeAsFileTime(&ft); -/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; +/// FILETIME ft; +/// GetSystemTimeAsFileTime(&ft); +/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; /// -/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -/// Timestamp timestamp; -/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); +/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z +/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. +/// Timestamp timestamp; +/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); +/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); /// -/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. +/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. /// -/// long millis = System.currentTimeMillis(); +/// long millis = System.currentTimeMillis(); /// -/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -/// .setNanos((int) ((millis % 1000) * 1000000)).build(); +/// 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 Java `Instant.now()`. /// -/// Instant now = Instant.now(); +/// Instant now = Instant.now(); /// -/// Timestamp timestamp = -/// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) -/// .setNanos(now.getNano()).build(); +/// Timestamp timestamp = +/// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) +/// .setNanos(now.getNano()).build(); /// -/// Example 6: Compute Timestamp from current time in Python. +/// Example 6: Compute Timestamp from current time in Python. /// -/// timestamp = Timestamp() -/// timestamp.GetCurrentTime() +/// timestamp = Timestamp() +/// timestamp.GetCurrentTime() /// -/// # JSON Mapping +/// # JSON Mapping /// -/// In JSON format, the Timestamp type is encoded as a string in the -/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -/// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -/// where {year} is always expressed using four digits while {month}, {day}, -/// {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 -/// able to accept both UTC and other timezones (as indicated by an offset). +/// In JSON format, the Timestamp type is encoded as a string in the +/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +/// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +/// where {year} is always expressed using four digits while {month}, {day}, +/// {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 +/// 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 -/// 01:30 UTC on January 15, 2017. +/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +/// 01:30 UTC on January 15, 2017. /// -/// In JavaScript, one can convert a Date object to this format using the -/// standard -/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -/// method. In Python, a standard `datetime.datetime` object can be converted -/// to this format using -/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -/// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() -/// ) to obtain a formatter capable of generating timestamps in this format. +/// In JavaScript, one can convert a Date object to this format using the +/// standard +/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +/// method. In Python, a standard `datetime.datetime` object can be converted +/// to this format using +/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +/// the Joda Time's [`ISODateTimeFormat.dateTime()`]( +/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() +/// ) to obtain a formatter capable of generating timestamps in this format. class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { factory Timestamp({ $fixnum.Int64? seconds, $core.int? nanos, }) { - final $result = create(); - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; + final result = create(); + if (seconds != null) result.seconds = seconds; + if (nanos != null) result.nanos = nanos; + return result; } - Timestamp._() : super(); - factory Timestamp.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Timestamp.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Timestamp._(); + + factory Timestamp.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Timestamp.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Timestamp', @@ -139,20 +139,18 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Timestamp clone() => Timestamp()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Timestamp copyWith(void Function(Timestamp) updates) => super.copyWith((message) => updates(message as Timestamp)) as Timestamp; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Timestamp create() => Timestamp._(); + @$core.override Timestamp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -166,10 +164,7 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { @$pb.TagNumber(1) $fixnum.Int64 get seconds => $_getI64(0); @$pb.TagNumber(1) - set seconds($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set seconds($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasSeconds() => $_has(0); @$pb.TagNumber(1) @@ -182,10 +177,7 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { @$pb.TagNumber(2) $core.int get nanos => $_getIZ(1); @$pb.TagNumber(2) - set nanos($core.int v) { - $_setSignedInt32(1, v); - } - + set nanos($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasNanos() => $_has(1); @$pb.TagNumber(2) @@ -201,6 +193,7 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { } } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbenum.dart index 1eaa8d177..f952d36b3 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// +// Generated from google/protobuf/timestamp.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbjson.dart index 2fc1450f6..a1320368a 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/timestamp.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// +// Generated from google/protobuf/timestamp.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pb.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pb.dart index e2acb74e9..ad4bd6a20 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pb.dart @@ -1,13 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// +// Generated from google/protobuf/wrappers.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: implementation_imports, library_prefixes +// ignore_for_file: non_constant_identifier_names import 'dart:core' as $core; @@ -17,26 +19,26 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// Wrapper message for `double`. +/// Wrapper message for `double`. /// -/// The JSON representation for `DoubleValue` is JSON number. +/// The JSON representation for `DoubleValue` is JSON number. class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin { factory DoubleValue({ $core.double? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - DoubleValue._() : super(); - factory DoubleValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory DoubleValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + DoubleValue._(); + + factory DoubleValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DoubleValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DoubleValue', @@ -48,21 +50,19 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin { ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DoubleValue clone() => DoubleValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DoubleValue create() => DoubleValue._(); + @$core.override DoubleValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -74,36 +74,33 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin { @$pb.TagNumber(1) $core.double get value => $_getN(0); @$pb.TagNumber(1) - set value($core.double v) { - $_setDouble(0, v); - } - + set value($core.double value) => $_setDouble(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `float`. +/// Wrapper message for `float`. /// -/// The JSON representation for `FloatValue` is JSON number. +/// The JSON representation for `FloatValue` is JSON number. class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin { factory FloatValue({ $core.double? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - FloatValue._() : super(); - factory FloatValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory FloatValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + FloatValue._(); + + factory FloatValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FloatValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FloatValue', @@ -115,20 +112,18 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin { ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FloatValue clone() => FloatValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FloatValue create() => FloatValue._(); + @$core.override FloatValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -140,36 +135,33 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin { @$pb.TagNumber(1) $core.double get value => $_getN(0); @$pb.TagNumber(1) - set value($core.double v) { - $_setFloat(0, v); - } - + set value($core.double value) => $_setFloat(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `int64`. +/// Wrapper message for `int64`. /// -/// The JSON representation for `Int64Value` is JSON string. +/// The JSON representation for `Int64Value` is JSON string. class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin { factory Int64Value({ $fixnum.Int64? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - Int64Value._() : super(); - factory Int64Value.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Int64Value.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Int64Value._(); + + factory Int64Value.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Int64Value.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Int64Value', @@ -181,20 +173,18 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin { ..aInt64(1, _omitFieldNames ? '' : 'value') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int64Value clone() => Int64Value()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int64Value create() => Int64Value._(); + @$core.override Int64Value createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -206,36 +196,33 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin { @$pb.TagNumber(1) $fixnum.Int64 get value => $_getI64(0); @$pb.TagNumber(1) - set value($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set value($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `uint64`. +/// Wrapper message for `uint64`. /// -/// The JSON representation for `UInt64Value` is JSON string. +/// The JSON representation for `UInt64Value` is JSON string. class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin { factory UInt64Value({ $fixnum.Int64? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - UInt64Value._() : super(); - factory UInt64Value.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UInt64Value.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UInt64Value._(); + + factory UInt64Value.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UInt64Value.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UInt64Value', @@ -248,21 +235,19 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin { defaultOrMaker: $fixnum.Int64.ZERO) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt64Value clone() => UInt64Value()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt64Value create() => UInt64Value._(); + @$core.override UInt64Value createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -274,36 +259,33 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin { @$pb.TagNumber(1) $fixnum.Int64 get value => $_getI64(0); @$pb.TagNumber(1) - set value($fixnum.Int64 v) { - $_setInt64(0, v); - } - + set value($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `int32`. +/// Wrapper message for `int32`. /// -/// The JSON representation for `Int32Value` is JSON number. +/// The JSON representation for `Int32Value` is JSON number. class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin { factory Int32Value({ $core.int? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - Int32Value._() : super(); - factory Int32Value.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Int32Value.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Int32Value._(); + + factory Int32Value.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Int32Value.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Int32Value', @@ -315,20 +297,18 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin { ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int32Value clone() => Int32Value()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int32Value create() => Int32Value._(); + @$core.override Int32Value createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -340,36 +320,33 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin { @$pb.TagNumber(1) $core.int get value => $_getIZ(0); @$pb.TagNumber(1) - set value($core.int v) { - $_setSignedInt32(0, v); - } - + set value($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `uint32`. +/// Wrapper message for `uint32`. /// -/// The JSON representation for `UInt32Value` is JSON number. +/// The JSON representation for `UInt32Value` is JSON number. class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin { factory UInt32Value({ $core.int? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - UInt32Value._() : super(); - factory UInt32Value.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory UInt32Value.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + UInt32Value._(); + + factory UInt32Value.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UInt32Value.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UInt32Value', @@ -381,21 +358,19 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin { ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt32Value clone() => UInt32Value()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt32Value create() => UInt32Value._(); + @$core.override UInt32Value createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -407,36 +382,33 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin { @$pb.TagNumber(1) $core.int get value => $_getIZ(0); @$pb.TagNumber(1) - set value($core.int v) { - $_setUnsignedInt32(0, v); - } - + set value($core.int value) => $_setUnsignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `bool`. +/// Wrapper message for `bool`. /// -/// The JSON representation for `BoolValue` is JSON `true` and `false`. +/// The JSON representation for `BoolValue` is JSON `true` and `false`. class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin { factory BoolValue({ $core.bool? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - BoolValue._() : super(); - factory BoolValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BoolValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + BoolValue._(); + + factory BoolValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory BoolValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BoolValue', @@ -448,20 +420,18 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin { ..aOB(1, _omitFieldNames ? '' : 'value') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BoolValue clone() => BoolValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BoolValue create() => BoolValue._(); + @$core.override BoolValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -473,36 +443,33 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin { @$pb.TagNumber(1) $core.bool get value => $_getBF(0); @$pb.TagNumber(1) - set value($core.bool v) { - $_setBool(0, v); - } - + set value($core.bool value) => $_setBool(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `string`. +/// Wrapper message for `string`. /// -/// The JSON representation for `StringValue` is JSON string. +/// The JSON representation for `StringValue` is JSON string. class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin { factory StringValue({ $core.String? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - StringValue._() : super(); - factory StringValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory StringValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + StringValue._(); + + factory StringValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory StringValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'StringValue', @@ -514,21 +481,19 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin { ..aOS(1, _omitFieldNames ? '' : 'value') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StringValue clone() => StringValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StringValue create() => StringValue._(); + @$core.override StringValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -540,36 +505,33 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin { @$pb.TagNumber(1) $core.String get value => $_getSZ(0); @$pb.TagNumber(1) - set value($core.String v) { - $_setString(0, v); - } - + set value($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -/// Wrapper message for `bytes`. +/// Wrapper message for `bytes`. /// -/// The JSON representation for `BytesValue` is JSON string. +/// The JSON representation for `BytesValue` is JSON string. class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin { factory BytesValue({ $core.List<$core.int>? value, }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; + final result = create(); + if (value != null) result.value = value; + return result; } - BytesValue._() : super(); - factory BytesValue.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory BytesValue.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + BytesValue._(); + + factory BytesValue.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory BytesValue.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BytesValue', @@ -582,20 +544,18 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin { 1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BytesValue clone() => BytesValue()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BytesValue create() => BytesValue._(); + @$core.override BytesValue createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -607,16 +567,14 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin { @$pb.TagNumber(1) $core.List<$core.int> get value => $_getN(0); @$pb.TagNumber(1) - set value($core.List<$core.int> v) { - $_setBytes(0, v); - } - + set value($core.List<$core.int> value) => $_setBytes(0, value); @$pb.TagNumber(1) $core.bool hasValue() => $_has(0); @$pb.TagNumber(1) void clearValue() => $_clearField(1); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbenum.dart index 85394f52d..33121d001 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// +// Generated from google/protobuf/wrappers.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbjson.dart index bd5e356ba..2f79beba5 100644 --- a/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/protobuf/wrappers.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// +// Generated from google/protobuf/wrappers.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/rpc/status.pb.dart b/packages/celest_cloud/lib/src/proto/google/rpc/status.pb.dart index 1b802be61..0210940b2 100644 --- a/packages/celest_cloud/lib/src/proto/google/rpc/status.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/rpc/status.pb.dart @@ -1,54 +1,51 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/rpc/status.proto -// +// Generated from google/rpc/status.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 '../protobuf/any.pb.dart' as $13; +import '../protobuf/any.pb.dart' as $0; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// The `Status` type defines a logical error model that is suitable for -/// different programming environments, including REST APIs and RPC APIs. It is -/// used by [gRPC](https://github.com/grpc). Each `Status` message contains -/// three pieces of data: error code, error message, and error details. +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. It is +/// used by [gRPC](https://github.com/grpc). Each `Status` message contains +/// three pieces of data: error code, error message, and error details. /// -/// You can find out more about this error model and how to work with it in the -/// [API Design Guide](https://cloud.google.com/apis/design/errors). +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). class Status extends $pb.GeneratedMessage { factory Status({ $core.int? code, $core.String? message, - $core.Iterable<$13.Any>? details, + $core.Iterable<$0.Any>? details, }) { - final $result = create(); - if (code != null) { - $result.code = code; - } - if (message != null) { - $result.message = message; - } - if (details != null) { - $result.details.addAll(details); - } - return $result; + final result = create(); + if (code != null) result.code = code; + if (message != null) result.message = message; + if (details != null) result.details.addAll(details); + return result; } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Status._(); + + factory Status.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Status.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Status', @@ -56,24 +53,22 @@ class Status extends $pb.GeneratedMessage { createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3) ..aOS(2, _omitFieldNames ? '' : 'message') - ..pc<$13.Any>(3, _omitFieldNames ? '' : 'details', $pb.PbFieldType.PM, - subBuilder: $13.Any.create) + ..pc<$0.Any>(3, _omitFieldNames ? '' : 'details', $pb.PbFieldType.PM, + subBuilder: $0.Any.create) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Status create() => Status._(); + @$core.override Status createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -86,10 +81,7 @@ class Status extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get code => $_getIZ(0); @$pb.TagNumber(1) - set code($core.int v) { - $_setSignedInt32(0, v); - } - + set code($core.int value) => $_setSignedInt32(0, value); @$pb.TagNumber(1) $core.bool hasCode() => $_has(0); @$pb.TagNumber(1) @@ -102,10 +94,7 @@ class Status extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get message => $_getSZ(1); @$pb.TagNumber(2) - set message($core.String v) { - $_setString(1, v); - } - + set message($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasMessage() => $_has(1); @$pb.TagNumber(2) @@ -114,9 +103,10 @@ class Status extends $pb.GeneratedMessage { /// A list of messages that carry the error details. There is a common set of /// message types for APIs to use. @$pb.TagNumber(3) - $pb.PbList<$13.Any> get details => $_getList(2); + $pb.PbList<$0.Any> get details => $_getList(2); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/rpc/status.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/rpc/status.pbenum.dart index fcd164e84..646a13c5d 100644 --- a/packages/celest_cloud/lib/src/proto/google/rpc/status.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/rpc/status.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/rpc/status.proto -// +// Generated from google/rpc/status.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/rpc/status.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/rpc/status.pbjson.dart index 2a44250d8..980424665 100644 --- a/packages/celest_cloud/lib/src/proto/google/rpc/status.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/rpc/status.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/rpc/status.proto -// +// Generated from google/rpc/status.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/type/money.pb.dart b/packages/celest_cloud/lib/src/proto/google/type/money.pb.dart index 453cf7bd6..5aaf71982 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/money.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/money.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/money.proto -// +// Generated from google/type/money.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -23,25 +24,21 @@ class Money extends $pb.GeneratedMessage { $fixnum.Int64? units, $core.int? nanos, }) { - final $result = create(); - if (currencyCode != null) { - $result.currencyCode = currencyCode; - } - if (units != null) { - $result.units = units; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; + final result = create(); + if (currencyCode != null) result.currencyCode = currencyCode; + if (units != null) result.units = units; + if (nanos != null) result.nanos = nanos; + return result; } - Money._() : super(); - factory Money.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Money.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + Money._(); + + factory Money.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory Money.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Money', @@ -52,20 +49,18 @@ class Money extends $pb.GeneratedMessage { ..a<$core.int>(3, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Money clone() => Money()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Money copyWith(void Function(Money) updates) => super.copyWith((message) => updates(message as Money)) as Money; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Money create() => Money._(); + @$core.override Money createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -77,10 +72,7 @@ class Money extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.String get currencyCode => $_getSZ(0); @$pb.TagNumber(1) - set currencyCode($core.String v) { - $_setString(0, v); - } - + set currencyCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasCurrencyCode() => $_has(0); @$pb.TagNumber(1) @@ -91,10 +83,7 @@ class Money extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get units => $_getI64(1); @$pb.TagNumber(2) - set units($fixnum.Int64 v) { - $_setInt64(1, v); - } - + set units($fixnum.Int64 value) => $_setInt64(1, value); @$pb.TagNumber(2) $core.bool hasUnits() => $_has(1); @$pb.TagNumber(2) @@ -109,16 +98,14 @@ class Money extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get nanos => $_getIZ(2); @$pb.TagNumber(3) - set nanos($core.int v) { - $_setSignedInt32(2, v); - } - + set nanos($core.int value) => $_setSignedInt32(2, value); @$pb.TagNumber(3) $core.bool hasNanos() => $_has(2); @$pb.TagNumber(3) void clearNanos() => $_clearField(3); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/type/money.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/type/money.pbenum.dart index b68641e69..07b67727f 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/money.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/money.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/money.proto -// +// Generated from google/type/money.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/type/money.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/type/money.pbjson.dart index f023b5826..0c8a2f865 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/money.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/money.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/money.proto -// +// Generated from google/type/money.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pb.dart b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pb.dart index 9821dd092..9cd1ec3ba 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pb.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pb.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// +// Generated from google/type/phone_number.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; @@ -15,36 +16,34 @@ import 'package:protobuf/protobuf.dart' as $pb; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -/// An object representing a short code, which is a phone number that is -/// typically much shorter than regular phone numbers and can be used to -/// address messages in MMS and SMS systems, as well as for abbreviated dialing -/// (e.g. "Text 611 to see how many minutes you have remaining on your plan."). +/// An object representing a short code, which is a phone number that is +/// typically much shorter than regular phone numbers and can be used to +/// address messages in MMS and SMS systems, as well as for abbreviated dialing +/// (e.g. "Text 611 to see how many minutes you have remaining on your plan."). /// -/// Short codes are restricted to a region and are not internationally -/// dialable, which means the same short code can exist in different regions, -/// with different usage and pricing, even if those regions share the same -/// country calling code (e.g. US and CA). +/// Short codes are restricted to a region and are not internationally +/// dialable, which means the same short code can exist in different regions, +/// with different usage and pricing, even if those regions share the same +/// country calling code (e.g. US and CA). class PhoneNumber_ShortCode extends $pb.GeneratedMessage { factory PhoneNumber_ShortCode({ $core.String? regionCode, $core.String? number, }) { - final $result = create(); - if (regionCode != null) { - $result.regionCode = regionCode; - } - if (number != null) { - $result.number = number; - } - return $result; + final result = create(); + if (regionCode != null) result.regionCode = regionCode; + if (number != null) result.number = number; + return result; } - PhoneNumber_ShortCode._() : super(); - factory PhoneNumber_ShortCode.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PhoneNumber_ShortCode.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PhoneNumber_ShortCode._(); + + factory PhoneNumber_ShortCode.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PhoneNumber_ShortCode.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PhoneNumber.ShortCode', @@ -54,23 +53,21 @@ class PhoneNumber_ShortCode extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'number') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber_ShortCode clone() => PhoneNumber_ShortCode()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber_ShortCode copyWith( void Function(PhoneNumber_ShortCode) updates) => super.copyWith((message) => updates(message as PhoneNumber_ShortCode)) as PhoneNumber_ShortCode; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PhoneNumber_ShortCode create() => PhoneNumber_ShortCode._(); + @$core.override PhoneNumber_ShortCode createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @@ -79,18 +76,15 @@ class PhoneNumber_ShortCode extends $pb.GeneratedMessage { $pb.GeneratedMessage.$_defaultFor(create); static PhoneNumber_ShortCode? _defaultInstance; - /// Required. The BCP-47 region code of the location where calls to this - /// short code can be made, such as "US" and "BB". + /// Required. The BCP-47 region code of the location where calls to this + /// short code can be made, such as "US" and "BB". /// - /// Reference(s): - /// - http://www.unicode.org/reports/tr35/#unicode_region_subtag + /// Reference(s): + /// - http://www.unicode.org/reports/tr35/#unicode_region_subtag @$pb.TagNumber(1) $core.String get regionCode => $_getSZ(0); @$pb.TagNumber(1) - set regionCode($core.String v) { - $_setString(0, v); - } - + set regionCode($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasRegionCode() => $_has(0); @$pb.TagNumber(1) @@ -101,10 +95,7 @@ class PhoneNumber_ShortCode extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get number => $_getSZ(1); @$pb.TagNumber(2) - set number($core.String v) { - $_setString(1, v); - } - + set number($core.String value) => $_setString(1, value); @$pb.TagNumber(2) $core.bool hasNumber() => $_has(1); @$pb.TagNumber(2) @@ -113,57 +104,53 @@ class PhoneNumber_ShortCode extends $pb.GeneratedMessage { enum PhoneNumber_Kind { e164Number, shortCode, notSet } -/// An object representing a phone number, suitable as an API wire format. +/// An object representing a phone number, suitable as an API wire format. /// -/// This representation: +/// This representation: /// -/// - should not be used for locale-specific formatting of a phone number, such -/// as "+1 (650) 253-0000 ext. 123" +/// - should not be used for locale-specific formatting of a phone number, such +/// as "+1 (650) 253-0000 ext. 123" /// -/// - is not designed for efficient storage -/// - may not be suitable for dialing - specialized libraries (see references) -/// should be used to parse the number for that purpose +/// - is not designed for efficient storage +/// - may not be suitable for dialing - specialized libraries (see references) +/// should be used to parse the number for that purpose /// -/// To do something meaningful with this number, such as format it for various -/// use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. +/// To do something meaningful with this number, such as format it for various +/// use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. /// -/// For instance, in Java this would be: +/// For instance, in Java this would be: /// -/// com.google.type.PhoneNumber wireProto = -/// com.google.type.PhoneNumber.newBuilder().build(); -/// com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = -/// PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); -/// if (!wireProto.getExtension().isEmpty()) { -/// phoneNumber.setExtension(wireProto.getExtension()); -/// } +/// com.google.type.PhoneNumber wireProto = +/// com.google.type.PhoneNumber.newBuilder().build(); +/// com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = +/// PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); +/// if (!wireProto.getExtension().isEmpty()) { +/// phoneNumber.setExtension(wireProto.getExtension()); +/// } /// -/// Reference(s): -/// - https://github.com/google/libphonenumber +/// Reference(s): +/// - https://github.com/google/libphonenumber class PhoneNumber extends $pb.GeneratedMessage { factory PhoneNumber({ $core.String? e164Number, PhoneNumber_ShortCode? shortCode, $core.String? extension_3, }) { - final $result = create(); - if (e164Number != null) { - $result.e164Number = e164Number; - } - if (shortCode != null) { - $result.shortCode = shortCode; - } - if (extension_3 != null) { - $result.extension_3 = extension_3; - } - return $result; + final result = create(); + if (e164Number != null) result.e164Number = e164Number; + if (shortCode != null) result.shortCode = shortCode; + if (extension_3 != null) result.extension_3 = extension_3; + return result; } - PhoneNumber._() : super(); - factory PhoneNumber.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory PhoneNumber.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); + + PhoneNumber._(); + + factory PhoneNumber.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PhoneNumber.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); static const $core.Map<$core.int, PhoneNumber_Kind> _PhoneNumber_KindByTag = { 1: PhoneNumber_Kind.e164Number, @@ -181,21 +168,19 @@ class PhoneNumber extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'extension') ..hasRequiredFields = false; - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber clone() => PhoneNumber()..mergeFromMessage(this); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PhoneNumber copyWith(void Function(PhoneNumber) updates) => super.copyWith((message) => updates(message as PhoneNumber)) as PhoneNumber; + @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PhoneNumber create() => PhoneNumber._(); + @$core.override PhoneNumber createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') @@ -206,44 +191,38 @@ class PhoneNumber extends $pb.GeneratedMessage { PhoneNumber_Kind whichKind() => _PhoneNumber_KindByTag[$_whichOneof(0)]!; void clearKind() => $_clearField($_whichOneof(0)); - /// The phone number, represented as a leading plus sign ('+'), followed by a - /// phone number that uses a relaxed ITU E.164 format consisting of the - /// country calling code (1 to 3 digits) and the subscriber number, with no - /// additional spaces or formatting, e.g.: - /// - correct: "+15552220123" - /// - incorrect: "+1 (555) 222-01234 x123". + /// The phone number, represented as a leading plus sign ('+'), followed by a + /// phone number that uses a relaxed ITU E.164 format consisting of the + /// country calling code (1 to 3 digits) and the subscriber number, with no + /// additional spaces or formatting, e.g.: + /// - correct: "+15552220123" + /// - incorrect: "+1 (555) 222-01234 x123". /// - /// The ITU E.164 format limits the latter to 12 digits, but in practice not - /// all countries respect that, so we relax that restriction here. - /// National-only numbers are not allowed. + /// The ITU E.164 format limits the latter to 12 digits, but in practice not + /// all countries respect that, so we relax that restriction here. + /// National-only numbers are not allowed. /// - /// References: - /// - https://www.itu.int/rec/T-REC-E.164-201011-I - /// - https://en.wikipedia.org/wiki/E.164. - /// - https://en.wikipedia.org/wiki/List_of_country_calling_codes + /// References: + /// - https://www.itu.int/rec/T-REC-E.164-201011-I + /// - https://en.wikipedia.org/wiki/E.164. + /// - https://en.wikipedia.org/wiki/List_of_country_calling_codes @$pb.TagNumber(1) $core.String get e164Number => $_getSZ(0); @$pb.TagNumber(1) - set e164Number($core.String v) { - $_setString(0, v); - } - + set e164Number($core.String value) => $_setString(0, value); @$pb.TagNumber(1) $core.bool hasE164Number() => $_has(0); @$pb.TagNumber(1) void clearE164Number() => $_clearField(1); - /// A short code. + /// A short code. /// - /// Reference(s): - /// - https://en.wikipedia.org/wiki/Short_code + /// Reference(s): + /// - https://en.wikipedia.org/wiki/Short_code @$pb.TagNumber(2) PhoneNumber_ShortCode get shortCode => $_getN(1); @$pb.TagNumber(2) - set shortCode(PhoneNumber_ShortCode v) { - $_setField(2, v); - } - + set shortCode(PhoneNumber_ShortCode value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasShortCode() => $_has(1); @$pb.TagNumber(2) @@ -251,28 +230,26 @@ class PhoneNumber extends $pb.GeneratedMessage { @$pb.TagNumber(2) PhoneNumber_ShortCode ensureShortCode() => $_ensure(1); - /// The phone number's extension. The extension is not standardized in ITU - /// recommendations, except for being defined as a series of numbers with a - /// maximum length of 40 digits. Other than digits, some other dialing - /// characters such as ',' (indicating a wait) or '#' may be stored here. + /// The phone number's extension. The extension is not standardized in ITU + /// recommendations, except for being defined as a series of numbers with a + /// maximum length of 40 digits. Other than digits, some other dialing + /// characters such as ',' (indicating a wait) or '#' may be stored here. /// - /// Note that no regions currently use extensions with short codes, so this - /// field is normally only set in conjunction with an E.164 number. It is held - /// separately from the E.164 number to allow for short code extensions in the - /// future. + /// Note that no regions currently use extensions with short codes, so this + /// field is normally only set in conjunction with an E.164 number. It is held + /// separately from the E.164 number to allow for short code extensions in the + /// future. @$pb.TagNumber(3) $core.String get extension_3 => $_getSZ(2); @$pb.TagNumber(3) - set extension_3($core.String v) { - $_setString(2, v); - } - + set extension_3($core.String value) => $_setString(2, value); @$pb.TagNumber(3) $core.bool hasExtension_3() => $_has(2); @$pb.TagNumber(3) void clearExtension_3() => $_clearField(3); } -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbenum.dart b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbenum.dart index d843a622b..1f0dcd33b 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbenum.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbenum.dart @@ -1,10 +1,11 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// +// Generated from google/type/phone_number.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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 diff --git a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbjson.dart b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbjson.dart index 36d990026..1979efc60 100644 --- a/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbjson.dart +++ b/packages/celest_cloud/lib/src/proto/google/type/phone_number.pbjson.dart @@ -1,13 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// +// Generated from google/type/phone_number.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import +// 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; diff --git a/proto/celest/cloud/auth/v1alpha1/authentication.proto b/proto/celest/cloud/auth/v1alpha1/authentication.proto index b1779ccb8..67b1da083 100644 --- a/proto/celest/cloud/auth/v1alpha1/authentication.proto +++ b/proto/celest/cloud/auth/v1alpha1/authentication.proto @@ -251,7 +251,7 @@ message AuthenticationFactorEmailOtp { optional string code = 2 [ (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = INPUT_ONLY, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_otp", message: "code must be a valid OTP", @@ -281,7 +281,7 @@ message AuthenticationFactorSmsOtp { optional string code = 2 [ (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = INPUT_ONLY, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_otp", message: "code must be a valid OTP", @@ -298,7 +298,7 @@ message AuthenticationFactorIdp { // Optional. The URI the client was redirected to. optional string redirect_uri = 2 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_uri", message: "uri must be a valid URI", @@ -391,7 +391,7 @@ message EndSessionRequest { // If not provided, the session will be ended for the current authenticated user. optional string session_id = 1 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_session_id", message: "session_id must be a valid session ID", @@ -419,7 +419,7 @@ message EndSessionResponse { // // Used to clear cookies in social login flows. string redirect_uri = 3 [ - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_uri", message: "uri must be a valid URI", diff --git a/proto/celest/cloud/auth/v1alpha1/users.proto b/proto/celest/cloud/auth/v1alpha1/users.proto index b78c0f262..b2e872ecb 100644 --- a/proto/celest/cloud/auth/v1alpha1/users.proto +++ b/proto/celest/cloud/auth/v1alpha1/users.proto @@ -228,7 +228,7 @@ message ListUsersRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { child_type: "cloud.celest.dev/User" }, // The `/auth/users` endpoint is a special case where the parent is not required. - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_parent", message: "parent must be a valid parent", diff --git a/proto/celest/cloud/v1alpha1/organizations.proto b/proto/celest/cloud/v1alpha1/organizations.proto index 208523c12..e6d4bed59 100644 --- a/proto/celest/cloud/v1alpha1/organizations.proto +++ b/proto/celest/cloud/v1alpha1/organizations.proto @@ -204,7 +204,7 @@ message CreateOrganizationRequest { string parent = 1 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { child_type: "cloud.celest.dev/Organization" }, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_organization_parent", message: "parent must be empty or a valid organization name", @@ -283,7 +283,7 @@ message ListOrganizationsRequest { string parent = 1 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { child_type: "cloud.celest.dev/Organization" }, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_parent", message: "parent must be a valid parent", diff --git a/proto/celest/cloud/v1alpha1/subscriptions.proto b/proto/celest/cloud/v1alpha1/subscriptions.proto index 794593dee..0712afbb4 100644 --- a/proto/celest/cloud/v1alpha1/subscriptions.proto +++ b/proto/celest/cloud/v1alpha1/subscriptions.proto @@ -174,7 +174,7 @@ message BuilderSubscriptionPlan { // If not provided, it will be inferred from the user's location. string currency_code = 1 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_currency", message: "must be a valid currency code", @@ -240,7 +240,7 @@ message ChangePlanRequest { // Optional. The URI to redirect the client after payment. string redirect_uri = 6 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_uri", message: "must be a valid URI", @@ -383,7 +383,7 @@ message DescribePricingRequest { // Optional. The region code to get pricing for. string region_code = 1 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_region_code", message: "must be a valid region code", @@ -394,7 +394,7 @@ message DescribePricingRequest { // Optional. The currency code to get pricing for. string currency_code = 2 [ (google.api.field_behavior) = OPTIONAL, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED, + (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).cel = { id: "valid_currency", message: "must be a valid currency code",