Class CreateAgentV2Response
public sealed class CreateAgentV2Response : IMessage<CreateAgentV2Response>, IEquatable<CreateAgentV2Response>, IDeepCloneable<CreateAgentV2Response>, IBufferMessage, IMessage
- Inheritance
-
CreateAgentV2Response
- Implements
-
IMessage<CreateAgentV2Response>IDeepCloneable<CreateAgentV2Response>IBufferMessageIMessage
- Inherited Members
Constructors
CreateAgentV2Response()
public CreateAgentV2Response()
CreateAgentV2Response(CreateAgentV2Response)
public CreateAgentV2Response(CreateAgentV2Response other)
Parameters
otherCreateAgentV2Response
Fields
AgentIdFieldNumber
Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1
Field Value
ServerRegionsFieldNumber
Field number for the "server_regions" field.
public const int ServerRegionsFieldNumber = 3
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 2
Field Value
Properties
AgentId
public string AgentId { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<CreateAgentV2Response> Parser { get; }
Property Value
- MessageParser<CreateAgentV2Response>
ServerRegions
public RepeatedField<string> ServerRegions { get; }
Property Value
- RepeatedField<string>
Status
public string Status { 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 CreateAgentV2Response Clone()
Returns
- CreateAgentV2Response
A deep clone of this object.
Equals(CreateAgentV2Response)
public bool Equals(CreateAgentV2Response other)
Parameters
otherCreateAgentV2Response
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(CreateAgentV2Response)
Merges the given message into this one.
public void MergeFrom(CreateAgentV2Response other)
Parameters
otherCreateAgentV2Response
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.