Class RoomAgentDispatch
public sealed class RoomAgentDispatch : IMessage<RoomAgentDispatch>, IEquatable<RoomAgentDispatch>, IDeepCloneable<RoomAgentDispatch>, IBufferMessage, IMessage
- Inheritance
-
RoomAgentDispatch
- Implements
-
IMessage<RoomAgentDispatch>IDeepCloneable<RoomAgentDispatch>IBufferMessageIMessage
- Inherited Members
Constructors
RoomAgentDispatch()
public RoomAgentDispatch()
RoomAgentDispatch(RoomAgentDispatch)
public RoomAgentDispatch(RoomAgentDispatch other)
Parameters
otherRoomAgentDispatch
Fields
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 1
Field Value
DeploymentFieldNumber
Field number for the "deployment" field.
public const int DeploymentFieldNumber = 4
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 2
Field Value
RestartPolicyFieldNumber
Field number for the "restart_policy" field.
public const int RestartPolicyFieldNumber = 3
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
Metadata
public string Metadata { get; set; }
Property Value
Parser
public static MessageParser<RoomAgentDispatch> Parser { get; }
Property Value
- MessageParser<RoomAgentDispatch>
RestartPolicy
cloud only
public JobRestartPolicy RestartPolicy { 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 RoomAgentDispatch Clone()
Returns
- RoomAgentDispatch
A deep clone of this object.
Equals(RoomAgentDispatch)
public bool Equals(RoomAgentDispatch other)
Parameters
otherRoomAgentDispatch
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(RoomAgentDispatch)
Merges the given message into this one.
public void MergeFrom(RoomAgentDispatch other)
Parameters
otherRoomAgentDispatch
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.