Class SimulationRun.Types.CI
The pipeline this run came from. Set by the client from its CI environment; absent for runs not started by a pipeline.
public sealed class SimulationRun.Types.CI : IMessage<SimulationRun.Types.CI>, IEquatable<SimulationRun.Types.CI>, IDeepCloneable<SimulationRun.Types.CI>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.CI
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
CI()
public CI()
CI(CI)
public CI(SimulationRun.Types.CI other)
Parameters
otherSimulationRun.Types.CI
Fields
ActorFieldNumber
Field number for the "actor" field.
public const int ActorFieldNumber = 6
Field Value
CommitShaFieldNumber
Field number for the "commit_sha" field.
public const int CommitShaFieldNumber = 2
Field Value
ProviderFieldNumber
Field number for the "provider" field.
public const int ProviderFieldNumber = 1
Field Value
PullRequestFieldNumber
Field number for the "pull_request" field.
public const int PullRequestFieldNumber = 4
Field Value
RefFieldNumber
Field number for the "ref" field.
public const int RefFieldNumber = 3
Field Value
RunUrlFieldNumber
Field number for the "run_url" field.
public const int RunUrlFieldNumber = 5
Field Value
Properties
Actor
public string Actor { get; set; }
Property Value
CommitSha
public string CommitSha { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<SimulationRun.Types.CI> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.CI>
Provider
e.g. "github_actions"
public string Provider { get; set; }
Property Value
PullRequest
public string PullRequest { get; set; }
Property Value
Ref
branch or tag
public string Ref { get; set; }
Property Value
RunUrl
link back to the CI job
public string RunUrl { 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 SimulationRun.Types.CI Clone()
Returns
- SimulationRun.Types.CI
A deep clone of this object.
Equals(CI)
public bool Equals(SimulationRun.Types.CI other)
Parameters
otherSimulationRun.Types.CI
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(CI)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.CI other)
Parameters
otherSimulationRun.Types.CI
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.