OperationInfo class final

A message representing the message types used by a long-running operation.

Example:

rpc Export(ExportRequest) returns (google.longrunning.Operation) {
  option (google.longrunning.operation_info) = {
    response_type: "ExportResponse"
    metadata_type: "ExportMetadata"
  };
}

Constructors

OperationInfo({String responseType = '', String metadataType = ''})
OperationInfo.fromJson(Object? j)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
metadataType → String
Required. The message name of the metadata type for this long-running operation.
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
responseType → String
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.
final
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
toJson() → Object
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String