Class AgentDispatch
public sealed class AgentDispatch : IMessage<AgentDispatch>, IEquatable<AgentDispatch>, IDeepCloneable<AgentDispatch>, IBufferMessage, IMessage
- Inheritance
-
AgentDispatch
- Implements
-
IMessage<AgentDispatch>IDeepCloneable<AgentDispatch>IBufferMessageIMessage
- Inherited Members
Constructors
AgentDispatch()
public AgentDispatch()
AgentDispatch(AgentDispatch)
public AgentDispatch(AgentDispatch other)
Parameters
otherAgentDispatch
Fields
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 2
Field Value
DeploymentFieldNumber
Field number for the "deployment" field.
public const int DeploymentFieldNumber = 7
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 4
Field Value
RestartPolicyFieldNumber
Field number for the "restart_policy" field.
public const int RestartPolicyFieldNumber = 6
Field Value
RoomFieldNumber
Field number for the "room" field.
public const int RoomFieldNumber = 3
Field Value
StateFieldNumber
Field number for the "state" field.
public const int StateFieldNumber = 5
Field Value
Properties
AgentName
public string AgentName { get; set; }
Property Value
Deployment
public string Deployment { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Id
public string Id { get; set; }
Property Value
Metadata
public string Metadata { get; set; }
Property Value
Parser
public static MessageParser<AgentDispatch> Parser { get; }
Property Value
- MessageParser<AgentDispatch>
RestartPolicy
cloud only
public JobRestartPolicy RestartPolicy { get; set; }
Property Value
Room
public string Room { get; set; }
Property Value
State
public AgentDispatchState State { 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.
Clone()
Creates a deep clone of this object.
public AgentDispatch Clone()
Returns
- AgentDispatch
A deep clone of this object.
Equals(AgentDispatch)
public bool Equals(AgentDispatch other)
Parameters
otherAgentDispatch
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(AgentDispatch)
Merges the given message into this one.
public void MergeFrom(AgentDispatch other)
Parameters
otherAgentDispatch
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.