You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Generated code. Do not modify.
|
||||
// source: google/rpc/status.proto
|
||||
//
|
||||
// @dart = 2.12
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||
@@ -15,6 +15,8 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import '../protobuf/any.pb.dart' as $90;
|
||||
|
||||
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). The error model is designed to be:
|
||||
@@ -125,7 +127,7 @@ class Status extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasCode() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearCode() => clearField(1);
|
||||
void clearCode() => $_clearField(1);
|
||||
|
||||
/// A developer-facing error message, which should be in English. Any
|
||||
/// user-facing error message should be localized and sent in the
|
||||
@@ -137,12 +139,12 @@ class Status extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMessage() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMessage() => clearField(2);
|
||||
void clearMessage() => $_clearField(2);
|
||||
|
||||
/// A list of messages that carry the error details. There is a common set of
|
||||
/// message types for APIs to use.
|
||||
@$pb.TagNumber(3)
|
||||
$core.List<$90.Any> get details => $_getList(2);
|
||||
$pb.PbList<$90.Any> get details => $_getList(2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user