Class AgentVersion
public sealed class AgentVersion : IMessage<AgentVersion>, IEquatable<AgentVersion>, IDeepCloneable<AgentVersion>, IBufferMessage, IMessage
- Inheritance
-
AgentVersion
- Implements
-
IMessage<AgentVersion>IDeepCloneable<AgentVersion>IBufferMessageIMessage
- Inherited Members
Constructors
AgentVersion()
public AgentVersion()
AgentVersion(AgentVersion)
public AgentVersion(AgentVersion other)
Parameters
otherAgentVersion
Fields
ActiveFieldNumber
Field number for the "active" field.
public const int ActiveFieldNumber = 9
Field Value
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 5
Field Value
CreatedAtFieldNumber
Field number for the "created_at" field.
public const int CreatedAtFieldNumber = 3
Field Value
CurrentFieldNumber
Field number for the "current" field.
public const int CurrentFieldNumber = 2
Field Value
DeployedAtFieldNumber
Field number for the "deployed_at" field.
public const int DeployedAtFieldNumber = 4
Field Value
DrainingFieldNumber
Field number for the "draining" field.
public const int DrainingFieldNumber = 8
Field Value
OwnerFieldNumber
Field number for the "owner" field.
public const int OwnerFieldNumber = 7
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 6
Field Value
VersionFieldNumber
Field number for the "version" field.
public const int VersionFieldNumber = 1
Field Value
Properties
Active
public bool Active { get; set; }
Property Value
Attributes
public MapField<string, string> Attributes { get; }
Property Value
CreatedAt
public Timestamp CreatedAt { get; set; }
Property Value
- Timestamp
Current
public bool Current { get; set; }
Property Value
DeployedAt
public Timestamp DeployedAt { get; set; }
Property Value
- Timestamp
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Draining
public bool Draining { get; set; }
Property Value
Owner
public string Owner { get; set; }
Property Value
Parser
public static MessageParser<AgentVersion> Parser { get; }
Property Value
- MessageParser<AgentVersion>
Status
public string Status { get; set; }
Property Value
Version
public string Version { 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 AgentVersion Clone()
Returns
- AgentVersion
A deep clone of this object.
Equals(AgentVersion)
public bool Equals(AgentVersion other)
Parameters
otherAgentVersion
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(AgentVersion)
Merges the given message into this one.
public void MergeFrom(AgentVersion other)
Parameters
otherAgentVersion
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.