{"modulePath":"github.com/GoCodeAlone/workflow-plugin-compute-core","version":"v0.9.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pb\n\n## Constants\n\n```go\nconst (\n\tRuntimeProviderService_Describe_FullMethodName       = \"/workflow_plugin_compute_core.protocol.v1.RuntimeProviderService/Describe\"\n\tRuntimeProviderService_Run_FullMethodName            = \"/workflow_plugin_compute_core.protocol.v1.RuntimeProviderService/Run\"\n\tRuntimeProviderService_StartSession_FullMethodName   = \"/workflow_plugin_compute_core.protocol.v1.RuntimeProviderService/StartSession\"\n\tRuntimeProviderService_SessionEvents_FullMethodName  = \"/workflow_plugin_compute_core.protocol.v1.RuntimeProviderService/SessionEvents\"\n\tRuntimeProviderService_ControlSession_FullMethodName = \"/workflow_plugin_compute_core.protocol.v1.RuntimeProviderService/ControlSession\"\n)\n```\n\n## Variables\n\n```go\nvar File_workflow_plugin_compute_core_protocol_v1_bootstrap_proto protoreflect.FileDescriptor\n```\n\n```go\nvar File_workflow_plugin_compute_core_protocol_v1_network_audit_proto protoreflect.FileDescriptor\n```\n\n```go\nvar File_workflow_plugin_compute_core_protocol_v1_runtime_provider_proto protoreflect.FileDescriptor\n```\n\n```go\nvar RuntimeProviderService_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"workflow_plugin_compute_core.protocol.v1.RuntimeProviderService\",\n\tHandlerType: (*RuntimeProviderServiceServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"Describe\",\n\t\t\tHandler:    _RuntimeProviderService_Describe_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"StartSession\",\n\t\t\tHandler:    _RuntimeProviderService_StartSession_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"ControlSession\",\n\t\t\tHandler:    _RuntimeProviderService_ControlSession_Handler,\n\t\t},\n\t},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"Run\",\n\t\t\tHandler:       _RuntimeProviderService_Run_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"SessionEvents\",\n\t\t\tHandler:       _RuntimeProviderService_SessionEvents_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"workflow_plugin_compute_core/protocol/v1/runtime_provider.proto\",\n}\n```\nRuntimeProviderService\\_ServiceDesc is the grpc.ServiceDesc for RuntimeProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n## Functions\n\n```go\nfunc RegisterRuntimeProviderServiceServer(s grpc.ServiceRegistrar, srv RuntimeProviderServiceServer)\n```\n\n## Types\n\n```go\ntype AgentSetupInstallReceiptPayload struct {\n\tDomain              string `protobuf:\"bytes,1,opt,name=domain,proto3\" json:\"domain,omitempty\"`\n\tProtocolVersion     string `protobuf:\"bytes,2,opt,name=protocol_version,json=protocolVersion,proto3\" json:\"protocol_version,omitempty\"`\n\tReceiptId           string `protobuf:\"bytes,3,opt,name=receipt_id,json=receiptId,proto3\" json:\"receipt_id,omitempty\"`\n\tChallenge           string `protobuf:\"bytes,4,opt,name=challenge,proto3\" json:\"challenge,omitempty\"`\n\tInviteId            string `protobuf:\"bytes,5,opt,name=invite_id,json=inviteId,proto3\" json:\"invite_id,omitempty\"`\n\tInstallSessionId    string `protobuf:\"bytes,6,opt,name=install_session_id,json=installSessionId,proto3\" json:\"install_session_id,omitempty\"`\n\tWorkerId            string `protobuf:\"bytes,7,opt,name=worker_id,json=workerId,proto3\" json:\"worker_id,omitempty\"`\n\tPackageId           string `protobuf:\"bytes,8,opt,name=package_id,json=packageId,proto3\" json:\"package_id,omitempty\"`\n\tPackageVersion      string `protobuf:\"bytes,9,opt,name=package_version,json=packageVersion,proto3\" json:\"package_version,omitempty\"`\n\tPackageDigest       string `protobuf:\"bytes,10,opt,name=package_digest,json=packageDigest,proto3\" json:\"package_digest,omitempty\"`\n\tManifestDigest      string `protobuf:\"bytes,11,opt,name=manifest_digest,json=manifestDigest,proto3\" json:\"manifest_digest,omitempty\"`\n\tBootstrapEpoch      uint64 `protobuf:\"varint,12,opt,name=bootstrap_epoch,json=bootstrapEpoch,proto3\" json:\"bootstrap_epoch,omitempty\"`\n\tPackageEpoch        uint64 `protobuf:\"varint,13,opt,name=package_epoch,json=packageEpoch,proto3\" json:\"package_epoch,omitempty\"`\n\tKeysetEpoch         uint64 `protobuf:\"varint,14,opt,name=keyset_epoch,json=keysetEpoch,proto3\" json:\"keyset_epoch,omitempty\"`\n\tLauncherDigest      string `protobuf:\"bytes,15,opt,name=launcher_digest,json=launcherDigest,proto3\" json:\"launcher_digest,omitempty\"`\n\tSlotId              string `protobuf:\"bytes,16,opt,name=slot_id,json=slotId,proto3\" json:\"slot_id,omitempty\"`\n\tSlotDigest          string `protobuf:\"bytes,17,opt,name=slot_digest,json=slotDigest,proto3\" json:\"slot_digest,omitempty\"`\n\tServiceUnitDigest   string `protobuf:\"bytes,18,opt,name=service_unit_digest,json=serviceUnitDigest,proto3\" json:\"service_unit_digest,omitempty\"`\n\tServiceMode         string `protobuf:\"bytes,19,opt,name=service_mode,json=serviceMode,proto3\" json:\"service_mode,omitempty\"`\n\tStartedPid          int64  `protobuf:\"varint,20,opt,name=started_pid,json=startedPid,proto3\" json:\"started_pid,omitempty\"`\n\tHeartbeatId         string `protobuf:\"bytes,21,opt,name=heartbeat_id,json=heartbeatId,proto3\" json:\"heartbeat_id,omitempty\"`\n\tHeartbeatAtUnixNano int64  `protobuf:\"varint,22,opt,name=heartbeat_at_unix_nano,json=heartbeatAtUnixNano,proto3\" json:\"heartbeat_at_unix_nano,omitempty\"`\n\tCloudFinalUnit      string `protobuf:\"bytes,23,opt,name=cloud_final_unit,json=cloudFinalUnit,proto3\" json:\"cloud_final_unit,omitempty\"`\n\tScrubUnit           string `protobuf:\"bytes,24,opt,name=scrub_unit,json=scrubUnit,proto3\" json:\"scrub_unit,omitempty\"`\n\tWrapperHash         string `protobuf:\"bytes,25,opt,name=wrapper_hash,json=wrapperHash,proto3\" json:\"wrapper_hash,omitempty\"`\n\tScanHitCount        uint64 `protobuf:\"varint,26,opt,name=scan_hit_count,json=scanHitCount,proto3\" json:\"scan_hit_count,omitempty\"`\n\tCodeDigest          string `protobuf:\"bytes,27,opt,name=code_digest,json=codeDigest,proto3\" json:\"code_digest,omitempty\"`\n\tCompletedAtUnixNano int64  `protobuf:\"varint,28,opt,name=completed_at_unix_nano,json=completedAtUnixNano,proto3\" json:\"completed_at_unix_nano,omitempty\"`\n\tExpiresAtUnixNano   int64  `protobuf:\"varint,29,opt,name=expires_at_unix_nano,json=expiresAtUnixNano,proto3\" json:\"expires_at_unix_nano,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nSignature-free, domain-bound bytes for the ephemeral install receipt key.\n\n```go\nfunc (*AgentSetupInstallReceiptPayload) Descriptor() ([]byte, []int)\n```\nDeprecated: Use AgentSetupInstallReceiptPayload.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetBootstrapEpoch() uint64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetChallenge() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetCloudFinalUnit() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetCodeDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetCompletedAtUnixNano() int64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetDomain() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetExpiresAtUnixNano() int64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetHeartbeatAtUnixNano() int64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetHeartbeatId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetInstallSessionId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetInviteId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetKeysetEpoch() uint64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetLauncherDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetManifestDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetPackageDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetPackageEpoch() uint64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetPackageId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetPackageVersion() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetProtocolVersion() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetReceiptId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetScanHitCount() uint64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetScrubUnit() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetServiceMode() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetServiceUnitDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetSlotDigest() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetSlotId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetStartedPid() int64\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetWorkerId() string\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) GetWrapperHash() string\n```\n\n```go\nfunc (*AgentSetupInstallReceiptPayload) ProtoMessage()\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) Reset()\n```\n\n```go\nfunc (x *AgentSetupInstallReceiptPayload) String() string\n```\n\n```go\ntype ControlSessionRequest struct {\n\tSessionId string `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n\tAction    string `protobuf:\"bytes,2,opt,name=action,proto3\" json:\"action,omitempty\"`\n\tPayload   []byte `protobuf:\"bytes,3,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nControlSessionRequest sends a control action to a running session. action examples: health, renew, stop, mutate.\n\n```go\nfunc (*ControlSessionRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ControlSessionRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ControlSessionRequest) GetAction() string\n```\n\n```go\nfunc (x *ControlSessionRequest) GetPayload() []byte\n```\n\n```go\nfunc (x *ControlSessionRequest) GetSessionId() string\n```\n\n```go\nfunc (*ControlSessionRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ControlSessionRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ControlSessionRequest) Reset()\n```\n\n```go\nfunc (x *ControlSessionRequest) String() string\n```\n\n```go\ntype ControlSessionResponse struct {\n\tHealthy bool   `protobuf:\"varint,1,opt,name=healthy,proto3\" json:\"healthy,omitempty\"`\n\tMessage string `protobuf:\"bytes,2,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nControlSessionResponse is the reply to a ControlSessionRequest.\n\n```go\nfunc (*ControlSessionResponse) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ControlSessionResponse.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ControlSessionResponse) GetHealthy() bool\n```\n\n```go\nfunc (x *ControlSessionResponse) GetMessage() string\n```\n\n```go\nfunc (*ControlSessionResponse) ProtoMessage()\n```\n\n```go\nfunc (x *ControlSessionResponse) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ControlSessionResponse) Reset()\n```\n\n```go\nfunc (x *ControlSessionResponse) String() string\n```\n\n```go\ntype DescribeRequest struct {\n\t// contains filtered or unexported fields\n}\n```\nDescribeRequest asks the provider to describe its capabilities.\n\n```go\nfunc (*DescribeRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*DescribeRequest) ProtoMessage()\n```\n\n```go\nfunc (x *DescribeRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *DescribeRequest) Reset()\n```\n\n```go\nfunc (x *DescribeRequest) String() string\n```\n\n```go\ntype NetworkAuditDestination struct {\n\tKind  string `protobuf:\"bytes,1,opt,name=kind,proto3\" json:\"kind,omitempty\"`\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*NetworkAuditDestination) Descriptor() ([]byte, []int)\n```\nDeprecated: Use NetworkAuditDestination.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *NetworkAuditDestination) GetKind() string\n```\n\n```go\nfunc (x *NetworkAuditDestination) GetValue() string\n```\n\n```go\nfunc (*NetworkAuditDestination) ProtoMessage()\n```\n\n```go\nfunc (x *NetworkAuditDestination) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *NetworkAuditDestination) Reset()\n```\n\n```go\nfunc (x *NetworkAuditDestination) String() string\n```\n\n```go\ntype NetworkAuditProviderEvidence struct {\n\tProviderId       string `protobuf:\"bytes,1,opt,name=provider_id,json=providerId,proto3\" json:\"provider_id,omitempty\"`\n\tPluginName       string `protobuf:\"bytes,2,opt,name=plugin_name,json=pluginName,proto3\" json:\"plugin_name,omitempty\"`\n\tPluginVersion    string `protobuf:\"bytes,3,opt,name=plugin_version,json=pluginVersion,proto3\" json:\"plugin_version,omitempty\"`\n\tContractId       string `protobuf:\"bytes,4,opt,name=contract_id,json=contractId,proto3\" json:\"contract_id,omitempty\"`\n\tContractVersion  string `protobuf:\"bytes,5,opt,name=contract_version,json=contractVersion,proto3\" json:\"contract_version,omitempty\"`\n\tDescriptorDigest string `protobuf:\"bytes,6,opt,name=descriptor_digest,json=descriptorDigest,proto3\" json:\"descriptor_digest,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*NetworkAuditProviderEvidence) Descriptor() ([]byte, []int)\n```\nDeprecated: Use NetworkAuditProviderEvidence.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetContractId() string\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetContractVersion() string\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetDescriptorDigest() string\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetPluginName() string\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetPluginVersion() string\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) GetProviderId() string\n```\n\n```go\nfunc (*NetworkAuditProviderEvidence) ProtoMessage()\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) Reset()\n```\n\n```go\nfunc (x *NetworkAuditProviderEvidence) String() string\n```\n\n```go\ntype NetworkAuditRecord struct {\n\tProtocolVersion    string                        `protobuf:\"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3\" json:\"protocol_version,omitempty\"`\n\tRecordId           string                        `protobuf:\"bytes,2,opt,name=record_id,json=recordId,proto3\" json:\"record_id,omitempty\"`\n\tTaskId             string                        `protobuf:\"bytes,3,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n\tLeaseId            string                        `protobuf:\"bytes,4,opt,name=lease_id,json=leaseId,proto3\" json:\"lease_id,omitempty\"`\n\tWorkerId           string                        `protobuf:\"bytes,5,opt,name=worker_id,json=workerId,proto3\" json:\"worker_id,omitempty\"`\n\tProvider           *NetworkAuditProviderEvidence `protobuf:\"bytes,6,opt,name=provider,proto3\" json:\"provider,omitempty\"`\n\tDestination        *NetworkAuditDestination      `protobuf:\"bytes,7,opt,name=destination,proto3\" json:\"destination,omitempty\"`\n\tResourceUsage      *NetworkAuditResourceUsage    `protobuf:\"bytes,8,opt,name=resource_usage,json=resourceUsage,proto3\" json:\"resource_usage,omitempty\"`\n\tLabels             map[string]string             `protobuf:\"bytes,9,rep,name=labels,proto3\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tStartedAtUnixNano  int64                         `protobuf:\"varint,10,opt,name=started_at_unix_nano,json=startedAtUnixNano,proto3\" json:\"started_at_unix_nano,omitempty\"`\n\tFinishedAtUnixNano int64                         `protobuf:\"varint,11,opt,name=finished_at_unix_nano,json=finishedAtUnixNano,proto3\" json:\"finished_at_unix_nano,omitempty\"`\n\tObservedAtUnixNano int64                         `protobuf:\"varint,12,opt,name=observed_at_unix_nano,json=observedAtUnixNano,proto3\" json:\"observed_at_unix_nano,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*NetworkAuditRecord) Descriptor() ([]byte, []int)\n```\nDeprecated: Use NetworkAuditRecord.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *NetworkAuditRecord) GetDestination() *NetworkAuditDestination\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetFinishedAtUnixNano() int64\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetLabels() map[string]string\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetLeaseId() string\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetObservedAtUnixNano() int64\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetProtocolVersion() string\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetProvider() *NetworkAuditProviderEvidence\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetRecordId() string\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetResourceUsage() *NetworkAuditResourceUsage\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetStartedAtUnixNano() int64\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetTaskId() string\n```\n\n```go\nfunc (x *NetworkAuditRecord) GetWorkerId() string\n```\n\n```go\nfunc (*NetworkAuditRecord) ProtoMessage()\n```\n\n```go\nfunc (x *NetworkAuditRecord) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *NetworkAuditRecord) Reset()\n```\n\n```go\nfunc (x *NetworkAuditRecord) String() string\n```\n\n```go\ntype NetworkAuditResourceUsage struct {\n\tCpuMillis      int64  `protobuf:\"varint,1,opt,name=cpu_millis,json=cpuMillis,proto3\" json:\"cpu_millis,omitempty\"`\n\tGpuMillis      int64  `protobuf:\"varint,2,opt,name=gpu_millis,json=gpuMillis,proto3\" json:\"gpu_millis,omitempty\"`\n\tMaxMemoryBytes int64  `protobuf:\"varint,3,opt,name=max_memory_bytes,json=maxMemoryBytes,proto3\" json:\"max_memory_bytes,omitempty\"`\n\tNetworkRxBytes int64  `protobuf:\"varint,4,opt,name=network_rx_bytes,json=networkRxBytes,proto3\" json:\"network_rx_bytes,omitempty\"`\n\tNetworkTxBytes int64  `protobuf:\"varint,5,opt,name=network_tx_bytes,json=networkTxBytes,proto3\" json:\"network_tx_bytes,omitempty\"`\n\tWorkspaceBytes int64  `protobuf:\"varint,6,opt,name=workspace_bytes,json=workspaceBytes,proto3\" json:\"workspace_bytes,omitempty\"`\n\tOutputBytes    int64  `protobuf:\"varint,7,opt,name=output_bytes,json=outputBytes,proto3\" json:\"output_bytes,omitempty\"`\n\tLimitHit       string `protobuf:\"bytes,8,opt,name=limit_hit,json=limitHit,proto3\" json:\"limit_hit,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*NetworkAuditResourceUsage) Descriptor() ([]byte, []int)\n```\nDeprecated: Use NetworkAuditResourceUsage.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetCpuMillis() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetGpuMillis() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetLimitHit() string\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetMaxMemoryBytes() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetNetworkRxBytes() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetNetworkTxBytes() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetOutputBytes() int64\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) GetWorkspaceBytes() int64\n```\n\n```go\nfunc (*NetworkAuditResourceUsage) ProtoMessage()\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) Reset()\n```\n\n```go\nfunc (x *NetworkAuditResourceUsage) String() string\n```\n\n```go\ntype NetworkAuditValidationIssue struct {\n\tCode    string `protobuf:\"bytes,1,opt,name=code,proto3\" json:\"code,omitempty\"`\n\tField   string `protobuf:\"bytes,2,opt,name=field,proto3\" json:\"field,omitempty\"`\n\tMessage string `protobuf:\"bytes,3,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*NetworkAuditValidationIssue) Descriptor() ([]byte, []int)\n```\nDeprecated: Use NetworkAuditValidationIssue.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *NetworkAuditValidationIssue) GetCode() string\n```\n\n```go\nfunc (x *NetworkAuditValidationIssue) GetField() string\n```\n\n```go\nfunc (x *NetworkAuditValidationIssue) GetMessage() string\n```\n\n```go\nfunc (*NetworkAuditValidationIssue) ProtoMessage()\n```\n\n```go\nfunc (x *NetworkAuditValidationIssue) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *NetworkAuditValidationIssue) Reset()\n```\n\n```go\nfunc (x *NetworkAuditValidationIssue) String() string\n```\n\n```go\ntype ProviderCapabilities struct {\n\tProviderId        string   `protobuf:\"bytes,1,opt,name=provider_id,json=providerId,proto3\" json:\"provider_id,omitempty\"`\n\tWorkloadKinds     []string `protobuf:\"bytes,2,rep,name=workload_kinds,json=workloadKinds,proto3\" json:\"workload_kinds,omitempty\"`\n\tExecutorProviders []string `protobuf:\"bytes,3,rep,name=executor_providers,json=executorProviders,proto3\" json:\"executor_providers,omitempty\"`\n\tRuntimeProfiles   []string `protobuf:\"bytes,4,rep,name=runtime_profiles,json=runtimeProfiles,proto3\" json:\"runtime_profiles,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nProviderCapabilities describes what a RuntimeProvider can handle.\n\n```go\nfunc (*ProviderCapabilities) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ProviderCapabilities.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ProviderCapabilities) GetExecutorProviders() []string\n```\n\n```go\nfunc (x *ProviderCapabilities) GetProviderId() string\n```\n\n```go\nfunc (x *ProviderCapabilities) GetRuntimeProfiles() []string\n```\n\n```go\nfunc (x *ProviderCapabilities) GetWorkloadKinds() []string\n```\n\n```go\nfunc (*ProviderCapabilities) ProtoMessage()\n```\n\n```go\nfunc (x *ProviderCapabilities) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ProviderCapabilities) Reset()\n```\n\n```go\nfunc (x *ProviderCapabilities) String() string\n```\n\n```go\ntype RunEvent struct {\n\n\t// Types that are valid to be assigned to Event:\n\t//\n\t//\t*RunEvent_Stdout\n\t//\t*RunEvent_Stderr\n\t//\t*RunEvent_Terminal\n\tEvent isRunEvent_Event `protobuf_oneof:\"event\"`\n\t// contains filtered or unexported fields\n}\n```\nRunEvent is a streaming chunk emitted during RunRequest execution.\n\n```go\nfunc (*RunEvent) Descriptor() ([]byte, []int)\n```\nDeprecated: Use RunEvent.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *RunEvent) GetEvent() isRunEvent_Event\n```\n\n```go\nfunc (x *RunEvent) GetStderr() []byte\n```\n\n```go\nfunc (x *RunEvent) GetStdout() []byte\n```\n\n```go\nfunc (x *RunEvent) GetTerminal() *RunResult\n```\n\n```go\nfunc (*RunEvent) ProtoMessage()\n```\n\n```go\nfunc (x *RunEvent) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *RunEvent) Reset()\n```\n\n```go\nfunc (x *RunEvent) String() string\n```\n\n```go\ntype RunEvent_Stderr struct {\n\tStderr []byte `protobuf:\"bytes,2,opt,name=stderr,proto3,oneof\"`\n}\n```\n\n```go\ntype RunEvent_Stdout struct {\n\tStdout []byte `protobuf:\"bytes,1,opt,name=stdout,proto3,oneof\"`\n}\n```\n\n```go\ntype RunEvent_Terminal struct {\n\tTerminal *RunResult `protobuf:\"bytes,3,opt,name=terminal,proto3,oneof\"`\n}\n```\n\n```go\ntype RunRequest struct {\n\tExecutorProvider string            `protobuf:\"bytes,1,opt,name=executor_provider,json=executorProvider,proto3\" json:\"executor_provider,omitempty\"`\n\tInput            []byte            `protobuf:\"bytes,2,opt,name=input,proto3\" json:\"input,omitempty\"`\n\tEnv              map[string]string `protobuf:\"bytes,3,rep,name=env,proto3\" json:\"env,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tTaskId           string            `protobuf:\"bytes,4,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n\tLeaseId          string            `protobuf:\"bytes,5,opt,name=lease_id,json=leaseId,proto3\" json:\"lease_id,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nRunRequest initiates a one-shot workload execution. env values may be unresolved secret:// refs — the provider resolves them.\n\n```go\nfunc (*RunRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use RunRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *RunRequest) GetEnv() map[string]string\n```\n\n```go\nfunc (x *RunRequest) GetExecutorProvider() string\n```\n\n```go\nfunc (x *RunRequest) GetInput() []byte\n```\n\n```go\nfunc (x *RunRequest) GetLeaseId() string\n```\n\n```go\nfunc (x *RunRequest) GetTaskId() string\n```\n\n```go\nfunc (*RunRequest) ProtoMessage()\n```\n\n```go\nfunc (x *RunRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *RunRequest) Reset()\n```\n\n```go\nfunc (x *RunRequest) String() string\n```\n\n```go\ntype RunResult struct {\n\tExitCode     int32    `protobuf:\"varint,1,opt,name=exit_code,json=exitCode,proto3\" json:\"exit_code,omitempty\"`\n\tArtifactHash string   `protobuf:\"bytes,2,opt,name=artifact_hash,json=artifactHash,proto3\" json:\"artifact_hash,omitempty\"`\n\tArtifacts    []string `protobuf:\"bytes,3,rep,name=artifacts,proto3\" json:\"artifacts,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nRunResult is the terminal outcome of a RunRequest.\n\n```go\nfunc (*RunResult) Descriptor() ([]byte, []int)\n```\nDeprecated: Use RunResult.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *RunResult) GetArtifactHash() string\n```\n\n```go\nfunc (x *RunResult) GetArtifacts() []string\n```\n\n```go\nfunc (x *RunResult) GetExitCode() int32\n```\n\n```go\nfunc (*RunResult) ProtoMessage()\n```\n\n```go\nfunc (x *RunResult) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *RunResult) Reset()\n```\n\n```go\nfunc (x *RunResult) String() string\n```\n\n```go\ntype RuntimeProviderServiceClient interface {\n\tDescribe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*ProviderCapabilities, error)\n\tRun(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[RunEvent], error)\n\tStartSession(ctx context.Context, in *StartSessionRequest, opts ...grpc.CallOption) (*SessionHandle, error)\n\tSessionEvents(ctx context.Context, in *SessionHandle, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SessionEvent], error)\n\tControlSession(ctx context.Context, in *ControlSessionRequest, opts ...grpc.CallOption) (*ControlSessionResponse, error)\n}\n```\nRuntimeProviderServiceClient is the client API for RuntimeProviderService service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\nRuntimeProviderService is the gRPC interface that all compute runtime providers must implement.\n\n```go\nfunc NewRuntimeProviderServiceClient(cc grpc.ClientConnInterface) RuntimeProviderServiceClient\n```\n\n```go\ntype RuntimeProviderServiceServer interface {\n\tDescribe(context.Context, *DescribeRequest) (*ProviderCapabilities, error)\n\tRun(*RunRequest, grpc.ServerStreamingServer[RunEvent]) error\n\tStartSession(context.Context, *StartSessionRequest) (*SessionHandle, error)\n\tSessionEvents(*SessionHandle, grpc.ServerStreamingServer[SessionEvent]) error\n\tControlSession(context.Context, *ControlSessionRequest) (*ControlSessionResponse, error)\n\t// contains filtered or unexported methods\n}\n```\nRuntimeProviderServiceServer is the server API for RuntimeProviderService service. All implementations must embed UnimplementedRuntimeProviderServiceServer for forward compatibility.\n\nRuntimeProviderService is the gRPC interface that all compute runtime providers must implement.\n\n```go\ntype RuntimeProviderService_RunClient = grpc.ServerStreamingClient[RunEvent]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype RuntimeProviderService_RunServer = grpc.ServerStreamingServer[RunEvent]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype RuntimeProviderService_SessionEventsClient = grpc.ServerStreamingClient[SessionEvent]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype RuntimeProviderService_SessionEventsServer = grpc.ServerStreamingServer[SessionEvent]\n```\nThis type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.\n\n```go\ntype SessionEvent struct {\n\tEventType   string `protobuf:\"bytes,1,opt,name=event_type,json=eventType,proto3\" json:\"event_type,omitempty\"`\n\tEvidence    []byte `protobuf:\"bytes,2,opt,name=evidence,proto3\" json:\"evidence,omitempty\"`\n\tTsUnixNanos int64  `protobuf:\"varint,3,opt,name=ts_unix_nanos,json=tsUnixNanos,proto3\" json:\"ts_unix_nanos,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nSessionEvent is an event emitted by a running session. evidence is unsigned — the host signs it later.\n\n```go\nfunc (*SessionEvent) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SessionEvent.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SessionEvent) GetEventType() string\n```\n\n```go\nfunc (x *SessionEvent) GetEvidence() []byte\n```\n\n```go\nfunc (x *SessionEvent) GetTsUnixNanos() int64\n```\n\n```go\nfunc (*SessionEvent) ProtoMessage()\n```\n\n```go\nfunc (x *SessionEvent) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SessionEvent) Reset()\n```\n\n```go\nfunc (x *SessionEvent) String() string\n```\n\n```go\ntype SessionHandle struct {\n\tSessionId string `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nSessionHandle identifies a running session.\n\n```go\nfunc (*SessionHandle) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SessionHandle.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SessionHandle) GetSessionId() string\n```\n\n```go\nfunc (*SessionHandle) ProtoMessage()\n```\n\n```go\nfunc (x *SessionHandle) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SessionHandle) Reset()\n```\n\n```go\nfunc (x *SessionHandle) String() string\n```\n\n```go\ntype StartSessionRequest struct {\n\tExecutorProvider string            `protobuf:\"bytes,1,opt,name=executor_provider,json=executorProvider,proto3\" json:\"executor_provider,omitempty\"`\n\tInput            []byte            `protobuf:\"bytes,2,opt,name=input,proto3\" json:\"input,omitempty\"`\n\tEnv              map[string]string `protobuf:\"bytes,3,rep,name=env,proto3\" json:\"env,omitempty\" protobuf_key:\"bytes,1,opt,name=key\" protobuf_val:\"bytes,2,opt,name=value\"`\n\tTaskId           string            `protobuf:\"bytes,4,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n\tLeaseId          string            `protobuf:\"bytes,5,opt,name=lease_id,json=leaseId,proto3\" json:\"lease_id,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nStartSessionRequest initiates a long-lived session. env values may be unresolved secret:// refs — the provider resolves them.\n\n```go\nfunc (*StartSessionRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StartSessionRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StartSessionRequest) GetEnv() map[string]string\n```\n\n```go\nfunc (x *StartSessionRequest) GetExecutorProvider() string\n```\n\n```go\nfunc (x *StartSessionRequest) GetInput() []byte\n```\n\n```go\nfunc (x *StartSessionRequest) GetLeaseId() string\n```\n\n```go\nfunc (x *StartSessionRequest) GetTaskId() string\n```\n\n```go\nfunc (*StartSessionRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StartSessionRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StartSessionRequest) Reset()\n```\n\n```go\nfunc (x *StartSessionRequest) String() string\n```\n\n```go\ntype UnimplementedRuntimeProviderServiceServer struct{}\n```\nUnimplementedRuntimeProviderServiceServer must be embedded to have forward compatible implementations.\n\nNOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.\n\n```go\nfunc (UnimplementedRuntimeProviderServiceServer) ControlSession(context.Context, *ControlSessionRequest) (*ControlSessionResponse, error)\n```\n\n```go\nfunc (UnimplementedRuntimeProviderServiceServer) Describe(context.Context, *DescribeRequest) (*ProviderCapabilities, error)\n```\n\n```go\nfunc (UnimplementedRuntimeProviderServiceServer) Run(*RunRequest, grpc.ServerStreamingServer[RunEvent]) error\n```\n\n```go\nfunc (UnimplementedRuntimeProviderServiceServer) SessionEvents(*SessionHandle, grpc.ServerStreamingServer[SessionEvent]) error\n```\n\n```go\nfunc (UnimplementedRuntimeProviderServiceServer) StartSession(context.Context, *StartSessionRequest) (*SessionHandle, error)\n```\n\n```go\ntype UnsafeRuntimeProviderServiceServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeRuntimeProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuntimeProviderServiceServer will result in compilation errors.\n\n","path":"github.com/GoCodeAlone/workflow-plugin-compute-core/protocol/pb","name":"pb","synopsis":"","isRedistributable":true}
