mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete * 2.1.0 main node rollup
1626 lines
56 KiB
Go
1626 lines
56 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.30.0
|
||
// protoc v5.29.3
|
||
// source: compute.proto
|
||
|
||
package protobufs
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
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)
|
||
)
|
||
|
||
// The ExecutionContext defines the operating environment of the application
|
||
type ExecutionContext int32
|
||
|
||
const (
|
||
// Intrinsic execution is a protocol-native application – Nodes are expected
|
||
// to have the necessary information required to execute.
|
||
// Intrinsic applications have addresses that have infinitessimal likelihood
|
||
// of collision and must be constructed as nothing-up-my-sleeve values.
|
||
ExecutionContext_EXECUTION_CONTEXT_INTRINSIC ExecutionContext = 0
|
||
// Hypergraph execution is also protocol-native, however it imparts specific
|
||
// rules on data encoding/decoding such that the inputs/outputs must be
|
||
// handled differently. Hypergraph applications have addresses that are
|
||
// derived from location within the hypergraph.
|
||
ExecutionContext_EXECUTION_CONTEXT_HYPERGRAPH ExecutionContext = 1
|
||
// Extrinsic execution is evaluation of application code that lives on the
|
||
// protocol, either within the hypergraph or supplementary to it, e.g. MetaVM.
|
||
ExecutionContext_EXECUTION_CONTEXT_EXTRINSIC ExecutionContext = 2
|
||
)
|
||
|
||
// Enum value maps for ExecutionContext.
|
||
var (
|
||
ExecutionContext_name = map[int32]string{
|
||
0: "EXECUTION_CONTEXT_INTRINSIC",
|
||
1: "EXECUTION_CONTEXT_HYPERGRAPH",
|
||
2: "EXECUTION_CONTEXT_EXTRINSIC",
|
||
}
|
||
ExecutionContext_value = map[string]int32{
|
||
"EXECUTION_CONTEXT_INTRINSIC": 0,
|
||
"EXECUTION_CONTEXT_HYPERGRAPH": 1,
|
||
"EXECUTION_CONTEXT_EXTRINSIC": 2,
|
||
}
|
||
)
|
||
|
||
func (x ExecutionContext) Enum() *ExecutionContext {
|
||
p := new(ExecutionContext)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x ExecutionContext) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (ExecutionContext) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_compute_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (ExecutionContext) Type() protoreflect.EnumType {
|
||
return &file_compute_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x ExecutionContext) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionContext.Descriptor instead.
|
||
func (ExecutionContext) EnumDescriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
type Application struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||
ExecutionContext ExecutionContext `protobuf:"varint,2,opt,name=execution_context,json=executionContext,proto3,enum=quilibrium.node.compute.pb.ExecutionContext" json:"execution_context,omitempty"`
|
||
}
|
||
|
||
func (x *Application) Reset() {
|
||
*x = Application{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Application) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Application) ProtoMessage() {}
|
||
|
||
func (x *Application) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[0]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Application.ProtoReflect.Descriptor instead.
|
||
func (*Application) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *Application) GetAddress() []byte {
|
||
if x != nil {
|
||
return x.Address
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Application) GetExecutionContext() ExecutionContext {
|
||
if x != nil {
|
||
return x.ExecutionContext
|
||
}
|
||
return ExecutionContext_EXECUTION_CONTEXT_INTRINSIC
|
||
}
|
||
|
||
type IntrinsicExecutionInput struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
|
||
}
|
||
|
||
func (x *IntrinsicExecutionInput) Reset() {
|
||
*x = IntrinsicExecutionInput{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *IntrinsicExecutionInput) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*IntrinsicExecutionInput) ProtoMessage() {}
|
||
|
||
func (x *IntrinsicExecutionInput) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[1]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use IntrinsicExecutionInput.ProtoReflect.Descriptor instead.
|
||
func (*IntrinsicExecutionInput) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *IntrinsicExecutionInput) GetAddress() []byte {
|
||
if x != nil {
|
||
return x.Address
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *IntrinsicExecutionInput) GetInput() []byte {
|
||
if x != nil {
|
||
return x.Input
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type IntrinsicExecutionOutput struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||
Output []byte `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
|
||
Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
|
||
}
|
||
|
||
func (x *IntrinsicExecutionOutput) Reset() {
|
||
*x = IntrinsicExecutionOutput{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *IntrinsicExecutionOutput) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*IntrinsicExecutionOutput) ProtoMessage() {}
|
||
|
||
func (x *IntrinsicExecutionOutput) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[2]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use IntrinsicExecutionOutput.ProtoReflect.Descriptor instead.
|
||
func (*IntrinsicExecutionOutput) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *IntrinsicExecutionOutput) GetAddress() []byte {
|
||
if x != nil {
|
||
return x.Address
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *IntrinsicExecutionOutput) GetOutput() []byte {
|
||
if x != nil {
|
||
return x.Output
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *IntrinsicExecutionOutput) GetProof() []byte {
|
||
if x != nil {
|
||
return x.Proof
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ComputeConfiguration defines the keys for a compute intrinsic
|
||
// deployment
|
||
type ComputeConfiguration struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// Ed448 read public key (57 bytes)
|
||
ReadPublicKey []byte `protobuf:"bytes,1,opt,name=read_public_key,json=readPublicKey,proto3" json:"read_public_key,omitempty"`
|
||
// Ed448 write public key (57 bytes)
|
||
WritePublicKey []byte `protobuf:"bytes,2,opt,name=write_public_key,json=writePublicKey,proto3" json:"write_public_key,omitempty"`
|
||
// 585 byte BLS48-581
|
||
OwnerPublicKey []byte `protobuf:"bytes,3,opt,name=owner_public_key,json=ownerPublicKey,proto3" json:"owner_public_key,omitempty"`
|
||
}
|
||
|
||
func (x *ComputeConfiguration) Reset() {
|
||
*x = ComputeConfiguration{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ComputeConfiguration) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComputeConfiguration) ProtoMessage() {}
|
||
|
||
func (x *ComputeConfiguration) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[3]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComputeConfiguration.ProtoReflect.Descriptor instead.
|
||
func (*ComputeConfiguration) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *ComputeConfiguration) GetReadPublicKey() []byte {
|
||
if x != nil {
|
||
return x.ReadPublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComputeConfiguration) GetWritePublicKey() []byte {
|
||
if x != nil {
|
||
return x.WritePublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComputeConfiguration) GetOwnerPublicKey() []byte {
|
||
if x != nil {
|
||
return x.OwnerPublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ComputeDeploy creates a new compute intrinsic
|
||
type ComputeDeploy struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// The compute configuration
|
||
Config *ComputeConfiguration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||
// RDF schema definition
|
||
RdfSchema []byte `protobuf:"bytes,2,opt,name=rdf_schema,json=rdfSchema,proto3" json:"rdf_schema,omitempty"`
|
||
}
|
||
|
||
func (x *ComputeDeploy) Reset() {
|
||
*x = ComputeDeploy{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ComputeDeploy) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComputeDeploy) ProtoMessage() {}
|
||
|
||
func (x *ComputeDeploy) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[4]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComputeDeploy.ProtoReflect.Descriptor instead.
|
||
func (*ComputeDeploy) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *ComputeDeploy) GetConfig() *ComputeConfiguration {
|
||
if x != nil {
|
||
return x.Config
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComputeDeploy) GetRdfSchema() []byte {
|
||
if x != nil {
|
||
return x.RdfSchema
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ComputeUpdate struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// The compute configuration
|
||
Config *ComputeConfiguration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||
// RDF schema definition
|
||
RdfSchema []byte `protobuf:"bytes,2,opt,name=rdf_schema,json=rdfSchema,proto3" json:"rdf_schema,omitempty"`
|
||
// Signature from the owner key
|
||
PublicKeySignatureBls48581 *BLS48581AggregateSignature `protobuf:"bytes,3,opt,name=public_key_signature_bls48581,json=publicKeySignatureBls48581,proto3" json:"public_key_signature_bls48581,omitempty"`
|
||
}
|
||
|
||
func (x *ComputeUpdate) Reset() {
|
||
*x = ComputeUpdate{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ComputeUpdate) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComputeUpdate) ProtoMessage() {}
|
||
|
||
func (x *ComputeUpdate) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[5]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComputeUpdate.ProtoReflect.Descriptor instead.
|
||
func (*ComputeUpdate) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ComputeUpdate) GetConfig() *ComputeConfiguration {
|
||
if x != nil {
|
||
return x.Config
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComputeUpdate) GetRdfSchema() []byte {
|
||
if x != nil {
|
||
return x.RdfSchema
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComputeUpdate) GetPublicKeySignatureBls48581() *BLS48581AggregateSignature {
|
||
if x != nil {
|
||
return x.PublicKeySignatureBls48581
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Code deployment operation - deploys a QCL circuit
|
||
type CodeDeployment struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// The QCL circuit to deploy
|
||
Circuit []byte `protobuf:"bytes,1,opt,name=circuit,proto3" json:"circuit,omitempty"`
|
||
// QCL types/classes of main arguments (max 2: garbler, evaluator)
|
||
InputTypes []string `protobuf:"bytes,2,rep,name=input_types,json=inputTypes,proto3" json:"input_types,omitempty"`
|
||
// QCL types/classes of output values
|
||
OutputTypes []string `protobuf:"bytes,3,rep,name=output_types,json=outputTypes,proto3" json:"output_types,omitempty"`
|
||
// App address (32 bytes)
|
||
Domain []byte `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
|
||
}
|
||
|
||
func (x *CodeDeployment) Reset() {
|
||
*x = CodeDeployment{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CodeDeployment) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CodeDeployment) ProtoMessage() {}
|
||
|
||
func (x *CodeDeployment) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[6]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CodeDeployment.ProtoReflect.Descriptor instead.
|
||
func (*CodeDeployment) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *CodeDeployment) GetCircuit() []byte {
|
||
if x != nil {
|
||
return x.Circuit
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeDeployment) GetInputTypes() []string {
|
||
if x != nil {
|
||
return x.InputTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeDeployment) GetOutputTypes() []string {
|
||
if x != nil {
|
||
return x.OutputTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeDeployment) GetDomain() []byte {
|
||
if x != nil {
|
||
return x.Domain
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Dependency information for execution operations
|
||
type ExecutionDependency struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Identifier []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
||
// Addresses read by this operation
|
||
ReadSet [][]byte `protobuf:"bytes,2,rep,name=read_set,json=readSet,proto3" json:"read_set,omitempty"`
|
||
// Addresses written by this operation
|
||
WriteSet [][]byte `protobuf:"bytes,3,rep,name=write_set,json=writeSet,proto3" json:"write_set,omitempty"`
|
||
// Execution stage after DAG analysis
|
||
Stage uint32 `protobuf:"varint,4,opt,name=stage,proto3" json:"stage,omitempty"`
|
||
}
|
||
|
||
func (x *ExecutionDependency) Reset() {
|
||
*x = ExecutionDependency{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecutionDependency) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecutionDependency) ProtoMessage() {}
|
||
|
||
func (x *ExecutionDependency) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[7]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionDependency.ProtoReflect.Descriptor instead.
|
||
func (*ExecutionDependency) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *ExecutionDependency) GetIdentifier() []byte {
|
||
if x != nil {
|
||
return x.Identifier
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionDependency) GetReadSet() [][]byte {
|
||
if x != nil {
|
||
return x.ReadSet
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionDependency) GetWriteSet() [][]byte {
|
||
if x != nil {
|
||
return x.WriteSet
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionDependency) GetStage() uint32 {
|
||
if x != nil {
|
||
return x.Stage
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// Single operation to execute
|
||
type ExecuteOperation struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
|
||
Identifier []byte `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
||
Dependencies [][]byte `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
|
||
}
|
||
|
||
func (x *ExecuteOperation) Reset() {
|
||
*x = ExecuteOperation{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecuteOperation) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecuteOperation) ProtoMessage() {}
|
||
|
||
func (x *ExecuteOperation) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[8]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecuteOperation.ProtoReflect.Descriptor instead.
|
||
func (*ExecuteOperation) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *ExecuteOperation) GetApplication() *Application {
|
||
if x != nil {
|
||
return x.Application
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecuteOperation) GetIdentifier() []byte {
|
||
if x != nil {
|
||
return x.Identifier
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecuteOperation) GetDependencies() [][]byte {
|
||
if x != nil {
|
||
return x.Dependencies
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Node in the execution DAG (for internal use, not serialized directly)
|
||
type ExecutionNode struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Operation *ExecuteOperation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
|
||
// Addresses read by this operation
|
||
ReadSet [][]byte `protobuf:"bytes,2,rep,name=read_set,json=readSet,proto3" json:"read_set,omitempty"`
|
||
// Addresses written by this operation
|
||
WriteSet [][]byte `protobuf:"bytes,3,rep,name=write_set,json=writeSet,proto3" json:"write_set,omitempty"`
|
||
Stage uint32 `protobuf:"varint,4,opt,name=stage,proto3" json:"stage,omitempty"`
|
||
Visited bool `protobuf:"varint,5,opt,name=visited,proto3" json:"visited,omitempty"`
|
||
InProgress bool `protobuf:"varint,6,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"`
|
||
}
|
||
|
||
func (x *ExecutionNode) Reset() {
|
||
*x = ExecutionNode{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecutionNode) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecutionNode) ProtoMessage() {}
|
||
|
||
func (x *ExecutionNode) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[9]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionNode.ProtoReflect.Descriptor instead.
|
||
func (*ExecutionNode) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *ExecutionNode) GetOperation() *ExecuteOperation {
|
||
if x != nil {
|
||
return x.Operation
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionNode) GetReadSet() [][]byte {
|
||
if x != nil {
|
||
return x.ReadSet
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionNode) GetWriteSet() [][]byte {
|
||
if x != nil {
|
||
return x.WriteSet
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionNode) GetStage() uint32 {
|
||
if x != nil {
|
||
return x.Stage
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ExecutionNode) GetVisited() bool {
|
||
if x != nil {
|
||
return x.Visited
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ExecutionNode) GetInProgress() bool {
|
||
if x != nil {
|
||
return x.InProgress
|
||
}
|
||
return false
|
||
}
|
||
|
||
// Execution DAG structure (for internal use, not serialized directly)
|
||
type ExecutionDAG struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Operations map[string]*ExecutionNode `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
// Operations grouped by execution stage
|
||
Stages []*ExecutionStage `protobuf:"bytes,2,rep,name=stages,proto3" json:"stages,omitempty"`
|
||
}
|
||
|
||
func (x *ExecutionDAG) Reset() {
|
||
*x = ExecutionDAG{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecutionDAG) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecutionDAG) ProtoMessage() {}
|
||
|
||
func (x *ExecutionDAG) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[10]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionDAG.ProtoReflect.Descriptor instead.
|
||
func (*ExecutionDAG) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *ExecutionDAG) GetOperations() map[string]*ExecutionNode {
|
||
if x != nil {
|
||
return x.Operations
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionDAG) GetStages() []*ExecutionStage {
|
||
if x != nil {
|
||
return x.Stages
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Helper message for stages in ExecutionDAG
|
||
type ExecutionStage struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
OperationIds []string `protobuf:"bytes,1,rep,name=operation_ids,json=operationIds,proto3" json:"operation_ids,omitempty"`
|
||
}
|
||
|
||
func (x *ExecutionStage) Reset() {
|
||
*x = ExecutionStage{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecutionStage) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecutionStage) ProtoMessage() {}
|
||
|
||
func (x *ExecutionStage) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[11]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionStage.ProtoReflect.Descriptor instead.
|
||
func (*ExecutionStage) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *ExecutionStage) GetOperationIds() []string {
|
||
if x != nil {
|
||
return x.OperationIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Code execution operation
|
||
type CodeExecute struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// Array of 2 byte arrays
|
||
ProofOfPayment [][]byte `protobuf:"bytes,1,rep,name=proof_of_payment,json=proofOfPayment,proto3" json:"proof_of_payment,omitempty"`
|
||
// 32 bytes
|
||
Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
||
// 32 bytes
|
||
Rendezvous []byte `protobuf:"bytes,3,opt,name=rendezvous,proto3" json:"rendezvous,omitempty"`
|
||
ExecuteOperations []*ExecuteOperation `protobuf:"bytes,4,rep,name=execute_operations,json=executeOperations,proto3" json:"execute_operations,omitempty"`
|
||
}
|
||
|
||
func (x *CodeExecute) Reset() {
|
||
*x = CodeExecute{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CodeExecute) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CodeExecute) ProtoMessage() {}
|
||
|
||
func (x *CodeExecute) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[12]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CodeExecute.ProtoReflect.Descriptor instead.
|
||
func (*CodeExecute) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *CodeExecute) GetProofOfPayment() [][]byte {
|
||
if x != nil {
|
||
return x.ProofOfPayment
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeExecute) GetDomain() []byte {
|
||
if x != nil {
|
||
return x.Domain
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeExecute) GetRendezvous() []byte {
|
||
if x != nil {
|
||
return x.Rendezvous
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeExecute) GetExecuteOperations() []*ExecuteOperation {
|
||
if x != nil {
|
||
return x.ExecuteOperations
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// State transition to be committed
|
||
type StateTransition struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 32 bytes
|
||
Domain []byte `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
|
||
Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
||
OldValue []byte `protobuf:"bytes,3,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
|
||
NewValue []byte `protobuf:"bytes,4,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
|
||
Proof []byte `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"`
|
||
}
|
||
|
||
func (x *StateTransition) Reset() {
|
||
*x = StateTransition{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *StateTransition) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StateTransition) ProtoMessage() {}
|
||
|
||
func (x *StateTransition) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[13]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StateTransition.ProtoReflect.Descriptor instead.
|
||
func (*StateTransition) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *StateTransition) GetDomain() []byte {
|
||
if x != nil {
|
||
return x.Domain
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StateTransition) GetAddress() []byte {
|
||
if x != nil {
|
||
return x.Address
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StateTransition) GetOldValue() []byte {
|
||
if x != nil {
|
||
return x.OldValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StateTransition) GetNewValue() []byte {
|
||
if x != nil {
|
||
return x.NewValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StateTransition) GetProof() []byte {
|
||
if x != nil {
|
||
return x.Proof
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Result of a single operation execution
|
||
type ExecutionResult struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
OperationId []byte `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
|
||
Output []byte `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
|
||
Error []byte `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
|
||
}
|
||
|
||
func (x *ExecutionResult) Reset() {
|
||
*x = ExecutionResult{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ExecutionResult) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ExecutionResult) ProtoMessage() {}
|
||
|
||
func (x *ExecutionResult) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[14]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ExecutionResult.ProtoReflect.Descriptor instead.
|
||
func (*ExecutionResult) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *ExecutionResult) GetOperationId() []byte {
|
||
if x != nil {
|
||
return x.OperationId
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionResult) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ExecutionResult) GetOutput() []byte {
|
||
if x != nil {
|
||
return x.Output
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ExecutionResult) GetError() []byte {
|
||
if x != nil {
|
||
return x.Error
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Finalizes the execution of a CodeExecute operation
|
||
type CodeFinalize struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 32 bytes
|
||
Rendezvous []byte `protobuf:"bytes,1,opt,name=rendezvous,proto3" json:"rendezvous,omitempty"`
|
||
Results []*ExecutionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
|
||
StateChanges []*StateTransition `protobuf:"bytes,3,rep,name=state_changes,json=stateChanges,proto3" json:"state_changes,omitempty"`
|
||
ProofOfExecution []byte `protobuf:"bytes,4,opt,name=proof_of_execution,json=proofOfExecution,proto3" json:"proof_of_execution,omitempty"`
|
||
// Transient output to return to requestor
|
||
MessageOutput []byte `protobuf:"bytes,5,opt,name=message_output,json=messageOutput,proto3" json:"message_output,omitempty"`
|
||
}
|
||
|
||
func (x *CodeFinalize) Reset() {
|
||
*x = CodeFinalize{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_compute_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CodeFinalize) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CodeFinalize) ProtoMessage() {}
|
||
|
||
func (x *CodeFinalize) ProtoReflect() protoreflect.Message {
|
||
mi := &file_compute_proto_msgTypes[15]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CodeFinalize.ProtoReflect.Descriptor instead.
|
||
func (*CodeFinalize) Descriptor() ([]byte, []int) {
|
||
return file_compute_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *CodeFinalize) GetRendezvous() []byte {
|
||
if x != nil {
|
||
return x.Rendezvous
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeFinalize) GetResults() []*ExecutionResult {
|
||
if x != nil {
|
||
return x.Results
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeFinalize) GetStateChanges() []*StateTransition {
|
||
if x != nil {
|
||
return x.StateChanges
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeFinalize) GetProofOfExecution() []byte {
|
||
if x != nil {
|
||
return x.ProofOfExecution
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CodeFinalize) GetMessageOutput() []byte {
|
||
if x != nil {
|
||
return x.MessageOutput
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_compute_proto protoreflect.FileDescriptor
|
||
|
||
var file_compute_proto_rawDesc = []byte{
|
||
0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||
0x1a, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65,
|
||
0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x1a, 0x0a, 0x6b, 0x65, 0x79,
|
||
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c,
|
||
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
||
0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||
0x73, 0x12, 0x59, 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
|
||
0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x10, 0x65, 0x78, 0x65, 0x63,
|
||
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x49, 0x0a, 0x17,
|
||
0x49, 0x6e, 0x74, 0x72, 0x69, 0x6e, 0x73, 0x69, 0x63, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
|
||
0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
||
0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||
0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x22, 0x62, 0x0a, 0x18, 0x49, 0x6e, 0x74, 0x72, 0x69,
|
||
0x6e, 0x73, 0x69, 0x63, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74,
|
||
0x70, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a,
|
||
0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f,
|
||
0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x92, 0x01, 0x0a, 0x14,
|
||
0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
|
||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x70, 0x75, 0x62,
|
||
0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72,
|
||
0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10,
|
||
0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x50, 0x75, 0x62,
|
||
0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f,
|
||
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x0e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
|
||
0x22, 0x78, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f,
|
||
0x79, 0x12, 0x48, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x0b, 0x32, 0x30, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e,
|
||
0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
|
||
0x64, 0x66, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
0x09, 0x72, 0x64, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xf0, 0x01, 0x0a, 0x0d, 0x43,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x06,
|
||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74,
|
||
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06,
|
||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x64, 0x66, 0x5f, 0x73, 0x63,
|
||
0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x64, 0x66, 0x53,
|
||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x76, 0x0a, 0x1d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f,
|
||
0x6b, 0x65, 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x6c,
|
||
0x73, 0x34, 0x38, 0x35, 0x38, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b,
|
||
0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x41,
|
||
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
||
0x65, 0x52, 0x1a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x53, 0x69, 0x67, 0x6e,
|
||
0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x73, 0x34, 0x38, 0x35, 0x38, 0x31, 0x22, 0x86, 0x01,
|
||
0x0a, 0x0e, 0x43, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
||
0x12, 0x18, 0x0a, 0x07, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x0c, 0x52, 0x07, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e,
|
||
0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
|
||
0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6f,
|
||
0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
||
0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x16,
|
||
0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
|
||
0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75,
|
||
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1e,
|
||
0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x0c, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x19,
|
||
0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c,
|
||
0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x53, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x69,
|
||
0x74, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x77, 0x72,
|
||
0x69, 0x74, 0x65, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18,
|
||
0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0xa1, 0x01, 0x0a,
|
||
0x10, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x12, 0x49, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72,
|
||
0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
|
||
0x2e, 0x70, 0x62, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
||
0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a,
|
||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c,
|
||
0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
|
||
0x28, 0x0c, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73,
|
||
0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f,
|
||
0x64, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e,
|
||
0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19,
|
||
0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c,
|
||
0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x53, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x69,
|
||
0x74, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x77, 0x72,
|
||
0x69, 0x74, 0x65, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18,
|
||
0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
||
0x76, 0x69, 0x73, 0x69, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76,
|
||
0x69, 0x73, 0x69, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
|
||
0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x50,
|
||
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x96, 0x02, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63,
|
||
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x41, 0x47, 0x12, 0x58, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72,
|
||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x44, 0x41, 0x47, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
|
||
0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e,
|
||
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x06,
|
||
0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76,
|
||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x71, 0x75, 0x69,
|
||
0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
|
||
0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||
0x22, 0x35, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
|
||
0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
|
||
0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x64, 0x65,
|
||
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6f, 0x66,
|
||
0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||
0x0c, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x66, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
||
0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x0c, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6e,
|
||
0x64, 0x65, 0x7a, 0x76, 0x6f, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72,
|
||
0x65, 0x6e, 0x64, 0x65, 0x7a, 0x76, 0x6f, 0x75, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x65, 0x78, 0x65,
|
||
0x63, 0x75, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
||
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e,
|
||
0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72,
|
||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||
0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
|
||
0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
|
||
0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09,
|
||
0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77,
|
||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x65,
|
||
0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18,
|
||
0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x7c, 0x0a, 0x0f,
|
||
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
|
||
0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06,
|
||
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75,
|
||
0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20,
|
||
0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9c, 0x02, 0x0a, 0x0c, 0x43,
|
||
0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72,
|
||
0x65, 0x6e, 0x64, 0x65, 0x7a, 0x76, 0x6f, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
0x0a, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x7a, 0x76, 0x6f, 0x75, 0x73, 0x12, 0x45, 0x0a, 0x07, 0x72,
|
||
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63,
|
||
0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
|
||
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c,
|
||
0x74, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
||
0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x71, 0x75, 0x69, 0x6c,
|
||
0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
|
||
0x75, 0x74, 0x65, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e,
|
||
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61,
|
||
0x6e, 0x67, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x6f, 0x66,
|
||
0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x10, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x66, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
|
||
0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75,
|
||
0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73,
|
||
0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2a, 0x76, 0x0a, 0x10, 0x45, 0x78, 0x65,
|
||
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a,
|
||
0x1b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45,
|
||
0x58, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x10, 0x00, 0x12, 0x20,
|
||
0x0a, 0x1c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54,
|
||
0x45, 0x58, 0x54, 0x5f, 0x48, 0x59, 0x50, 0x45, 0x52, 0x47, 0x52, 0x41, 0x50, 0x48, 0x10, 0x01,
|
||
0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f,
|
||
0x4e, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x45, 0x58, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x10,
|
||
0x02, 0x42, 0x3a, 0x5a, 0x38, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x71, 0x75, 0x69, 0x6c,
|
||
0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x71, 0x75, 0x69, 0x6c, 0x69,
|
||
0x62, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x65, 0x70, 0x6f, 0x2f, 0x6e,
|
||
0x6f, 0x64, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x73, 0x62, 0x06, 0x70,
|
||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_compute_proto_rawDescOnce sync.Once
|
||
file_compute_proto_rawDescData = file_compute_proto_rawDesc
|
||
)
|
||
|
||
func file_compute_proto_rawDescGZIP() []byte {
|
||
file_compute_proto_rawDescOnce.Do(func() {
|
||
file_compute_proto_rawDescData = protoimpl.X.CompressGZIP(file_compute_proto_rawDescData)
|
||
})
|
||
return file_compute_proto_rawDescData
|
||
}
|
||
|
||
var file_compute_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_compute_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
||
var file_compute_proto_goTypes = []interface{}{
|
||
(ExecutionContext)(0), // 0: quilibrium.node.compute.pb.ExecutionContext
|
||
(*Application)(nil), // 1: quilibrium.node.compute.pb.Application
|
||
(*IntrinsicExecutionInput)(nil), // 2: quilibrium.node.compute.pb.IntrinsicExecutionInput
|
||
(*IntrinsicExecutionOutput)(nil), // 3: quilibrium.node.compute.pb.IntrinsicExecutionOutput
|
||
(*ComputeConfiguration)(nil), // 4: quilibrium.node.compute.pb.ComputeConfiguration
|
||
(*ComputeDeploy)(nil), // 5: quilibrium.node.compute.pb.ComputeDeploy
|
||
(*ComputeUpdate)(nil), // 6: quilibrium.node.compute.pb.ComputeUpdate
|
||
(*CodeDeployment)(nil), // 7: quilibrium.node.compute.pb.CodeDeployment
|
||
(*ExecutionDependency)(nil), // 8: quilibrium.node.compute.pb.ExecutionDependency
|
||
(*ExecuteOperation)(nil), // 9: quilibrium.node.compute.pb.ExecuteOperation
|
||
(*ExecutionNode)(nil), // 10: quilibrium.node.compute.pb.ExecutionNode
|
||
(*ExecutionDAG)(nil), // 11: quilibrium.node.compute.pb.ExecutionDAG
|
||
(*ExecutionStage)(nil), // 12: quilibrium.node.compute.pb.ExecutionStage
|
||
(*CodeExecute)(nil), // 13: quilibrium.node.compute.pb.CodeExecute
|
||
(*StateTransition)(nil), // 14: quilibrium.node.compute.pb.StateTransition
|
||
(*ExecutionResult)(nil), // 15: quilibrium.node.compute.pb.ExecutionResult
|
||
(*CodeFinalize)(nil), // 16: quilibrium.node.compute.pb.CodeFinalize
|
||
nil, // 17: quilibrium.node.compute.pb.ExecutionDAG.OperationsEntry
|
||
(*BLS48581AggregateSignature)(nil), // 18: quilibrium.node.keys.pb.BLS48581AggregateSignature
|
||
}
|
||
var file_compute_proto_depIdxs = []int32{
|
||
0, // 0: quilibrium.node.compute.pb.Application.execution_context:type_name -> quilibrium.node.compute.pb.ExecutionContext
|
||
4, // 1: quilibrium.node.compute.pb.ComputeDeploy.config:type_name -> quilibrium.node.compute.pb.ComputeConfiguration
|
||
4, // 2: quilibrium.node.compute.pb.ComputeUpdate.config:type_name -> quilibrium.node.compute.pb.ComputeConfiguration
|
||
18, // 3: quilibrium.node.compute.pb.ComputeUpdate.public_key_signature_bls48581:type_name -> quilibrium.node.keys.pb.BLS48581AggregateSignature
|
||
1, // 4: quilibrium.node.compute.pb.ExecuteOperation.application:type_name -> quilibrium.node.compute.pb.Application
|
||
9, // 5: quilibrium.node.compute.pb.ExecutionNode.operation:type_name -> quilibrium.node.compute.pb.ExecuteOperation
|
||
17, // 6: quilibrium.node.compute.pb.ExecutionDAG.operations:type_name -> quilibrium.node.compute.pb.ExecutionDAG.OperationsEntry
|
||
12, // 7: quilibrium.node.compute.pb.ExecutionDAG.stages:type_name -> quilibrium.node.compute.pb.ExecutionStage
|
||
9, // 8: quilibrium.node.compute.pb.CodeExecute.execute_operations:type_name -> quilibrium.node.compute.pb.ExecuteOperation
|
||
15, // 9: quilibrium.node.compute.pb.CodeFinalize.results:type_name -> quilibrium.node.compute.pb.ExecutionResult
|
||
14, // 10: quilibrium.node.compute.pb.CodeFinalize.state_changes:type_name -> quilibrium.node.compute.pb.StateTransition
|
||
10, // 11: quilibrium.node.compute.pb.ExecutionDAG.OperationsEntry.value:type_name -> quilibrium.node.compute.pb.ExecutionNode
|
||
12, // [12:12] is the sub-list for method output_type
|
||
12, // [12:12] is the sub-list for method input_type
|
||
12, // [12:12] is the sub-list for extension type_name
|
||
12, // [12:12] is the sub-list for extension extendee
|
||
0, // [0:12] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_compute_proto_init() }
|
||
func file_compute_proto_init() {
|
||
if File_compute_proto != nil {
|
||
return
|
||
}
|
||
file_keys_proto_init()
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_compute_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Application); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*IntrinsicExecutionInput); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*IntrinsicExecutionOutput); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ComputeConfiguration); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ComputeDeploy); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ComputeUpdate); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CodeDeployment); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecutionDependency); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecuteOperation); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecutionNode); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecutionDAG); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecutionStage); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CodeExecute); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*StateTransition); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ExecutionResult); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_compute_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CodeFinalize); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_compute_proto_rawDesc,
|
||
NumEnums: 1,
|
||
NumMessages: 17,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_compute_proto_goTypes,
|
||
DependencyIndexes: file_compute_proto_depIdxs,
|
||
EnumInfos: file_compute_proto_enumTypes,
|
||
MessageInfos: file_compute_proto_msgTypes,
|
||
}.Build()
|
||
File_compute_proto = out.File
|
||
file_compute_proto_rawDesc = nil
|
||
file_compute_proto_goTypes = nil
|
||
file_compute_proto_depIdxs = nil
|
||
}
|