ProtoGoogleRpcStatus class
google.rpc.Status runtime (used by sui.rpc.v2 error responses).
- Inheritance
-
- Object
- IProtoMessage<
ProtoJsonConfig> - ProtoGoogleRpcStatus
Constructors
-
ProtoGoogleRpcStatus({int? code, String? message, List<
ProtoGoogleAny> details = const []}) -
const
-
ProtoGoogleRpcStatus.deserialize(List<
int> bytes) -
factory
-
ProtoGoogleRpcStatus.fromJson(Map<
String, dynamic> json, {ProtoJsonConfig config = DefaultProtoJsonConfig.defaultConfig}) -
factory
Properties
- code → int?
-
Status code (see
google.rpc.Code).final -
details
→ List<
ProtoGoogleAny> -
Additional error details (
google.protobuf.Anylist).final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Error message.
final
-
protoValues
→ List<
Object?> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
protoConfig(
) → ProtoMessageConfig -
override
-
toBuffer(
) → BuBytes -
inherited
-
toJson(
{ProtoJsonConfig config = DefaultProtoJsonConfig.defaultConfig}) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited