Class AgentDB.Types.AgentDatabase
One database, as get and list both report it.
public sealed class AgentDB.Types.AgentDatabase : IMessage<AgentDB.Types.AgentDatabase>, IEquatable<AgentDB.Types.AgentDatabase>, IDeepCloneable<AgentDB.Types.AgentDatabase>, IBufferMessage, IMessage
- Inheritance
-
AgentDB.Types.AgentDatabase
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
AgentDatabase()
public AgentDatabase()
AgentDatabase(AgentDatabase)
public AgentDatabase(AgentDB.Types.AgentDatabase other)
Parameters
otherAgentDB.Types.AgentDatabase
Fields
CreatedAtFieldNumber
Field number for the "created_at" field.
public const int CreatedAtFieldNumber = 3
Field Value
DatabaseIdFieldNumber
Field number for the "database_id" field.
public const int DatabaseIdFieldNumber = 1
Field Value
ExpiresAtFieldNumber
Field number for the "expires_at" field.
public const int ExpiresAtFieldNumber = 4
Field Value
RegionFieldNumber
Field number for the "region" field.
public const int RegionFieldNumber = 2
Field Value
TipFieldNumber
Field number for the "tip" field.
public const int TipFieldNumber = 5
Field Value
Properties
CreatedAt
public long CreatedAt { get; set; }
Property Value
DatabaseId
public string DatabaseId { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
ExpiresAt
public long ExpiresAt { get; set; }
Property Value
Parser
public static MessageParser<AgentDB.Types.AgentDatabase> Parser { get; }
Property Value
- MessageParser<AgentDB.Types.AgentDatabase>
Region
public string Region { get; set; }
Property Value
Tip
public long Tip { 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 AgentDB.Types.AgentDatabase Clone()
Returns
- AgentDB.Types.AgentDatabase
A deep clone of this object.
Equals(AgentDatabase)
public bool Equals(AgentDB.Types.AgentDatabase other)
Parameters
otherAgentDB.Types.AgentDatabase
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(AgentDatabase)
Merges the given message into this one.
public void MergeFrom(AgentDB.Types.AgentDatabase other)
Parameters
otherAgentDB.Types.AgentDatabase
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.