Class DryRunSuccessResponse
- Namespace
- Concordium.Grpc.V2
- Assembly
- Concordium.Sdk.dll
The dry run operation completed successfully.
public sealed class DryRunSuccessResponse : IMessage<DryRunSuccessResponse>, IEquatable<DryRunSuccessResponse>, IDeepCloneable<DryRunSuccessResponse>, IBufferMessage, IMessage
- Inheritance
-
DryRunSuccessResponse
- Implements
-
IMessage<DryRunSuccessResponse>IDeepCloneable<DryRunSuccessResponse>IBufferMessageIMessage
- Inherited Members
Constructors
DryRunSuccessResponse()
public DryRunSuccessResponse()
DryRunSuccessResponse(DryRunSuccessResponse)
public DryRunSuccessResponse(DryRunSuccessResponse other)
Parameters
other
DryRunSuccessResponse
Fields
AccountInfoFieldNumber
Field number for the "account_info" field.
public const int AccountInfoFieldNumber = 2
Field Value
BlockStateLoadedFieldNumber
Field number for the "block_state_loaded" field.
public const int BlockStateLoadedFieldNumber = 1
Field Value
InstanceInfoFieldNumber
Field number for the "instance_info" field.
public const int InstanceInfoFieldNumber = 3
Field Value
InvokeSucceededFieldNumber
Field number for the "invoke_succeeded" field.
public const int InvokeSucceededFieldNumber = 4
Field Value
MintedToAccountFieldNumber
Field number for the "minted_to_account" field.
public const int MintedToAccountFieldNumber = 6
Field Value
TimestampSetFieldNumber
Field number for the "timestamp_set" field.
public const int TimestampSetFieldNumber = 5
Field Value
TransactionExecutedFieldNumber
Field number for the "transaction_executed" field.
public const int TransactionExecutedFieldNumber = 7
Field Value
Properties
AccountInfo
Details of the requested account. Response to 'get_account_info'.
public AccountInfo AccountInfo { get; set; }
Property Value
BlockStateLoaded
The state from the specified block was successfully loaded. Response to 'load_block_state'.
public DryRunSuccessResponse.Types.BlockStateLoaded BlockStateLoaded { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
InstanceInfo
Details of the requested smart contract instance. Response to 'get_instance_info'.
public InstanceInfo InstanceInfo { get; set; }
Property Value
InvokeSucceeded
The smart contract instance was invoked successfully.
public DryRunSuccessResponse.Types.InvokeSuccess InvokeSucceeded { get; set; }
Property Value
MintedToAccount
The specified amount was minted and credited to the account. Response to 'mint_to_account'.
public DryRunSuccessResponse.Types.MintedToAccount MintedToAccount { get; set; }
Property Value
Parser
public static MessageParser<DryRunSuccessResponse> Parser { get; }
Property Value
- MessageParser<DryRunSuccessResponse>
ResponseCase
public DryRunSuccessResponse.ResponseOneofCase ResponseCase { get; }
Property Value
TimestampSet
The current timestamp was set successfully. Response to 'set_timestamp'.
public DryRunSuccessResponse.Types.TimestampSet TimestampSet { get; set; }
Property Value
TransactionExecuted
The specified transaction was executed. Note that the transaction could still have been rejected. Response to 'run_transaction'.
public DryRunSuccessResponse.Types.TransactionExecuted TransactionExecuted { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearResponse()
public void ClearResponse()
Clone()
Creates a deep clone of this object.
public DryRunSuccessResponse Clone()
Returns
- DryRunSuccessResponse
A deep clone of this object.
Equals(DryRunSuccessResponse)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DryRunSuccessResponse other)
Parameters
other
DryRunSuccessResponseAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(DryRunSuccessResponse)
Merges the given message into this one.
public void MergeFrom(DryRunSuccessResponse other)
Parameters
other
DryRunSuccessResponse
Remarks
See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
input
CodedInputStream
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
output
CodedOutputStreamCoded output stream to write the data to. Must not be null.