Table of Contents

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
IBufferMessage
IMessage
Inherited Members

Constructors

ProviderReadinessObservation()

public ProviderReadinessObservation()

ProviderReadinessObservation(ProviderReadinessObservation)

public ProviderReadinessObservation(ProviderReadinessObservation other)

Parameters

other ProviderReadinessObservation

Fields

AttachmentEpochFieldNumber

Field number for the "attachment_epoch" field.

public const int AttachmentEpochFieldNumber = 3

Field Value

int

ConfigRevisionFieldNumber

Field number for the "config_revision" field.

public const int ConfigRevisionFieldNumber = 5

Field Value

int

CredentialsInstalledFieldNumber

Field number for the "credentials_installed" field.

public const int CredentialsInstalledFieldNumber = 7

Field Value

int

LaunchEnvironmentInstalledFieldNumber

Field number for the "launch_environment_installed" field.

public const int LaunchEnvironmentInstalledFieldNumber = 9

Field Value

int

PolicyActiveFieldNumber

Field number for the "policy_active" field.

public const int PolicyActiveFieldNumber = 8

Field Value

int

PolicyHashFieldNumber

Field number for the "policy_hash" field.

public const int PolicyHashFieldNumber = 6

Field Value

int

ProcessInstanceIdFieldNumber

Field number for the "process_instance_id" field.

public const int ProcessInstanceIdFieldNumber = 10

Field Value

int

ProviderEnvRevisionFieldNumber

Field number for the "provider_env_revision" field.

public const int ProviderEnvRevisionFieldNumber = 4

Field Value

int

ReasonFieldNumber

Field number for the "reason" field.

public const int ReasonFieldNumber = 11

Field Value

int

SequenceFieldNumber

Field number for the "sequence" field.

public const int SequenceFieldNumber = 2

Field Value

int

SessionIdFieldNumber

Field number for the "session_id" field.

public const int SessionIdFieldNumber = 1

Field Value

int

Properties

AttachmentEpoch

public string AttachmentEpoch { get; set; }

Property Value

string

ConfigRevision

public ulong ConfigRevision { get; set; }

Property Value

ulong

CredentialsInstalled

public bool CredentialsInstalled { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

LaunchEnvironmentInstalled

public bool LaunchEnvironmentInstalled { get; set; }

Property Value

bool

Parser

public static MessageParser<ProviderReadinessObservation> Parser { get; }

Property Value

MessageParser<ProviderReadinessObservation>

PolicyActive

public bool PolicyActive { get; set; }

Property Value

bool

PolicyHash

public string PolicyHash { get; set; }

Property Value

string

ProcessInstanceId

public string ProcessInstanceId { get; set; }

Property Value

string

ProviderEnvRevision

public ulong ProviderEnvRevision { get; set; }

Property Value

ulong

Reason

public ProviderReadinessReason Reason { get; set; }

Property Value

ProviderReadinessReason

Sequence

Monotonic only within this connection; unrelated to revision fingerprints.

public ulong Sequence { get; set; }

Property Value

ulong

SessionId

Gateway-issued identifier from the current ConnectSupervisor response.

public string SessionId { get; set; }

Property Value

string

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

other ProviderReadinessObservation

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(ProviderReadinessObservation)

Merges the given message into this one.

public void MergeFrom(ProviderReadinessObservation other)

Parameters

other ProviderReadinessObservation

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

output CodedOutputStream

Coded output stream to write the data to. Must not be null.