Class SandboxProvisioning
- Namespace
- Openshell.V1
- Assembly
- OpenShell.Sdk.dll
Durable provisioning attempt, independent of supervisor registration and polling.
public sealed class SandboxProvisioning : IMessage<SandboxProvisioning>, IEquatable<SandboxProvisioning>, IDeepCloneable<SandboxProvisioning>, IBufferMessage, IMessage
- Inheritance
-
SandboxProvisioning
- Implements
-
IMessage<SandboxProvisioning>IDeepCloneable<SandboxProvisioning>IBufferMessageIMessage
- Inherited Members
Constructors
SandboxProvisioning()
public SandboxProvisioning()
SandboxProvisioning(SandboxProvisioning)
public SandboxProvisioning(SandboxProvisioning other)
Parameters
otherSandboxProvisioning
Fields
AdmissionStartTimeFieldNumber
Field number for the "admission_start_time" field.
public const int AdmissionStartTimeFieldNumber = 13
Field Value
AttachmentChangeIdFieldNumber
Field number for the "attachment_change_id" field.
public const int AttachmentChangeIdFieldNumber = 10
Field Value
AttachmentChangeTimeFieldNumber
Field number for the "attachment_change_time" field.
public const int AttachmentChangeTimeFieldNumber = 11
Field Value
AttemptIdFieldNumber
Field number for the "attempt_id" field.
public const int AttemptIdFieldNumber = 1
Field Value
CleanupCompletedTimeFieldNumber
Field number for the "cleanup_completed_time" field.
public const int CleanupCompletedTimeFieldNumber = 7
Field Value
CleanupErrorFieldNumber
Field number for the "cleanup_error" field.
public const int CleanupErrorFieldNumber = 8
Field Value
CleanupRetryTimeFieldNumber
Field number for the "cleanup_retry_time" field.
public const int CleanupRetryTimeFieldNumber = 9
Field Value
ConfigurationChangeIdFieldNumber
Field number for the "configuration_change_id" field.
public const int ConfigurationChangeIdFieldNumber = 2
Field Value
ConfigurationChangeTimeFieldNumber
Field number for the "configuration_change_time" field.
public const int ConfigurationChangeTimeFieldNumber = 3
Field Value
DeadlineFieldNumber
Field number for the "deadline" field.
public const int DeadlineFieldNumber = 5
Field Value
DriverOperationIdFieldNumber
Field number for the "driver_operation_id" field.
public const int DriverOperationIdFieldNumber = 15
Field Value
DriverOperationPendingFieldNumber
Field number for the "driver_operation_pending" field.
public const int DriverOperationPendingFieldNumber = 14
Field Value
FirstRejectionTimeFieldNumber
Field number for the "first_rejection_time" field.
public const int FirstRejectionTimeFieldNumber = 4
Field Value
PreparationDeadlineFieldNumber
Field number for the "preparation_deadline" field.
public const int PreparationDeadlineFieldNumber = 12
Field Value
TimeoutTimeFieldNumber
Field number for the "timeout_time" field.
public const int TimeoutTimeFieldNumber = 6
Field Value
Properties
AdmissionStartTime
First authenticated supervisor configuration report for this attempt. Starts the admission repair window. Absent while preparing, including after a preparation timeout. Duplicate reports never change this value.
public Timestamp AdmissionStartTime { get; set; }
Property Value
- Timestamp
AttachmentChangeId
Attachment edits have their own durable clock; status writes do not change it.
public string AttachmentChangeId { get; set; }
Property Value
AttachmentChangeTime
public Timestamp AttachmentChangeTime { get; set; }
Property Value
- Timestamp
AttemptId
public string AttemptId { get; set; }
Property Value
CleanupCompletedTime
Set only after both supervisor and workload compute have been reclaimed.
public Timestamp CleanupCompletedTime { get; set; }
Property Value
- Timestamp
CleanupError
A safe gateway-authored diagnostic; never a raw driver error.
public string CleanupError { get; set; }
Property Value
CleanupRetryTime
Durable backoff for interrupted or failed reclamation.
public Timestamp CleanupRetryTime { get; set; }
Property Value
- Timestamp
ConfigurationChangeId
public string ConfigurationChangeId { get; set; }
Property Value
ConfigurationChangeTime
public Timestamp ConfigurationChangeTime { get; set; }
Property Value
- Timestamp
Deadline
Active preparation or admission-repair deadline. Absent after Ready/timeout.
public Timestamp Deadline { get; set; }
Property Value
- Timestamp
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DriverOperationId
Unique for each claimed driver operation, including recovery and automatic restart. Retained after settlement to reject delayed callbacks from an earlier operation on the same attempt and runtime generation.
public string DriverOperationId { get; set; }
Property Value
DriverOperationPending
An owned driver create/start future is still pending. Claimed before dispatch and cleared on its actual success or error response. Monitor interruption, owner loss, and StopSandbox/NotFound do not clear it. While set, cleanup cannot complete and retry/deletion remain blocked. This does not strengthen a driver's transport-error settlement contract.
public bool DriverOperationPending { get; set; }
Property Value
FirstRejectionTime
public Timestamp FirstRejectionTime { get; set; }
Property Value
- Timestamp
Parser
public static MessageParser<SandboxProvisioning> Parser { get; }
Property Value
- MessageParser<SandboxProvisioning>
PreparationDeadline
Absolute ceiling for image preparation and initial supervisor startup. Set once per new attempt; progress, configuration writes, and restarts cannot extend it. Absent on attempts created before preparation timing.
public Timestamp PreparationDeadline { get; set; }
Property Value
- Timestamp
TimeoutTime
public Timestamp TimeoutTime { get; set; }
Property Value
- Timestamp
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 SandboxProvisioning Clone()
Returns
- SandboxProvisioning
A deep clone of this object.
Equals(SandboxProvisioning)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SandboxProvisioning other)
Parameters
otherSandboxProvisioningAn 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(SandboxProvisioning)
Merges the given message into this one.
public void MergeFrom(SandboxProvisioning other)
Parameters
otherSandboxProvisioning
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.