Class PromoteAgentResponse
public sealed class PromoteAgentResponse : IMessage<PromoteAgentResponse>, IEquatable<PromoteAgentResponse>, IDeepCloneable<PromoteAgentResponse>, IBufferMessage, IMessage
- Inheritance
-
PromoteAgentResponse
- Implements
-
IMessage<PromoteAgentResponse>IDeepCloneable<PromoteAgentResponse>IBufferMessageIMessage
- Inherited Members
Constructors
PromoteAgentResponse()
public PromoteAgentResponse()
PromoteAgentResponse(PromoteAgentResponse)
public PromoteAgentResponse(PromoteAgentResponse other)
Parameters
otherPromoteAgentResponse
Fields
AgentIdFieldNumber
Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 3
Field Value
DstDeploymentFieldNumber
Field number for the "dst_deployment" field.
public const int DstDeploymentFieldNumber = 5
Field Value
MessageFieldNumber
Field number for the "message" field.
public const int MessageFieldNumber = 2
Field Value
SrcDeploymentFieldNumber
Field number for the "src_deployment" field.
public const int SrcDeploymentFieldNumber = 4
Field Value
SuccessFieldNumber
Field number for the "success" field.
public const int SuccessFieldNumber = 1
Field Value
VersionTagFieldNumber
Field number for the "version_tag" field.
public const int VersionTagFieldNumber = 6
Field Value
Properties
AgentId
public string AgentId { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DstDeployment
public string DstDeployment { get; set; }
Property Value
Message
public string Message { get; set; }
Property Value
Parser
public static MessageParser<PromoteAgentResponse> Parser { get; }
Property Value
- MessageParser<PromoteAgentResponse>
SrcDeployment
public string SrcDeployment { get; set; }
Property Value
Success
public bool Success { get; set; }
Property Value
VersionTag
public string VersionTag { 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 PromoteAgentResponse Clone()
Returns
- PromoteAgentResponse
A deep clone of this object.
Equals(PromoteAgentResponse)
public bool Equals(PromoteAgentResponse other)
Parameters
otherPromoteAgentResponse
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(PromoteAgentResponse)
Merges the given message into this one.
public void MergeFrom(PromoteAgentResponse other)
Parameters
otherPromoteAgentResponse
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.