2462 lines
81 KiB
Go
2462 lines
81 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.12
|
|
// protoc (unknown)
|
|
// source: rvbox/v1/common.proto
|
|
|
|
package rvboxv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Platform int32
|
|
|
|
const (
|
|
Platform_PLATFORM_UNSPECIFIED Platform = 0
|
|
Platform_PLATFORM_LINUX Platform = 1
|
|
Platform_PLATFORM_DARWIN Platform = 2
|
|
Platform_PLATFORM_WINDOWS Platform = 3
|
|
Platform_PLATFORM_OTHER_UNIX Platform = 4
|
|
)
|
|
|
|
// Enum value maps for Platform.
|
|
var (
|
|
Platform_name = map[int32]string{
|
|
0: "PLATFORM_UNSPECIFIED",
|
|
1: "PLATFORM_LINUX",
|
|
2: "PLATFORM_DARWIN",
|
|
3: "PLATFORM_WINDOWS",
|
|
4: "PLATFORM_OTHER_UNIX",
|
|
}
|
|
Platform_value = map[string]int32{
|
|
"PLATFORM_UNSPECIFIED": 0,
|
|
"PLATFORM_LINUX": 1,
|
|
"PLATFORM_DARWIN": 2,
|
|
"PLATFORM_WINDOWS": 3,
|
|
"PLATFORM_OTHER_UNIX": 4,
|
|
}
|
|
)
|
|
|
|
func (x Platform) Enum() *Platform {
|
|
p := new(Platform)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Platform) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Platform) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Platform) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Platform) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Platform.Descriptor instead.
|
|
func (Platform) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ShellType int32
|
|
|
|
const (
|
|
ShellType_SHELL_TYPE_UNSPECIFIED ShellType = 0
|
|
ShellType_SHELL_SH ShellType = 1
|
|
ShellType_SHELL_BASH ShellType = 2
|
|
ShellType_SHELL_CMD ShellType = 3
|
|
ShellType_SHELL_POWERSHELL ShellType = 4
|
|
)
|
|
|
|
// Enum value maps for ShellType.
|
|
var (
|
|
ShellType_name = map[int32]string{
|
|
0: "SHELL_TYPE_UNSPECIFIED",
|
|
1: "SHELL_SH",
|
|
2: "SHELL_BASH",
|
|
3: "SHELL_CMD",
|
|
4: "SHELL_POWERSHELL",
|
|
}
|
|
ShellType_value = map[string]int32{
|
|
"SHELL_TYPE_UNSPECIFIED": 0,
|
|
"SHELL_SH": 1,
|
|
"SHELL_BASH": 2,
|
|
"SHELL_CMD": 3,
|
|
"SHELL_POWERSHELL": 4,
|
|
}
|
|
)
|
|
|
|
func (x ShellType) Enum() *ShellType {
|
|
p := new(ShellType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ShellType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ShellType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ShellType) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ShellType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ShellType.Descriptor instead.
|
|
func (ShellType) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// Effective Windows process token/session context selected by the client.
|
|
type WindowsExecutionContext int32
|
|
|
|
const (
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_UNSPECIFIED WindowsExecutionContext = 0
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_LOCAL_SERVICE WindowsExecutionContext = 1
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_LOCAL_SYSTEM WindowsExecutionContext = 2
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER WindowsExecutionContext = 3
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER_ELEVATED WindowsExecutionContext = 4
|
|
WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_ACTIVE_SYSTEM WindowsExecutionContext = 5
|
|
)
|
|
|
|
// Enum value maps for WindowsExecutionContext.
|
|
var (
|
|
WindowsExecutionContext_name = map[int32]string{
|
|
0: "WINDOWS_EXECUTION_CONTEXT_UNSPECIFIED",
|
|
1: "WINDOWS_EXECUTION_CONTEXT_LOCAL_SERVICE",
|
|
2: "WINDOWS_EXECUTION_CONTEXT_LOCAL_SYSTEM",
|
|
3: "WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER",
|
|
4: "WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER_ELEVATED",
|
|
5: "WINDOWS_EXECUTION_CONTEXT_ACTIVE_SYSTEM",
|
|
}
|
|
WindowsExecutionContext_value = map[string]int32{
|
|
"WINDOWS_EXECUTION_CONTEXT_UNSPECIFIED": 0,
|
|
"WINDOWS_EXECUTION_CONTEXT_LOCAL_SERVICE": 1,
|
|
"WINDOWS_EXECUTION_CONTEXT_LOCAL_SYSTEM": 2,
|
|
"WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER": 3,
|
|
"WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER_ELEVATED": 4,
|
|
"WINDOWS_EXECUTION_CONTEXT_ACTIVE_SYSTEM": 5,
|
|
}
|
|
)
|
|
|
|
func (x WindowsExecutionContext) Enum() *WindowsExecutionContext {
|
|
p := new(WindowsExecutionContext)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WindowsExecutionContext) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WindowsExecutionContext) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (WindowsExecutionContext) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x WindowsExecutionContext) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WindowsExecutionContext.Descriptor instead.
|
|
func (WindowsExecutionContext) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type Compression int32
|
|
|
|
const (
|
|
Compression_COMPRESSION_UNSPECIFIED Compression = 0
|
|
Compression_COMPRESSION_NONE Compression = 1
|
|
Compression_COMPRESSION_ZSTD Compression = 2
|
|
)
|
|
|
|
// Enum value maps for Compression.
|
|
var (
|
|
Compression_name = map[int32]string{
|
|
0: "COMPRESSION_UNSPECIFIED",
|
|
1: "COMPRESSION_NONE",
|
|
2: "COMPRESSION_ZSTD",
|
|
}
|
|
Compression_value = map[string]int32{
|
|
"COMPRESSION_UNSPECIFIED": 0,
|
|
"COMPRESSION_NONE": 1,
|
|
"COMPRESSION_ZSTD": 2,
|
|
}
|
|
)
|
|
|
|
func (x Compression) Enum() *Compression {
|
|
p := new(Compression)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Compression) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Compression) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (Compression) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x Compression) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Compression.Descriptor instead.
|
|
func (Compression) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type CommandLifecycle int32
|
|
|
|
const (
|
|
CommandLifecycle_COMMAND_LIFECYCLE_UNSPECIFIED CommandLifecycle = 0
|
|
CommandLifecycle_COMMAND_QUEUED CommandLifecycle = 1
|
|
CommandLifecycle_COMMAND_DISPATCHED CommandLifecycle = 2
|
|
CommandLifecycle_COMMAND_ACCEPTED CommandLifecycle = 3
|
|
CommandLifecycle_COMMAND_RUNNING CommandLifecycle = 4
|
|
CommandLifecycle_COMMAND_SUCCEEDED CommandLifecycle = 5
|
|
CommandLifecycle_COMMAND_FAILED CommandLifecycle = 6
|
|
CommandLifecycle_COMMAND_TERMINATED CommandLifecycle = 7
|
|
CommandLifecycle_COMMAND_CANCELLED CommandLifecycle = 8
|
|
CommandLifecycle_COMMAND_INTERRUPTED CommandLifecycle = 9
|
|
CommandLifecycle_COMMAND_EXPIRED CommandLifecycle = 10
|
|
CommandLifecycle_COMMAND_REJECTED CommandLifecycle = 11
|
|
)
|
|
|
|
// Enum value maps for CommandLifecycle.
|
|
var (
|
|
CommandLifecycle_name = map[int32]string{
|
|
0: "COMMAND_LIFECYCLE_UNSPECIFIED",
|
|
1: "COMMAND_QUEUED",
|
|
2: "COMMAND_DISPATCHED",
|
|
3: "COMMAND_ACCEPTED",
|
|
4: "COMMAND_RUNNING",
|
|
5: "COMMAND_SUCCEEDED",
|
|
6: "COMMAND_FAILED",
|
|
7: "COMMAND_TERMINATED",
|
|
8: "COMMAND_CANCELLED",
|
|
9: "COMMAND_INTERRUPTED",
|
|
10: "COMMAND_EXPIRED",
|
|
11: "COMMAND_REJECTED",
|
|
}
|
|
CommandLifecycle_value = map[string]int32{
|
|
"COMMAND_LIFECYCLE_UNSPECIFIED": 0,
|
|
"COMMAND_QUEUED": 1,
|
|
"COMMAND_DISPATCHED": 2,
|
|
"COMMAND_ACCEPTED": 3,
|
|
"COMMAND_RUNNING": 4,
|
|
"COMMAND_SUCCEEDED": 5,
|
|
"COMMAND_FAILED": 6,
|
|
"COMMAND_TERMINATED": 7,
|
|
"COMMAND_CANCELLED": 8,
|
|
"COMMAND_INTERRUPTED": 9,
|
|
"COMMAND_EXPIRED": 10,
|
|
"COMMAND_REJECTED": 11,
|
|
}
|
|
)
|
|
|
|
func (x CommandLifecycle) Enum() *CommandLifecycle {
|
|
p := new(CommandLifecycle)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CommandLifecycle) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CommandLifecycle) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (CommandLifecycle) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x CommandLifecycle) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CommandLifecycle.Descriptor instead.
|
|
func (CommandLifecycle) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type StreamKind int32
|
|
|
|
const (
|
|
StreamKind_STREAM_KIND_UNSPECIFIED StreamKind = 0
|
|
StreamKind_STREAM_STDOUT StreamKind = 1
|
|
StreamKind_STREAM_STDERR StreamKind = 2
|
|
)
|
|
|
|
// Enum value maps for StreamKind.
|
|
var (
|
|
StreamKind_name = map[int32]string{
|
|
0: "STREAM_KIND_UNSPECIFIED",
|
|
1: "STREAM_STDOUT",
|
|
2: "STREAM_STDERR",
|
|
}
|
|
StreamKind_value = map[string]int32{
|
|
"STREAM_KIND_UNSPECIFIED": 0,
|
|
"STREAM_STDOUT": 1,
|
|
"STREAM_STDERR": 2,
|
|
}
|
|
)
|
|
|
|
func (x StreamKind) Enum() *StreamKind {
|
|
p := new(StreamKind)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x StreamKind) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (StreamKind) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (StreamKind) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x StreamKind) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamKind.Descriptor instead.
|
|
func (StreamKind) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type SignalKind int32
|
|
|
|
const (
|
|
SignalKind_SIGNAL_KIND_UNSPECIFIED SignalKind = 0
|
|
SignalKind_SIGNAL_HUP SignalKind = 1
|
|
SignalKind_SIGNAL_INT SignalKind = 2
|
|
SignalKind_SIGNAL_TERM SignalKind = 3
|
|
SignalKind_SIGNAL_KILL SignalKind = 4
|
|
SignalKind_SIGNAL_USR1 SignalKind = 5
|
|
SignalKind_SIGNAL_USR2 SignalKind = 6
|
|
)
|
|
|
|
// Enum value maps for SignalKind.
|
|
var (
|
|
SignalKind_name = map[int32]string{
|
|
0: "SIGNAL_KIND_UNSPECIFIED",
|
|
1: "SIGNAL_HUP",
|
|
2: "SIGNAL_INT",
|
|
3: "SIGNAL_TERM",
|
|
4: "SIGNAL_KILL",
|
|
5: "SIGNAL_USR1",
|
|
6: "SIGNAL_USR2",
|
|
}
|
|
SignalKind_value = map[string]int32{
|
|
"SIGNAL_KIND_UNSPECIFIED": 0,
|
|
"SIGNAL_HUP": 1,
|
|
"SIGNAL_INT": 2,
|
|
"SIGNAL_TERM": 3,
|
|
"SIGNAL_KILL": 4,
|
|
"SIGNAL_USR1": 5,
|
|
"SIGNAL_USR2": 6,
|
|
}
|
|
)
|
|
|
|
func (x SignalKind) Enum() *SignalKind {
|
|
p := new(SignalKind)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SignalKind) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SignalKind) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (SignalKind) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x SignalKind) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SignalKind.Descriptor instead.
|
|
func (SignalKind) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
// These flags are composable. Their numeric limits are local administrator
|
|
// policy rather than part of the interoperable protocol.
|
|
type ExecutionProfile int32
|
|
|
|
const (
|
|
ExecutionProfile_EXECUTION_PROFILE_UNSPECIFIED ExecutionProfile = 0
|
|
ExecutionProfile_EXECUTION_PROFILE_LIGHT ExecutionProfile = 1
|
|
ExecutionProfile_EXECUTION_PROFILE_CPU_MEDIUM ExecutionProfile = 2
|
|
ExecutionProfile_EXECUTION_PROFILE_CPU_HEAVY ExecutionProfile = 3
|
|
ExecutionProfile_EXECUTION_PROFILE_MEM_MEDIUM ExecutionProfile = 4
|
|
ExecutionProfile_EXECUTION_PROFILE_MEM_HEAVY ExecutionProfile = 5
|
|
ExecutionProfile_EXECUTION_PROFILE_DISK_MEDIUM ExecutionProfile = 6
|
|
ExecutionProfile_EXECUTION_PROFILE_DISK_HEAVY ExecutionProfile = 7
|
|
)
|
|
|
|
// Enum value maps for ExecutionProfile.
|
|
var (
|
|
ExecutionProfile_name = map[int32]string{
|
|
0: "EXECUTION_PROFILE_UNSPECIFIED",
|
|
1: "EXECUTION_PROFILE_LIGHT",
|
|
2: "EXECUTION_PROFILE_CPU_MEDIUM",
|
|
3: "EXECUTION_PROFILE_CPU_HEAVY",
|
|
4: "EXECUTION_PROFILE_MEM_MEDIUM",
|
|
5: "EXECUTION_PROFILE_MEM_HEAVY",
|
|
6: "EXECUTION_PROFILE_DISK_MEDIUM",
|
|
7: "EXECUTION_PROFILE_DISK_HEAVY",
|
|
}
|
|
ExecutionProfile_value = map[string]int32{
|
|
"EXECUTION_PROFILE_UNSPECIFIED": 0,
|
|
"EXECUTION_PROFILE_LIGHT": 1,
|
|
"EXECUTION_PROFILE_CPU_MEDIUM": 2,
|
|
"EXECUTION_PROFILE_CPU_HEAVY": 3,
|
|
"EXECUTION_PROFILE_MEM_MEDIUM": 4,
|
|
"EXECUTION_PROFILE_MEM_HEAVY": 5,
|
|
"EXECUTION_PROFILE_DISK_MEDIUM": 6,
|
|
"EXECUTION_PROFILE_DISK_HEAVY": 7,
|
|
}
|
|
)
|
|
|
|
func (x ExecutionProfile) Enum() *ExecutionProfile {
|
|
p := new(ExecutionProfile)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ExecutionProfile) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ExecutionProfile) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (ExecutionProfile) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x ExecutionProfile) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecutionProfile.Descriptor instead.
|
|
func (ExecutionProfile) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type OutputTruncationSource int32
|
|
|
|
const (
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_UNSPECIFIED OutputTruncationSource = 0
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_CLIENT_SPOOL OutputTruncationSource = 1
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_SERVER_COMMAND_WINDOW OutputTruncationSource = 2
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_SERVER_CLIENT_CAP OutputTruncationSource = 3
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_CLIENT_OVERLOAD OutputTruncationSource = 4
|
|
OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_SERVER_GLOBAL_CAP OutputTruncationSource = 5
|
|
)
|
|
|
|
// Enum value maps for OutputTruncationSource.
|
|
var (
|
|
OutputTruncationSource_name = map[int32]string{
|
|
0: "OUTPUT_TRUNCATION_SOURCE_UNSPECIFIED",
|
|
1: "OUTPUT_TRUNCATION_SOURCE_CLIENT_SPOOL",
|
|
2: "OUTPUT_TRUNCATION_SOURCE_SERVER_COMMAND_WINDOW",
|
|
3: "OUTPUT_TRUNCATION_SOURCE_SERVER_CLIENT_CAP",
|
|
4: "OUTPUT_TRUNCATION_SOURCE_CLIENT_OVERLOAD",
|
|
5: "OUTPUT_TRUNCATION_SOURCE_SERVER_GLOBAL_CAP",
|
|
}
|
|
OutputTruncationSource_value = map[string]int32{
|
|
"OUTPUT_TRUNCATION_SOURCE_UNSPECIFIED": 0,
|
|
"OUTPUT_TRUNCATION_SOURCE_CLIENT_SPOOL": 1,
|
|
"OUTPUT_TRUNCATION_SOURCE_SERVER_COMMAND_WINDOW": 2,
|
|
"OUTPUT_TRUNCATION_SOURCE_SERVER_CLIENT_CAP": 3,
|
|
"OUTPUT_TRUNCATION_SOURCE_CLIENT_OVERLOAD": 4,
|
|
"OUTPUT_TRUNCATION_SOURCE_SERVER_GLOBAL_CAP": 5,
|
|
}
|
|
)
|
|
|
|
func (x OutputTruncationSource) Enum() *OutputTruncationSource {
|
|
p := new(OutputTruncationSource)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OutputTruncationSource) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OutputTruncationSource) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (OutputTruncationSource) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x OutputTruncationSource) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OutputTruncationSource.Descriptor instead.
|
|
func (OutputTruncationSource) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ControlError_Code int32
|
|
|
|
const (
|
|
ControlError_CODE_UNSPECIFIED ControlError_Code = 0
|
|
ControlError_INVALID_ARGUMENT ControlError_Code = 1
|
|
ControlError_NOT_FOUND ControlError_Code = 2
|
|
ControlError_OFFLINE ControlError_Code = 3
|
|
ControlError_CAPACITY_EXHAUSTED ControlError_Code = 4
|
|
ControlError_CONFLICT ControlError_Code = 5
|
|
ControlError_UNSUPPORTED ControlError_Code = 6
|
|
ControlError_PROTOCOL_ERROR ControlError_Code = 7
|
|
ControlError_TRANSIENT ControlError_Code = 8
|
|
ControlError_INTERNAL ControlError_Code = 9
|
|
ControlError_CODE_ALREADY_EXECUTED ControlError_Code = 10
|
|
ControlError_CODE_EXECUTION_CONTEXT_UNAVAILABLE ControlError_Code = 11
|
|
ControlError_CODE_ELEVATION_UNAVAILABLE ControlError_Code = 12
|
|
)
|
|
|
|
// Enum value maps for ControlError_Code.
|
|
var (
|
|
ControlError_Code_name = map[int32]string{
|
|
0: "CODE_UNSPECIFIED",
|
|
1: "INVALID_ARGUMENT",
|
|
2: "NOT_FOUND",
|
|
3: "OFFLINE",
|
|
4: "CAPACITY_EXHAUSTED",
|
|
5: "CONFLICT",
|
|
6: "UNSUPPORTED",
|
|
7: "PROTOCOL_ERROR",
|
|
8: "TRANSIENT",
|
|
9: "INTERNAL",
|
|
10: "CODE_ALREADY_EXECUTED",
|
|
11: "CODE_EXECUTION_CONTEXT_UNAVAILABLE",
|
|
12: "CODE_ELEVATION_UNAVAILABLE",
|
|
}
|
|
ControlError_Code_value = map[string]int32{
|
|
"CODE_UNSPECIFIED": 0,
|
|
"INVALID_ARGUMENT": 1,
|
|
"NOT_FOUND": 2,
|
|
"OFFLINE": 3,
|
|
"CAPACITY_EXHAUSTED": 4,
|
|
"CONFLICT": 5,
|
|
"UNSUPPORTED": 6,
|
|
"PROTOCOL_ERROR": 7,
|
|
"TRANSIENT": 8,
|
|
"INTERNAL": 9,
|
|
"CODE_ALREADY_EXECUTED": 10,
|
|
"CODE_EXECUTION_CONTEXT_UNAVAILABLE": 11,
|
|
"CODE_ELEVATION_UNAVAILABLE": 12,
|
|
}
|
|
)
|
|
|
|
func (x ControlError_Code) Enum() *ControlError_Code {
|
|
p := new(ControlError_Code)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ControlError_Code) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ControlError_Code) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rvbox_v1_common_proto_enumTypes[9].Descriptor()
|
|
}
|
|
|
|
func (ControlError_Code) Type() protoreflect.EnumType {
|
|
return &file_rvbox_v1_common_proto_enumTypes[9]
|
|
}
|
|
|
|
func (x ControlError_Code) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ControlError_Code.Descriptor instead.
|
|
func (ControlError_Code) EnumDescriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{15, 0}
|
|
}
|
|
|
|
// An inclusive protocol-version range advertised during registration.
|
|
type ProtocolRange struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
|
|
MinMinor uint32 `protobuf:"varint,2,opt,name=min_minor,json=minMinor,proto3" json:"min_minor,omitempty"`
|
|
MaxMinor uint32 `protobuf:"varint,3,opt,name=max_minor,json=maxMinor,proto3" json:"max_minor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProtocolRange) Reset() {
|
|
*x = ProtocolRange{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProtocolRange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProtocolRange) ProtoMessage() {}
|
|
|
|
func (x *ProtocolRange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProtocolRange.ProtoReflect.Descriptor instead.
|
|
func (*ProtocolRange) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ProtocolRange) GetMajor() uint32 {
|
|
if x != nil {
|
|
return x.Major
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProtocolRange) GetMinMinor() uint32 {
|
|
if x != nil {
|
|
return x.MinMinor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProtocolRange) GetMaxMinor() uint32 {
|
|
if x != nil {
|
|
return x.MaxMinor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ProtocolVersion struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
|
|
Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProtocolVersion) Reset() {
|
|
*x = ProtocolVersion{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProtocolVersion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProtocolVersion) ProtoMessage() {}
|
|
|
|
func (x *ProtocolVersion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProtocolVersion.ProtoReflect.Descriptor instead.
|
|
func (*ProtocolVersion) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ProtocolVersion) GetMajor() uint32 {
|
|
if x != nil {
|
|
return x.Major
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProtocolVersion) GetMinor() uint32 {
|
|
if x != nil {
|
|
return x.Minor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ScriptDescriptor struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
SizeBytes uint64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Sha256 []byte `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScriptDescriptor) Reset() {
|
|
*x = ScriptDescriptor{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScriptDescriptor) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScriptDescriptor) ProtoMessage() {}
|
|
|
|
func (x *ScriptDescriptor) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScriptDescriptor.ProtoReflect.Descriptor instead.
|
|
func (*ScriptDescriptor) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ScriptDescriptor) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScriptDescriptor) GetSizeBytes() uint64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScriptDescriptor) GetSha256() []byte {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Execution settings sent to the client. A script's bytes travel separately.
|
|
type ExecutionSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ShellType ShellType `protobuf:"varint,1,opt,name=shell_type,json=shellType,proto3,enum=rvbox.v1.ShellType" json:"shell_type,omitempty"`
|
|
Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
|
|
EnvOverrides map[string]string `protobuf:"bytes,3,rep,name=env_overrides,json=envOverrides,proto3" json:"env_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
ExecutionProfiles []ExecutionProfile `protobuf:"varint,4,rep,packed,name=execution_profiles,json=executionProfiles,proto3,enum=rvbox.v1.ExecutionProfile" json:"execution_profiles,omitempty"`
|
|
// Types that are valid to be assigned to Source:
|
|
//
|
|
// *ExecutionSpec_CommandText
|
|
// *ExecutionSpec_Script
|
|
Source isExecutionSpec_Source `protobuf_oneof:"source"`
|
|
// Requests the platform's elevated execution policy. False is the normal
|
|
// least-privilege policy. Non-Windows clients reject true in v1.
|
|
Elevated bool `protobuf:"varint,7,opt,name=elevated,proto3" json:"elevated,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExecutionSpec) Reset() {
|
|
*x = ExecutionSpec{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExecutionSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExecutionSpec) ProtoMessage() {}
|
|
|
|
func (x *ExecutionSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecutionSpec.ProtoReflect.Descriptor instead.
|
|
func (*ExecutionSpec) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetShellType() ShellType {
|
|
if x != nil {
|
|
return x.ShellType
|
|
}
|
|
return ShellType_SHELL_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetCwd() string {
|
|
if x != nil {
|
|
return x.Cwd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetEnvOverrides() map[string]string {
|
|
if x != nil {
|
|
return x.EnvOverrides
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetExecutionProfiles() []ExecutionProfile {
|
|
if x != nil {
|
|
return x.ExecutionProfiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetSource() isExecutionSpec_Source {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetCommandText() string {
|
|
if x != nil {
|
|
if x, ok := x.Source.(*ExecutionSpec_CommandText); ok {
|
|
return x.CommandText
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetScript() *ScriptDescriptor {
|
|
if x != nil {
|
|
if x, ok := x.Source.(*ExecutionSpec_Script); ok {
|
|
return x.Script
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionSpec) GetElevated() bool {
|
|
if x != nil {
|
|
return x.Elevated
|
|
}
|
|
return false
|
|
}
|
|
|
|
type isExecutionSpec_Source interface {
|
|
isExecutionSpec_Source()
|
|
}
|
|
|
|
type ExecutionSpec_CommandText struct {
|
|
CommandText string `protobuf:"bytes,5,opt,name=command_text,json=commandText,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionSpec_Script struct {
|
|
Script *ScriptDescriptor `protobuf:"bytes,6,opt,name=script,proto3,oneof"`
|
|
}
|
|
|
|
func (*ExecutionSpec_CommandText) isExecutionSpec_Source() {}
|
|
|
|
func (*ExecutionSpec_Script) isExecutionSpec_Source() {}
|
|
|
|
// Effective Windows identity captured at launch. session_id and
|
|
// session_user_sid are absent for Session 0 contexts. effective_user_sid is
|
|
// the actual process-token user, not the owner of the target desktop session.
|
|
type WindowsExecutionIdentity struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Absent when every allowed context failed before launch preparation.
|
|
EffectiveContext *WindowsExecutionContext `protobuf:"varint,1,opt,name=effective_context,json=effectiveContext,proto3,enum=rvbox.v1.WindowsExecutionContext,oneof" json:"effective_context,omitempty"`
|
|
SessionId *uint32 `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
|
|
SessionUserSid string `protobuf:"bytes,3,opt,name=session_user_sid,json=sessionUserSid,proto3" json:"session_user_sid,omitempty"`
|
|
EffectiveUserSid string `protobuf:"bytes,4,opt,name=effective_user_sid,json=effectiveUserSid,proto3" json:"effective_user_sid,omitempty"`
|
|
// Ordered contexts considered during pre-launch selection, including the
|
|
// effective final context. This is never a record of process retries.
|
|
AttemptedContexts []WindowsExecutionContext `protobuf:"varint,5,rep,packed,name=attempted_contexts,json=attemptedContexts,proto3,enum=rvbox.v1.WindowsExecutionContext" json:"attempted_contexts,omitempty"`
|
|
SelectionDetail string `protobuf:"bytes,6,opt,name=selection_detail,json=selectionDetail,proto3" json:"selection_detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) Reset() {
|
|
*x = WindowsExecutionIdentity{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WindowsExecutionIdentity) ProtoMessage() {}
|
|
|
|
func (x *WindowsExecutionIdentity) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WindowsExecutionIdentity.ProtoReflect.Descriptor instead.
|
|
func (*WindowsExecutionIdentity) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetEffectiveContext() WindowsExecutionContext {
|
|
if x != nil && x.EffectiveContext != nil {
|
|
return *x.EffectiveContext
|
|
}
|
|
return WindowsExecutionContext_WINDOWS_EXECUTION_CONTEXT_UNSPECIFIED
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetSessionId() uint32 {
|
|
if x != nil && x.SessionId != nil {
|
|
return *x.SessionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetSessionUserSid() string {
|
|
if x != nil {
|
|
return x.SessionUserSid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetEffectiveUserSid() string {
|
|
if x != nil {
|
|
return x.EffectiveUserSid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetAttemptedContexts() []WindowsExecutionContext {
|
|
if x != nil {
|
|
return x.AttemptedContexts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WindowsExecutionIdentity) GetSelectionDetail() string {
|
|
if x != nil {
|
|
return x.SelectionDetail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CommandRecord struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IssueUuid string `protobuf:"bytes,1,opt,name=issue_uuid,json=issueUuid,proto3" json:"issue_uuid,omitempty"`
|
|
TargetClientId string `protobuf:"bytes,2,opt,name=target_client_id,json=targetClientId,proto3" json:"target_client_id,omitempty"`
|
|
IssueTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"`
|
|
ServerReceiptTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=server_receipt_time,json=serverReceiptTime,proto3" json:"server_receipt_time,omitempty"`
|
|
Spec *ExecutionSpec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
|
|
Lifecycle CommandLifecycle `protobuf:"varint,6,opt,name=lifecycle,proto3,enum=rvbox.v1.CommandLifecycle" json:"lifecycle,omitempty"`
|
|
LastEventSeq uint64 `protobuf:"varint,7,opt,name=last_event_seq,json=lastEventSeq,proto3" json:"last_event_seq,omitempty"`
|
|
ExitCode *int32 `protobuf:"varint,8,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
|
|
TerminalTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=terminal_time,json=terminalTime,proto3" json:"terminal_time,omitempty"`
|
|
OutputTruncated bool `protobuf:"varint,10,opt,name=output_truncated,json=outputTruncated,proto3" json:"output_truncated,omitempty"`
|
|
RetainedCompressedBytes uint64 `protobuf:"varint,11,opt,name=retained_compressed_bytes,json=retainedCompressedBytes,proto3" json:"retained_compressed_bytes,omitempty"`
|
|
QueueExpiryTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=queue_expiry_time,json=queueExpiryTime,proto3" json:"queue_expiry_time,omitempty"`
|
|
OutputIncomplete bool `protobuf:"varint,13,opt,name=output_incomplete,json=outputIncomplete,proto3" json:"output_incomplete,omitempty"`
|
|
// Present when lifecycle is COMMAND_REJECTED.
|
|
Rejection *ControlError `protobuf:"bytes,14,opt,name=rejection,proto3" json:"rejection,omitempty"`
|
|
CommandRevision uint64 `protobuf:"varint,15,opt,name=command_revision,json=commandRevision,proto3" json:"command_revision,omitempty"`
|
|
LateAfterExpiry bool `protobuf:"varint,16,opt,name=late_after_expiry,json=lateAfterExpiry,proto3" json:"late_after_expiry,omitempty"`
|
|
// Present after Windows context selection was attempted, including a
|
|
// pre-launch rejection for which effective_context is absent.
|
|
WindowsExecutionIdentity *WindowsExecutionIdentity `protobuf:"bytes,17,opt,name=windows_execution_identity,json=windowsExecutionIdentity,proto3" json:"windows_execution_identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CommandRecord) Reset() {
|
|
*x = CommandRecord{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CommandRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommandRecord) ProtoMessage() {}
|
|
|
|
func (x *CommandRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommandRecord.ProtoReflect.Descriptor instead.
|
|
func (*CommandRecord) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CommandRecord) GetIssueUuid() string {
|
|
if x != nil {
|
|
return x.IssueUuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommandRecord) GetTargetClientId() string {
|
|
if x != nil {
|
|
return x.TargetClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommandRecord) GetIssueTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.IssueTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetServerReceiptTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ServerReceiptTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetSpec() *ExecutionSpec {
|
|
if x != nil {
|
|
return x.Spec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetLifecycle() CommandLifecycle {
|
|
if x != nil {
|
|
return x.Lifecycle
|
|
}
|
|
return CommandLifecycle_COMMAND_LIFECYCLE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *CommandRecord) GetLastEventSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastEventSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommandRecord) GetExitCode() int32 {
|
|
if x != nil && x.ExitCode != nil {
|
|
return *x.ExitCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommandRecord) GetTerminalTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.TerminalTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetOutputTruncated() bool {
|
|
if x != nil {
|
|
return x.OutputTruncated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CommandRecord) GetRetainedCompressedBytes() uint64 {
|
|
if x != nil {
|
|
return x.RetainedCompressedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommandRecord) GetQueueExpiryTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.QueueExpiryTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetOutputIncomplete() bool {
|
|
if x != nil {
|
|
return x.OutputIncomplete
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CommandRecord) GetRejection() *ControlError {
|
|
if x != nil {
|
|
return x.Rejection
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandRecord) GetCommandRevision() uint64 {
|
|
if x != nil {
|
|
return x.CommandRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommandRecord) GetLateAfterExpiry() bool {
|
|
if x != nil {
|
|
return x.LateAfterExpiry
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CommandRecord) GetWindowsExecutionIdentity() *WindowsExecutionIdentity {
|
|
if x != nil {
|
|
return x.WindowsExecutionIdentity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LifecycleChange struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lifecycle CommandLifecycle `protobuf:"varint,1,opt,name=lifecycle,proto3,enum=rvbox.v1.CommandLifecycle" json:"lifecycle,omitempty"`
|
|
ExitCode *int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
CommandRevision uint64 `protobuf:"varint,4,opt,name=command_revision,json=commandRevision,proto3" json:"command_revision,omitempty"`
|
|
// Set on a Windows context-selection rejection or RUNNING, then repeated
|
|
// unchanged on later lifecycle events.
|
|
WindowsExecutionIdentity *WindowsExecutionIdentity `protobuf:"bytes,5,opt,name=windows_execution_identity,json=windowsExecutionIdentity,proto3" json:"windows_execution_identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LifecycleChange) Reset() {
|
|
*x = LifecycleChange{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LifecycleChange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LifecycleChange) ProtoMessage() {}
|
|
|
|
func (x *LifecycleChange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LifecycleChange.ProtoReflect.Descriptor instead.
|
|
func (*LifecycleChange) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *LifecycleChange) GetLifecycle() CommandLifecycle {
|
|
if x != nil {
|
|
return x.Lifecycle
|
|
}
|
|
return CommandLifecycle_COMMAND_LIFECYCLE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *LifecycleChange) GetExitCode() int32 {
|
|
if x != nil && x.ExitCode != nil {
|
|
return *x.ExitCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LifecycleChange) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LifecycleChange) GetCommandRevision() uint64 {
|
|
if x != nil {
|
|
return x.CommandRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LifecycleChange) GetWindowsExecutionIdentity() *WindowsExecutionIdentity {
|
|
if x != nil {
|
|
return x.WindowsExecutionIdentity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// data is compressed according to compression. uncompressed_size is mandatory
|
|
// when compression is ZSTD and must be validated before decompression.
|
|
type OutputChunk struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream StreamKind `protobuf:"varint,1,opt,name=stream,proto3,enum=rvbox.v1.StreamKind" json:"stream,omitempty"`
|
|
Compression Compression `protobuf:"varint,2,opt,name=compression,proto3,enum=rvbox.v1.Compression" json:"compression,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
UncompressedSize uint64 `protobuf:"varint,4,opt,name=uncompressed_size,json=uncompressedSize,proto3" json:"uncompressed_size,omitempty"`
|
|
CompressedSize uint64 `protobuf:"varint,5,opt,name=compressed_size,json=compressedSize,proto3" json:"compressed_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OutputChunk) Reset() {
|
|
*x = OutputChunk{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OutputChunk) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutputChunk) ProtoMessage() {}
|
|
|
|
func (x *OutputChunk) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutputChunk.ProtoReflect.Descriptor instead.
|
|
func (*OutputChunk) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *OutputChunk) GetStream() StreamKind {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return StreamKind_STREAM_KIND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *OutputChunk) GetCompression() Compression {
|
|
if x != nil {
|
|
return x.Compression
|
|
}
|
|
return Compression_COMPRESSION_UNSPECIFIED
|
|
}
|
|
|
|
func (x *OutputChunk) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OutputChunk) GetUncompressedSize() uint64 {
|
|
if x != nil {
|
|
return x.UncompressedSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputChunk) GetCompressedSize() uint64 {
|
|
if x != nil {
|
|
return x.CompressedSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ResourceSnapshot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ResidentMemoryBytes *uint64 `protobuf:"varint,1,opt,name=resident_memory_bytes,json=residentMemoryBytes,proto3,oneof" json:"resident_memory_bytes,omitempty"`
|
|
VirtualMemoryBytes *uint64 `protobuf:"varint,2,opt,name=virtual_memory_bytes,json=virtualMemoryBytes,proto3,oneof" json:"virtual_memory_bytes,omitempty"`
|
|
CpuTime *durationpb.Duration `protobuf:"bytes,3,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
|
|
ReadBytes *uint64 `protobuf:"varint,4,opt,name=read_bytes,json=readBytes,proto3,oneof" json:"read_bytes,omitempty"`
|
|
WriteBytes *uint64 `protobuf:"varint,5,opt,name=write_bytes,json=writeBytes,proto3,oneof" json:"write_bytes,omitempty"`
|
|
ProcessState *string `protobuf:"bytes,6,opt,name=process_state,json=processState,proto3,oneof" json:"process_state,omitempty"`
|
|
WaitReason *string `protobuf:"bytes,7,opt,name=wait_reason,json=waitReason,proto3,oneof" json:"wait_reason,omitempty"`
|
|
SuspectedHung bool `protobuf:"varint,8,opt,name=suspected_hung,json=suspectedHung,proto3" json:"suspected_hung,omitempty"`
|
|
DiagnosticDetail string `protobuf:"bytes,9,opt,name=diagnostic_detail,json=diagnosticDetail,proto3" json:"diagnostic_detail,omitempty"`
|
|
CurrentCwd *string `protobuf:"bytes,10,opt,name=current_cwd,json=currentCwd,proto3,oneof" json:"current_cwd,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResourceSnapshot) Reset() {
|
|
*x = ResourceSnapshot{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResourceSnapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResourceSnapshot) ProtoMessage() {}
|
|
|
|
func (x *ResourceSnapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResourceSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ResourceSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetResidentMemoryBytes() uint64 {
|
|
if x != nil && x.ResidentMemoryBytes != nil {
|
|
return *x.ResidentMemoryBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetVirtualMemoryBytes() uint64 {
|
|
if x != nil && x.VirtualMemoryBytes != nil {
|
|
return *x.VirtualMemoryBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetCpuTime() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.CpuTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetReadBytes() uint64 {
|
|
if x != nil && x.ReadBytes != nil {
|
|
return *x.ReadBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetWriteBytes() uint64 {
|
|
if x != nil && x.WriteBytes != nil {
|
|
return *x.WriteBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetProcessState() string {
|
|
if x != nil && x.ProcessState != nil {
|
|
return *x.ProcessState
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetWaitReason() string {
|
|
if x != nil && x.WaitReason != nil {
|
|
return *x.WaitReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetSuspectedHung() bool {
|
|
if x != nil {
|
|
return x.SuspectedHung
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetDiagnosticDetail() string {
|
|
if x != nil {
|
|
return x.DiagnosticDetail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResourceSnapshot) GetCurrentCwd() string {
|
|
if x != nil && x.CurrentCwd != nil {
|
|
return *x.CurrentCwd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Metadata for missing output. Server-side retention supplies the optional
|
|
// event range. Client output discarded before wire sequence assignment omits
|
|
// the range and carries this as a normally sequenced CommandEvent.
|
|
type OutputTruncation struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FirstRemovedEventSeq *uint64 `protobuf:"varint,1,opt,name=first_removed_event_seq,json=firstRemovedEventSeq,proto3,oneof" json:"first_removed_event_seq,omitempty"`
|
|
LastRemovedEventSeq *uint64 `protobuf:"varint,2,opt,name=last_removed_event_seq,json=lastRemovedEventSeq,proto3,oneof" json:"last_removed_event_seq,omitempty"`
|
|
// Absent when bytes were discarded before compression.
|
|
RemovedCompressedBytes *uint64 `protobuf:"varint,3,opt,name=removed_compressed_bytes,json=removedCompressedBytes,proto3,oneof" json:"removed_compressed_bytes,omitempty"`
|
|
RemovedUncompressedBytes uint64 `protobuf:"varint,4,opt,name=removed_uncompressed_bytes,json=removedUncompressedBytes,proto3" json:"removed_uncompressed_bytes,omitempty"`
|
|
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
Source OutputTruncationSource `protobuf:"varint,6,opt,name=source,proto3,enum=rvbox.v1.OutputTruncationSource" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OutputTruncation) Reset() {
|
|
*x = OutputTruncation{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OutputTruncation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutputTruncation) ProtoMessage() {}
|
|
|
|
func (x *OutputTruncation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutputTruncation.ProtoReflect.Descriptor instead.
|
|
func (*OutputTruncation) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *OutputTruncation) GetFirstRemovedEventSeq() uint64 {
|
|
if x != nil && x.FirstRemovedEventSeq != nil {
|
|
return *x.FirstRemovedEventSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputTruncation) GetLastRemovedEventSeq() uint64 {
|
|
if x != nil && x.LastRemovedEventSeq != nil {
|
|
return *x.LastRemovedEventSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputTruncation) GetRemovedCompressedBytes() uint64 {
|
|
if x != nil && x.RemovedCompressedBytes != nil {
|
|
return *x.RemovedCompressedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputTruncation) GetRemovedUncompressedBytes() uint64 {
|
|
if x != nil {
|
|
return x.RemovedUncompressedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputTruncation) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OutputTruncation) GetSource() OutputTruncationSource {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return OutputTruncationSource_OUTPUT_TRUNCATION_SOURCE_UNSPECIFIED
|
|
}
|
|
|
|
// Indicates that capture ended without a provably complete byte stream. It is
|
|
// sequenced before the terminal lifecycle event but does not claim an invented
|
|
// event or byte range.
|
|
type OutputIncomplete struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Streams []StreamKind `protobuf:"varint,1,rep,packed,name=streams,proto3,enum=rvbox.v1.StreamKind" json:"streams,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OutputIncomplete) Reset() {
|
|
*x = OutputIncomplete{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OutputIncomplete) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutputIncomplete) ProtoMessage() {}
|
|
|
|
func (x *OutputIncomplete) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutputIncomplete.ProtoReflect.Descriptor instead.
|
|
func (*OutputIncomplete) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *OutputIncomplete) GetStreams() []StreamKind {
|
|
if x != nil {
|
|
return x.Streams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OutputIncomplete) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StdinAcknowledgement struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
WriteSeq uint64 `protobuf:"varint,1,opt,name=write_seq,json=writeSeq,proto3" json:"write_seq,omitempty"`
|
|
StdinClosed bool `protobuf:"varint,2,opt,name=stdin_closed,json=stdinClosed,proto3" json:"stdin_closed,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StdinAcknowledgement) Reset() {
|
|
*x = StdinAcknowledgement{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StdinAcknowledgement) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StdinAcknowledgement) ProtoMessage() {}
|
|
|
|
func (x *StdinAcknowledgement) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StdinAcknowledgement.ProtoReflect.Descriptor instead.
|
|
func (*StdinAcknowledgement) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *StdinAcknowledgement) GetWriteSeq() uint64 {
|
|
if x != nil {
|
|
return x.WriteSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StdinAcknowledgement) GetStdinClosed() bool {
|
|
if x != nil {
|
|
return x.StdinClosed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StdinAcknowledgement) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignalResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Signal SignalKind `protobuf:"varint,1,opt,name=signal,proto3,enum=rvbox.v1.SignalKind" json:"signal,omitempty"`
|
|
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
|
|
GracefulDeliveryAttempted bool `protobuf:"varint,3,opt,name=graceful_delivery_attempted,json=gracefulDeliveryAttempted,proto3" json:"graceful_delivery_attempted,omitempty"`
|
|
ForcedTerminationUsed bool `protobuf:"varint,4,opt,name=forced_termination_used,json=forcedTerminationUsed,proto3" json:"forced_termination_used,omitempty"`
|
|
Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
CommandRevision uint64 `protobuf:"varint,6,opt,name=command_revision,json=commandRevision,proto3" json:"command_revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignalResult) Reset() {
|
|
*x = SignalResult{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignalResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignalResult) ProtoMessage() {}
|
|
|
|
func (x *SignalResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignalResult.ProtoReflect.Descriptor instead.
|
|
func (*SignalResult) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SignalResult) GetSignal() SignalKind {
|
|
if x != nil {
|
|
return x.Signal
|
|
}
|
|
return SignalKind_SIGNAL_KIND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *SignalResult) GetAccepted() bool {
|
|
if x != nil {
|
|
return x.Accepted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SignalResult) GetGracefulDeliveryAttempted() bool {
|
|
if x != nil {
|
|
return x.GracefulDeliveryAttempted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SignalResult) GetForcedTerminationUsed() bool {
|
|
if x != nil {
|
|
return x.ForcedTerminationUsed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SignalResult) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignalResult) GetCommandRevision() uint64 {
|
|
if x != nil {
|
|
return x.CommandRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ScriptUploadStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReceivedBytes uint64 `protobuf:"varint,1,opt,name=received_bytes,json=receivedBytes,proto3" json:"received_bytes,omitempty"`
|
|
Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScriptUploadStatus) Reset() {
|
|
*x = ScriptUploadStatus{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScriptUploadStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScriptUploadStatus) ProtoMessage() {}
|
|
|
|
func (x *ScriptUploadStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScriptUploadStatus.ProtoReflect.Descriptor instead.
|
|
func (*ScriptUploadStatus) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ScriptUploadStatus) GetReceivedBytes() uint64 {
|
|
if x != nil {
|
|
return x.ReceivedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScriptUploadStatus) GetComplete() bool {
|
|
if x != nil {
|
|
return x.Complete
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ScriptUploadStatus) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Client-originated ordered history. event_seq is strictly increasing per
|
|
// issue_uuid and is reused exactly on retransmission.
|
|
type CommandEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IssueUuid string `protobuf:"bytes,1,opt,name=issue_uuid,json=issueUuid,proto3" json:"issue_uuid,omitempty"`
|
|
EventSeq uint64 `protobuf:"varint,2,opt,name=event_seq,json=eventSeq,proto3" json:"event_seq,omitempty"`
|
|
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
|
|
// Types that are valid to be assigned to Payload:
|
|
//
|
|
// *CommandEvent_Lifecycle
|
|
// *CommandEvent_Output
|
|
// *CommandEvent_Resource
|
|
// *CommandEvent_StdinAck
|
|
// *CommandEvent_SignalResult
|
|
// *CommandEvent_ScriptStatus
|
|
// *CommandEvent_OutputTruncation
|
|
// *CommandEvent_OutputIncomplete
|
|
Payload isCommandEvent_Payload `protobuf_oneof:"payload"`
|
|
// SHA-256 of this event with this field cleared. It makes retransmission
|
|
// conflicts detectable without trusting a reused event_seq.
|
|
ImmutableEventSha256 []byte `protobuf:"bytes,12,opt,name=immutable_event_sha256,json=immutableEventSha256,proto3" json:"immutable_event_sha256,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CommandEvent) Reset() {
|
|
*x = CommandEvent{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CommandEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommandEvent) ProtoMessage() {}
|
|
|
|
func (x *CommandEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommandEvent.ProtoReflect.Descriptor instead.
|
|
func (*CommandEvent) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CommandEvent) GetIssueUuid() string {
|
|
if x != nil {
|
|
return x.IssueUuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommandEvent) GetEventSeq() uint64 {
|
|
if x != nil {
|
|
return x.EventSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommandEvent) GetObservedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ObservedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetPayload() isCommandEvent_Payload {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetLifecycle() *LifecycleChange {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_Lifecycle); ok {
|
|
return x.Lifecycle
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetOutput() *OutputChunk {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_Output); ok {
|
|
return x.Output
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetResource() *ResourceSnapshot {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_Resource); ok {
|
|
return x.Resource
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetStdinAck() *StdinAcknowledgement {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_StdinAck); ok {
|
|
return x.StdinAck
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetSignalResult() *SignalResult {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_SignalResult); ok {
|
|
return x.SignalResult
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetScriptStatus() *ScriptUploadStatus {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_ScriptStatus); ok {
|
|
return x.ScriptStatus
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetOutputTruncation() *OutputTruncation {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_OutputTruncation); ok {
|
|
return x.OutputTruncation
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetOutputIncomplete() *OutputIncomplete {
|
|
if x != nil {
|
|
if x, ok := x.Payload.(*CommandEvent_OutputIncomplete); ok {
|
|
return x.OutputIncomplete
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommandEvent) GetImmutableEventSha256() []byte {
|
|
if x != nil {
|
|
return x.ImmutableEventSha256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isCommandEvent_Payload interface {
|
|
isCommandEvent_Payload()
|
|
}
|
|
|
|
type CommandEvent_Lifecycle struct {
|
|
Lifecycle *LifecycleChange `protobuf:"bytes,4,opt,name=lifecycle,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_Output struct {
|
|
Output *OutputChunk `protobuf:"bytes,5,opt,name=output,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_Resource struct {
|
|
Resource *ResourceSnapshot `protobuf:"bytes,6,opt,name=resource,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_StdinAck struct {
|
|
StdinAck *StdinAcknowledgement `protobuf:"bytes,7,opt,name=stdin_ack,json=stdinAck,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_SignalResult struct {
|
|
SignalResult *SignalResult `protobuf:"bytes,8,opt,name=signal_result,json=signalResult,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_ScriptStatus struct {
|
|
ScriptStatus *ScriptUploadStatus `protobuf:"bytes,9,opt,name=script_status,json=scriptStatus,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_OutputTruncation struct {
|
|
OutputTruncation *OutputTruncation `protobuf:"bytes,10,opt,name=output_truncation,json=outputTruncation,proto3,oneof"`
|
|
}
|
|
|
|
type CommandEvent_OutputIncomplete struct {
|
|
OutputIncomplete *OutputIncomplete `protobuf:"bytes,11,opt,name=output_incomplete,json=outputIncomplete,proto3,oneof"`
|
|
}
|
|
|
|
func (*CommandEvent_Lifecycle) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_Output) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_Resource) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_StdinAck) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_SignalResult) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_ScriptStatus) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_OutputTruncation) isCommandEvent_Payload() {}
|
|
|
|
func (*CommandEvent_OutputIncomplete) isCommandEvent_Payload() {}
|
|
|
|
type ControlError struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code ControlError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=rvbox.v1.ControlError_Code" json:"code,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
Retryable bool `protobuf:"varint,3,opt,name=retryable,proto3" json:"retryable,omitempty"`
|
|
IssueUuid string `protobuf:"bytes,4,opt,name=issue_uuid,json=issueUuid,proto3" json:"issue_uuid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ControlError) Reset() {
|
|
*x = ControlError{}
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ControlError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ControlError) ProtoMessage() {}
|
|
|
|
func (x *ControlError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rvbox_v1_common_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ControlError.ProtoReflect.Descriptor instead.
|
|
func (*ControlError) Descriptor() ([]byte, []int) {
|
|
return file_rvbox_v1_common_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ControlError) GetCode() ControlError_Code {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ControlError_CODE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ControlError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ControlError) GetRetryable() bool {
|
|
if x != nil {
|
|
return x.Retryable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ControlError) GetIssueUuid() string {
|
|
if x != nil {
|
|
return x.IssueUuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_rvbox_v1_common_proto protoreflect.FileDescriptor
|
|
|
|
const file_rvbox_v1_common_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x15rvbox/v1/common.proto\x12\brvbox.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"_\n" +
|
|
"\rProtocolRange\x12\x14\n" +
|
|
"\x05major\x18\x01 \x01(\rR\x05major\x12\x1b\n" +
|
|
"\tmin_minor\x18\x02 \x01(\rR\bminMinor\x12\x1b\n" +
|
|
"\tmax_minor\x18\x03 \x01(\rR\bmaxMinor\"=\n" +
|
|
"\x0fProtocolVersion\x12\x14\n" +
|
|
"\x05major\x18\x01 \x01(\rR\x05major\x12\x14\n" +
|
|
"\x05minor\x18\x02 \x01(\rR\x05minor\"e\n" +
|
|
"\x10ScriptDescriptor\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x1d\n" +
|
|
"\n" +
|
|
"size_bytes\x18\x02 \x01(\x04R\tsizeBytes\x12\x16\n" +
|
|
"\x06sha256\x18\x03 \x01(\fR\x06sha256\"\xb2\x03\n" +
|
|
"\rExecutionSpec\x122\n" +
|
|
"\n" +
|
|
"shell_type\x18\x01 \x01(\x0e2\x13.rvbox.v1.ShellTypeR\tshellType\x12\x10\n" +
|
|
"\x03cwd\x18\x02 \x01(\tR\x03cwd\x12N\n" +
|
|
"\renv_overrides\x18\x03 \x03(\v2).rvbox.v1.ExecutionSpec.EnvOverridesEntryR\fenvOverrides\x12I\n" +
|
|
"\x12execution_profiles\x18\x04 \x03(\x0e2\x1a.rvbox.v1.ExecutionProfileR\x11executionProfiles\x12#\n" +
|
|
"\fcommand_text\x18\x05 \x01(\tH\x00R\vcommandText\x124\n" +
|
|
"\x06script\x18\x06 \x01(\v2\x1a.rvbox.v1.ScriptDescriptorH\x00R\x06script\x12\x1a\n" +
|
|
"\belevated\x18\a \x01(\bR\belevated\x1a?\n" +
|
|
"\x11EnvOverridesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\b\n" +
|
|
"\x06source\"\x8d\x03\n" +
|
|
"\x18WindowsExecutionIdentity\x12S\n" +
|
|
"\x11effective_context\x18\x01 \x01(\x0e2!.rvbox.v1.WindowsExecutionContextH\x00R\x10effectiveContext\x88\x01\x01\x12\"\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\rH\x01R\tsessionId\x88\x01\x01\x12(\n" +
|
|
"\x10session_user_sid\x18\x03 \x01(\tR\x0esessionUserSid\x12,\n" +
|
|
"\x12effective_user_sid\x18\x04 \x01(\tR\x10effectiveUserSid\x12P\n" +
|
|
"\x12attempted_contexts\x18\x05 \x03(\x0e2!.rvbox.v1.WindowsExecutionContextR\x11attemptedContexts\x12)\n" +
|
|
"\x10selection_detail\x18\x06 \x01(\tR\x0fselectionDetailB\x14\n" +
|
|
"\x12_effective_contextB\r\n" +
|
|
"\v_session_id\"\xa8\a\n" +
|
|
"\rCommandRecord\x12\x1d\n" +
|
|
"\n" +
|
|
"issue_uuid\x18\x01 \x01(\tR\tissueUuid\x12(\n" +
|
|
"\x10target_client_id\x18\x02 \x01(\tR\x0etargetClientId\x129\n" +
|
|
"\n" +
|
|
"issue_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tissueTime\x12J\n" +
|
|
"\x13server_receipt_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x11serverReceiptTime\x12+\n" +
|
|
"\x04spec\x18\x05 \x01(\v2\x17.rvbox.v1.ExecutionSpecR\x04spec\x128\n" +
|
|
"\tlifecycle\x18\x06 \x01(\x0e2\x1a.rvbox.v1.CommandLifecycleR\tlifecycle\x12$\n" +
|
|
"\x0elast_event_seq\x18\a \x01(\x04R\flastEventSeq\x12 \n" +
|
|
"\texit_code\x18\b \x01(\x05H\x00R\bexitCode\x88\x01\x01\x12?\n" +
|
|
"\rterminal_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\fterminalTime\x12)\n" +
|
|
"\x10output_truncated\x18\n" +
|
|
" \x01(\bR\x0foutputTruncated\x12:\n" +
|
|
"\x19retained_compressed_bytes\x18\v \x01(\x04R\x17retainedCompressedBytes\x12F\n" +
|
|
"\x11queue_expiry_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\x0fqueueExpiryTime\x12+\n" +
|
|
"\x11output_incomplete\x18\r \x01(\bR\x10outputIncomplete\x124\n" +
|
|
"\trejection\x18\x0e \x01(\v2\x16.rvbox.v1.ControlErrorR\trejection\x12)\n" +
|
|
"\x10command_revision\x18\x0f \x01(\x04R\x0fcommandRevision\x12*\n" +
|
|
"\x11late_after_expiry\x18\x10 \x01(\bR\x0flateAfterExpiry\x12`\n" +
|
|
"\x1awindows_execution_identity\x18\x11 \x01(\v2\".rvbox.v1.WindowsExecutionIdentityR\x18windowsExecutionIdentityB\f\n" +
|
|
"\n" +
|
|
"_exit_code\"\xa0\x02\n" +
|
|
"\x0fLifecycleChange\x128\n" +
|
|
"\tlifecycle\x18\x01 \x01(\x0e2\x1a.rvbox.v1.CommandLifecycleR\tlifecycle\x12 \n" +
|
|
"\texit_code\x18\x02 \x01(\x05H\x00R\bexitCode\x88\x01\x01\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\x12)\n" +
|
|
"\x10command_revision\x18\x04 \x01(\x04R\x0fcommandRevision\x12`\n" +
|
|
"\x1awindows_execution_identity\x18\x05 \x01(\v2\".rvbox.v1.WindowsExecutionIdentityR\x18windowsExecutionIdentityB\f\n" +
|
|
"\n" +
|
|
"_exit_code\"\xde\x01\n" +
|
|
"\vOutputChunk\x12,\n" +
|
|
"\x06stream\x18\x01 \x01(\x0e2\x14.rvbox.v1.StreamKindR\x06stream\x127\n" +
|
|
"\vcompression\x18\x02 \x01(\x0e2\x15.rvbox.v1.CompressionR\vcompression\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\fR\x04data\x12+\n" +
|
|
"\x11uncompressed_size\x18\x04 \x01(\x04R\x10uncompressedSize\x12'\n" +
|
|
"\x0fcompressed_size\x18\x05 \x01(\x04R\x0ecompressedSize\"\xd0\x04\n" +
|
|
"\x10ResourceSnapshot\x127\n" +
|
|
"\x15resident_memory_bytes\x18\x01 \x01(\x04H\x00R\x13residentMemoryBytes\x88\x01\x01\x125\n" +
|
|
"\x14virtual_memory_bytes\x18\x02 \x01(\x04H\x01R\x12virtualMemoryBytes\x88\x01\x01\x124\n" +
|
|
"\bcpu_time\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\acpuTime\x12\"\n" +
|
|
"\n" +
|
|
"read_bytes\x18\x04 \x01(\x04H\x02R\treadBytes\x88\x01\x01\x12$\n" +
|
|
"\vwrite_bytes\x18\x05 \x01(\x04H\x03R\n" +
|
|
"writeBytes\x88\x01\x01\x12(\n" +
|
|
"\rprocess_state\x18\x06 \x01(\tH\x04R\fprocessState\x88\x01\x01\x12$\n" +
|
|
"\vwait_reason\x18\a \x01(\tH\x05R\n" +
|
|
"waitReason\x88\x01\x01\x12%\n" +
|
|
"\x0esuspected_hung\x18\b \x01(\bR\rsuspectedHung\x12+\n" +
|
|
"\x11diagnostic_detail\x18\t \x01(\tR\x10diagnosticDetail\x12$\n" +
|
|
"\vcurrent_cwd\x18\n" +
|
|
" \x01(\tH\x06R\n" +
|
|
"currentCwd\x88\x01\x01B\x18\n" +
|
|
"\x16_resident_memory_bytesB\x17\n" +
|
|
"\x15_virtual_memory_bytesB\r\n" +
|
|
"\v_read_bytesB\x0e\n" +
|
|
"\f_write_bytesB\x10\n" +
|
|
"\x0e_process_stateB\x0e\n" +
|
|
"\f_wait_reasonB\x0e\n" +
|
|
"\f_current_cwd\"\xab\x03\n" +
|
|
"\x10OutputTruncation\x12:\n" +
|
|
"\x17first_removed_event_seq\x18\x01 \x01(\x04H\x00R\x14firstRemovedEventSeq\x88\x01\x01\x128\n" +
|
|
"\x16last_removed_event_seq\x18\x02 \x01(\x04H\x01R\x13lastRemovedEventSeq\x88\x01\x01\x12=\n" +
|
|
"\x18removed_compressed_bytes\x18\x03 \x01(\x04H\x02R\x16removedCompressedBytes\x88\x01\x01\x12<\n" +
|
|
"\x1aremoved_uncompressed_bytes\x18\x04 \x01(\x04R\x18removedUncompressedBytes\x12\x16\n" +
|
|
"\x06reason\x18\x05 \x01(\tR\x06reason\x128\n" +
|
|
"\x06source\x18\x06 \x01(\x0e2 .rvbox.v1.OutputTruncationSourceR\x06sourceB\x1a\n" +
|
|
"\x18_first_removed_event_seqB\x19\n" +
|
|
"\x17_last_removed_event_seqB\x1b\n" +
|
|
"\x19_removed_compressed_bytes\"Z\n" +
|
|
"\x10OutputIncomplete\x12.\n" +
|
|
"\astreams\x18\x01 \x03(\x0e2\x14.rvbox.v1.StreamKindR\astreams\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"n\n" +
|
|
"\x14StdinAcknowledgement\x12\x1b\n" +
|
|
"\twrite_seq\x18\x01 \x01(\x04R\bwriteSeq\x12!\n" +
|
|
"\fstdin_closed\x18\x02 \x01(\bR\vstdinClosed\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\"\x93\x02\n" +
|
|
"\fSignalResult\x12,\n" +
|
|
"\x06signal\x18\x01 \x01(\x0e2\x14.rvbox.v1.SignalKindR\x06signal\x12\x1a\n" +
|
|
"\baccepted\x18\x02 \x01(\bR\baccepted\x12>\n" +
|
|
"\x1bgraceful_delivery_attempted\x18\x03 \x01(\bR\x19gracefulDeliveryAttempted\x126\n" +
|
|
"\x17forced_termination_used\x18\x04 \x01(\bR\x15forcedTerminationUsed\x12\x16\n" +
|
|
"\x06detail\x18\x05 \x01(\tR\x06detail\x12)\n" +
|
|
"\x10command_revision\x18\x06 \x01(\x04R\x0fcommandRevision\"o\n" +
|
|
"\x12ScriptUploadStatus\x12%\n" +
|
|
"\x0ereceived_bytes\x18\x01 \x01(\x04R\rreceivedBytes\x12\x1a\n" +
|
|
"\bcomplete\x18\x02 \x01(\bR\bcomplete\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\"\xc7\x05\n" +
|
|
"\fCommandEvent\x12\x1d\n" +
|
|
"\n" +
|
|
"issue_uuid\x18\x01 \x01(\tR\tissueUuid\x12\x1b\n" +
|
|
"\tevent_seq\x18\x02 \x01(\x04R\beventSeq\x12;\n" +
|
|
"\vobserved_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"observedAt\x129\n" +
|
|
"\tlifecycle\x18\x04 \x01(\v2\x19.rvbox.v1.LifecycleChangeH\x00R\tlifecycle\x12/\n" +
|
|
"\x06output\x18\x05 \x01(\v2\x15.rvbox.v1.OutputChunkH\x00R\x06output\x128\n" +
|
|
"\bresource\x18\x06 \x01(\v2\x1a.rvbox.v1.ResourceSnapshotH\x00R\bresource\x12=\n" +
|
|
"\tstdin_ack\x18\a \x01(\v2\x1e.rvbox.v1.StdinAcknowledgementH\x00R\bstdinAck\x12=\n" +
|
|
"\rsignal_result\x18\b \x01(\v2\x16.rvbox.v1.SignalResultH\x00R\fsignalResult\x12C\n" +
|
|
"\rscript_status\x18\t \x01(\v2\x1c.rvbox.v1.ScriptUploadStatusH\x00R\fscriptStatus\x12I\n" +
|
|
"\x11output_truncation\x18\n" +
|
|
" \x01(\v2\x1a.rvbox.v1.OutputTruncationH\x00R\x10outputTruncation\x12I\n" +
|
|
"\x11output_incomplete\x18\v \x01(\v2\x1a.rvbox.v1.OutputIncompleteH\x00R\x10outputIncomplete\x124\n" +
|
|
"\x16immutable_event_sha256\x18\f \x01(\fR\x14immutableEventSha256B\t\n" +
|
|
"\apayload\"\xb2\x03\n" +
|
|
"\fControlError\x12/\n" +
|
|
"\x04code\x18\x01 \x01(\x0e2\x1b.rvbox.v1.ControlError.CodeR\x04code\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage\x12\x1c\n" +
|
|
"\tretryable\x18\x03 \x01(\bR\tretryable\x12\x1d\n" +
|
|
"\n" +
|
|
"issue_uuid\x18\x04 \x01(\tR\tissueUuid\"\x99\x02\n" +
|
|
"\x04Code\x12\x14\n" +
|
|
"\x10CODE_UNSPECIFIED\x10\x00\x12\x14\n" +
|
|
"\x10INVALID_ARGUMENT\x10\x01\x12\r\n" +
|
|
"\tNOT_FOUND\x10\x02\x12\v\n" +
|
|
"\aOFFLINE\x10\x03\x12\x16\n" +
|
|
"\x12CAPACITY_EXHAUSTED\x10\x04\x12\f\n" +
|
|
"\bCONFLICT\x10\x05\x12\x0f\n" +
|
|
"\vUNSUPPORTED\x10\x06\x12\x12\n" +
|
|
"\x0ePROTOCOL_ERROR\x10\a\x12\r\n" +
|
|
"\tTRANSIENT\x10\b\x12\f\n" +
|
|
"\bINTERNAL\x10\t\x12\x19\n" +
|
|
"\x15CODE_ALREADY_EXECUTED\x10\n" +
|
|
"\x12&\n" +
|
|
"\"CODE_EXECUTION_CONTEXT_UNAVAILABLE\x10\v\x12\x1e\n" +
|
|
"\x1aCODE_ELEVATION_UNAVAILABLE\x10\f*|\n" +
|
|
"\bPlatform\x12\x18\n" +
|
|
"\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x12\n" +
|
|
"\x0ePLATFORM_LINUX\x10\x01\x12\x13\n" +
|
|
"\x0fPLATFORM_DARWIN\x10\x02\x12\x14\n" +
|
|
"\x10PLATFORM_WINDOWS\x10\x03\x12\x17\n" +
|
|
"\x13PLATFORM_OTHER_UNIX\x10\x04*j\n" +
|
|
"\tShellType\x12\x1a\n" +
|
|
"\x16SHELL_TYPE_UNSPECIFIED\x10\x00\x12\f\n" +
|
|
"\bSHELL_SH\x10\x01\x12\x0e\n" +
|
|
"\n" +
|
|
"SHELL_BASH\x10\x02\x12\r\n" +
|
|
"\tSHELL_CMD\x10\x03\x12\x14\n" +
|
|
"\x10SHELL_POWERSHELL\x10\x04*\xa9\x02\n" +
|
|
"\x17WindowsExecutionContext\x12)\n" +
|
|
"%WINDOWS_EXECUTION_CONTEXT_UNSPECIFIED\x10\x00\x12+\n" +
|
|
"'WINDOWS_EXECUTION_CONTEXT_LOCAL_SERVICE\x10\x01\x12*\n" +
|
|
"&WINDOWS_EXECUTION_CONTEXT_LOCAL_SYSTEM\x10\x02\x12)\n" +
|
|
"%WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER\x10\x03\x122\n" +
|
|
".WINDOWS_EXECUTION_CONTEXT_ACTIVE_USER_ELEVATED\x10\x04\x12+\n" +
|
|
"'WINDOWS_EXECUTION_CONTEXT_ACTIVE_SYSTEM\x10\x05*V\n" +
|
|
"\vCompression\x12\x1b\n" +
|
|
"\x17COMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n" +
|
|
"\x10COMPRESSION_NONE\x10\x01\x12\x14\n" +
|
|
"\x10COMPRESSION_ZSTD\x10\x02*\xaa\x02\n" +
|
|
"\x10CommandLifecycle\x12!\n" +
|
|
"\x1dCOMMAND_LIFECYCLE_UNSPECIFIED\x10\x00\x12\x12\n" +
|
|
"\x0eCOMMAND_QUEUED\x10\x01\x12\x16\n" +
|
|
"\x12COMMAND_DISPATCHED\x10\x02\x12\x14\n" +
|
|
"\x10COMMAND_ACCEPTED\x10\x03\x12\x13\n" +
|
|
"\x0fCOMMAND_RUNNING\x10\x04\x12\x15\n" +
|
|
"\x11COMMAND_SUCCEEDED\x10\x05\x12\x12\n" +
|
|
"\x0eCOMMAND_FAILED\x10\x06\x12\x16\n" +
|
|
"\x12COMMAND_TERMINATED\x10\a\x12\x15\n" +
|
|
"\x11COMMAND_CANCELLED\x10\b\x12\x17\n" +
|
|
"\x13COMMAND_INTERRUPTED\x10\t\x12\x13\n" +
|
|
"\x0fCOMMAND_EXPIRED\x10\n" +
|
|
"\x12\x14\n" +
|
|
"\x10COMMAND_REJECTED\x10\v*O\n" +
|
|
"\n" +
|
|
"StreamKind\x12\x1b\n" +
|
|
"\x17STREAM_KIND_UNSPECIFIED\x10\x00\x12\x11\n" +
|
|
"\rSTREAM_STDOUT\x10\x01\x12\x11\n" +
|
|
"\rSTREAM_STDERR\x10\x02*\x8d\x01\n" +
|
|
"\n" +
|
|
"SignalKind\x12\x1b\n" +
|
|
"\x17SIGNAL_KIND_UNSPECIFIED\x10\x00\x12\x0e\n" +
|
|
"\n" +
|
|
"SIGNAL_HUP\x10\x01\x12\x0e\n" +
|
|
"\n" +
|
|
"SIGNAL_INT\x10\x02\x12\x0f\n" +
|
|
"\vSIGNAL_TERM\x10\x03\x12\x0f\n" +
|
|
"\vSIGNAL_KILL\x10\x04\x12\x0f\n" +
|
|
"\vSIGNAL_USR1\x10\x05\x12\x0f\n" +
|
|
"\vSIGNAL_USR2\x10\x06*\x9d\x02\n" +
|
|
"\x10ExecutionProfile\x12!\n" +
|
|
"\x1dEXECUTION_PROFILE_UNSPECIFIED\x10\x00\x12\x1b\n" +
|
|
"\x17EXECUTION_PROFILE_LIGHT\x10\x01\x12 \n" +
|
|
"\x1cEXECUTION_PROFILE_CPU_MEDIUM\x10\x02\x12\x1f\n" +
|
|
"\x1bEXECUTION_PROFILE_CPU_HEAVY\x10\x03\x12 \n" +
|
|
"\x1cEXECUTION_PROFILE_MEM_MEDIUM\x10\x04\x12\x1f\n" +
|
|
"\x1bEXECUTION_PROFILE_MEM_HEAVY\x10\x05\x12!\n" +
|
|
"\x1dEXECUTION_PROFILE_DISK_MEDIUM\x10\x06\x12 \n" +
|
|
"\x1cEXECUTION_PROFILE_DISK_HEAVY\x10\a*\xaf\x02\n" +
|
|
"\x16OutputTruncationSource\x12(\n" +
|
|
"$OUTPUT_TRUNCATION_SOURCE_UNSPECIFIED\x10\x00\x12)\n" +
|
|
"%OUTPUT_TRUNCATION_SOURCE_CLIENT_SPOOL\x10\x01\x122\n" +
|
|
".OUTPUT_TRUNCATION_SOURCE_SERVER_COMMAND_WINDOW\x10\x02\x12.\n" +
|
|
"*OUTPUT_TRUNCATION_SOURCE_SERVER_CLIENT_CAP\x10\x03\x12,\n" +
|
|
"(OUTPUT_TRUNCATION_SOURCE_CLIENT_OVERLOAD\x10\x04\x12.\n" +
|
|
"*OUTPUT_TRUNCATION_SOURCE_SERVER_GLOBAL_CAP\x10\x05B0Z.github.com/rvbox/rvbox/gen/go/rvbox/v1;rvboxv1b\x06proto3"
|
|
|
|
var (
|
|
file_rvbox_v1_common_proto_rawDescOnce sync.Once
|
|
file_rvbox_v1_common_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_rvbox_v1_common_proto_rawDescGZIP() []byte {
|
|
file_rvbox_v1_common_proto_rawDescOnce.Do(func() {
|
|
file_rvbox_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rvbox_v1_common_proto_rawDesc), len(file_rvbox_v1_common_proto_rawDesc)))
|
|
})
|
|
return file_rvbox_v1_common_proto_rawDescData
|
|
}
|
|
|
|
var file_rvbox_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
|
|
var file_rvbox_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
var file_rvbox_v1_common_proto_goTypes = []any{
|
|
(Platform)(0), // 0: rvbox.v1.Platform
|
|
(ShellType)(0), // 1: rvbox.v1.ShellType
|
|
(WindowsExecutionContext)(0), // 2: rvbox.v1.WindowsExecutionContext
|
|
(Compression)(0), // 3: rvbox.v1.Compression
|
|
(CommandLifecycle)(0), // 4: rvbox.v1.CommandLifecycle
|
|
(StreamKind)(0), // 5: rvbox.v1.StreamKind
|
|
(SignalKind)(0), // 6: rvbox.v1.SignalKind
|
|
(ExecutionProfile)(0), // 7: rvbox.v1.ExecutionProfile
|
|
(OutputTruncationSource)(0), // 8: rvbox.v1.OutputTruncationSource
|
|
(ControlError_Code)(0), // 9: rvbox.v1.ControlError.Code
|
|
(*ProtocolRange)(nil), // 10: rvbox.v1.ProtocolRange
|
|
(*ProtocolVersion)(nil), // 11: rvbox.v1.ProtocolVersion
|
|
(*ScriptDescriptor)(nil), // 12: rvbox.v1.ScriptDescriptor
|
|
(*ExecutionSpec)(nil), // 13: rvbox.v1.ExecutionSpec
|
|
(*WindowsExecutionIdentity)(nil), // 14: rvbox.v1.WindowsExecutionIdentity
|
|
(*CommandRecord)(nil), // 15: rvbox.v1.CommandRecord
|
|
(*LifecycleChange)(nil), // 16: rvbox.v1.LifecycleChange
|
|
(*OutputChunk)(nil), // 17: rvbox.v1.OutputChunk
|
|
(*ResourceSnapshot)(nil), // 18: rvbox.v1.ResourceSnapshot
|
|
(*OutputTruncation)(nil), // 19: rvbox.v1.OutputTruncation
|
|
(*OutputIncomplete)(nil), // 20: rvbox.v1.OutputIncomplete
|
|
(*StdinAcknowledgement)(nil), // 21: rvbox.v1.StdinAcknowledgement
|
|
(*SignalResult)(nil), // 22: rvbox.v1.SignalResult
|
|
(*ScriptUploadStatus)(nil), // 23: rvbox.v1.ScriptUploadStatus
|
|
(*CommandEvent)(nil), // 24: rvbox.v1.CommandEvent
|
|
(*ControlError)(nil), // 25: rvbox.v1.ControlError
|
|
nil, // 26: rvbox.v1.ExecutionSpec.EnvOverridesEntry
|
|
(*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp
|
|
(*durationpb.Duration)(nil), // 28: google.protobuf.Duration
|
|
}
|
|
var file_rvbox_v1_common_proto_depIdxs = []int32{
|
|
1, // 0: rvbox.v1.ExecutionSpec.shell_type:type_name -> rvbox.v1.ShellType
|
|
26, // 1: rvbox.v1.ExecutionSpec.env_overrides:type_name -> rvbox.v1.ExecutionSpec.EnvOverridesEntry
|
|
7, // 2: rvbox.v1.ExecutionSpec.execution_profiles:type_name -> rvbox.v1.ExecutionProfile
|
|
12, // 3: rvbox.v1.ExecutionSpec.script:type_name -> rvbox.v1.ScriptDescriptor
|
|
2, // 4: rvbox.v1.WindowsExecutionIdentity.effective_context:type_name -> rvbox.v1.WindowsExecutionContext
|
|
2, // 5: rvbox.v1.WindowsExecutionIdentity.attempted_contexts:type_name -> rvbox.v1.WindowsExecutionContext
|
|
27, // 6: rvbox.v1.CommandRecord.issue_time:type_name -> google.protobuf.Timestamp
|
|
27, // 7: rvbox.v1.CommandRecord.server_receipt_time:type_name -> google.protobuf.Timestamp
|
|
13, // 8: rvbox.v1.CommandRecord.spec:type_name -> rvbox.v1.ExecutionSpec
|
|
4, // 9: rvbox.v1.CommandRecord.lifecycle:type_name -> rvbox.v1.CommandLifecycle
|
|
27, // 10: rvbox.v1.CommandRecord.terminal_time:type_name -> google.protobuf.Timestamp
|
|
27, // 11: rvbox.v1.CommandRecord.queue_expiry_time:type_name -> google.protobuf.Timestamp
|
|
25, // 12: rvbox.v1.CommandRecord.rejection:type_name -> rvbox.v1.ControlError
|
|
14, // 13: rvbox.v1.CommandRecord.windows_execution_identity:type_name -> rvbox.v1.WindowsExecutionIdentity
|
|
4, // 14: rvbox.v1.LifecycleChange.lifecycle:type_name -> rvbox.v1.CommandLifecycle
|
|
14, // 15: rvbox.v1.LifecycleChange.windows_execution_identity:type_name -> rvbox.v1.WindowsExecutionIdentity
|
|
5, // 16: rvbox.v1.OutputChunk.stream:type_name -> rvbox.v1.StreamKind
|
|
3, // 17: rvbox.v1.OutputChunk.compression:type_name -> rvbox.v1.Compression
|
|
28, // 18: rvbox.v1.ResourceSnapshot.cpu_time:type_name -> google.protobuf.Duration
|
|
8, // 19: rvbox.v1.OutputTruncation.source:type_name -> rvbox.v1.OutputTruncationSource
|
|
5, // 20: rvbox.v1.OutputIncomplete.streams:type_name -> rvbox.v1.StreamKind
|
|
6, // 21: rvbox.v1.SignalResult.signal:type_name -> rvbox.v1.SignalKind
|
|
27, // 22: rvbox.v1.CommandEvent.observed_at:type_name -> google.protobuf.Timestamp
|
|
16, // 23: rvbox.v1.CommandEvent.lifecycle:type_name -> rvbox.v1.LifecycleChange
|
|
17, // 24: rvbox.v1.CommandEvent.output:type_name -> rvbox.v1.OutputChunk
|
|
18, // 25: rvbox.v1.CommandEvent.resource:type_name -> rvbox.v1.ResourceSnapshot
|
|
21, // 26: rvbox.v1.CommandEvent.stdin_ack:type_name -> rvbox.v1.StdinAcknowledgement
|
|
22, // 27: rvbox.v1.CommandEvent.signal_result:type_name -> rvbox.v1.SignalResult
|
|
23, // 28: rvbox.v1.CommandEvent.script_status:type_name -> rvbox.v1.ScriptUploadStatus
|
|
19, // 29: rvbox.v1.CommandEvent.output_truncation:type_name -> rvbox.v1.OutputTruncation
|
|
20, // 30: rvbox.v1.CommandEvent.output_incomplete:type_name -> rvbox.v1.OutputIncomplete
|
|
9, // 31: rvbox.v1.ControlError.code:type_name -> rvbox.v1.ControlError.Code
|
|
32, // [32:32] is the sub-list for method output_type
|
|
32, // [32:32] is the sub-list for method input_type
|
|
32, // [32:32] is the sub-list for extension type_name
|
|
32, // [32:32] is the sub-list for extension extendee
|
|
0, // [0:32] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rvbox_v1_common_proto_init() }
|
|
func file_rvbox_v1_common_proto_init() {
|
|
if File_rvbox_v1_common_proto != nil {
|
|
return
|
|
}
|
|
file_rvbox_v1_common_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*ExecutionSpec_CommandText)(nil),
|
|
(*ExecutionSpec_Script)(nil),
|
|
}
|
|
file_rvbox_v1_common_proto_msgTypes[4].OneofWrappers = []any{}
|
|
file_rvbox_v1_common_proto_msgTypes[5].OneofWrappers = []any{}
|
|
file_rvbox_v1_common_proto_msgTypes[6].OneofWrappers = []any{}
|
|
file_rvbox_v1_common_proto_msgTypes[8].OneofWrappers = []any{}
|
|
file_rvbox_v1_common_proto_msgTypes[9].OneofWrappers = []any{}
|
|
file_rvbox_v1_common_proto_msgTypes[14].OneofWrappers = []any{
|
|
(*CommandEvent_Lifecycle)(nil),
|
|
(*CommandEvent_Output)(nil),
|
|
(*CommandEvent_Resource)(nil),
|
|
(*CommandEvent_StdinAck)(nil),
|
|
(*CommandEvent_SignalResult)(nil),
|
|
(*CommandEvent_ScriptStatus)(nil),
|
|
(*CommandEvent_OutputTruncation)(nil),
|
|
(*CommandEvent_OutputIncomplete)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rvbox_v1_common_proto_rawDesc), len(file_rvbox_v1_common_proto_rawDesc)),
|
|
NumEnums: 10,
|
|
NumMessages: 17,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_rvbox_v1_common_proto_goTypes,
|
|
DependencyIndexes: file_rvbox_v1_common_proto_depIdxs,
|
|
EnumInfos: file_rvbox_v1_common_proto_enumTypes,
|
|
MessageInfos: file_rvbox_v1_common_proto_msgTypes,
|
|
}.Build()
|
|
File_rvbox_v1_common_proto = out.File
|
|
file_rvbox_v1_common_proto_goTypes = nil
|
|
file_rvbox_v1_common_proto_depIdxs = nil
|
|
}
|