Class SimulationRun.Types.List.Types.Request
public sealed class SimulationRun.Types.List.Types.Request : IMessage<SimulationRun.Types.List.Types.Request>, IEquatable<SimulationRun.Types.List.Types.Request>, IDeepCloneable<SimulationRun.Types.List.Types.Request>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.List.Types.Request
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Request()
public Request()
Request(Request)
public Request(SimulationRun.Types.List.Types.Request other)
Parameters
otherSimulationRun.Types.List.Types.Request
Fields
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 6
Field Value
EndTimeFieldNumber
Field number for the "end_time" field.
public const int EndTimeFieldNumber = 5
Field Value
ModeFieldNumber
Field number for the "mode" field.
public const int ModeFieldNumber = 7
Field Value
PageTokenFieldNumber
Field number for the "page_token" field.
public const int PageTokenFieldNumber = 3
Field Value
ProjectIdFieldNumber
Field number for the "project_id" field.
public const int ProjectIdFieldNumber = 1
Field Value
StartTimeFieldNumber
Field number for the "start_time" field.
public const int StartTimeFieldNumber = 4
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 2
Field Value
Properties
AgentName
Exact agent name. Unset means every agent — including the runs whose name is empty, which a bare string could not tell from no filter.
public string AgentName { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EndTime
public Timestamp EndTime { get; set; }
Property Value
- Timestamp
HasAgentName
Gets whether the "agent_name" field is set
public bool HasAgentName { get; }
Property Value
HasMode
Gets whether the "mode" field is set
public bool HasMode { get; }
Property Value
HasStatus
Gets whether the "status" field is set
public bool HasStatus { get; }
Property Value
Mode
Absent applies no mode filter. TEXT matches runs stored as TEXT or
UNSPECIFIED, which SimulationRun.mode defines as the same mode.
public SimulationMode Mode { get; set; }
Property Value
PageToken
public TokenPagination PageToken { get; set; }
Property Value
Parser
public static MessageParser<SimulationRun.Types.List.Types.Request> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.List.Types.Request>
ProjectId
public string ProjectId { get; set; }
Property Value
StartTime
Half-open window [start_time, end_time) on created_at, the leading key of this list's keyset. Unset bounds mean no window, so existing callers keep their unbounded scan; the histogram's selected range sets both.
public Timestamp StartTime { get; set; }
Property Value
- Timestamp
Status
public SimulationRun.Types.Status 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.
ClearAgentName()
Clears the value of the "agent_name" field
public void ClearAgentName()
ClearMode()
Clears the value of the "mode" field
public void ClearMode()
ClearStatus()
Clears the value of the "status" field
public void ClearStatus()
Clone()
Creates a deep clone of this object.
public SimulationRun.Types.List.Types.Request Clone()
Returns
- SimulationRun.Types.List.Types.Request
A deep clone of this object.
Equals(Request)
public bool Equals(SimulationRun.Types.List.Types.Request other)
Parameters
otherSimulationRun.Types.List.Types.Request
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(Request)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.List.Types.Request other)
Parameters
otherSimulationRun.Types.List.Types.Request
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.