Class DeployAgentRequest
public sealed class DeployAgentRequest : IMessage<DeployAgentRequest>, IEquatable<DeployAgentRequest>, IDeepCloneable<DeployAgentRequest>, IBufferMessage, IMessage
- Inheritance
-
DeployAgentRequest
- Implements
-
IMessage<DeployAgentRequest>IDeepCloneable<DeployAgentRequest>IBufferMessageIMessage
- Inherited Members
Constructors
DeployAgentRequest()
public DeployAgentRequest()
DeployAgentRequest(DeployAgentRequest)
public DeployAgentRequest(DeployAgentRequest other)
Parameters
otherDeployAgentRequest
Fields
AgentIdFieldNumber
Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1
Field Value
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 2
Field Value
CpuReqFieldNumber
Field number for the "cpu_req" field.
public const int CpuReqFieldNumber = 6
Field Value
DeploymentFieldNumber
Field number for the "deployment" field.
public const int DeploymentFieldNumber = 7
Field Value
MaxReplicasFieldNumber
Field number for the "max_replicas" field.
public const int MaxReplicasFieldNumber = 5
Field Value
ReplicasFieldNumber
Field number for the "replicas" field.
public const int ReplicasFieldNumber = 4
Field Value
SecretsFieldNumber
Field number for the "secrets" field.
public const int SecretsFieldNumber = 3
Field Value
Properties
AgentId
public string AgentId { get; set; }
Property Value
AgentName
[Obsolete]
public string AgentName { get; set; }
Property Value
CpuReq
[Obsolete]
public string CpuReq { get; set; }
Property Value
Deployment
public string Deployment { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
MaxReplicas
[Obsolete]
public int MaxReplicas { get; set; }
Property Value
Parser
public static MessageParser<DeployAgentRequest> Parser { get; }
Property Value
- MessageParser<DeployAgentRequest>
Replicas
[Obsolete]
public int Replicas { get; set; }
Property Value
Secrets
public RepeatedField<AgentSecret> Secrets { get; }
Property Value
- RepeatedField<AgentSecret>
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 DeployAgentRequest Clone()
Returns
- DeployAgentRequest
A deep clone of this object.
Equals(DeployAgentRequest)
public bool Equals(DeployAgentRequest other)
Parameters
otherDeployAgentRequest
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(DeployAgentRequest)
Merges the given message into this one.
public void MergeFrom(DeployAgentRequest other)
Parameters
otherDeployAgentRequest
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.