Class ProviderReadinessObservation
- Namespace
- Openshell.V1
- Assembly
- OpenShell.Sdk.dll
Installed state reported by the current supervisor. Process installation is acknowledged by the authenticated sandbox boundary after replacing its environment for future process launches.
public sealed class ProviderReadinessObservation : IMessage<ProviderReadinessObservation>, IEquatable<ProviderReadinessObservation>, IDeepCloneable<ProviderReadinessObservation>, IBufferMessage, IMessage
- Inheritance
-
ProviderReadinessObservation
- Implements
-
IMessage<ProviderReadinessObservation>IDeepCloneable<ProviderReadinessObservation>IBufferMessageIMessage
- Inherited Members
Constructors
ProviderReadinessObservation()
public ProviderReadinessObservation()
ProviderReadinessObservation(ProviderReadinessObservation)
public ProviderReadinessObservation(ProviderReadinessObservation other)
Parameters
Fields
AttachmentEpochFieldNumber
Field number for the "attachment_epoch" field.
public const int AttachmentEpochFieldNumber = 3
Field Value
ConfigRevisionFieldNumber
Field number for the "config_revision" field.
public const int ConfigRevisionFieldNumber = 5
Field Value
CredentialsInstalledFieldNumber
Field number for the "credentials_installed" field.
public const int CredentialsInstalledFieldNumber = 7
Field Value
LaunchEnvironmentInstalledFieldNumber
Field number for the "launch_environment_installed" field.
public const int LaunchEnvironmentInstalledFieldNumber = 9
Field Value
PolicyActiveFieldNumber
Field number for the "policy_active" field.
public const int PolicyActiveFieldNumber = 8
Field Value
PolicyHashFieldNumber
Field number for the "policy_hash" field.
public const int PolicyHashFieldNumber = 6
Field Value
ProcessInstanceIdFieldNumber
Field number for the "process_instance_id" field.
public const int ProcessInstanceIdFieldNumber = 10
Field Value
ProviderEnvRevisionFieldNumber
Field number for the "provider_env_revision" field.
public const int ProviderEnvRevisionFieldNumber = 4
Field Value
ReasonFieldNumber
Field number for the "reason" field.
public const int ReasonFieldNumber = 11
Field Value
SequenceFieldNumber
Field number for the "sequence" field.
public const int SequenceFieldNumber = 2
Field Value
SessionIdFieldNumber
Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1
Field Value
Properties
AttachmentEpoch
public string AttachmentEpoch { get; set; }
Property Value
ConfigRevision
public ulong ConfigRevision { get; set; }
Property Value
CredentialsInstalled
public bool CredentialsInstalled { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
LaunchEnvironmentInstalled
public bool LaunchEnvironmentInstalled { get; set; }
Property Value
Parser
public static MessageParser<ProviderReadinessObservation> Parser { get; }
Property Value
- MessageParser<ProviderReadinessObservation>
PolicyActive
public bool PolicyActive { get; set; }
Property Value
PolicyHash
public string PolicyHash { get; set; }
Property Value
ProcessInstanceId
public string ProcessInstanceId { get; set; }
Property Value
ProviderEnvRevision
public ulong ProviderEnvRevision { get; set; }
Property Value
Reason
public ProviderReadinessReason Reason { get; set; }
Property Value
Sequence
Monotonic only within this connection; unrelated to revision fingerprints.
public ulong Sequence { get; set; }
Property Value
SessionId
Gateway-issued identifier from the current ConnectSupervisor response.
public string SessionId { 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 ProviderReadinessObservation Clone()
Returns
- ProviderReadinessObservation
A deep clone of this object.
Equals(ProviderReadinessObservation)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ProviderReadinessObservation other)
Parameters
otherProviderReadinessObservationAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
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(ProviderReadinessObservation)
Merges the given message into this one.
public void MergeFrom(ProviderReadinessObservation other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
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.