diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createalgorithmlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createalgorithmlogic.go index 74f4d4e4..0e70f8f4 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createalgorithmlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createalgorithmlogic.go @@ -1,7 +1,6 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -10,6 +9,7 @@ import ( "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createdatasetlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createdatasetlogic.go index b1f3eeac..a72ed3e7 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createdatasetlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createdatasetlogic.go @@ -1,20 +1,19 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" + "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" "strings" - "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" - "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" - "github.com/zeromicro/go-zero/core/logx" ) diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createmodellogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createmodellogic.go index 0720af58..12b8cb92 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createmodellogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createmodellogic.go @@ -6,7 +6,6 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -14,12 +13,12 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" + "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" "strings" - - "github.com/zeromicro/go-zero/core/logx" ) type CreateModelLogic struct { diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createnotebooklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createnotebooklogic.go index acf6d38f..96c8c0df 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createnotebooklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createnotebooklogic.go @@ -1,7 +1,6 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -9,6 +8,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createprocessortasklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createprocessortasklogic.go index 130a8042..199c39dd 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createprocessortasklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createprocessortasklogic.go @@ -6,12 +6,12 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createservicelogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createservicelogic.go index d2d678aa..737810a3 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createservicelogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createservicelogic.go @@ -6,13 +6,13 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "bytes" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtasklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtasklogic.go index 84df6605..ab735dcd 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtasklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtasklogic.go @@ -1,12 +1,12 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjobconfiglogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjobconfiglogic.go index 971bb654..1385eb3e 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjobconfiglogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjobconfiglogic.go @@ -1,12 +1,12 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjoblogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjoblogic.go index 5e2986e0..14e1d889 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjoblogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createtrainingjoblogic.go @@ -1,7 +1,6 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -9,6 +8,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createvisualizationjoblogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createvisualizationjoblogic.go index c64e2467..e2d52af1 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createvisualizationjoblogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/createvisualizationjoblogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletealgorithmslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletealgorithmslogic.go index 1816b408..25b22066 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletealgorithmslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletealgorithmslogic.go @@ -1,11 +1,11 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletedatasetlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletedatasetlogic.go index 2647f9f4..ab8768d1 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletedatasetlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletedatasetlogic.go @@ -1,11 +1,11 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletemodellogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletemodellogic.go index f01ed79b..fa02142f 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletemodellogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletemodellogic.go @@ -6,11 +6,11 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deleteservicelogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deleteservicelogic.go index e18ff592..fbfd6843 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deleteservicelogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deleteservicelogic.go @@ -6,13 +6,13 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjobconfiglogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjobconfiglogic.go index 30a16e56..fea81abc 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjobconfiglogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjobconfiglogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjoblogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjoblogic.go index 0d1f2a57..b562b277 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjoblogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/deletetrainingjoblogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/describeprocessortasklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/describeprocessortasklogic.go index 3a971cff..6e6b0ed3 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/describeprocessortasklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/describeprocessortasklogic.go @@ -6,13 +6,13 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/exporttasklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/exporttasklogic.go index 166c1a1c..785aa858 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/exporttasklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/exporttasklogic.go @@ -6,7 +6,6 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" _ "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -14,6 +13,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getaiengineslistlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getaiengineslistlogic.go index 1d4c34dd..de03ea44 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getaiengineslistlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getaiengineslistlogic.go @@ -1,11 +1,11 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getdatasetlistlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getdatasetlistlogic.go index 7d9c50a4..0b243dc6 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getdatasetlistlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getdatasetlistlogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttasksofdatasetlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttasksofdatasetlogic.go index e05331e9..6a634c94 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttasksofdatasetlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttasksofdatasetlogic.go @@ -6,12 +6,12 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttaskstatusofdatasetlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttaskstatusofdatasetlogic.go index d123d645..59fd676f 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttaskstatusofdatasetlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getexporttaskstatusofdatasetlogic.go @@ -6,11 +6,11 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getimporttasklistlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getimporttasklistlogic.go index d1c6df84..5f090cfd 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getimporttasklistlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getimporttasklistlogic.go @@ -1,11 +1,11 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "log" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getlisttrainingjobslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getlisttrainingjobslogic.go index a0ff744f..c869bbe8 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getlisttrainingjobslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getlisttrainingjobslogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getnotebookstoragelogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getnotebookstoragelogic.go index 12b8bfe3..38e32e84 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getnotebookstoragelogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getnotebookstoragelogic.go @@ -1,12 +1,12 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/gettrainingjobflavorslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/gettrainingjobflavorslogic.go index 34c5e77e..04eaa122 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/gettrainingjobflavorslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/gettrainingjobflavorslogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getvisualizationjoblogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getvisualizationjoblogic.go index 705403ee..f6b194d8 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getvisualizationjoblogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/getvisualizationjoblogic.go @@ -1,12 +1,12 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listalgorithmslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listalgorithmslogic.go index 200d55c2..f4a947a4 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listalgorithmslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listalgorithmslogic.go @@ -1,7 +1,6 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -9,6 +8,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" @@ -46,7 +46,7 @@ func (l *ListAlgorithmsLogic) ListAlgorithms(in *modelarts.ListAlgorithmsReq) (* if modelArtsType == l.svcCtx.Config.HaweiModelArtsType { modelArtsUrl := l.svcCtx.Config.ModelArtsUrl - url := modelArtsUrl + in.ProjectId + "v2/" + "/algorithms?offset=" + offset + "&" + "limit=" + limit + url := modelArtsUrl + "v2/" + in.ProjectId + "/algorithms?offset=" + offset + "&" + "limit=" + limit token := common.GetToken() statusCode, body, err := tool.HttpClientWithBodyAndCode(tool.GET, url, nil, token) if err != nil { @@ -72,7 +72,7 @@ func (l *ListAlgorithmsLogic) ListAlgorithms(in *modelarts.ListAlgorithmsReq) (* Key: AK, Secret: SK, } - r, err := http.NewRequest("GET", NanjingModelArtsUrl+in.ProjectId+"/algorithms?offset="+offset+"&"+"limit="+limit, + r, err := http.NewRequest("GET", NanjingModelArtsUrl+"v2/"+in.ProjectId+"/algorithms?offset="+offset+"&"+"limit="+limit, bytes.NewBuffer([]byte("foo=bar"))) if err != nil { fmt.Println(err) diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listclusterslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listclusterslogic.go index 65c9c9e0..c3e394c2 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listclusterslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listclusterslogic.go @@ -6,11 +6,11 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listmodelslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listmodelslogic.go index 6a3144c4..5990380d 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listmodelslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listmodelslogic.go @@ -6,12 +6,12 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listnotebooklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listnotebooklogic.go index 8fffb247..8288ae3e 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listnotebooklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listnotebooklogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listserviceslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listserviceslogic.go index 14e0c666..28a11651 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listserviceslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listserviceslogic.go @@ -6,7 +6,6 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -14,6 +13,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listtrainingjobconfiglogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listtrainingjobconfiglogic.go index 6d8cb32e..7fcab16b 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listtrainingjobconfiglogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/listtrainingjobconfiglogic.go @@ -1,7 +1,6 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" @@ -9,6 +8,7 @@ import ( "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "github.com/bitly/go-simplejson" "github.com/zeromicro/go-zero/core/logx" "io/ioutil" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/mountnotebookstoragelogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/mountnotebookstoragelogic.go index 01a8178d..689263d5 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/mountnotebookstoragelogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/mountnotebookstoragelogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showalgorithmbyuuidlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showalgorithmbyuuidlogic.go index d091766d..31e817a2 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showalgorithmbyuuidlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showalgorithmbyuuidlogic.go @@ -1,12 +1,12 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showmodelslogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showmodelslogic.go index 39ac2dd2..3d192195 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showmodelslogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showmodelslogic.go @@ -6,13 +6,13 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showservicelogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showservicelogic.go index 9ba70e96..cb67015e 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showservicelogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/showservicelogic.go @@ -6,13 +6,13 @@ package logic */ import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/svc" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/modelarts" "PCM/common/tool" "context" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "k8s.io/apimachinery/pkg/util/json" "net/http" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/startnotebooklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/startnotebooklogic.go index adc67e52..a5473711 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/startnotebooklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/startnotebooklogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/stopnotebooklogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/stopnotebooklogic.go index 4e632c24..1d01915d 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/stopnotebooklogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/stopnotebooklogic.go @@ -1,13 +1,13 @@ package logic import ( - "APIGW-go-sdk/core" "PCM/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/common" "PCM/common/tool" "bytes" "context" "encoding/json" "fmt" + "github.com/JCCE-nudt/apigw-go-sdk/core" "io/ioutil" "net/http" "strings" diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/config/octopusConfig.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/config/octopusConfig.go index 3834c43e..5bf5157d 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/config/octopusConfig.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/config/octopusConfig.go @@ -14,13 +14,12 @@ type OctopusConfig struct { } type OctopusApi struct { - GetUserImageList string - GetMyAlgorithmList string - GetNotebookList string - GetMydatasetList string - CreateImage string - DeleteImage string - + GetUserImageList string + GetMyAlgorithmList string + GetNotebookList string + GetMydatasetList string + CreateImage string + DeleteImage string CreateDataSet string DeleteDataSet string GetAlgorithmApplyList string @@ -40,4 +39,11 @@ type OctopusApi struct { DeleteDataSetVersion string GetDatasetVersionList string DeleteNotebook string + StartNotebook string + StopNotebook string + CreateNotebook string + GetNotebook string + CreateTrainJob string + GetDatasetApplyList string + GetDatasetTypeList string } diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createdatasetversionlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createdatasetversionlogic.go index a09df2f6..3764ade8 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createdatasetversionlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createdatasetversionlogic.go @@ -37,7 +37,7 @@ func (l *CreateDataSetVersionLogic) CreateDataSetVersion(in *octopus.CreateDataS _, err := req. SetHeader("Authorization", "Bearer "+token). SetPathParam("datasetId", in.DatasetId). - SetBody(in.Desc). + SetBody(in.Params). SetResult(resp). Post(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createnotebooklogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createnotebooklogic.go new file mode 100644 index 00000000..585f307e --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createnotebooklogic.go @@ -0,0 +1,47 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type CreateNotebookLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewCreateNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNotebookLogic { + return &CreateNotebookLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *CreateNotebookLogic) CreateNotebook(in *octopus.CreateNotebookReq) (*octopus.CreateNotebookResp, error) { + resp := &octopus.CreateNotebookResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.CreateNotebook + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetBody(in.Params). + SetResult(resp). + Post(reqUrl) + + if err != nil { + return nil, err + } + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createtrainjoblogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createtrainjoblogic.go new file mode 100644 index 00000000..316c2590 --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/createtrainjoblogic.go @@ -0,0 +1,48 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type CreateTrainJobLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewCreateTrainJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTrainJobLogic { + return &CreateTrainJobLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +// TrainJobService +func (l *CreateTrainJobLogic) CreateTrainJob(in *octopus.CreateTrainJobReq) (*octopus.CreateTrainJobResp, error) { + resp := &octopus.CreateTrainJobResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.CreateTrainJob + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetBody(in.Params). + SetResult(resp). + Post(reqUrl) + + if err != nil { + return nil, err + } + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getalgorithmlistlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getalgorithmlistlogic.go index c79b1c4e..b78c6561 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getalgorithmlistlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getalgorithmlistlogic.go @@ -37,8 +37,9 @@ func (l *GetAlgorithmListLogic) GetAlgorithmList(in *octopus.GetAlgorithmListReq req := tool.GetACHttpRequest() _, err := req. SetHeader("Authorization", "Bearer "+token). - SetQueryString("pageIndex=" + strconv.Itoa(int(in.PageIndex))). - SetQueryString("pageSize=" + strconv.Itoa(int(in.PageSize))). + SetQueryString("pageIndex="+strconv.Itoa(int(in.PageIndex))). + SetQueryString("pageSize="+strconv.Itoa(int(in.PageSize))). + SetPathParam("algorithmId", in.AlgorithmId). SetResult(resp). Get(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasetapplylistlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasetapplylistlogic.go new file mode 100644 index 00000000..ae57156c --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasetapplylistlogic.go @@ -0,0 +1,50 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + "strconv" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type GetDatasetApplyListLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewGetDatasetApplyListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDatasetApplyListLogic { + return &GetDatasetApplyListLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *GetDatasetApplyListLogic) GetDatasetApplyList(in *octopus.GetDatasetApplyListReq) (*octopus.GetDatasetApplyListResp, error) { + resp := &octopus.GetDatasetApplyListResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.GetDatasetApplyList + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetQueryString("pageIndex=" + strconv.Itoa(int(in.PageIndex))). + SetQueryString("pageSize=" + strconv.Itoa(int(in.PageSize))). + SetResult(resp). + Get(reqUrl) + + if err != nil { + return nil, err + } + + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasettypelistlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasettypelistlogic.go new file mode 100644 index 00000000..5dcb148d --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getdatasettypelistlogic.go @@ -0,0 +1,50 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + "strconv" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type GetDatasetTypeListLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewGetDatasetTypeListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDatasetTypeListLogic { + return &GetDatasetTypeListLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *GetDatasetTypeListLogic) GetDatasetTypeList(in *octopus.GetDatasetTypeListRep) (*octopus.GetDatasetTypeListResp, error) { + resp := &octopus.GetDatasetTypeListResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.GetDatasetTypeList + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetQueryString("pageIndex=" + strconv.Itoa(int(in.PageIndex))). + SetQueryString("pageSize=" + strconv.Itoa(int(in.PageSize))). + SetResult(resp). + Get(reqUrl) + + if err != nil { + return nil, err + } + + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getnotebooklogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getnotebooklogic.go new file mode 100644 index 00000000..3e893d8f --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/getnotebooklogic.go @@ -0,0 +1,47 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type GetNotebookLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewGetNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNotebookLogic { + return &GetNotebookLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *GetNotebookLogic) GetNotebook(in *octopus.GetNotebookReq) (*octopus.GetNotebookResp, error) { + resp := &octopus.GetNotebookResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.GetNotebook + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetPathParam("id", in.Id). + SetResult(resp). + Get(reqUrl) + + if err != nil { + return nil, err + } + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/startnotebooklogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/startnotebooklogic.go new file mode 100644 index 00000000..cb179912 --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/startnotebooklogic.go @@ -0,0 +1,47 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type StartNotebookLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewStartNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StartNotebookLogic { + return &StartNotebookLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *StartNotebookLogic) StartNotebook(in *octopus.StartNotebookReq) (*octopus.StartNotebookResp, error) { + resp := &octopus.StartNotebookResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.StartNotebook + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetPathParam("id", in.Id). + SetResult(resp). + Post(reqUrl) + + if err != nil { + return nil, err + } + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/stopnotebooklogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/stopnotebooklogic.go new file mode 100644 index 00000000..4d6646fa --- /dev/null +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/stopnotebooklogic.go @@ -0,0 +1,47 @@ +package logic + +import ( + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/common" + "PCM/common/tool" + "context" + + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/svc" + "PCM/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus" + + "github.com/zeromicro/go-zero/core/logx" +) + +type StopNotebookLogic struct { + ctx context.Context + svcCtx *svc.ServiceContext + logx.Logger +} + +func NewStopNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StopNotebookLogic { + return &StopNotebookLogic{ + ctx: ctx, + svcCtx: svcCtx, + Logger: logx.WithContext(ctx), + } +} + +func (l *StopNotebookLogic) StopNotebook(in *octopus.StopNotebookReq) (*octopus.StopNotebookResp, error) { + resp := &octopus.StopNotebookResp{} + + var url_prefix = common.OctopusUrls[in.Platform] + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.StopNotebook + + token := common.GetToken(in.Platform) + + req := tool.GetACHttpRequest() + _, err := req. + SetHeader("Authorization", "Bearer "+token). + SetPathParam("id", in.Id). + SetResult(resp). + Post(reqUrl) + + if err != nil { + return nil, err + } + return resp, nil +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmconfirmlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmconfirmlogic.go index 1d72f656..f648062d 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmconfirmlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmconfirmlogic.go @@ -38,7 +38,7 @@ func (l *UploadAlgorithmConfirmLogic) UploadAlgorithmConfirm(in *octopus.UploadA SetHeader("Authorization", "Bearer "+token). SetPathParam("algorithmId", in.AlgorithmId). SetPathParam("version", in.Version). - SetBody(in.FileName). + SetBody(in.Params). SetResult(resp). Put(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmlogic.go index d05266d2..186011d2 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadalgorithmlogic.go @@ -38,7 +38,7 @@ func (l *UploadAlgorithmLogic) UploadAlgorithm(in *octopus.UploadAlgorithmReq) ( SetHeader("Authorization", "Bearer "+token). SetPathParam("algorithmId", in.AlgorithmId). SetPathParam("version", in.Version). - SetBody(in.UploadAlgorithmParam). + SetBody(in.Params). SetResult(resp). Post(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetconfirmlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetconfirmlogic.go index e8de33ec..1173f2f2 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetconfirmlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetconfirmlogic.go @@ -29,7 +29,7 @@ func (l *UploadDataSetConfirmLogic) UploadDataSetConfirm(in *octopus.UploadDataS resp := &octopus.UploadDataSetConfirmResp{} var url_prefix = common.OctopusUrls[in.Platform] - var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.UploadAlgorithmConfirm + var reqUrl = url_prefix + l.svcCtx.Config.OctopusApi.UploadDataSetConfirm token := common.GetToken(in.Platform) @@ -38,7 +38,7 @@ func (l *UploadDataSetConfirmLogic) UploadDataSetConfirm(in *octopus.UploadDataS SetHeader("Authorization", "Bearer "+token). SetPathParam("datasetId", in.DatasetId). SetPathParam("version", in.Version). - SetBody(in.FileName). + SetBody(in.Params). SetResult(resp). Put(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetlogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetlogic.go index ef2e639b..4dea8b20 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetlogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploaddatasetlogic.go @@ -38,7 +38,7 @@ func (l *UploadDataSetLogic) UploadDataSet(in *octopus.UploadDataSetReq) (*octop SetHeader("Authorization", "Bearer "+token). SetPathParam("datasetId", in.DatasetId). SetPathParam("version", in.Version). - SetBody(in.UploadDataSetParam). + SetBody(in.Params). SetResult(resp). Post(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadimagelogic.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadimagelogic.go index 691df369..1340962e 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadimagelogic.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/logic/uploadimagelogic.go @@ -37,7 +37,7 @@ func (l *UploadImageLogic) UploadImage(in *octopus.UploadImageReq) (*octopus.Upl _, err := req. SetHeader("Authorization", "Bearer "+token). SetPathParam("imageId", in.ImageId). - SetBody(in.UploadImageParam). + SetBody(in.Params). SetResult(resp). Post(reqUrl) diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/server/octopusserver.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/server/octopusserver.go index 5aec497b..02bca155 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/server/octopusserver.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/internal/server/octopusserver.go @@ -124,17 +124,47 @@ func (s *OctopusServer) DeleteDataSetVersion(ctx context.Context, in *octopus.De return l.DeleteDataSetVersion(in) } -// ModelDeployService +func (s *OctopusServer) GetDatasetApplyList(ctx context.Context, in *octopus.GetDatasetApplyListReq) (*octopus.GetDatasetApplyListResp, error) { + l := logic.NewGetDatasetApplyListLogic(ctx, s.svcCtx) + return l.GetDatasetApplyList(in) +} + +func (s *OctopusServer) GetDatasetTypeList(ctx context.Context, in *octopus.GetDatasetTypeListRep) (*octopus.GetDatasetTypeListResp, error) { + l := logic.NewGetDatasetTypeListLogic(ctx, s.svcCtx) + return l.GetDatasetTypeList(in) +} + +// Develop func (s *OctopusServer) GetNotebookList(ctx context.Context, in *octopus.GetNotebookListReq) (*octopus.GetNotebookListResp, error) { l := logic.NewGetNotebookListLogic(ctx, s.svcCtx) return l.GetNotebookList(in) } +func (s *OctopusServer) GetNotebook(ctx context.Context, in *octopus.GetNotebookReq) (*octopus.GetNotebookResp, error) { + l := logic.NewGetNotebookLogic(ctx, s.svcCtx) + return l.GetNotebook(in) +} + func (s *OctopusServer) DeleteNotebook(ctx context.Context, in *octopus.DeleteNotebookReq) (*octopus.DeleteNotebookResp, error) { l := logic.NewDeleteNotebookLogic(ctx, s.svcCtx) return l.DeleteNotebook(in) } +func (s *OctopusServer) CreateNotebook(ctx context.Context, in *octopus.CreateNotebookReq) (*octopus.CreateNotebookResp, error) { + l := logic.NewCreateNotebookLogic(ctx, s.svcCtx) + return l.CreateNotebook(in) +} + +func (s *OctopusServer) StartNotebook(ctx context.Context, in *octopus.StartNotebookReq) (*octopus.StartNotebookResp, error) { + l := logic.NewStartNotebookLogic(ctx, s.svcCtx) + return l.StartNotebook(in) +} + +func (s *OctopusServer) StopNotebook(ctx context.Context, in *octopus.StopNotebookReq) (*octopus.StopNotebookResp, error) { + l := logic.NewStopNotebookLogic(ctx, s.svcCtx) + return l.StopNotebook(in) +} + // ImageService func (s *OctopusServer) GetUserImageList(ctx context.Context, in *octopus.GetUserImageListReq) (*octopus.GetUserImageListResp, error) { l := logic.NewGetUserImageListLogic(ctx, s.svcCtx) @@ -160,3 +190,9 @@ func (s *OctopusServer) UploadImageConfirm(ctx context.Context, in *octopus.Uplo l := logic.NewUploadImageConfirmLogic(ctx, s.svcCtx) return l.UploadImageConfirm(in) } + +// TrainJobService +func (s *OctopusServer) CreateTrainJob(ctx context.Context, in *octopus.CreateTrainJobReq) (*octopus.CreateTrainJobResp, error) { + l := logic.NewCreateTrainJobLogic(ctx, s.svcCtx) + return l.CreateTrainJob(in) +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus.pb.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus.pb.go index 3ce886f3..cebaa9e4 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus.pb.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus.pb.go @@ -24,6 +24,8 @@ type ResourceReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` } func (x *ResourceReq) Reset() { @@ -58,6 +60,13 @@ func (*ResourceReq) Descriptor() ([]byte, []int) { return file_octopus_proto_rawDescGZIP(), []int{0} } +func (x *ResourceReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + type CpResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -583,10 +592,10 @@ type UploadAlgorithmReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - AlgorithmId string `protobuf:"bytes,2,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - UploadAlgorithmParam *UploadAlgorithmParam `protobuf:"bytes,4,opt,name=uploadAlgorithmParam,proto3" json:"uploadAlgorithmParam,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + AlgorithmId string `protobuf:"bytes,2,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Params *UploadAlgorithmParam `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` } func (x *UploadAlgorithmReq) Reset() { @@ -642,9 +651,9 @@ func (x *UploadAlgorithmReq) GetVersion() string { return "" } -func (x *UploadAlgorithmReq) GetUploadAlgorithmParam() *UploadAlgorithmParam { +func (x *UploadAlgorithmReq) GetParams() *UploadAlgorithmParam { if x != nil { - return x.UploadAlgorithmParam + return x.Params } return nil } @@ -819,10 +828,10 @@ type UploadAlgorithmConfirmReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - AlgorithmId string `protobuf:"bytes,2,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + AlgorithmId string `protobuf:"bytes,2,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Params *UploadAlgorithmConfirmParam `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` } func (x *UploadAlgorithmConfirmReq) Reset() { @@ -878,7 +887,54 @@ func (x *UploadAlgorithmConfirmReq) GetVersion() string { return "" } -func (x *UploadAlgorithmConfirmReq) GetFileName() string { +func (x *UploadAlgorithmConfirmReq) GetParams() *UploadAlgorithmConfirmParam { + if x != nil { + return x.Params + } + return nil +} + +type UploadAlgorithmConfirmParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` +} + +func (x *UploadAlgorithmConfirmParam) Reset() { + *x = UploadAlgorithmConfirmParam{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadAlgorithmConfirmParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadAlgorithmConfirmParam) ProtoMessage() {} + +func (x *UploadAlgorithmConfirmParam) ProtoReflect() protoreflect.Message { + mi := &file_octopus_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 UploadAlgorithmConfirmParam.ProtoReflect.Descriptor instead. +func (*UploadAlgorithmConfirmParam) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{15} +} + +func (x *UploadAlgorithmConfirmParam) GetFileName() string { if x != nil { return x.FileName } @@ -898,7 +954,7 @@ type UploadAlgorithmConfirmResp struct { func (x *UploadAlgorithmConfirmResp) Reset() { *x = UploadAlgorithmConfirmResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[15] + mi := &file_octopus_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -911,7 +967,7 @@ func (x *UploadAlgorithmConfirmResp) String() string { func (*UploadAlgorithmConfirmResp) ProtoMessage() {} func (x *UploadAlgorithmConfirmResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[15] + mi := &file_octopus_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -924,7 +980,7 @@ func (x *UploadAlgorithmConfirmResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadAlgorithmConfirmResp.ProtoReflect.Descriptor instead. func (*UploadAlgorithmConfirmResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{15} + return file_octopus_proto_rawDescGZIP(), []int{16} } func (x *UploadAlgorithmConfirmResp) GetSuccess() bool { @@ -959,7 +1015,7 @@ type PayloadUploadAlgorithmConfirm struct { func (x *PayloadUploadAlgorithmConfirm) Reset() { *x = PayloadUploadAlgorithmConfirm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[16] + mi := &file_octopus_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -972,7 +1028,7 @@ func (x *PayloadUploadAlgorithmConfirm) String() string { func (*PayloadUploadAlgorithmConfirm) ProtoMessage() {} func (x *PayloadUploadAlgorithmConfirm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[16] + mi := &file_octopus_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -985,7 +1041,7 @@ func (x *PayloadUploadAlgorithmConfirm) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUploadAlgorithmConfirm.ProtoReflect.Descriptor instead. func (*PayloadUploadAlgorithmConfirm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{16} + return file_octopus_proto_rawDescGZIP(), []int{17} } func (x *PayloadUploadAlgorithmConfirm) GetUpdatedAt() int64 { @@ -1000,15 +1056,16 @@ type GetAlgorithmListReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` - PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + AlgorithmId string `protobuf:"bytes,2,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` + PageIndex int32 `protobuf:"varint,3,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` } func (x *GetAlgorithmListReq) Reset() { *x = GetAlgorithmListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[17] + mi := &file_octopus_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1021,7 +1078,7 @@ func (x *GetAlgorithmListReq) String() string { func (*GetAlgorithmListReq) ProtoMessage() {} func (x *GetAlgorithmListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[17] + mi := &file_octopus_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1034,7 +1091,7 @@ func (x *GetAlgorithmListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmListReq.ProtoReflect.Descriptor instead. func (*GetAlgorithmListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{17} + return file_octopus_proto_rawDescGZIP(), []int{18} } func (x *GetAlgorithmListReq) GetPlatform() string { @@ -1044,6 +1101,13 @@ func (x *GetAlgorithmListReq) GetPlatform() string { return "" } +func (x *GetAlgorithmListReq) GetAlgorithmId() string { + if x != nil { + return x.AlgorithmId + } + return "" +} + func (x *GetAlgorithmListReq) GetPageIndex() int32 { if x != nil { return x.PageIndex @@ -1071,7 +1135,7 @@ type GetAlgorithmListResp struct { func (x *GetAlgorithmListResp) Reset() { *x = GetAlgorithmListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[18] + mi := &file_octopus_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1084,7 +1148,7 @@ func (x *GetAlgorithmListResp) String() string { func (*GetAlgorithmListResp) ProtoMessage() {} func (x *GetAlgorithmListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[18] + mi := &file_octopus_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1097,7 +1161,7 @@ func (x *GetAlgorithmListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmListResp.ProtoReflect.Descriptor instead. func (*GetAlgorithmListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{18} + return file_octopus_proto_rawDescGZIP(), []int{19} } func (x *GetAlgorithmListResp) GetSuccess() bool { @@ -1133,7 +1197,7 @@ type PayloadAlgorithmList struct { func (x *PayloadAlgorithmList) Reset() { *x = PayloadAlgorithmList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[19] + mi := &file_octopus_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1146,7 +1210,7 @@ func (x *PayloadAlgorithmList) String() string { func (*PayloadAlgorithmList) ProtoMessage() {} func (x *PayloadAlgorithmList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[19] + mi := &file_octopus_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1159,7 +1223,7 @@ func (x *PayloadAlgorithmList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadAlgorithmList.ProtoReflect.Descriptor instead. func (*PayloadAlgorithmList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{19} + return file_octopus_proto_rawDescGZIP(), []int{20} } func (x *PayloadAlgorithmList) GetTotalSize() int32 { @@ -1188,7 +1252,7 @@ type AlgorithmDetail struct { func (x *AlgorithmDetail) Reset() { *x = AlgorithmDetail{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[20] + mi := &file_octopus_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1201,7 +1265,7 @@ func (x *AlgorithmDetail) String() string { func (*AlgorithmDetail) ProtoMessage() {} func (x *AlgorithmDetail) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[20] + mi := &file_octopus_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1214,7 +1278,7 @@ func (x *AlgorithmDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use AlgorithmDetail.ProtoReflect.Descriptor instead. func (*AlgorithmDetail) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{20} + return file_octopus_proto_rawDescGZIP(), []int{21} } func (x *AlgorithmDetail) GetAlgorithmDetail() *Algorithms { @@ -1244,7 +1308,7 @@ type GetMyAlgorithmListReq struct { func (x *GetMyAlgorithmListReq) Reset() { *x = GetMyAlgorithmListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[21] + mi := &file_octopus_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1257,7 +1321,7 @@ func (x *GetMyAlgorithmListReq) String() string { func (*GetMyAlgorithmListReq) ProtoMessage() {} func (x *GetMyAlgorithmListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[21] + mi := &file_octopus_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1270,7 +1334,7 @@ func (x *GetMyAlgorithmListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMyAlgorithmListReq.ProtoReflect.Descriptor instead. func (*GetMyAlgorithmListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{21} + return file_octopus_proto_rawDescGZIP(), []int{22} } func (x *GetMyAlgorithmListReq) GetPlatform() string { @@ -1307,7 +1371,7 @@ type GetMyAlgorithmListResp struct { func (x *GetMyAlgorithmListResp) Reset() { *x = GetMyAlgorithmListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[22] + mi := &file_octopus_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1320,7 +1384,7 @@ func (x *GetMyAlgorithmListResp) String() string { func (*GetMyAlgorithmListResp) ProtoMessage() {} func (x *GetMyAlgorithmListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[22] + mi := &file_octopus_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1333,7 +1397,7 @@ func (x *GetMyAlgorithmListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMyAlgorithmListResp.ProtoReflect.Descriptor instead. func (*GetMyAlgorithmListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{22} + return file_octopus_proto_rawDescGZIP(), []int{23} } func (x *GetMyAlgorithmListResp) GetSuccess() bool { @@ -1369,7 +1433,7 @@ type PayloadMyAlgorithmList struct { func (x *PayloadMyAlgorithmList) Reset() { *x = PayloadMyAlgorithmList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[23] + mi := &file_octopus_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1382,7 +1446,7 @@ func (x *PayloadMyAlgorithmList) String() string { func (*PayloadMyAlgorithmList) ProtoMessage() {} func (x *PayloadMyAlgorithmList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[23] + mi := &file_octopus_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1395,7 +1459,7 @@ func (x *PayloadMyAlgorithmList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadMyAlgorithmList.ProtoReflect.Descriptor instead. func (*PayloadMyAlgorithmList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{23} + return file_octopus_proto_rawDescGZIP(), []int{24} } func (x *PayloadMyAlgorithmList) GetTotalSize() int32 { @@ -1440,7 +1504,7 @@ type Algorithms struct { func (x *Algorithms) Reset() { *x = Algorithms{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[24] + mi := &file_octopus_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1453,7 +1517,7 @@ func (x *Algorithms) String() string { func (*Algorithms) ProtoMessage() {} func (x *Algorithms) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[24] + mi := &file_octopus_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1466,7 +1530,7 @@ func (x *Algorithms) ProtoReflect() protoreflect.Message { // Deprecated: Use Algorithms.ProtoReflect.Descriptor instead. func (*Algorithms) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{24} + return file_octopus_proto_rawDescGZIP(), []int{25} } func (x *Algorithms) GetAlgorithmId() string { @@ -1608,7 +1672,7 @@ type GetAlgorithmApplyListReq struct { func (x *GetAlgorithmApplyListReq) Reset() { *x = GetAlgorithmApplyListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[25] + mi := &file_octopus_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1621,7 +1685,7 @@ func (x *GetAlgorithmApplyListReq) String() string { func (*GetAlgorithmApplyListReq) ProtoMessage() {} func (x *GetAlgorithmApplyListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[25] + mi := &file_octopus_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1634,7 +1698,7 @@ func (x *GetAlgorithmApplyListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmApplyListReq.ProtoReflect.Descriptor instead. func (*GetAlgorithmApplyListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{25} + return file_octopus_proto_rawDescGZIP(), []int{26} } func (x *GetAlgorithmApplyListReq) GetPlatform() string { @@ -1671,7 +1735,7 @@ type GetAlgorithmApplyListResp struct { func (x *GetAlgorithmApplyListResp) Reset() { *x = GetAlgorithmApplyListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[26] + mi := &file_octopus_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1684,7 +1748,7 @@ func (x *GetAlgorithmApplyListResp) String() string { func (*GetAlgorithmApplyListResp) ProtoMessage() {} func (x *GetAlgorithmApplyListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[26] + mi := &file_octopus_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1697,7 +1761,7 @@ func (x *GetAlgorithmApplyListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmApplyListResp.ProtoReflect.Descriptor instead. func (*GetAlgorithmApplyListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{26} + return file_octopus_proto_rawDescGZIP(), []int{27} } func (x *GetAlgorithmApplyListResp) GetSuccess() bool { @@ -1733,7 +1797,7 @@ type PayloadGetAlgorithmApplyList struct { func (x *PayloadGetAlgorithmApplyList) Reset() { *x = PayloadGetAlgorithmApplyList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[27] + mi := &file_octopus_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1746,7 +1810,7 @@ func (x *PayloadGetAlgorithmApplyList) String() string { func (*PayloadGetAlgorithmApplyList) ProtoMessage() {} func (x *PayloadGetAlgorithmApplyList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[27] + mi := &file_octopus_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1759,7 +1823,7 @@ func (x *PayloadGetAlgorithmApplyList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadGetAlgorithmApplyList.ProtoReflect.Descriptor instead. func (*PayloadGetAlgorithmApplyList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{27} + return file_octopus_proto_rawDescGZIP(), []int{28} } func (x *PayloadGetAlgorithmApplyList) GetTotalSize() int32 { @@ -1789,7 +1853,7 @@ type GetAlgorithmFrameworkListReq struct { func (x *GetAlgorithmFrameworkListReq) Reset() { *x = GetAlgorithmFrameworkListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[28] + mi := &file_octopus_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1802,7 +1866,7 @@ func (x *GetAlgorithmFrameworkListReq) String() string { func (*GetAlgorithmFrameworkListReq) ProtoMessage() {} func (x *GetAlgorithmFrameworkListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[28] + mi := &file_octopus_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1815,7 +1879,7 @@ func (x *GetAlgorithmFrameworkListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmFrameworkListReq.ProtoReflect.Descriptor instead. func (*GetAlgorithmFrameworkListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{28} + return file_octopus_proto_rawDescGZIP(), []int{29} } func (x *GetAlgorithmFrameworkListReq) GetPlatform() string { @@ -1852,7 +1916,7 @@ type GetAlgorithmFrameworkListResp struct { func (x *GetAlgorithmFrameworkListResp) Reset() { *x = GetAlgorithmFrameworkListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[29] + mi := &file_octopus_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1865,7 +1929,7 @@ func (x *GetAlgorithmFrameworkListResp) String() string { func (*GetAlgorithmFrameworkListResp) ProtoMessage() {} func (x *GetAlgorithmFrameworkListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[29] + mi := &file_octopus_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1878,7 +1942,7 @@ func (x *GetAlgorithmFrameworkListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAlgorithmFrameworkListResp.ProtoReflect.Descriptor instead. func (*GetAlgorithmFrameworkListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{29} + return file_octopus_proto_rawDescGZIP(), []int{30} } func (x *GetAlgorithmFrameworkListResp) GetSuccess() bool { @@ -1914,7 +1978,7 @@ type PayloadAlgorithmFrameworkList struct { func (x *PayloadAlgorithmFrameworkList) Reset() { *x = PayloadAlgorithmFrameworkList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[30] + mi := &file_octopus_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1927,7 +1991,7 @@ func (x *PayloadAlgorithmFrameworkList) String() string { func (*PayloadAlgorithmFrameworkList) ProtoMessage() {} func (x *PayloadAlgorithmFrameworkList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[30] + mi := &file_octopus_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1940,7 +2004,7 @@ func (x *PayloadAlgorithmFrameworkList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadAlgorithmFrameworkList.ProtoReflect.Descriptor instead. func (*PayloadAlgorithmFrameworkList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{30} + return file_octopus_proto_rawDescGZIP(), []int{31} } func (x *PayloadAlgorithmFrameworkList) GetTotalSize() int32 { @@ -1970,7 +2034,7 @@ type Lables struct { func (x *Lables) Reset() { *x = Lables{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[31] + mi := &file_octopus_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1983,7 +2047,7 @@ func (x *Lables) String() string { func (*Lables) ProtoMessage() {} func (x *Lables) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[31] + mi := &file_octopus_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1996,7 +2060,7 @@ func (x *Lables) ProtoReflect() protoreflect.Message { // Deprecated: Use Lables.ProtoReflect.Descriptor instead. func (*Lables) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{31} + return file_octopus_proto_rawDescGZIP(), []int{32} } func (x *Lables) GetId() string { @@ -2032,7 +2096,7 @@ type DeleteMyAlgorithmReq struct { func (x *DeleteMyAlgorithmReq) Reset() { *x = DeleteMyAlgorithmReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[32] + mi := &file_octopus_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2045,7 +2109,7 @@ func (x *DeleteMyAlgorithmReq) String() string { func (*DeleteMyAlgorithmReq) ProtoMessage() {} func (x *DeleteMyAlgorithmReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[32] + mi := &file_octopus_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2058,7 +2122,7 @@ func (x *DeleteMyAlgorithmReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMyAlgorithmReq.ProtoReflect.Descriptor instead. func (*DeleteMyAlgorithmReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{32} + return file_octopus_proto_rawDescGZIP(), []int{33} } func (x *DeleteMyAlgorithmReq) GetPlatform() string { @@ -2088,7 +2152,7 @@ type DeleteMyAlgorithmResp struct { func (x *DeleteMyAlgorithmResp) Reset() { *x = DeleteMyAlgorithmResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[33] + mi := &file_octopus_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2101,7 +2165,7 @@ func (x *DeleteMyAlgorithmResp) String() string { func (*DeleteMyAlgorithmResp) ProtoMessage() {} func (x *DeleteMyAlgorithmResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[33] + mi := &file_octopus_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2114,7 +2178,7 @@ func (x *DeleteMyAlgorithmResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMyAlgorithmResp.ProtoReflect.Descriptor instead. func (*DeleteMyAlgorithmResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{33} + return file_octopus_proto_rawDescGZIP(), []int{34} } func (x *DeleteMyAlgorithmResp) GetSuccess() bool { @@ -2149,7 +2213,7 @@ type PayloadDeleteMyAlgorithm struct { func (x *PayloadDeleteMyAlgorithm) Reset() { *x = PayloadDeleteMyAlgorithm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[34] + mi := &file_octopus_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2162,7 +2226,7 @@ func (x *PayloadDeleteMyAlgorithm) String() string { func (*PayloadDeleteMyAlgorithm) ProtoMessage() {} func (x *PayloadDeleteMyAlgorithm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[34] + mi := &file_octopus_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2175,7 +2239,7 @@ func (x *PayloadDeleteMyAlgorithm) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadDeleteMyAlgorithm.ProtoReflect.Descriptor instead. func (*PayloadDeleteMyAlgorithm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{34} + return file_octopus_proto_rawDescGZIP(), []int{35} } func (x *PayloadDeleteMyAlgorithm) GetDeletedAt() int64 { @@ -2197,7 +2261,7 @@ type CreateMyAlgorithmReq struct { func (x *CreateMyAlgorithmReq) Reset() { *x = CreateMyAlgorithmReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[35] + mi := &file_octopus_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2210,7 +2274,7 @@ func (x *CreateMyAlgorithmReq) String() string { func (*CreateMyAlgorithmReq) ProtoMessage() {} func (x *CreateMyAlgorithmReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[35] + mi := &file_octopus_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2223,7 +2287,7 @@ func (x *CreateMyAlgorithmReq) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateMyAlgorithmReq.ProtoReflect.Descriptor instead. func (*CreateMyAlgorithmReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{35} + return file_octopus_proto_rawDescGZIP(), []int{36} } func (x *CreateMyAlgorithmReq) GetPlatform() string { @@ -2253,7 +2317,7 @@ type CreateMyAlgorithmResp struct { func (x *CreateMyAlgorithmResp) Reset() { *x = CreateMyAlgorithmResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[36] + mi := &file_octopus_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2266,7 +2330,7 @@ func (x *CreateMyAlgorithmResp) String() string { func (*CreateMyAlgorithmResp) ProtoMessage() {} func (x *CreateMyAlgorithmResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[36] + mi := &file_octopus_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2279,7 +2343,7 @@ func (x *CreateMyAlgorithmResp) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateMyAlgorithmResp.ProtoReflect.Descriptor instead. func (*CreateMyAlgorithmResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{36} + return file_octopus_proto_rawDescGZIP(), []int{37} } func (x *CreateMyAlgorithmResp) GetSuccess() bool { @@ -2319,7 +2383,7 @@ type CreateMyAlgorithm struct { func (x *CreateMyAlgorithm) Reset() { *x = CreateMyAlgorithm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[37] + mi := &file_octopus_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2332,7 +2396,7 @@ func (x *CreateMyAlgorithm) String() string { func (*CreateMyAlgorithm) ProtoMessage() {} func (x *CreateMyAlgorithm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[37] + mi := &file_octopus_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2345,7 +2409,7 @@ func (x *CreateMyAlgorithm) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateMyAlgorithm.ProtoReflect.Descriptor instead. func (*CreateMyAlgorithm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{37} + return file_octopus_proto_rawDescGZIP(), []int{38} } func (x *CreateMyAlgorithm) GetAlgorithmDescript() string { @@ -2403,7 +2467,7 @@ type PayloadCreateMyAlgorithm struct { func (x *PayloadCreateMyAlgorithm) Reset() { *x = PayloadCreateMyAlgorithm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[38] + mi := &file_octopus_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2416,7 +2480,7 @@ func (x *PayloadCreateMyAlgorithm) String() string { func (*PayloadCreateMyAlgorithm) ProtoMessage() {} func (x *PayloadCreateMyAlgorithm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[38] + mi := &file_octopus_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2429,7 +2493,7 @@ func (x *PayloadCreateMyAlgorithm) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadCreateMyAlgorithm.ProtoReflect.Descriptor instead. func (*PayloadCreateMyAlgorithm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{38} + return file_octopus_proto_rawDescGZIP(), []int{39} } func (x *PayloadCreateMyAlgorithm) GetAlgorithmId() string { @@ -2468,7 +2532,7 @@ type GetDatasetVersionListReq struct { func (x *GetDatasetVersionListReq) Reset() { *x = GetDatasetVersionListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[39] + mi := &file_octopus_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2481,7 +2545,7 @@ func (x *GetDatasetVersionListReq) String() string { func (*GetDatasetVersionListReq) ProtoMessage() {} func (x *GetDatasetVersionListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[39] + mi := &file_octopus_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2494,7 +2558,7 @@ func (x *GetDatasetVersionListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetDatasetVersionListReq.ProtoReflect.Descriptor instead. func (*GetDatasetVersionListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{39} + return file_octopus_proto_rawDescGZIP(), []int{40} } func (x *GetDatasetVersionListReq) GetPlatform() string { @@ -2538,7 +2602,7 @@ type GetDatasetVersionListResp struct { func (x *GetDatasetVersionListResp) Reset() { *x = GetDatasetVersionListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[40] + mi := &file_octopus_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2551,7 +2615,7 @@ func (x *GetDatasetVersionListResp) String() string { func (*GetDatasetVersionListResp) ProtoMessage() {} func (x *GetDatasetVersionListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[40] + mi := &file_octopus_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2564,7 +2628,7 @@ func (x *GetDatasetVersionListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetDatasetVersionListResp.ProtoReflect.Descriptor instead. func (*GetDatasetVersionListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{40} + return file_octopus_proto_rawDescGZIP(), []int{41} } func (x *GetDatasetVersionListResp) GetSuccess() bool { @@ -2600,7 +2664,7 @@ type PayloadGetDatasetVersion struct { func (x *PayloadGetDatasetVersion) Reset() { *x = PayloadGetDatasetVersion{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[41] + mi := &file_octopus_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2613,7 +2677,7 @@ func (x *PayloadGetDatasetVersion) String() string { func (*PayloadGetDatasetVersion) ProtoMessage() {} func (x *PayloadGetDatasetVersion) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[41] + mi := &file_octopus_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2626,7 +2690,7 @@ func (x *PayloadGetDatasetVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadGetDatasetVersion.ProtoReflect.Descriptor instead. func (*PayloadGetDatasetVersion) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{41} + return file_octopus_proto_rawDescGZIP(), []int{42} } func (x *PayloadGetDatasetVersion) GetTotalSize() int32 { @@ -2660,7 +2724,7 @@ type DatasetVersion struct { func (x *DatasetVersion) Reset() { *x = DatasetVersion{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[42] + mi := &file_octopus_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2673,7 +2737,7 @@ func (x *DatasetVersion) String() string { func (*DatasetVersion) ProtoMessage() {} func (x *DatasetVersion) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[42] + mi := &file_octopus_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2686,7 +2750,7 @@ func (x *DatasetVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use DatasetVersion.ProtoReflect.Descriptor instead. func (*DatasetVersion) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{42} + return file_octopus_proto_rawDescGZIP(), []int{43} } func (x *DatasetVersion) GetCreatedAt() int64 { @@ -2750,7 +2814,7 @@ type CreateDataSetReq struct { func (x *CreateDataSetReq) Reset() { *x = CreateDataSetReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[43] + mi := &file_octopus_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2763,7 +2827,7 @@ func (x *CreateDataSetReq) String() string { func (*CreateDataSetReq) ProtoMessage() {} func (x *CreateDataSetReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[43] + mi := &file_octopus_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2776,7 +2840,7 @@ func (x *CreateDataSetReq) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDataSetReq.ProtoReflect.Descriptor instead. func (*CreateDataSetReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{43} + return file_octopus_proto_rawDescGZIP(), []int{44} } func (x *CreateDataSetReq) GetPlatform() string { @@ -2806,7 +2870,7 @@ type CreateDataSetResp struct { func (x *CreateDataSetResp) Reset() { *x = CreateDataSetResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[44] + mi := &file_octopus_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2819,7 +2883,7 @@ func (x *CreateDataSetResp) String() string { func (*CreateDataSetResp) ProtoMessage() {} func (x *CreateDataSetResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[44] + mi := &file_octopus_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2832,7 +2896,7 @@ func (x *CreateDataSetResp) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDataSetResp.ProtoReflect.Descriptor instead. func (*CreateDataSetResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{44} + return file_octopus_proto_rawDescGZIP(), []int{45} } func (x *CreateDataSetResp) GetSuccess() bool { @@ -2870,7 +2934,7 @@ type CreateDataSet struct { func (x *CreateDataSet) Reset() { *x = CreateDataSet{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[45] + mi := &file_octopus_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2883,7 +2947,7 @@ func (x *CreateDataSet) String() string { func (*CreateDataSet) ProtoMessage() {} func (x *CreateDataSet) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[45] + mi := &file_octopus_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2896,7 +2960,7 @@ func (x *CreateDataSet) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDataSet.ProtoReflect.Descriptor instead. func (*CreateDataSet) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{45} + return file_octopus_proto_rawDescGZIP(), []int{46} } func (x *CreateDataSet) GetApplyIds() []string { @@ -2939,7 +3003,7 @@ type PayloadCreateDataSet struct { func (x *PayloadCreateDataSet) Reset() { *x = PayloadCreateDataSet{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[46] + mi := &file_octopus_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2952,7 +3016,7 @@ func (x *PayloadCreateDataSet) String() string { func (*PayloadCreateDataSet) ProtoMessage() {} func (x *PayloadCreateDataSet) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[46] + mi := &file_octopus_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2965,7 +3029,7 @@ func (x *PayloadCreateDataSet) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadCreateDataSet.ProtoReflect.Descriptor instead. func (*PayloadCreateDataSet) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{46} + return file_octopus_proto_rawDescGZIP(), []int{47} } func (x *PayloadCreateDataSet) GetId() string { @@ -2995,7 +3059,7 @@ type GetMyDatasetListReq struct { func (x *GetMyDatasetListReq) Reset() { *x = GetMyDatasetListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[47] + mi := &file_octopus_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3008,7 +3072,7 @@ func (x *GetMyDatasetListReq) String() string { func (*GetMyDatasetListReq) ProtoMessage() {} func (x *GetMyDatasetListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[47] + mi := &file_octopus_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3021,7 +3085,7 @@ func (x *GetMyDatasetListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMyDatasetListReq.ProtoReflect.Descriptor instead. func (*GetMyDatasetListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{47} + return file_octopus_proto_rawDescGZIP(), []int{48} } func (x *GetMyDatasetListReq) GetPlatform() string { @@ -3058,7 +3122,7 @@ type GetMyDatasetListResp struct { func (x *GetMyDatasetListResp) Reset() { *x = GetMyDatasetListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[48] + mi := &file_octopus_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3071,7 +3135,7 @@ func (x *GetMyDatasetListResp) String() string { func (*GetMyDatasetListResp) ProtoMessage() {} func (x *GetMyDatasetListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[48] + mi := &file_octopus_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3084,7 +3148,7 @@ func (x *GetMyDatasetListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMyDatasetListResp.ProtoReflect.Descriptor instead. func (*GetMyDatasetListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{48} + return file_octopus_proto_rawDescGZIP(), []int{49} } func (x *GetMyDatasetListResp) GetSuccess() bool { @@ -3120,7 +3184,7 @@ type PayloadMyDatasetList struct { func (x *PayloadMyDatasetList) Reset() { *x = PayloadMyDatasetList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[49] + mi := &file_octopus_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3133,7 +3197,7 @@ func (x *PayloadMyDatasetList) String() string { func (*PayloadMyDatasetList) ProtoMessage() {} func (x *PayloadMyDatasetList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[49] + mi := &file_octopus_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3146,7 +3210,7 @@ func (x *PayloadMyDatasetList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadMyDatasetList.ProtoReflect.Descriptor instead. func (*PayloadMyDatasetList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{49} + return file_octopus_proto_rawDescGZIP(), []int{50} } func (x *PayloadMyDatasetList) GetTotalSize() int32 { @@ -3184,7 +3248,7 @@ type Datasets struct { func (x *Datasets) Reset() { *x = Datasets{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[50] + mi := &file_octopus_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3197,7 +3261,7 @@ func (x *Datasets) String() string { func (*Datasets) ProtoMessage() {} func (x *Datasets) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[50] + mi := &file_octopus_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3210,7 +3274,7 @@ func (x *Datasets) ProtoReflect() protoreflect.Message { // Deprecated: Use Datasets.ProtoReflect.Descriptor instead. func (*Datasets) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{50} + return file_octopus_proto_rawDescGZIP(), []int{51} } func (x *Datasets) GetCreatedAt() int64 { @@ -3302,7 +3366,7 @@ type Applies struct { func (x *Applies) Reset() { *x = Applies{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[51] + mi := &file_octopus_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3315,7 +3379,7 @@ func (x *Applies) String() string { func (*Applies) ProtoMessage() {} func (x *Applies) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[51] + mi := &file_octopus_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3328,7 +3392,7 @@ func (x *Applies) ProtoReflect() protoreflect.Message { // Deprecated: Use Applies.ProtoReflect.Descriptor instead. func (*Applies) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{51} + return file_octopus_proto_rawDescGZIP(), []int{52} } func (x *Applies) GetId() string { @@ -3357,7 +3421,7 @@ type DeleteDataSetReq struct { func (x *DeleteDataSetReq) Reset() { *x = DeleteDataSetReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[52] + mi := &file_octopus_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3370,7 +3434,7 @@ func (x *DeleteDataSetReq) String() string { func (*DeleteDataSetReq) ProtoMessage() {} func (x *DeleteDataSetReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[52] + mi := &file_octopus_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3383,7 +3447,7 @@ func (x *DeleteDataSetReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDataSetReq.ProtoReflect.Descriptor instead. func (*DeleteDataSetReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{52} + return file_octopus_proto_rawDescGZIP(), []int{53} } func (x *DeleteDataSetReq) GetPlatform() string { @@ -3413,7 +3477,7 @@ type DeleteDataSetResp struct { func (x *DeleteDataSetResp) Reset() { *x = DeleteDataSetResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[53] + mi := &file_octopus_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3426,7 +3490,7 @@ func (x *DeleteDataSetResp) String() string { func (*DeleteDataSetResp) ProtoMessage() {} func (x *DeleteDataSetResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[53] + mi := &file_octopus_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3439,7 +3503,7 @@ func (x *DeleteDataSetResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDataSetResp.ProtoReflect.Descriptor instead. func (*DeleteDataSetResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{53} + return file_octopus_proto_rawDescGZIP(), []int{54} } func (x *DeleteDataSetResp) GetSuccess() bool { @@ -3474,7 +3538,7 @@ type PayloadDeleteDataSet struct { func (x *PayloadDeleteDataSet) Reset() { *x = PayloadDeleteDataSet{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[54] + mi := &file_octopus_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3487,7 +3551,7 @@ func (x *PayloadDeleteDataSet) String() string { func (*PayloadDeleteDataSet) ProtoMessage() {} func (x *PayloadDeleteDataSet) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[54] + mi := &file_octopus_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3500,7 +3564,7 @@ func (x *PayloadDeleteDataSet) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadDeleteDataSet.ProtoReflect.Descriptor instead. func (*PayloadDeleteDataSet) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{54} + return file_octopus_proto_rawDescGZIP(), []int{55} } func (x *PayloadDeleteDataSet) GetDeletedAt() int64 { @@ -3515,16 +3579,16 @@ type UploadDataSetReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - UploadDataSetParam *UploadDataSetParam `protobuf:"bytes,4,opt,name=UploadDataSetParam,proto3" json:"UploadDataSetParam,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Params *UploadDataSetParam `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` } func (x *UploadDataSetReq) Reset() { *x = UploadDataSetReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[55] + mi := &file_octopus_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3537,7 +3601,7 @@ func (x *UploadDataSetReq) String() string { func (*UploadDataSetReq) ProtoMessage() {} func (x *UploadDataSetReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[55] + mi := &file_octopus_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3550,7 +3614,7 @@ func (x *UploadDataSetReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadDataSetReq.ProtoReflect.Descriptor instead. func (*UploadDataSetReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{55} + return file_octopus_proto_rawDescGZIP(), []int{56} } func (x *UploadDataSetReq) GetPlatform() string { @@ -3574,9 +3638,9 @@ func (x *UploadDataSetReq) GetVersion() string { return "" } -func (x *UploadDataSetReq) GetUploadDataSetParam() *UploadDataSetParam { +func (x *UploadDataSetReq) GetParams() *UploadDataSetParam { if x != nil { - return x.UploadDataSetParam + return x.Params } return nil } @@ -3593,7 +3657,7 @@ type UploadDataSetParam struct { func (x *UploadDataSetParam) Reset() { *x = UploadDataSetParam{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[56] + mi := &file_octopus_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3606,7 +3670,7 @@ func (x *UploadDataSetParam) String() string { func (*UploadDataSetParam) ProtoMessage() {} func (x *UploadDataSetParam) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[56] + mi := &file_octopus_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3619,7 +3683,7 @@ func (x *UploadDataSetParam) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadDataSetParam.ProtoReflect.Descriptor instead. func (*UploadDataSetParam) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{56} + return file_octopus_proto_rawDescGZIP(), []int{57} } func (x *UploadDataSetParam) GetDomain() string { @@ -3649,7 +3713,7 @@ type UploadDataSetResp struct { func (x *UploadDataSetResp) Reset() { *x = UploadDataSetResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[57] + mi := &file_octopus_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3662,7 +3726,7 @@ func (x *UploadDataSetResp) String() string { func (*UploadDataSetResp) ProtoMessage() {} func (x *UploadDataSetResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[57] + mi := &file_octopus_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3675,7 +3739,7 @@ func (x *UploadDataSetResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadDataSetResp.ProtoReflect.Descriptor instead. func (*UploadDataSetResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{57} + return file_octopus_proto_rawDescGZIP(), []int{58} } func (x *UploadDataSetResp) GetSuccess() bool { @@ -3710,7 +3774,7 @@ type PayloadUploadDataSet struct { func (x *PayloadUploadDataSet) Reset() { *x = PayloadUploadDataSet{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[58] + mi := &file_octopus_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3723,7 +3787,7 @@ func (x *PayloadUploadDataSet) String() string { func (*PayloadUploadDataSet) ProtoMessage() {} func (x *PayloadUploadDataSet) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[58] + mi := &file_octopus_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3736,7 +3800,7 @@ func (x *PayloadUploadDataSet) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUploadDataSet.ProtoReflect.Descriptor instead. func (*PayloadUploadDataSet) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{58} + return file_octopus_proto_rawDescGZIP(), []int{59} } func (x *PayloadUploadDataSet) GetUploadUrl() string { @@ -3751,16 +3815,16 @@ type UploadDataSetConfirmReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Params *UploadDataSetConfirmParam `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` } func (x *UploadDataSetConfirmReq) Reset() { *x = UploadDataSetConfirmReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[59] + mi := &file_octopus_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3773,7 +3837,7 @@ func (x *UploadDataSetConfirmReq) String() string { func (*UploadDataSetConfirmReq) ProtoMessage() {} func (x *UploadDataSetConfirmReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[59] + mi := &file_octopus_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3786,7 +3850,7 @@ func (x *UploadDataSetConfirmReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadDataSetConfirmReq.ProtoReflect.Descriptor instead. func (*UploadDataSetConfirmReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{59} + return file_octopus_proto_rawDescGZIP(), []int{60} } func (x *UploadDataSetConfirmReq) GetPlatform() string { @@ -3810,7 +3874,54 @@ func (x *UploadDataSetConfirmReq) GetVersion() string { return "" } -func (x *UploadDataSetConfirmReq) GetFileName() string { +func (x *UploadDataSetConfirmReq) GetParams() *UploadDataSetConfirmParam { + if x != nil { + return x.Params + } + return nil +} + +type UploadDataSetConfirmParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` +} + +func (x *UploadDataSetConfirmParam) Reset() { + *x = UploadDataSetConfirmParam{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadDataSetConfirmParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadDataSetConfirmParam) ProtoMessage() {} + +func (x *UploadDataSetConfirmParam) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[61] + 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 UploadDataSetConfirmParam.ProtoReflect.Descriptor instead. +func (*UploadDataSetConfirmParam) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{61} +} + +func (x *UploadDataSetConfirmParam) GetFileName() string { if x != nil { return x.FileName } @@ -3830,7 +3941,7 @@ type UploadDataSetConfirmResp struct { func (x *UploadDataSetConfirmResp) Reset() { *x = UploadDataSetConfirmResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[60] + mi := &file_octopus_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3843,7 +3954,7 @@ func (x *UploadDataSetConfirmResp) String() string { func (*UploadDataSetConfirmResp) ProtoMessage() {} func (x *UploadDataSetConfirmResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[60] + mi := &file_octopus_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3856,7 +3967,7 @@ func (x *UploadDataSetConfirmResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadDataSetConfirmResp.ProtoReflect.Descriptor instead. func (*UploadDataSetConfirmResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{60} + return file_octopus_proto_rawDescGZIP(), []int{62} } func (x *UploadDataSetConfirmResp) GetSuccess() bool { @@ -3891,7 +4002,7 @@ type PayloadUploadDataSetConfirm struct { func (x *PayloadUploadDataSetConfirm) Reset() { *x = PayloadUploadDataSetConfirm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[61] + mi := &file_octopus_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3904,7 +4015,7 @@ func (x *PayloadUploadDataSetConfirm) String() string { func (*PayloadUploadDataSetConfirm) ProtoMessage() {} func (x *PayloadUploadDataSetConfirm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[61] + mi := &file_octopus_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3917,7 +4028,7 @@ func (x *PayloadUploadDataSetConfirm) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUploadDataSetConfirm.ProtoReflect.Descriptor instead. func (*PayloadUploadDataSetConfirm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{61} + return file_octopus_proto_rawDescGZIP(), []int{63} } func (x *PayloadUploadDataSetConfirm) GetUpdatedAt() int64 { @@ -3932,15 +4043,15 @@ type CreateDataSetVersionReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` - Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + DatasetId string `protobuf:"bytes,2,opt,name=datasetId,proto3" json:"datasetId,omitempty"` + Params *CreateDataSetVersionParam `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` } func (x *CreateDataSetVersionReq) Reset() { *x = CreateDataSetVersionReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[62] + mi := &file_octopus_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3953,7 +4064,7 @@ func (x *CreateDataSetVersionReq) String() string { func (*CreateDataSetVersionReq) ProtoMessage() {} func (x *CreateDataSetVersionReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[62] + mi := &file_octopus_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3966,7 +4077,7 @@ func (x *CreateDataSetVersionReq) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDataSetVersionReq.ProtoReflect.Descriptor instead. func (*CreateDataSetVersionReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{62} + return file_octopus_proto_rawDescGZIP(), []int{64} } func (x *CreateDataSetVersionReq) GetPlatform() string { @@ -3983,7 +4094,54 @@ func (x *CreateDataSetVersionReq) GetDatasetId() string { return "" } -func (x *CreateDataSetVersionReq) GetDesc() string { +func (x *CreateDataSetVersionReq) GetParams() *CreateDataSetVersionParam { + if x != nil { + return x.Params + } + return nil +} + +type CreateDataSetVersionParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` +} + +func (x *CreateDataSetVersionParam) Reset() { + *x = CreateDataSetVersionParam{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDataSetVersionParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDataSetVersionParam) ProtoMessage() {} + +func (x *CreateDataSetVersionParam) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[65] + 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 CreateDataSetVersionParam.ProtoReflect.Descriptor instead. +func (*CreateDataSetVersionParam) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{65} +} + +func (x *CreateDataSetVersionParam) GetDesc() string { if x != nil { return x.Desc } @@ -4003,7 +4161,7 @@ type CreateDataSetVersionResp struct { func (x *CreateDataSetVersionResp) Reset() { *x = CreateDataSetVersionResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[63] + mi := &file_octopus_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4016,7 +4174,7 @@ func (x *CreateDataSetVersionResp) String() string { func (*CreateDataSetVersionResp) ProtoMessage() {} func (x *CreateDataSetVersionResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[63] + mi := &file_octopus_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4029,7 +4187,7 @@ func (x *CreateDataSetVersionResp) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDataSetVersionResp.ProtoReflect.Descriptor instead. func (*CreateDataSetVersionResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{63} + return file_octopus_proto_rawDescGZIP(), []int{66} } func (x *CreateDataSetVersionResp) GetSuccess() bool { @@ -4065,7 +4223,7 @@ type PayloadCreateDataSetVersion struct { func (x *PayloadCreateDataSetVersion) Reset() { *x = PayloadCreateDataSetVersion{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[64] + mi := &file_octopus_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4078,7 +4236,7 @@ func (x *PayloadCreateDataSetVersion) String() string { func (*PayloadCreateDataSetVersion) ProtoMessage() {} func (x *PayloadCreateDataSetVersion) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[64] + mi := &file_octopus_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4091,7 +4249,7 @@ func (x *PayloadCreateDataSetVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadCreateDataSetVersion.ProtoReflect.Descriptor instead. func (*PayloadCreateDataSetVersion) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{64} + return file_octopus_proto_rawDescGZIP(), []int{67} } func (x *PayloadCreateDataSetVersion) GetDatasetId() string { @@ -4121,7 +4279,7 @@ type DeleteDataSetVersionReq struct { func (x *DeleteDataSetVersionReq) Reset() { *x = DeleteDataSetVersionReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[65] + mi := &file_octopus_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4134,7 +4292,7 @@ func (x *DeleteDataSetVersionReq) String() string { func (*DeleteDataSetVersionReq) ProtoMessage() {} func (x *DeleteDataSetVersionReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[65] + mi := &file_octopus_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4147,7 +4305,7 @@ func (x *DeleteDataSetVersionReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDataSetVersionReq.ProtoReflect.Descriptor instead. func (*DeleteDataSetVersionReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{65} + return file_octopus_proto_rawDescGZIP(), []int{68} } func (x *DeleteDataSetVersionReq) GetPlatform() string { @@ -4184,7 +4342,7 @@ type DeleteDataSetVersionResp struct { func (x *DeleteDataSetVersionResp) Reset() { *x = DeleteDataSetVersionResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[66] + mi := &file_octopus_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4197,7 +4355,7 @@ func (x *DeleteDataSetVersionResp) String() string { func (*DeleteDataSetVersionResp) ProtoMessage() {} func (x *DeleteDataSetVersionResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[66] + mi := &file_octopus_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4210,7 +4368,7 @@ func (x *DeleteDataSetVersionResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDataSetVersionResp.ProtoReflect.Descriptor instead. func (*DeleteDataSetVersionResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{66} + return file_octopus_proto_rawDescGZIP(), []int{69} } func (x *DeleteDataSetVersionResp) GetSuccess() bool { @@ -4245,7 +4403,7 @@ type PayloadDeleteDataSetVersion struct { func (x *PayloadDeleteDataSetVersion) Reset() { *x = PayloadDeleteDataSetVersion{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[67] + mi := &file_octopus_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4258,7 +4416,7 @@ func (x *PayloadDeleteDataSetVersion) String() string { func (*PayloadDeleteDataSetVersion) ProtoMessage() {} func (x *PayloadDeleteDataSetVersion) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[67] + mi := &file_octopus_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4271,7 +4429,7 @@ func (x *PayloadDeleteDataSetVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadDeleteDataSetVersion.ProtoReflect.Descriptor instead. func (*PayloadDeleteDataSetVersion) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{67} + return file_octopus_proto_rawDescGZIP(), []int{70} } func (x *PayloadDeleteDataSetVersion) GetDeletedAt() int64 { @@ -4281,7 +4439,850 @@ func (x *PayloadDeleteDataSetVersion) GetDeletedAt() int64 { return 0 } +type GetDatasetApplyListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` + PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` +} + +func (x *GetDatasetApplyListReq) Reset() { + *x = GetDatasetApplyListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDatasetApplyListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDatasetApplyListReq) ProtoMessage() {} + +func (x *GetDatasetApplyListReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[71] + 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 GetDatasetApplyListReq.ProtoReflect.Descriptor instead. +func (*GetDatasetApplyListReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{71} +} + +func (x *GetDatasetApplyListReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *GetDatasetApplyListReq) GetPageIndex() int32 { + if x != nil { + return x.PageIndex + } + return 0 +} + +func (x *GetDatasetApplyListReq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +type GetDatasetApplyListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadGetDatasetApplyList `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *GetDatasetApplyListResp) Reset() { + *x = GetDatasetApplyListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDatasetApplyListResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDatasetApplyListResp) ProtoMessage() {} + +func (x *GetDatasetApplyListResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[72] + 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 GetDatasetApplyListResp.ProtoReflect.Descriptor instead. +func (*GetDatasetApplyListResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{72} +} + +func (x *GetDatasetApplyListResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *GetDatasetApplyListResp) GetPayload() *PayloadGetDatasetApplyList { + if x != nil { + return x.Payload + } + return nil +} + +func (x *GetDatasetApplyListResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadGetDatasetApplyList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalSize int32 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize,omitempty"` + Lables []*Lables `protobuf:"bytes,2,rep,name=lables,proto3" json:"lables,omitempty"` +} + +func (x *PayloadGetDatasetApplyList) Reset() { + *x = PayloadGetDatasetApplyList{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadGetDatasetApplyList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadGetDatasetApplyList) ProtoMessage() {} + +func (x *PayloadGetDatasetApplyList) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[73] + 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 PayloadGetDatasetApplyList.ProtoReflect.Descriptor instead. +func (*PayloadGetDatasetApplyList) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{73} +} + +func (x *PayloadGetDatasetApplyList) GetTotalSize() int32 { + if x != nil { + return x.TotalSize + } + return 0 +} + +func (x *PayloadGetDatasetApplyList) GetLables() []*Lables { + if x != nil { + return x.Lables + } + return nil +} + +type GetDatasetTypeListRep struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` + PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` +} + +func (x *GetDatasetTypeListRep) Reset() { + *x = GetDatasetTypeListRep{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDatasetTypeListRep) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDatasetTypeListRep) ProtoMessage() {} + +func (x *GetDatasetTypeListRep) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[74] + 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 GetDatasetTypeListRep.ProtoReflect.Descriptor instead. +func (*GetDatasetTypeListRep) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{74} +} + +func (x *GetDatasetTypeListRep) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *GetDatasetTypeListRep) GetPageIndex() int32 { + if x != nil { + return x.PageIndex + } + return 0 +} + +func (x *GetDatasetTypeListRep) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +type GetDatasetTypeListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadGetDatasetTypeList `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *GetDatasetTypeListResp) Reset() { + *x = GetDatasetTypeListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDatasetTypeListResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDatasetTypeListResp) ProtoMessage() {} + +func (x *GetDatasetTypeListResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[75] + 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 GetDatasetTypeListResp.ProtoReflect.Descriptor instead. +func (*GetDatasetTypeListResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{75} +} + +func (x *GetDatasetTypeListResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *GetDatasetTypeListResp) GetPayload() *PayloadGetDatasetTypeList { + if x != nil { + return x.Payload + } + return nil +} + +func (x *GetDatasetTypeListResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadGetDatasetTypeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalSize int32 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize,omitempty"` + Lables []*Lables `protobuf:"bytes,2,rep,name=lables,proto3" json:"lables,omitempty"` +} + +func (x *PayloadGetDatasetTypeList) Reset() { + *x = PayloadGetDatasetTypeList{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadGetDatasetTypeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadGetDatasetTypeList) ProtoMessage() {} + +func (x *PayloadGetDatasetTypeList) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[76] + 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 PayloadGetDatasetTypeList.ProtoReflect.Descriptor instead. +func (*PayloadGetDatasetTypeList) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{76} +} + +func (x *PayloadGetDatasetTypeList) GetTotalSize() int32 { + if x != nil { + return x.TotalSize + } + return 0 +} + +func (x *PayloadGetDatasetTypeList) GetLables() []*Lables { + if x != nil { + return x.Lables + } + return nil +} + // *****************Develop Start************************ +type CreateNotebookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Params *CreateNotebookParam `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *CreateNotebookReq) Reset() { + *x = CreateNotebookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNotebookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNotebookReq) ProtoMessage() {} + +func (x *CreateNotebookReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[77] + 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 CreateNotebookReq.ProtoReflect.Descriptor instead. +func (*CreateNotebookReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{77} +} + +func (x *CreateNotebookReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *CreateNotebookReq) GetParams() *CreateNotebookParam { + if x != nil { + return x.Params + } + return nil +} + +type CreateNotebookParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AlgorithmId string `protobuf:"bytes,1,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` + AlgorithmVersion string `protobuf:"bytes,2,opt,name=algorithmVersion,proto3" json:"algorithmVersion,omitempty"` + Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` + DatasetId string `protobuf:"bytes,4,opt,name=datasetId,proto3" json:"datasetId,omitempty"` + DatasetVersion string `protobuf:"bytes,5,opt,name=datasetVersion,proto3" json:"datasetVersion,omitempty"` + Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` + Envs *Envs `protobuf:"bytes,7,opt,name=envs,proto3" json:"envs,omitempty"` + ImageId string `protobuf:"bytes,8,opt,name=imageId,proto3" json:"imageId,omitempty"` + ImageUrl string `protobuf:"bytes,9,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"` + Mounts []*Mounts `protobuf:"bytes,10,rep,name=mounts,proto3" json:"mounts,omitempty"` + Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` + ResourcePool string `protobuf:"bytes,12,opt,name=resourcePool,proto3" json:"resourcePool,omitempty"` + ResourceSpecId string `protobuf:"bytes,13,opt,name=resourceSpecId,proto3" json:"resourceSpecId,omitempty"` + TaskNumber int32 `protobuf:"varint,14,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` +} + +func (x *CreateNotebookParam) Reset() { + *x = CreateNotebookParam{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNotebookParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNotebookParam) ProtoMessage() {} + +func (x *CreateNotebookParam) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[78] + 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 CreateNotebookParam.ProtoReflect.Descriptor instead. +func (*CreateNotebookParam) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{78} +} + +func (x *CreateNotebookParam) GetAlgorithmId() string { + if x != nil { + return x.AlgorithmId + } + return "" +} + +func (x *CreateNotebookParam) GetAlgorithmVersion() string { + if x != nil { + return x.AlgorithmVersion + } + return "" +} + +func (x *CreateNotebookParam) GetCommand() string { + if x != nil { + return x.Command + } + return "" +} + +func (x *CreateNotebookParam) GetDatasetId() string { + if x != nil { + return x.DatasetId + } + return "" +} + +func (x *CreateNotebookParam) GetDatasetVersion() string { + if x != nil { + return x.DatasetVersion + } + return "" +} + +func (x *CreateNotebookParam) GetDesc() string { + if x != nil { + return x.Desc + } + return "" +} + +func (x *CreateNotebookParam) GetEnvs() *Envs { + if x != nil { + return x.Envs + } + return nil +} + +func (x *CreateNotebookParam) GetImageId() string { + if x != nil { + return x.ImageId + } + return "" +} + +func (x *CreateNotebookParam) GetImageUrl() string { + if x != nil { + return x.ImageUrl + } + return "" +} + +func (x *CreateNotebookParam) GetMounts() []*Mounts { + if x != nil { + return x.Mounts + } + return nil +} + +func (x *CreateNotebookParam) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateNotebookParam) GetResourcePool() string { + if x != nil { + return x.ResourcePool + } + return "" +} + +func (x *CreateNotebookParam) GetResourceSpecId() string { + if x != nil { + return x.ResourceSpecId + } + return "" +} + +func (x *CreateNotebookParam) GetTaskNumber() int32 { + if x != nil { + return x.TaskNumber + } + return 0 +} + +type CreateNotebookResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadCreateNotebook `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *CreateNotebookResp) Reset() { + *x = CreateNotebookResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNotebookResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNotebookResp) ProtoMessage() {} + +func (x *CreateNotebookResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[79] + 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 CreateNotebookResp.ProtoReflect.Descriptor instead. +func (*CreateNotebookResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{79} +} + +func (x *CreateNotebookResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *CreateNotebookResp) GetPayload() *PayloadCreateNotebook { + if x != nil { + return x.Payload + } + return nil +} + +func (x *CreateNotebookResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadCreateNotebook struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *PayloadCreateNotebook) Reset() { + *x = PayloadCreateNotebook{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadCreateNotebook) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadCreateNotebook) ProtoMessage() {} + +func (x *PayloadCreateNotebook) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[80] + 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 PayloadCreateNotebook.ProtoReflect.Descriptor instead. +func (*PayloadCreateNotebook) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{80} +} + +func (x *PayloadCreateNotebook) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type GetNotebookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *GetNotebookReq) Reset() { + *x = GetNotebookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNotebookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNotebookReq) ProtoMessage() {} + +func (x *GetNotebookReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[81] + 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 GetNotebookReq.ProtoReflect.Descriptor instead. +func (*GetNotebookReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{81} +} + +func (x *GetNotebookReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *GetNotebookReq) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type GetNotebookResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadGetNotebook `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *GetNotebookResp) Reset() { + *x = GetNotebookResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNotebookResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNotebookResp) ProtoMessage() {} + +func (x *GetNotebookResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[82] + 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 GetNotebookResp.ProtoReflect.Descriptor instead. +func (*GetNotebookResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{82} +} + +func (x *GetNotebookResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *GetNotebookResp) GetPayload() *PayloadGetNotebook { + if x != nil { + return x.Payload + } + return nil +} + +func (x *GetNotebookResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadGetNotebook struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Notebook *Notebook `protobuf:"bytes,1,opt,name=notebook,proto3" json:"notebook,omitempty"` +} + +func (x *PayloadGetNotebook) Reset() { + *x = PayloadGetNotebook{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadGetNotebook) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadGetNotebook) ProtoMessage() {} + +func (x *PayloadGetNotebook) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[83] + 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 PayloadGetNotebook.ProtoReflect.Descriptor instead. +func (*PayloadGetNotebook) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{83} +} + +func (x *PayloadGetNotebook) GetNotebook() *Notebook { + if x != nil { + return x.Notebook + } + return nil +} + type DeleteNotebookReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4294,7 +5295,7 @@ type DeleteNotebookReq struct { func (x *DeleteNotebookReq) Reset() { *x = DeleteNotebookReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[68] + mi := &file_octopus_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4307,7 +5308,7 @@ func (x *DeleteNotebookReq) String() string { func (*DeleteNotebookReq) ProtoMessage() {} func (x *DeleteNotebookReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[68] + mi := &file_octopus_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4320,7 +5321,7 @@ func (x *DeleteNotebookReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteNotebookReq.ProtoReflect.Descriptor instead. func (*DeleteNotebookReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{68} + return file_octopus_proto_rawDescGZIP(), []int{84} } func (x *DeleteNotebookReq) GetPlatform() string { @@ -4350,7 +5351,7 @@ type DeleteNotebookResp struct { func (x *DeleteNotebookResp) Reset() { *x = DeleteNotebookResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[69] + mi := &file_octopus_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4363,7 +5364,7 @@ func (x *DeleteNotebookResp) String() string { func (*DeleteNotebookResp) ProtoMessage() {} func (x *DeleteNotebookResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[69] + mi := &file_octopus_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4376,7 +5377,7 @@ func (x *DeleteNotebookResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteNotebookResp.ProtoReflect.Descriptor instead. func (*DeleteNotebookResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{69} + return file_octopus_proto_rawDescGZIP(), []int{85} } func (x *DeleteNotebookResp) GetSuccess() bool { @@ -4411,7 +5412,7 @@ type PayloadDeleteNotebook struct { func (x *PayloadDeleteNotebook) Reset() { *x = PayloadDeleteNotebook{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[70] + mi := &file_octopus_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4424,7 +5425,7 @@ func (x *PayloadDeleteNotebook) String() string { func (*PayloadDeleteNotebook) ProtoMessage() {} func (x *PayloadDeleteNotebook) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[70] + mi := &file_octopus_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4437,7 +5438,7 @@ func (x *PayloadDeleteNotebook) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadDeleteNotebook.ProtoReflect.Descriptor instead. func (*PayloadDeleteNotebook) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{70} + return file_octopus_proto_rawDescGZIP(), []int{86} } func (x *PayloadDeleteNotebook) GetId() string { @@ -4460,7 +5461,7 @@ type GetNotebookListReq struct { func (x *GetNotebookListReq) Reset() { *x = GetNotebookListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[71] + mi := &file_octopus_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4473,7 +5474,7 @@ func (x *GetNotebookListReq) String() string { func (*GetNotebookListReq) ProtoMessage() {} func (x *GetNotebookListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[71] + mi := &file_octopus_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4486,7 +5487,7 @@ func (x *GetNotebookListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetNotebookListReq.ProtoReflect.Descriptor instead. func (*GetNotebookListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{71} + return file_octopus_proto_rawDescGZIP(), []int{87} } func (x *GetNotebookListReq) GetPlatform() string { @@ -4523,7 +5524,7 @@ type GetNotebookListResp struct { func (x *GetNotebookListResp) Reset() { *x = GetNotebookListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[72] + mi := &file_octopus_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4536,7 +5537,7 @@ func (x *GetNotebookListResp) String() string { func (*GetNotebookListResp) ProtoMessage() {} func (x *GetNotebookListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[72] + mi := &file_octopus_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4549,7 +5550,7 @@ func (x *GetNotebookListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetNotebookListResp.ProtoReflect.Descriptor instead. func (*GetNotebookListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{72} + return file_octopus_proto_rawDescGZIP(), []int{88} } func (x *GetNotebookListResp) GetSuccess() bool { @@ -4578,14 +5579,14 @@ type PayloadNotebookList struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TotalSize int32 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize,omitempty"` - Notebooks []*Notebooks `protobuf:"bytes,2,rep,name=notebooks,proto3" json:"notebooks,omitempty"` + TotalSize int32 `protobuf:"varint,1,opt,name=totalSize,proto3" json:"totalSize,omitempty"` + Notebooks []*Notebook `protobuf:"bytes,2,rep,name=notebooks,proto3" json:"notebooks,omitempty"` } func (x *PayloadNotebookList) Reset() { *x = PayloadNotebookList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[73] + mi := &file_octopus_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4598,7 +5599,7 @@ func (x *PayloadNotebookList) String() string { func (*PayloadNotebookList) ProtoMessage() {} func (x *PayloadNotebookList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[73] + mi := &file_octopus_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4611,7 +5612,7 @@ func (x *PayloadNotebookList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadNotebookList.ProtoReflect.Descriptor instead. func (*PayloadNotebookList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{73} + return file_octopus_proto_rawDescGZIP(), []int{89} } func (x *PayloadNotebookList) GetTotalSize() int32 { @@ -4621,14 +5622,14 @@ func (x *PayloadNotebookList) GetTotalSize() int32 { return 0 } -func (x *PayloadNotebookList) GetNotebooks() []*Notebooks { +func (x *PayloadNotebookList) GetNotebooks() []*Notebook { if x != nil { return x.Notebooks } return nil } -type Notebooks struct { +type Notebook struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -4658,23 +5659,23 @@ type Notebooks struct { ImageUrl string `protobuf:"bytes,23,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"` } -func (x *Notebooks) Reset() { - *x = Notebooks{} +func (x *Notebook) Reset() { + *x = Notebook{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[74] + mi := &file_octopus_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Notebooks) String() string { +func (x *Notebook) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Notebooks) ProtoMessage() {} +func (*Notebook) ProtoMessage() {} -func (x *Notebooks) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[74] +func (x *Notebook) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4685,166 +5686,166 @@ func (x *Notebooks) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Notebooks.ProtoReflect.Descriptor instead. -func (*Notebooks) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{74} +// Deprecated: Use Notebook.ProtoReflect.Descriptor instead. +func (*Notebook) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{90} } -func (x *Notebooks) GetCreatedAt() int64 { +func (x *Notebook) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } -func (x *Notebooks) GetUpdatedAt() int64 { +func (x *Notebook) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } -func (x *Notebooks) GetId() string { +func (x *Notebook) GetId() string { if x != nil { return x.Id } return "" } -func (x *Notebooks) GetUserId() string { +func (x *Notebook) GetUserId() string { if x != nil { return x.UserId } return "" } -func (x *Notebooks) GetWorkspaceId() string { +func (x *Notebook) GetWorkspaceId() string { if x != nil { return x.WorkspaceId } return "" } -func (x *Notebooks) GetName() string { +func (x *Notebook) GetName() string { if x != nil { return x.Name } return "" } -func (x *Notebooks) GetDesc() string { +func (x *Notebook) GetDesc() string { if x != nil { return x.Desc } return "" } -func (x *Notebooks) GetImageId() string { +func (x *Notebook) GetImageId() string { if x != nil { return x.ImageId } return "" } -func (x *Notebooks) GetImageName() string { +func (x *Notebook) GetImageName() string { if x != nil { return x.ImageName } return "" } -func (x *Notebooks) GetAlgorithmId() string { +func (x *Notebook) GetAlgorithmId() string { if x != nil { return x.AlgorithmId } return "" } -func (x *Notebooks) GetAlgorithmVersion() string { +func (x *Notebook) GetAlgorithmVersion() string { if x != nil { return x.AlgorithmVersion } return "" } -func (x *Notebooks) GetAlgorithmName() string { +func (x *Notebook) GetAlgorithmName() string { if x != nil { return x.AlgorithmName } return "" } -func (x *Notebooks) GetResourceSpecId() string { +func (x *Notebook) GetResourceSpecId() string { if x != nil { return x.ResourceSpecId } return "" } -func (x *Notebooks) GetResourceSpecName() string { +func (x *Notebook) GetResourceSpecName() string { if x != nil { return x.ResourceSpecName } return "" } -func (x *Notebooks) GetStatus() string { +func (x *Notebook) GetStatus() string { if x != nil { return x.Status } return "" } -func (x *Notebooks) GetDatasetId() string { +func (x *Notebook) GetDatasetId() string { if x != nil { return x.DatasetId } return "" } -func (x *Notebooks) GetDatasetVersion() string { +func (x *Notebook) GetDatasetVersion() string { if x != nil { return x.DatasetVersion } return "" } -func (x *Notebooks) GetDatasetName() string { +func (x *Notebook) GetDatasetName() string { if x != nil { return x.DatasetName } return "" } -func (x *Notebooks) GetResourceSpecPrice() int32 { +func (x *Notebook) GetResourceSpecPrice() int32 { if x != nil { return x.ResourceSpecPrice } return 0 } -func (x *Notebooks) GetNotebookJobId() string { +func (x *Notebook) GetNotebookJobId() string { if x != nil { return x.NotebookJobId } return "" } -func (x *Notebooks) GetImageVersion() string { +func (x *Notebook) GetImageVersion() string { if x != nil { return x.ImageVersion } return "" } -func (x *Notebooks) GetTasks() []*Tasks { +func (x *Notebook) GetTasks() []*Tasks { if x != nil { return x.Tasks } return nil } -func (x *Notebooks) GetImageUrl() string { +func (x *Notebook) GetImageUrl() string { if x != nil { return x.ImageUrl } @@ -4863,7 +5864,7 @@ type Tasks struct { func (x *Tasks) Reset() { *x = Tasks{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[75] + mi := &file_octopus_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4876,7 +5877,7 @@ func (x *Tasks) String() string { func (*Tasks) ProtoMessage() {} func (x *Tasks) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[75] + mi := &file_octopus_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4889,7 +5890,7 @@ func (x *Tasks) ProtoReflect() protoreflect.Message { // Deprecated: Use Tasks.ProtoReflect.Descriptor instead. func (*Tasks) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{75} + return file_octopus_proto_rawDescGZIP(), []int{91} } func (x *Tasks) GetUrl() string { @@ -4906,6 +5907,336 @@ func (x *Tasks) GetName() string { return "" } +type StartNotebookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *StartNotebookReq) Reset() { + *x = StartNotebookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartNotebookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartNotebookReq) ProtoMessage() {} + +func (x *StartNotebookReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[92] + 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 StartNotebookReq.ProtoReflect.Descriptor instead. +func (*StartNotebookReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{92} +} + +func (x *StartNotebookReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *StartNotebookReq) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type StartNotebookResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadStartNotebook `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *StartNotebookResp) Reset() { + *x = StartNotebookResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartNotebookResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartNotebookResp) ProtoMessage() {} + +func (x *StartNotebookResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[93] + 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 StartNotebookResp.ProtoReflect.Descriptor instead. +func (*StartNotebookResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{93} +} + +func (x *StartNotebookResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *StartNotebookResp) GetPayload() *PayloadStartNotebook { + if x != nil { + return x.Payload + } + return nil +} + +func (x *StartNotebookResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadStartNotebook struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *PayloadStartNotebook) Reset() { + *x = PayloadStartNotebook{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadStartNotebook) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadStartNotebook) ProtoMessage() {} + +func (x *PayloadStartNotebook) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[94] + 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 PayloadStartNotebook.ProtoReflect.Descriptor instead. +func (*PayloadStartNotebook) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{94} +} + +func (x *PayloadStartNotebook) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type StopNotebookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *StopNotebookReq) Reset() { + *x = StopNotebookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopNotebookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopNotebookReq) ProtoMessage() {} + +func (x *StopNotebookReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[95] + 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 StopNotebookReq.ProtoReflect.Descriptor instead. +func (*StopNotebookReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{95} +} + +func (x *StopNotebookReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *StopNotebookReq) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type StopNotebookResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadStopNotebook `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *StopNotebookResp) Reset() { + *x = StopNotebookResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopNotebookResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopNotebookResp) ProtoMessage() {} + +func (x *StopNotebookResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[96] + 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 StopNotebookResp.ProtoReflect.Descriptor instead. +func (*StopNotebookResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{96} +} + +func (x *StopNotebookResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *StopNotebookResp) GetPayload() *PayloadStopNotebook { + if x != nil { + return x.Payload + } + return nil +} + +func (x *StopNotebookResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type PayloadStopNotebook struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *PayloadStopNotebook) Reset() { + *x = PayloadStopNotebook{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadStopNotebook) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadStopNotebook) ProtoMessage() {} + +func (x *PayloadStopNotebook) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[97] + 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 PayloadStopNotebook.ProtoReflect.Descriptor instead. +func (*PayloadStopNotebook) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{97} +} + +func (x *PayloadStopNotebook) GetId() string { + if x != nil { + return x.Id + } + return "" +} + // *****************ImageService Start************************ type GetUserImageListReq struct { state protoimpl.MessageState @@ -4920,7 +6251,7 @@ type GetUserImageListReq struct { func (x *GetUserImageListReq) Reset() { *x = GetUserImageListReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[76] + mi := &file_octopus_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4933,7 +6264,7 @@ func (x *GetUserImageListReq) String() string { func (*GetUserImageListReq) ProtoMessage() {} func (x *GetUserImageListReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[76] + mi := &file_octopus_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4946,7 +6277,7 @@ func (x *GetUserImageListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserImageListReq.ProtoReflect.Descriptor instead. func (*GetUserImageListReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{76} + return file_octopus_proto_rawDescGZIP(), []int{98} } func (x *GetUserImageListReq) GetPlatform() string { @@ -4983,7 +6314,7 @@ type GetUserImageListResp struct { func (x *GetUserImageListResp) Reset() { *x = GetUserImageListResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[77] + mi := &file_octopus_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4996,7 +6327,7 @@ func (x *GetUserImageListResp) String() string { func (*GetUserImageListResp) ProtoMessage() {} func (x *GetUserImageListResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[77] + mi := &file_octopus_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5009,7 +6340,7 @@ func (x *GetUserImageListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserImageListResp.ProtoReflect.Descriptor instead. func (*GetUserImageListResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{77} + return file_octopus_proto_rawDescGZIP(), []int{99} } func (x *GetUserImageListResp) GetSuccess() bool { @@ -5045,7 +6376,7 @@ type PayloadUserImageList struct { func (x *PayloadUserImageList) Reset() { *x = PayloadUserImageList{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[78] + mi := &file_octopus_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5058,7 +6389,7 @@ func (x *PayloadUserImageList) String() string { func (*PayloadUserImageList) ProtoMessage() {} func (x *PayloadUserImageList) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[78] + mi := &file_octopus_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5071,7 +6402,7 @@ func (x *PayloadUserImageList) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUserImageList.ProtoReflect.Descriptor instead. func (*PayloadUserImageList) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{78} + return file_octopus_proto_rawDescGZIP(), []int{100} } func (x *PayloadUserImageList) GetTotalSize() int32 { @@ -5100,7 +6431,7 @@ type Images struct { func (x *Images) Reset() { *x = Images{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[79] + mi := &file_octopus_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5113,7 +6444,7 @@ func (x *Images) String() string { func (*Images) ProtoMessage() {} func (x *Images) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[79] + mi := &file_octopus_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5126,7 +6457,7 @@ func (x *Images) ProtoReflect() protoreflect.Message { // Deprecated: Use Images.ProtoReflect.Descriptor instead. func (*Images) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{79} + return file_octopus_proto_rawDescGZIP(), []int{101} } func (x *Images) GetIsShared() bool { @@ -5166,7 +6497,7 @@ type Image struct { func (x *Image) Reset() { *x = Image{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[80] + mi := &file_octopus_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5179,7 +6510,7 @@ func (x *Image) String() string { func (*Image) ProtoMessage() {} func (x *Image) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[80] + mi := &file_octopus_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5192,7 +6523,7 @@ func (x *Image) ProtoReflect() protoreflect.Message { // Deprecated: Use Image.ProtoReflect.Descriptor instead. func (*Image) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{80} + return file_octopus_proto_rawDescGZIP(), []int{102} } func (x *Image) GetId() string { @@ -5298,7 +6629,7 @@ type DeleteImageReq struct { func (x *DeleteImageReq) Reset() { *x = DeleteImageReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[81] + mi := &file_octopus_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5311,7 +6642,7 @@ func (x *DeleteImageReq) String() string { func (*DeleteImageReq) ProtoMessage() {} func (x *DeleteImageReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[81] + mi := &file_octopus_proto_msgTypes[103] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5324,7 +6655,7 @@ func (x *DeleteImageReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteImageReq.ProtoReflect.Descriptor instead. func (*DeleteImageReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{81} + return file_octopus_proto_rawDescGZIP(), []int{103} } func (x *DeleteImageReq) GetPlatform() string { @@ -5354,7 +6685,7 @@ type DeleteImageResp struct { func (x *DeleteImageResp) Reset() { *x = DeleteImageResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[82] + mi := &file_octopus_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5367,7 +6698,7 @@ func (x *DeleteImageResp) String() string { func (*DeleteImageResp) ProtoMessage() {} func (x *DeleteImageResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[82] + mi := &file_octopus_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5380,7 +6711,7 @@ func (x *DeleteImageResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteImageResp.ProtoReflect.Descriptor instead. func (*DeleteImageResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{82} + return file_octopus_proto_rawDescGZIP(), []int{104} } func (x *DeleteImageResp) GetSuccess() bool { @@ -5415,7 +6746,7 @@ type PayloadDeleteImage struct { func (x *PayloadDeleteImage) Reset() { *x = PayloadDeleteImage{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[83] + mi := &file_octopus_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5428,7 +6759,7 @@ func (x *PayloadDeleteImage) String() string { func (*PayloadDeleteImage) ProtoMessage() {} func (x *PayloadDeleteImage) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[83] + mi := &file_octopus_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5441,7 +6772,7 @@ func (x *PayloadDeleteImage) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadDeleteImage.ProtoReflect.Descriptor instead. func (*PayloadDeleteImage) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{83} + return file_octopus_proto_rawDescGZIP(), []int{105} } func (x *PayloadDeleteImage) GetDeletedAt() int64 { @@ -5463,7 +6794,7 @@ type CreateImageReq struct { func (x *CreateImageReq) Reset() { *x = CreateImageReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[84] + mi := &file_octopus_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5476,7 +6807,7 @@ func (x *CreateImageReq) String() string { func (*CreateImageReq) ProtoMessage() {} func (x *CreateImageReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[84] + mi := &file_octopus_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5489,7 +6820,7 @@ func (x *CreateImageReq) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateImageReq.ProtoReflect.Descriptor instead. func (*CreateImageReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{84} + return file_octopus_proto_rawDescGZIP(), []int{106} } func (x *CreateImageReq) GetPlatform() string { @@ -5521,7 +6852,7 @@ type CreateImage struct { func (x *CreateImage) Reset() { *x = CreateImage{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[85] + mi := &file_octopus_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5534,7 +6865,7 @@ func (x *CreateImage) String() string { func (*CreateImage) ProtoMessage() {} func (x *CreateImage) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[85] + mi := &file_octopus_proto_msgTypes[107] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5547,7 +6878,7 @@ func (x *CreateImage) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateImage.ProtoReflect.Descriptor instead. func (*CreateImage) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{85} + return file_octopus_proto_rawDescGZIP(), []int{107} } func (x *CreateImage) GetImageAddr() string { @@ -5598,7 +6929,7 @@ type CreateImageResp struct { func (x *CreateImageResp) Reset() { *x = CreateImageResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[86] + mi := &file_octopus_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5611,7 +6942,7 @@ func (x *CreateImageResp) String() string { func (*CreateImageResp) ProtoMessage() {} func (x *CreateImageResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[86] + mi := &file_octopus_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5624,7 +6955,7 @@ func (x *CreateImageResp) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateImageResp.ProtoReflect.Descriptor instead. func (*CreateImageResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{86} + return file_octopus_proto_rawDescGZIP(), []int{108} } func (x *CreateImageResp) GetSuccess() bool { @@ -5660,7 +6991,7 @@ type PayloadCreateImage struct { func (x *PayloadCreateImage) Reset() { *x = PayloadCreateImage{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[87] + mi := &file_octopus_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5673,7 +7004,7 @@ func (x *PayloadCreateImage) String() string { func (*PayloadCreateImage) ProtoMessage() {} func (x *PayloadCreateImage) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[87] + mi := &file_octopus_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5686,7 +7017,7 @@ func (x *PayloadCreateImage) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadCreateImage.ProtoReflect.Descriptor instead. func (*PayloadCreateImage) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{87} + return file_octopus_proto_rawDescGZIP(), []int{109} } func (x *PayloadCreateImage) GetImageId() string { @@ -5708,15 +7039,15 @@ type UploadImageReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - ImageId string `protobuf:"bytes,2,opt,name=imageId,proto3" json:"imageId,omitempty"` - UploadImageParam *UploadImageParam `protobuf:"bytes,3,opt,name=uploadImageParam,proto3" json:"uploadImageParam,omitempty"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + ImageId string `protobuf:"bytes,2,opt,name=imageId,proto3" json:"imageId,omitempty"` + Params *UploadImageParam `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` } func (x *UploadImageReq) Reset() { *x = UploadImageReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[88] + mi := &file_octopus_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5729,7 +7060,7 @@ func (x *UploadImageReq) String() string { func (*UploadImageReq) ProtoMessage() {} func (x *UploadImageReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[88] + mi := &file_octopus_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5742,7 +7073,7 @@ func (x *UploadImageReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadImageReq.ProtoReflect.Descriptor instead. func (*UploadImageReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{88} + return file_octopus_proto_rawDescGZIP(), []int{110} } func (x *UploadImageReq) GetPlatform() string { @@ -5759,9 +7090,9 @@ func (x *UploadImageReq) GetImageId() string { return "" } -func (x *UploadImageReq) GetUploadImageParam() *UploadImageParam { +func (x *UploadImageReq) GetParams() *UploadImageParam { if x != nil { - return x.UploadImageParam + return x.Params } return nil } @@ -5778,7 +7109,7 @@ type UploadImageParam struct { func (x *UploadImageParam) Reset() { *x = UploadImageParam{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[89] + mi := &file_octopus_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5791,7 +7122,7 @@ func (x *UploadImageParam) String() string { func (*UploadImageParam) ProtoMessage() {} func (x *UploadImageParam) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[89] + mi := &file_octopus_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5804,7 +7135,7 @@ func (x *UploadImageParam) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadImageParam.ProtoReflect.Descriptor instead. func (*UploadImageParam) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{89} + return file_octopus_proto_rawDescGZIP(), []int{111} } func (x *UploadImageParam) GetDomain() string { @@ -5834,7 +7165,7 @@ type UploadImageResp struct { func (x *UploadImageResp) Reset() { *x = UploadImageResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[90] + mi := &file_octopus_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5847,7 +7178,7 @@ func (x *UploadImageResp) String() string { func (*UploadImageResp) ProtoMessage() {} func (x *UploadImageResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[90] + mi := &file_octopus_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5860,7 +7191,7 @@ func (x *UploadImageResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadImageResp.ProtoReflect.Descriptor instead. func (*UploadImageResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{90} + return file_octopus_proto_rawDescGZIP(), []int{112} } func (x *UploadImageResp) GetSuccess() bool { @@ -5896,7 +7227,7 @@ type PayloadUploadImage struct { func (x *PayloadUploadImage) Reset() { *x = PayloadUploadImage{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[91] + mi := &file_octopus_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5909,7 +7240,7 @@ func (x *PayloadUploadImage) String() string { func (*PayloadUploadImage) ProtoMessage() {} func (x *PayloadUploadImage) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[91] + mi := &file_octopus_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5922,7 +7253,7 @@ func (x *PayloadUploadImage) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUploadImage.ProtoReflect.Descriptor instead. func (*PayloadUploadImage) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{91} + return file_octopus_proto_rawDescGZIP(), []int{113} } func (x *PayloadUploadImage) GetUploadUrl() string { @@ -5952,7 +7283,7 @@ type Headers struct { func (x *Headers) Reset() { *x = Headers{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[92] + mi := &file_octopus_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5965,7 +7296,7 @@ func (x *Headers) String() string { func (*Headers) ProtoMessage() {} func (x *Headers) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[92] + mi := &file_octopus_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5978,7 +7309,7 @@ func (x *Headers) ProtoReflect() protoreflect.Message { // Deprecated: Use Headers.ProtoReflect.Descriptor instead. func (*Headers) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{92} + return file_octopus_proto_rawDescGZIP(), []int{114} } func (x *Headers) GetAdditionalProp1() string { @@ -6014,7 +7345,7 @@ type UploadImageConfirmReq struct { func (x *UploadImageConfirmReq) Reset() { *x = UploadImageConfirmReq{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[93] + mi := &file_octopus_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6027,7 +7358,7 @@ func (x *UploadImageConfirmReq) String() string { func (*UploadImageConfirmReq) ProtoMessage() {} func (x *UploadImageConfirmReq) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[93] + mi := &file_octopus_proto_msgTypes[115] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6040,7 +7371,7 @@ func (x *UploadImageConfirmReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadImageConfirmReq.ProtoReflect.Descriptor instead. func (*UploadImageConfirmReq) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{93} + return file_octopus_proto_rawDescGZIP(), []int{115} } func (x *UploadImageConfirmReq) GetPlatform() string { @@ -6070,7 +7401,7 @@ type UploadImageConfirmResp struct { func (x *UploadImageConfirmResp) Reset() { *x = UploadImageConfirmResp{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[94] + mi := &file_octopus_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6083,7 +7414,7 @@ func (x *UploadImageConfirmResp) String() string { func (*UploadImageConfirmResp) ProtoMessage() {} func (x *UploadImageConfirmResp) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[94] + mi := &file_octopus_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6096,7 +7427,7 @@ func (x *UploadImageConfirmResp) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadImageConfirmResp.ProtoReflect.Descriptor instead. func (*UploadImageConfirmResp) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{94} + return file_octopus_proto_rawDescGZIP(), []int{116} } func (x *UploadImageConfirmResp) GetSuccess() bool { @@ -6131,7 +7462,7 @@ type PayloadUploadImageConfirm struct { func (x *PayloadUploadImageConfirm) Reset() { *x = PayloadUploadImageConfirm{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[95] + mi := &file_octopus_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6144,7 +7475,7 @@ func (x *PayloadUploadImageConfirm) String() string { func (*PayloadUploadImageConfirm) ProtoMessage() {} func (x *PayloadUploadImageConfirm) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[95] + mi := &file_octopus_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6157,7 +7488,7 @@ func (x *PayloadUploadImageConfirm) ProtoReflect() protoreflect.Message { // Deprecated: Use PayloadUploadImageConfirm.ProtoReflect.Descriptor instead. func (*PayloadUploadImageConfirm) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{95} + return file_octopus_proto_rawDescGZIP(), []int{117} } func (x *PayloadUploadImageConfirm) GetUpdatedAt() int64 { @@ -6167,6 +7498,804 @@ func (x *PayloadUploadImageConfirm) GetUpdatedAt() int64 { return 0 } +// *****************TrainJobService Start************************ +type CreateTrainJobReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Params *CreateTrainJobParam `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *CreateTrainJobReq) Reset() { + *x = CreateTrainJobReq{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTrainJobReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTrainJobReq) ProtoMessage() {} + +func (x *CreateTrainJobReq) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[118] + 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 CreateTrainJobReq.ProtoReflect.Descriptor instead. +func (*CreateTrainJobReq) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{118} +} + +func (x *CreateTrainJobReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +func (x *CreateTrainJobReq) GetParams() *CreateTrainJobParam { + if x != nil { + return x.Params + } + return nil +} + +type CreateTrainJobResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Payload *PayloadCreateTrainJob `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *CreateTrainJobResp) Reset() { + *x = CreateTrainJobResp{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTrainJobResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTrainJobResp) ProtoMessage() {} + +func (x *CreateTrainJobResp) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[119] + 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 CreateTrainJobResp.ProtoReflect.Descriptor instead. +func (*CreateTrainJobResp) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{119} +} + +func (x *CreateTrainJobResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *CreateTrainJobResp) GetPayload() *PayloadCreateTrainJob { + if x != nil { + return x.Payload + } + return nil +} + +func (x *CreateTrainJobResp) GetError() *Error { + if x != nil { + return x.Error + } + return nil +} + +type CreateTrainJobParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AlgorithmId string `protobuf:"bytes,1,opt,name=algorithmId,proto3" json:"algorithmId,omitempty"` + AlgorithmVersion string `protobuf:"bytes,2,opt,name=algorithmVersion,proto3" json:"algorithmVersion,omitempty"` + Config []*Config `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty"` + DataSetId string `protobuf:"bytes,4,opt,name=dataSetId,proto3" json:"dataSetId,omitempty"` + DataSetVersion string `protobuf:"bytes,5,opt,name=dataSetVersion,proto3" json:"dataSetVersion,omitempty"` + Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` + ImageId string `protobuf:"bytes,7,opt,name=imageId,proto3" json:"imageId,omitempty"` + ImageUrl string `protobuf:"bytes,8,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"` + IsDistributed bool `protobuf:"varint,9,opt,name=isDistributed,proto3" json:"isDistributed,omitempty"` + Mounts []*Mounts `protobuf:"bytes,10,rep,name=mounts,proto3" json:"mounts,omitempty"` + Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` + ResourcePool string `protobuf:"bytes,12,opt,name=resourcePool,proto3" json:"resourcePool,omitempty"` +} + +func (x *CreateTrainJobParam) Reset() { + *x = CreateTrainJobParam{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTrainJobParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTrainJobParam) ProtoMessage() {} + +func (x *CreateTrainJobParam) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[120] + 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 CreateTrainJobParam.ProtoReflect.Descriptor instead. +func (*CreateTrainJobParam) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{120} +} + +func (x *CreateTrainJobParam) GetAlgorithmId() string { + if x != nil { + return x.AlgorithmId + } + return "" +} + +func (x *CreateTrainJobParam) GetAlgorithmVersion() string { + if x != nil { + return x.AlgorithmVersion + } + return "" +} + +func (x *CreateTrainJobParam) GetConfig() []*Config { + if x != nil { + return x.Config + } + return nil +} + +func (x *CreateTrainJobParam) GetDataSetId() string { + if x != nil { + return x.DataSetId + } + return "" +} + +func (x *CreateTrainJobParam) GetDataSetVersion() string { + if x != nil { + return x.DataSetVersion + } + return "" +} + +func (x *CreateTrainJobParam) GetDesc() string { + if x != nil { + return x.Desc + } + return "" +} + +func (x *CreateTrainJobParam) GetImageId() string { + if x != nil { + return x.ImageId + } + return "" +} + +func (x *CreateTrainJobParam) GetImageUrl() string { + if x != nil { + return x.ImageUrl + } + return "" +} + +func (x *CreateTrainJobParam) GetIsDistributed() bool { + if x != nil { + return x.IsDistributed + } + return false +} + +func (x *CreateTrainJobParam) GetMounts() []*Mounts { + if x != nil { + return x.Mounts + } + return nil +} + +func (x *CreateTrainJobParam) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateTrainJobParam) GetResourcePool() string { + if x != nil { + return x.ResourcePool + } + return "" +} + +type Config struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` + Envs *Envs `protobuf:"bytes,2,opt,name=envs,proto3" json:"envs,omitempty"` + IsMainRole bool `protobuf:"varint,3,opt,name=isMainRole,proto3" json:"isMainRole,omitempty"` + MinFailedTaskCount int32 `protobuf:"varint,4,opt,name=minFailedTaskCount,proto3" json:"minFailedTaskCount,omitempty"` + MinSucceededTaskCount int32 `protobuf:"varint,5,opt,name=minSucceededTaskCount,proto3" json:"minSucceededTaskCount,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Parameters []*Parameters `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"` + ReplicaStates []*ReplicaStates `protobuf:"bytes,8,rep,name=replicaStates,proto3" json:"replicaStates,omitempty"` + ResourceSpecId string `protobuf:"bytes,9,opt,name=resourceSpecId,proto3" json:"resourceSpecId,omitempty"` + ResourceSpecName string `protobuf:"bytes,10,opt,name=resourceSpecName,proto3" json:"resourceSpecName,omitempty"` + ResourceSpecPrice int32 `protobuf:"varint,11,opt,name=resourceSpecPrice,proto3" json:"resourceSpecPrice,omitempty"` + SubTaskState string `protobuf:"bytes,12,opt,name=subTaskState,proto3" json:"subTaskState,omitempty"` + TaskNumber int32 `protobuf:"varint,13,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` +} + +func (x *Config) Reset() { + *x = Config{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Config) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Config) ProtoMessage() {} + +func (x *Config) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[121] + 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 Config.ProtoReflect.Descriptor instead. +func (*Config) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{121} +} + +func (x *Config) GetCommand() string { + if x != nil { + return x.Command + } + return "" +} + +func (x *Config) GetEnvs() *Envs { + if x != nil { + return x.Envs + } + return nil +} + +func (x *Config) GetIsMainRole() bool { + if x != nil { + return x.IsMainRole + } + return false +} + +func (x *Config) GetMinFailedTaskCount() int32 { + if x != nil { + return x.MinFailedTaskCount + } + return 0 +} + +func (x *Config) GetMinSucceededTaskCount() int32 { + if x != nil { + return x.MinSucceededTaskCount + } + return 0 +} + +func (x *Config) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Config) GetParameters() []*Parameters { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *Config) GetReplicaStates() []*ReplicaStates { + if x != nil { + return x.ReplicaStates + } + return nil +} + +func (x *Config) GetResourceSpecId() string { + if x != nil { + return x.ResourceSpecId + } + return "" +} + +func (x *Config) GetResourceSpecName() string { + if x != nil { + return x.ResourceSpecName + } + return "" +} + +func (x *Config) GetResourceSpecPrice() int32 { + if x != nil { + return x.ResourceSpecPrice + } + return 0 +} + +func (x *Config) GetSubTaskState() string { + if x != nil { + return x.SubTaskState + } + return "" +} + +func (x *Config) GetTaskNumber() int32 { + if x != nil { + return x.TaskNumber + } + return 0 +} + +type Envs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdditionalProp1 string `protobuf:"bytes,1,opt,name=additionalProp1,proto3" json:"additionalProp1,omitempty"` + AdditionalProp2 string `protobuf:"bytes,2,opt,name=additionalProp2,proto3" json:"additionalProp2,omitempty"` + AdditionalProp3 string `protobuf:"bytes,3,opt,name=additionalProp3,proto3" json:"additionalProp3,omitempty"` +} + +func (x *Envs) Reset() { + *x = Envs{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Envs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Envs) ProtoMessage() {} + +func (x *Envs) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[122] + 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 Envs.ProtoReflect.Descriptor instead. +func (*Envs) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{122} +} + +func (x *Envs) GetAdditionalProp1() string { + if x != nil { + return x.AdditionalProp1 + } + return "" +} + +func (x *Envs) GetAdditionalProp2() string { + if x != nil { + return x.AdditionalProp2 + } + return "" +} + +func (x *Envs) GetAdditionalProp3() string { + if x != nil { + return x.AdditionalProp3 + } + return "" +} + +type Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Parameters) Reset() { + *x = Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Parameters) ProtoMessage() {} + +func (x *Parameters) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[123] + 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 Parameters.ProtoReflect.Descriptor instead. +func (*Parameters) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{123} +} + +func (x *Parameters) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *Parameters) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type ReplicaStates struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` +} + +func (x *ReplicaStates) Reset() { + *x = ReplicaStates{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicaStates) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaStates) ProtoMessage() {} + +func (x *ReplicaStates) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[124] + 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 ReplicaStates.ProtoReflect.Descriptor instead. +func (*ReplicaStates) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{124} +} + +func (x *ReplicaStates) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *ReplicaStates) GetState() string { + if x != nil { + return x.State + } + return "" +} + +type Mounts struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContainerPath string `protobuf:"bytes,1,opt,name=containerPath,proto3" json:"containerPath,omitempty"` + Nfs *Nfs `protobuf:"bytes,2,opt,name=nfs,proto3" json:"nfs,omitempty"` + Octopus *TrainJobOctopus `protobuf:"bytes,3,opt,name=octopus,proto3" json:"octopus,omitempty"` + ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` +} + +func (x *Mounts) Reset() { + *x = Mounts{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Mounts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Mounts) ProtoMessage() {} + +func (x *Mounts) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[125] + 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 Mounts.ProtoReflect.Descriptor instead. +func (*Mounts) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{125} +} + +func (x *Mounts) GetContainerPath() string { + if x != nil { + return x.ContainerPath + } + return "" +} + +func (x *Mounts) GetNfs() *Nfs { + if x != nil { + return x.Nfs + } + return nil +} + +func (x *Mounts) GetOctopus() *TrainJobOctopus { + if x != nil { + return x.Octopus + } + return nil +} + +func (x *Mounts) GetReadOnly() bool { + if x != nil { + return x.ReadOnly + } + return false +} + +type PayloadCreateTrainJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=jobId,proto3" json:"jobId,omitempty"` +} + +func (x *PayloadCreateTrainJob) Reset() { + *x = PayloadCreateTrainJob{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PayloadCreateTrainJob) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PayloadCreateTrainJob) ProtoMessage() {} + +func (x *PayloadCreateTrainJob) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[126] + 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 PayloadCreateTrainJob.ProtoReflect.Descriptor instead. +func (*PayloadCreateTrainJob) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{126} +} + +func (x *PayloadCreateTrainJob) GetJobId() string { + if x != nil { + return x.JobId + } + return "" +} + +type Nfs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` +} + +func (x *Nfs) Reset() { + *x = Nfs{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Nfs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Nfs) ProtoMessage() {} + +func (x *Nfs) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[127] + 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 Nfs.ProtoReflect.Descriptor instead. +func (*Nfs) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{127} +} + +func (x *Nfs) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *Nfs) GetServer() string { + if x != nil { + return x.Server + } + return "" +} + +type TrainJobOctopus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` + Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` +} + +func (x *TrainJobOctopus) Reset() { + *x = TrainJobOctopus{} + if protoimpl.UnsafeEnabled { + mi := &file_octopus_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrainJobOctopus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrainJobOctopus) ProtoMessage() {} + +func (x *TrainJobOctopus) ProtoReflect() protoreflect.Message { + mi := &file_octopus_proto_msgTypes[128] + 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 TrainJobOctopus.ProtoReflect.Descriptor instead. +func (*TrainJobOctopus) Descriptor() ([]byte, []int) { + return file_octopus_proto_rawDescGZIP(), []int{128} +} + +func (x *TrainJobOctopus) GetBucket() string { + if x != nil { + return x.Bucket + } + return "" +} + +func (x *TrainJobOctopus) GetObject() string { + if x != nil { + return x.Object + } + return "" +} + type Error struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6181,7 +8310,7 @@ type Error struct { func (x *Error) Reset() { *x = Error{} if protoimpl.UnsafeEnabled { - mi := &file_octopus_proto_msgTypes[96] + mi := &file_octopus_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6194,7 +8323,7 @@ func (x *Error) String() string { func (*Error) ProtoMessage() {} func (x *Error) ProtoReflect() protoreflect.Message { - mi := &file_octopus_proto_msgTypes[96] + mi := &file_octopus_proto_msgTypes[129] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6207,7 +8336,7 @@ func (x *Error) ProtoReflect() protoreflect.Message { // Deprecated: Use Error.ProtoReflect.Descriptor instead. func (*Error) Descriptor() ([]byte, []int) { - return file_octopus_proto_rawDescGZIP(), []int{96} + return file_octopus_proto_rawDescGZIP(), []int{129} } func (x *Error) GetCode() int32 { @@ -6242,79 +8371,79 @@ var File_octopus_proto protoreflect.FileDescriptor var file_octopus_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x07, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x22, 0x0d, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x22, 0x28, 0x0a, 0x06, 0x63, 0x70, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x4f, 0x70, 0x73, 0x41, 0x74, 0x46, 0x70, 0x31, 0x36, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x70, 0x4f, 0x70, 0x73, 0x41, 0x74, 0x46, 0x70, 0x31, - 0x36, 0x22, 0x4a, 0x0a, 0x06, 0x67, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, - 0x70, 0x75, 0x43, 0x6f, 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0a, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x47, 0x69, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x47, 0x69, 0x62, 0x22, 0x69, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, - 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, - 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, - 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, - 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x31, 0x0a, - 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x73, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x12, 0x42, 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, - 0x70, 0x75, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x52, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, - 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, - 0x14, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, + 0x07, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x22, 0x28, 0x0a, 0x06, 0x63, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, + 0x0a, 0x70, 0x4f, 0x70, 0x73, 0x41, 0x74, 0x46, 0x70, 0x31, 0x36, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0a, 0x70, 0x4f, 0x70, 0x73, 0x41, 0x74, 0x46, 0x70, 0x31, 0x36, 0x22, 0x4a, 0x0a, + 0x06, 0x67, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x70, 0x75, 0x43, 0x6f, + 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x70, 0x75, + 0x43, 0x6f, 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x49, 0x6e, 0x47, 0x69, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x47, 0x69, 0x62, 0x22, 0x69, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, + 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, + 0x68, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x31, 0x0a, 0x09, 0x61, 0x6c, 0x67, + 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x73, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x42, 0x0a, 0x0f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, + 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x22, 0x67, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, + 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x14, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, + 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, + 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, + 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0x3c, 0x0a, 0x18, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xa3, + 0x01, 0x0a, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, - 0x0a, 0x15, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, - 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, - 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3c, 0x0a, 0x18, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, - 0x72, 0x6c, 0x22, 0xbf, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, - 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, - 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, - 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x51, 0x0a, 0x14, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x14, - 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x22, 0x4a, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x22, 0x4a, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, @@ -6331,7 +8460,7 @@ var file_octopus_proto_rawDesc = []byte{ 0x72, 0x6f, 0x72, 0x22, 0x36, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0x8f, 0x01, 0x0a, 0x19, + 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xb1, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, @@ -6339,28 +8468,36 @@ var file_octopus_proto_rawDesc = []byte{ 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x9e, 0x01, - 0x0a, 0x1a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, - 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, - 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3d, - 0x0a, 0x1d, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, - 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, - 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x6b, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x6e, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, + 0x39, 0x0a, 0x1b, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, + 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, + 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x1a, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x07, 0x70, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3d, 0x0a, 0x1d, 0x50, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, + 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, @@ -6682,138 +8819,258 @@ var file_octopus_proto_rawDesc = []byte{ 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x22, 0xb3, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, + 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x12, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x52, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x48, 0x0a, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, - 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x37, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x48, + 0x0a, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, + 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, + 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xa9, 0x01, + 0x0a, 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, + 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x37, 0x0a, 0x19, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x34, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0x89, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, - 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, - 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, - 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x74, 0x6f, - 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3b, - 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1c, 0x0a, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x67, 0x0a, 0x17, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x3b, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1c, + 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x8f, 0x01, 0x0a, + 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x2f, + 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x22, + 0x9a, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, + 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x70, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x55, 0x0a, 0x1b, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x3b, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, + 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x6e, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x64, 0x65, 0x73, 0x63, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x70, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, - 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, - 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x55, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, - 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, - 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x24, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, + 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x98, 0x01, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x1a, 0x50, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4c, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x6d, 0x0a, 0x15, + 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x3c, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3b, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, - 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, - 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, - 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, - 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x6a, 0x0a, 0x12, - 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, - 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x6f, 0x74, - 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x65, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, - 0x09, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x62, - 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x09, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, - 0xf3, 0x05, 0x0a, 0x09, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x1c, 0x0a, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x62, 0x0a, 0x19, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, + 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x27, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4c, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x52, 0x06, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x65, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, + 0x6f, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, + 0xd9, 0x03, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, + 0x6f, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, + 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x6c, 0x67, + 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, + 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x21, 0x0a, 0x04, 0x65, 0x6e, 0x76, + 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, + 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, + 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, + 0x72, 0x6c, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x73, 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, + 0x6f, 0x6f, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, + 0x61, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x8e, 0x01, 0x0a, 0x12, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x07, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x70, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x15, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, + 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x43, + 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x2d, 0x0a, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x62, + 0x6f, 0x6f, 0x6b, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x6a, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4e, + 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x64, 0x0a, 0x13, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x2f, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, + 0x22, 0xf2, 0x05, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, @@ -6863,304 +9120,478 @@ var file_octopus_proto_rawDesc = []byte{ 0x67, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x2d, 0x0a, 0x05, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x22, 0x5d, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x69, 0x6d, 0x61, - 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, - 0x70, 0x75, 0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x06, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, - 0x69, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x69, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x87, - 0x03, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, - 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, - 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, 0x64, - 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, - 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, - 0x0a, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x41, - 0x64, 0x64, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x46, 0x75, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x22, 0x46, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, - 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x72, 0x6f, 0x72, 0x22, 0x26, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3d, 0x0a, 0x0f, 0x53, + 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x10, 0x53, + 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x6f, 0x70, + 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x25, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x6b, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x07, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x32, 0x0a, 0x12, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, - 0x64, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x36, 0x0a, - 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, - 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, - 0x64, 0x64, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, - 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x22, 0x0a, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x4c, - 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c, - 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x8d, 0x01, 0x0a, - 0x0e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x10, 0x75, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x46, 0x0a, 0x10, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x07, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x5d, 0x0a, + 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x06, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x87, 0x03, 0x0a, 0x05, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x1c, + 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6d, 0x61, 0x67, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x41, 0x64, + 0x64, 0x72, 0x22, 0x46, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x32, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x64, 0x0a, 0x0e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x36, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, + 0xab, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x88, 0x01, + 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x4c, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x79, 0x0a, 0x0e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x31, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x22, 0x46, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, + 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, + 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x5e, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x2a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x07, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x07, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, + 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, + 0x6f, 0x70, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x31, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x32, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, + 0x72, 0x6f, 0x70, 0x32, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, + 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x33, 0x22, 0x4d, + 0x0a, 0x15, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x96, 0x01, + 0x0a, 0x16, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, + 0x73, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, - 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x5e, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, - 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x55, 0x72, 0x6c, 0x12, 0x2a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, - 0x87, 0x01, 0x0a, 0x07, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x61, - 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x31, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, - 0x50, 0x72, 0x6f, 0x70, 0x31, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x32, 0x12, - 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, - 0x70, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x33, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, - 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, - 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3c, 0x0a, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, - 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x72, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, - 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x39, 0x0a, 0x19, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1c, - 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x6f, 0x0a, 0x05, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, - 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x75, 0x62, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, - 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x8b, 0x11, - 0x0a, 0x07, 0x4f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, - 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x63, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x37, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, - 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x67, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, - 0x65, 0x74, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, - 0x65, 0x74, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, - 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x72, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x22, 0x65, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, + 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xa3, 0x03, 0x0a, 0x13, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, + 0x6d, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, + 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x27, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, + 0x53, 0x65, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, + 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x73, 0x44, 0x69, + 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x69, 0x73, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x12, 0x27, + 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, + 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x22, + 0x98, 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x45, 0x6e, 0x76, + 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x4d, 0x61, 0x69, + 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4d, + 0x61, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x46, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x54, 0x61, + 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x65, 0x64, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x53, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x54, 0x61, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, + 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x84, 0x01, 0x0a, 0x04, 0x45, + 0x6e, 0x76, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x31, 0x12, 0x28, 0x0a, + 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x32, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x32, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, + 0x33, 0x22, 0x34, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x37, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x22, 0x9e, 0x01, 0x0a, 0x06, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x1e, 0x0a, 0x03, 0x6e, 0x66, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x4e, 0x66, 0x73, 0x52, 0x03, 0x6e, 0x66, + 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x54, 0x72, 0x61, + 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x4f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x52, 0x07, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x22, 0x2d, 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x12, 0x14, 0x0a, 0x05, 0x6a, 0x6f, + 0x62, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, + 0x22, 0x31, 0x0a, 0x03, 0x4e, 0x66, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x22, 0x41, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x4f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x6f, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa1, 0x15, 0x0a, 0x07, 0x4f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x63, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x37, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x14, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, + 0x73, 0x2e, 0x67, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, + 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x43, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x12, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x25, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, + 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x26, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x43, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, - 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, - 0x1a, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, - 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6a, 0x0a, 0x19, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x46, 0x72, 0x61, 0x6d, 0x65, - 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, - 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, - 0x26, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x67, - 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, 0x2e, 0x6f, - 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x79, 0x41, - 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6f, 0x63, - 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, - 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x11, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x12, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, - 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x52, 0x0a, 0x11, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, - 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, - 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x61, 0x0a, 0x16, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x22, 0x2e, 0x6f, 0x63, - 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, - 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x1a, - 0x23, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x44, 0x61, 0x74, - 0x61, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, - 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, - 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, - 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x19, - 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x52, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, + 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, + 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, + 0x79, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, 0x2e, 0x6f, 0x63, 0x74, + 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, + 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x79, 0x41, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x11, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, + 0x0f, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x12, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, + 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x22, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x6f, 0x63, 0x74, 0x6f, + 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, + 0x74, 0x68, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x1a, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, + 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x5e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x46, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x46, 0x0a, 0x0d, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, + 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, + 0x71, 0x1a, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x21, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, + 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, - 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x1a, 0x21, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, - 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, - 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, - 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x49, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, - 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, - 0x1a, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, - 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, - 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x2e, - 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x40, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, - 0x17, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, - 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x74, - 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x1e, 0x2e, 0x6f, 0x63, 0x74, - 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6f, 0x63, 0x74, - 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2f, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x1a, 0x1f, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x4c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, + 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, + 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, + 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x17, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, + 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x49, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, + 0x6b, 0x12, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x0e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x1a, 0x2e, 0x6f, + 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, + 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x43, 0x0a, + 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x18, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, + 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, + 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6f, 0x63, + 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, + 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, + 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, + 0x18, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, + 0x1e, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x1a, + 0x1f, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x49, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, + 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x1a, 0x1b, + 0x2e, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2f, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } @@ -7176,7 +9607,7 @@ func file_octopus_proto_rawDescGZIP() []byte { return file_octopus_proto_rawDescData } -var file_octopus_proto_msgTypes = make([]protoimpl.MessageInfo, 97) +var file_octopus_proto_msgTypes = make([]protoimpl.MessageInfo, 130) var file_octopus_proto_goTypes = []interface{}{ (*ResourceReq)(nil), // 0: octopus.resourceReq (*CpResp)(nil), // 1: octopus.cpResp @@ -7193,220 +9624,298 @@ var file_octopus_proto_goTypes = []interface{}{ (*UploadAlgorithmResp)(nil), // 12: octopus.UploadAlgorithmResp (*PayloadUploadAlgorithm)(nil), // 13: octopus.PayloadUploadAlgorithm (*UploadAlgorithmConfirmReq)(nil), // 14: octopus.UploadAlgorithmConfirmReq - (*UploadAlgorithmConfirmResp)(nil), // 15: octopus.UploadAlgorithmConfirmResp - (*PayloadUploadAlgorithmConfirm)(nil), // 16: octopus.PayloadUploadAlgorithmConfirm - (*GetAlgorithmListReq)(nil), // 17: octopus.GetAlgorithmListReq - (*GetAlgorithmListResp)(nil), // 18: octopus.GetAlgorithmListResp - (*PayloadAlgorithmList)(nil), // 19: octopus.PayloadAlgorithmList - (*AlgorithmDetail)(nil), // 20: octopus.AlgorithmDetail - (*GetMyAlgorithmListReq)(nil), // 21: octopus.GetMyAlgorithmListReq - (*GetMyAlgorithmListResp)(nil), // 22: octopus.GetMyAlgorithmListResp - (*PayloadMyAlgorithmList)(nil), // 23: octopus.PayloadMyAlgorithmList - (*Algorithms)(nil), // 24: octopus.Algorithms - (*GetAlgorithmApplyListReq)(nil), // 25: octopus.GetAlgorithmApplyListReq - (*GetAlgorithmApplyListResp)(nil), // 26: octopus.GetAlgorithmApplyListResp - (*PayloadGetAlgorithmApplyList)(nil), // 27: octopus.PayloadGetAlgorithmApplyList - (*GetAlgorithmFrameworkListReq)(nil), // 28: octopus.GetAlgorithmFrameworkListReq - (*GetAlgorithmFrameworkListResp)(nil), // 29: octopus.GetAlgorithmFrameworkListResp - (*PayloadAlgorithmFrameworkList)(nil), // 30: octopus.PayloadAlgorithmFrameworkList - (*Lables)(nil), // 31: octopus.Lables - (*DeleteMyAlgorithmReq)(nil), // 32: octopus.DeleteMyAlgorithmReq - (*DeleteMyAlgorithmResp)(nil), // 33: octopus.DeleteMyAlgorithmResp - (*PayloadDeleteMyAlgorithm)(nil), // 34: octopus.PayloadDeleteMyAlgorithm - (*CreateMyAlgorithmReq)(nil), // 35: octopus.CreateMyAlgorithmReq - (*CreateMyAlgorithmResp)(nil), // 36: octopus.CreateMyAlgorithmResp - (*CreateMyAlgorithm)(nil), // 37: octopus.CreateMyAlgorithm - (*PayloadCreateMyAlgorithm)(nil), // 38: octopus.PayloadCreateMyAlgorithm - (*GetDatasetVersionListReq)(nil), // 39: octopus.GetDatasetVersionListReq - (*GetDatasetVersionListResp)(nil), // 40: octopus.GetDatasetVersionListResp - (*PayloadGetDatasetVersion)(nil), // 41: octopus.PayloadGetDatasetVersion - (*DatasetVersion)(nil), // 42: octopus.DatasetVersion - (*CreateDataSetReq)(nil), // 43: octopus.CreateDataSetReq - (*CreateDataSetResp)(nil), // 44: octopus.CreateDataSetResp - (*CreateDataSet)(nil), // 45: octopus.CreateDataSet - (*PayloadCreateDataSet)(nil), // 46: octopus.PayloadCreateDataSet - (*GetMyDatasetListReq)(nil), // 47: octopus.GetMyDatasetListReq - (*GetMyDatasetListResp)(nil), // 48: octopus.GetMyDatasetListResp - (*PayloadMyDatasetList)(nil), // 49: octopus.PayloadMyDatasetList - (*Datasets)(nil), // 50: octopus.Datasets - (*Applies)(nil), // 51: octopus.Applies - (*DeleteDataSetReq)(nil), // 52: octopus.DeleteDataSetReq - (*DeleteDataSetResp)(nil), // 53: octopus.DeleteDataSetResp - (*PayloadDeleteDataSet)(nil), // 54: octopus.PayloadDeleteDataSet - (*UploadDataSetReq)(nil), // 55: octopus.UploadDataSetReq - (*UploadDataSetParam)(nil), // 56: octopus.UploadDataSetParam - (*UploadDataSetResp)(nil), // 57: octopus.UploadDataSetResp - (*PayloadUploadDataSet)(nil), // 58: octopus.PayloadUploadDataSet - (*UploadDataSetConfirmReq)(nil), // 59: octopus.UploadDataSetConfirmReq - (*UploadDataSetConfirmResp)(nil), // 60: octopus.UploadDataSetConfirmResp - (*PayloadUploadDataSetConfirm)(nil), // 61: octopus.PayloadUploadDataSetConfirm - (*CreateDataSetVersionReq)(nil), // 62: octopus.CreateDataSetVersionReq - (*CreateDataSetVersionResp)(nil), // 63: octopus.CreateDataSetVersionResp - (*PayloadCreateDataSetVersion)(nil), // 64: octopus.PayloadCreateDataSetVersion - (*DeleteDataSetVersionReq)(nil), // 65: octopus.DeleteDataSetVersionReq - (*DeleteDataSetVersionResp)(nil), // 66: octopus.DeleteDataSetVersionResp - (*PayloadDeleteDataSetVersion)(nil), // 67: octopus.PayloadDeleteDataSetVersion - (*DeleteNotebookReq)(nil), // 68: octopus.DeleteNotebookReq - (*DeleteNotebookResp)(nil), // 69: octopus.DeleteNotebookResp - (*PayloadDeleteNotebook)(nil), // 70: octopus.PayloadDeleteNotebook - (*GetNotebookListReq)(nil), // 71: octopus.GetNotebookListReq - (*GetNotebookListResp)(nil), // 72: octopus.GetNotebookListResp - (*PayloadNotebookList)(nil), // 73: octopus.PayloadNotebookList - (*Notebooks)(nil), // 74: octopus.Notebooks - (*Tasks)(nil), // 75: octopus.Tasks - (*GetUserImageListReq)(nil), // 76: octopus.GetUserImageListReq - (*GetUserImageListResp)(nil), // 77: octopus.GetUserImageListResp - (*PayloadUserImageList)(nil), // 78: octopus.PayloadUserImageList - (*Images)(nil), // 79: octopus.Images - (*Image)(nil), // 80: octopus.Image - (*DeleteImageReq)(nil), // 81: octopus.DeleteImageReq - (*DeleteImageResp)(nil), // 82: octopus.DeleteImageResp - (*PayloadDeleteImage)(nil), // 83: octopus.PayloadDeleteImage - (*CreateImageReq)(nil), // 84: octopus.CreateImageReq - (*CreateImage)(nil), // 85: octopus.CreateImage - (*CreateImageResp)(nil), // 86: octopus.CreateImageResp - (*PayloadCreateImage)(nil), // 87: octopus.PayloadCreateImage - (*UploadImageReq)(nil), // 88: octopus.UploadImageReq - (*UploadImageParam)(nil), // 89: octopus.UploadImageParam - (*UploadImageResp)(nil), // 90: octopus.UploadImageResp - (*PayloadUploadImage)(nil), // 91: octopus.PayloadUploadImage - (*Headers)(nil), // 92: octopus.Headers - (*UploadImageConfirmReq)(nil), // 93: octopus.UploadImageConfirmReq - (*UploadImageConfirmResp)(nil), // 94: octopus.UploadImageConfirmResp - (*PayloadUploadImageConfirm)(nil), // 95: octopus.PayloadUploadImageConfirm - (*Error)(nil), // 96: octopus.Error + (*UploadAlgorithmConfirmParam)(nil), // 15: octopus.UploadAlgorithmConfirmParam + (*UploadAlgorithmConfirmResp)(nil), // 16: octopus.UploadAlgorithmConfirmResp + (*PayloadUploadAlgorithmConfirm)(nil), // 17: octopus.PayloadUploadAlgorithmConfirm + (*GetAlgorithmListReq)(nil), // 18: octopus.GetAlgorithmListReq + (*GetAlgorithmListResp)(nil), // 19: octopus.GetAlgorithmListResp + (*PayloadAlgorithmList)(nil), // 20: octopus.PayloadAlgorithmList + (*AlgorithmDetail)(nil), // 21: octopus.AlgorithmDetail + (*GetMyAlgorithmListReq)(nil), // 22: octopus.GetMyAlgorithmListReq + (*GetMyAlgorithmListResp)(nil), // 23: octopus.GetMyAlgorithmListResp + (*PayloadMyAlgorithmList)(nil), // 24: octopus.PayloadMyAlgorithmList + (*Algorithms)(nil), // 25: octopus.Algorithms + (*GetAlgorithmApplyListReq)(nil), // 26: octopus.GetAlgorithmApplyListReq + (*GetAlgorithmApplyListResp)(nil), // 27: octopus.GetAlgorithmApplyListResp + (*PayloadGetAlgorithmApplyList)(nil), // 28: octopus.PayloadGetAlgorithmApplyList + (*GetAlgorithmFrameworkListReq)(nil), // 29: octopus.GetAlgorithmFrameworkListReq + (*GetAlgorithmFrameworkListResp)(nil), // 30: octopus.GetAlgorithmFrameworkListResp + (*PayloadAlgorithmFrameworkList)(nil), // 31: octopus.PayloadAlgorithmFrameworkList + (*Lables)(nil), // 32: octopus.Lables + (*DeleteMyAlgorithmReq)(nil), // 33: octopus.DeleteMyAlgorithmReq + (*DeleteMyAlgorithmResp)(nil), // 34: octopus.DeleteMyAlgorithmResp + (*PayloadDeleteMyAlgorithm)(nil), // 35: octopus.PayloadDeleteMyAlgorithm + (*CreateMyAlgorithmReq)(nil), // 36: octopus.CreateMyAlgorithmReq + (*CreateMyAlgorithmResp)(nil), // 37: octopus.CreateMyAlgorithmResp + (*CreateMyAlgorithm)(nil), // 38: octopus.CreateMyAlgorithm + (*PayloadCreateMyAlgorithm)(nil), // 39: octopus.PayloadCreateMyAlgorithm + (*GetDatasetVersionListReq)(nil), // 40: octopus.GetDatasetVersionListReq + (*GetDatasetVersionListResp)(nil), // 41: octopus.GetDatasetVersionListResp + (*PayloadGetDatasetVersion)(nil), // 42: octopus.PayloadGetDatasetVersion + (*DatasetVersion)(nil), // 43: octopus.DatasetVersion + (*CreateDataSetReq)(nil), // 44: octopus.CreateDataSetReq + (*CreateDataSetResp)(nil), // 45: octopus.CreateDataSetResp + (*CreateDataSet)(nil), // 46: octopus.CreateDataSet + (*PayloadCreateDataSet)(nil), // 47: octopus.PayloadCreateDataSet + (*GetMyDatasetListReq)(nil), // 48: octopus.GetMyDatasetListReq + (*GetMyDatasetListResp)(nil), // 49: octopus.GetMyDatasetListResp + (*PayloadMyDatasetList)(nil), // 50: octopus.PayloadMyDatasetList + (*Datasets)(nil), // 51: octopus.Datasets + (*Applies)(nil), // 52: octopus.Applies + (*DeleteDataSetReq)(nil), // 53: octopus.DeleteDataSetReq + (*DeleteDataSetResp)(nil), // 54: octopus.DeleteDataSetResp + (*PayloadDeleteDataSet)(nil), // 55: octopus.PayloadDeleteDataSet + (*UploadDataSetReq)(nil), // 56: octopus.UploadDataSetReq + (*UploadDataSetParam)(nil), // 57: octopus.UploadDataSetParam + (*UploadDataSetResp)(nil), // 58: octopus.UploadDataSetResp + (*PayloadUploadDataSet)(nil), // 59: octopus.PayloadUploadDataSet + (*UploadDataSetConfirmReq)(nil), // 60: octopus.UploadDataSetConfirmReq + (*UploadDataSetConfirmParam)(nil), // 61: octopus.UploadDataSetConfirmParam + (*UploadDataSetConfirmResp)(nil), // 62: octopus.UploadDataSetConfirmResp + (*PayloadUploadDataSetConfirm)(nil), // 63: octopus.PayloadUploadDataSetConfirm + (*CreateDataSetVersionReq)(nil), // 64: octopus.CreateDataSetVersionReq + (*CreateDataSetVersionParam)(nil), // 65: octopus.CreateDataSetVersionParam + (*CreateDataSetVersionResp)(nil), // 66: octopus.CreateDataSetVersionResp + (*PayloadCreateDataSetVersion)(nil), // 67: octopus.PayloadCreateDataSetVersion + (*DeleteDataSetVersionReq)(nil), // 68: octopus.DeleteDataSetVersionReq + (*DeleteDataSetVersionResp)(nil), // 69: octopus.DeleteDataSetVersionResp + (*PayloadDeleteDataSetVersion)(nil), // 70: octopus.PayloadDeleteDataSetVersion + (*GetDatasetApplyListReq)(nil), // 71: octopus.GetDatasetApplyListReq + (*GetDatasetApplyListResp)(nil), // 72: octopus.GetDatasetApplyListResp + (*PayloadGetDatasetApplyList)(nil), // 73: octopus.PayloadGetDatasetApplyList + (*GetDatasetTypeListRep)(nil), // 74: octopus.GetDatasetTypeListRep + (*GetDatasetTypeListResp)(nil), // 75: octopus.GetDatasetTypeListResp + (*PayloadGetDatasetTypeList)(nil), // 76: octopus.PayloadGetDatasetTypeList + (*CreateNotebookReq)(nil), // 77: octopus.CreateNotebookReq + (*CreateNotebookParam)(nil), // 78: octopus.CreateNotebookParam + (*CreateNotebookResp)(nil), // 79: octopus.CreateNotebookResp + (*PayloadCreateNotebook)(nil), // 80: octopus.PayloadCreateNotebook + (*GetNotebookReq)(nil), // 81: octopus.GetNotebookReq + (*GetNotebookResp)(nil), // 82: octopus.GetNotebookResp + (*PayloadGetNotebook)(nil), // 83: octopus.PayloadGetNotebook + (*DeleteNotebookReq)(nil), // 84: octopus.DeleteNotebookReq + (*DeleteNotebookResp)(nil), // 85: octopus.DeleteNotebookResp + (*PayloadDeleteNotebook)(nil), // 86: octopus.PayloadDeleteNotebook + (*GetNotebookListReq)(nil), // 87: octopus.GetNotebookListReq + (*GetNotebookListResp)(nil), // 88: octopus.GetNotebookListResp + (*PayloadNotebookList)(nil), // 89: octopus.PayloadNotebookList + (*Notebook)(nil), // 90: octopus.Notebook + (*Tasks)(nil), // 91: octopus.Tasks + (*StartNotebookReq)(nil), // 92: octopus.StartNotebookReq + (*StartNotebookResp)(nil), // 93: octopus.StartNotebookResp + (*PayloadStartNotebook)(nil), // 94: octopus.PayloadStartNotebook + (*StopNotebookReq)(nil), // 95: octopus.StopNotebookReq + (*StopNotebookResp)(nil), // 96: octopus.StopNotebookResp + (*PayloadStopNotebook)(nil), // 97: octopus.PayloadStopNotebook + (*GetUserImageListReq)(nil), // 98: octopus.GetUserImageListReq + (*GetUserImageListResp)(nil), // 99: octopus.GetUserImageListResp + (*PayloadUserImageList)(nil), // 100: octopus.PayloadUserImageList + (*Images)(nil), // 101: octopus.Images + (*Image)(nil), // 102: octopus.Image + (*DeleteImageReq)(nil), // 103: octopus.DeleteImageReq + (*DeleteImageResp)(nil), // 104: octopus.DeleteImageResp + (*PayloadDeleteImage)(nil), // 105: octopus.PayloadDeleteImage + (*CreateImageReq)(nil), // 106: octopus.CreateImageReq + (*CreateImage)(nil), // 107: octopus.CreateImage + (*CreateImageResp)(nil), // 108: octopus.CreateImageResp + (*PayloadCreateImage)(nil), // 109: octopus.PayloadCreateImage + (*UploadImageReq)(nil), // 110: octopus.UploadImageReq + (*UploadImageParam)(nil), // 111: octopus.UploadImageParam + (*UploadImageResp)(nil), // 112: octopus.UploadImageResp + (*PayloadUploadImage)(nil), // 113: octopus.PayloadUploadImage + (*Headers)(nil), // 114: octopus.Headers + (*UploadImageConfirmReq)(nil), // 115: octopus.UploadImageConfirmReq + (*UploadImageConfirmResp)(nil), // 116: octopus.UploadImageConfirmResp + (*PayloadUploadImageConfirm)(nil), // 117: octopus.PayloadUploadImageConfirm + (*CreateTrainJobReq)(nil), // 118: octopus.CreateTrainJobReq + (*CreateTrainJobResp)(nil), // 119: octopus.CreateTrainJobResp + (*CreateTrainJobParam)(nil), // 120: octopus.CreateTrainJobParam + (*Config)(nil), // 121: octopus.Config + (*Envs)(nil), // 122: octopus.Envs + (*Parameters)(nil), // 123: octopus.Parameters + (*ReplicaStates)(nil), // 124: octopus.ReplicaStates + (*Mounts)(nil), // 125: octopus.Mounts + (*PayloadCreateTrainJob)(nil), // 126: octopus.PayloadCreateTrainJob + (*Nfs)(nil), // 127: octopus.Nfs + (*TrainJobOctopus)(nil), // 128: octopus.TrainJobOctopus + (*Error)(nil), // 129: octopus.Error } var file_octopus_proto_depIdxs = []int32{ - 5, // 0: octopus.GetAlgorithmResp.payload:type_name -> octopus.PayloadGetAlgorithm - 96, // 1: octopus.GetAlgorithmResp.error:type_name -> octopus.Error - 24, // 2: octopus.PayloadGetAlgorithm.algorithm:type_name -> octopus.Algorithms - 6, // 3: octopus.PayloadGetAlgorithm.versionAccesses:type_name -> octopus.VersionAccesses - 9, // 4: octopus.DownloadAlgorithmResp.payload:type_name -> octopus.PayloadDownloadAlgorithm - 96, // 5: octopus.DownloadAlgorithmResp.error:type_name -> octopus.Error - 11, // 6: octopus.UploadAlgorithmReq.uploadAlgorithmParam:type_name -> octopus.UploadAlgorithmParam - 13, // 7: octopus.UploadAlgorithmResp.payload:type_name -> octopus.PayloadUploadAlgorithm - 96, // 8: octopus.UploadAlgorithmResp.error:type_name -> octopus.Error - 16, // 9: octopus.UploadAlgorithmConfirmResp.payload:type_name -> octopus.PayloadUploadAlgorithmConfirm - 96, // 10: octopus.UploadAlgorithmConfirmResp.error:type_name -> octopus.Error - 19, // 11: octopus.GetAlgorithmListResp.payload:type_name -> octopus.PayloadAlgorithmList - 96, // 12: octopus.GetAlgorithmListResp.error:type_name -> octopus.Error - 20, // 13: octopus.PayloadAlgorithmList.algorithms:type_name -> octopus.AlgorithmDetail - 24, // 14: octopus.AlgorithmDetail.algorithmDetail:type_name -> octopus.Algorithms - 23, // 15: octopus.GetMyAlgorithmListResp.payload:type_name -> octopus.PayloadMyAlgorithmList - 96, // 16: octopus.GetMyAlgorithmListResp.error:type_name -> octopus.Error - 24, // 17: octopus.PayloadMyAlgorithmList.algorithms:type_name -> octopus.Algorithms - 27, // 18: octopus.GetAlgorithmApplyListResp.payload:type_name -> octopus.PayloadGetAlgorithmApplyList - 96, // 19: octopus.GetAlgorithmApplyListResp.error:type_name -> octopus.Error - 31, // 20: octopus.PayloadGetAlgorithmApplyList.lables:type_name -> octopus.Lables - 30, // 21: octopus.GetAlgorithmFrameworkListResp.payload:type_name -> octopus.PayloadAlgorithmFrameworkList - 96, // 22: octopus.GetAlgorithmFrameworkListResp.error:type_name -> octopus.Error - 31, // 23: octopus.PayloadAlgorithmFrameworkList.lables:type_name -> octopus.Lables - 34, // 24: octopus.DeleteMyAlgorithmResp.payload:type_name -> octopus.PayloadDeleteMyAlgorithm - 96, // 25: octopus.DeleteMyAlgorithmResp.error:type_name -> octopus.Error - 37, // 26: octopus.CreateMyAlgorithmReq.createMyAlgorithm:type_name -> octopus.CreateMyAlgorithm - 38, // 27: octopus.CreateMyAlgorithmResp.payload:type_name -> octopus.PayloadCreateMyAlgorithm - 96, // 28: octopus.CreateMyAlgorithmResp.error:type_name -> octopus.Error - 41, // 29: octopus.GetDatasetVersionListResp.payload:type_name -> octopus.PayloadGetDatasetVersion - 96, // 30: octopus.GetDatasetVersionListResp.error:type_name -> octopus.Error - 42, // 31: octopus.PayloadGetDatasetVersion.versions:type_name -> octopus.DatasetVersion - 45, // 32: octopus.CreateDataSetReq.createDataSet:type_name -> octopus.CreateDataSet - 46, // 33: octopus.CreateDataSetResp.payload:type_name -> octopus.PayloadCreateDataSet - 96, // 34: octopus.CreateDataSetResp.error:type_name -> octopus.Error - 49, // 35: octopus.GetMyDatasetListResp.payload:type_name -> octopus.PayloadMyDatasetList - 96, // 36: octopus.GetMyDatasetListResp.error:type_name -> octopus.Error - 50, // 37: octopus.PayloadMyDatasetList.datasets:type_name -> octopus.Datasets - 51, // 38: octopus.Datasets.applies:type_name -> octopus.Applies - 54, // 39: octopus.DeleteDataSetResp.payload:type_name -> octopus.PayloadDeleteDataSet - 96, // 40: octopus.DeleteDataSetResp.error:type_name -> octopus.Error - 56, // 41: octopus.UploadDataSetReq.UploadDataSetParam:type_name -> octopus.UploadDataSetParam - 58, // 42: octopus.UploadDataSetResp.payload:type_name -> octopus.PayloadUploadDataSet - 96, // 43: octopus.UploadDataSetResp.error:type_name -> octopus.Error - 61, // 44: octopus.UploadDataSetConfirmResp.payload:type_name -> octopus.PayloadUploadDataSetConfirm - 96, // 45: octopus.UploadDataSetConfirmResp.error:type_name -> octopus.Error - 64, // 46: octopus.CreateDataSetVersionResp.payload:type_name -> octopus.PayloadCreateDataSetVersion - 96, // 47: octopus.CreateDataSetVersionResp.error:type_name -> octopus.Error - 67, // 48: octopus.DeleteDataSetVersionResp.payload:type_name -> octopus.PayloadDeleteDataSetVersion - 96, // 49: octopus.DeleteDataSetVersionResp.error:type_name -> octopus.Error - 70, // 50: octopus.DeleteNotebookResp.payload:type_name -> octopus.PayloadDeleteNotebook - 96, // 51: octopus.DeleteNotebookResp.error:type_name -> octopus.Error - 73, // 52: octopus.GetNotebookListResp.payload:type_name -> octopus.PayloadNotebookList - 96, // 53: octopus.GetNotebookListResp.error:type_name -> octopus.Error - 74, // 54: octopus.PayloadNotebookList.notebooks:type_name -> octopus.Notebooks - 75, // 55: octopus.Notebooks.tasks:type_name -> octopus.Tasks - 78, // 56: octopus.GetUserImageListResp.payload:type_name -> octopus.PayloadUserImageList - 96, // 57: octopus.GetUserImageListResp.error:type_name -> octopus.Error - 79, // 58: octopus.PayloadUserImageList.images:type_name -> octopus.Images - 80, // 59: octopus.Images.image:type_name -> octopus.Image - 83, // 60: octopus.DeleteImageResp.payload:type_name -> octopus.PayloadDeleteImage - 96, // 61: octopus.DeleteImageResp.error:type_name -> octopus.Error - 85, // 62: octopus.CreateImageReq.createImage:type_name -> octopus.CreateImage - 87, // 63: octopus.CreateImageResp.payload:type_name -> octopus.PayloadCreateImage - 96, // 64: octopus.CreateImageResp.error:type_name -> octopus.Error - 89, // 65: octopus.UploadImageReq.uploadImageParam:type_name -> octopus.UploadImageParam - 91, // 66: octopus.UploadImageResp.payload:type_name -> octopus.PayloadUploadImage - 96, // 67: octopus.UploadImageResp.error:type_name -> octopus.Error - 92, // 68: octopus.PayloadUploadImage.headers:type_name -> octopus.Headers - 95, // 69: octopus.UploadImageConfirmResp.payload:type_name -> octopus.PayloadUploadImageConfirm - 96, // 70: octopus.UploadImageConfirmResp.error:type_name -> octopus.Error - 0, // 71: octopus.Octopus.GetComputingPower:input_type -> octopus.resourceReq - 0, // 72: octopus.Octopus.GetGeneralInfo:input_type -> octopus.resourceReq - 21, // 73: octopus.Octopus.GetMyAlgorithmList:input_type -> octopus.GetMyAlgorithmListReq - 17, // 74: octopus.Octopus.GetAlgorithmList:input_type -> octopus.GetAlgorithmListReq - 3, // 75: octopus.Octopus.GetAlgorithm:input_type -> octopus.GetAlgorithmReq - 25, // 76: octopus.Octopus.GetAlgorithmApplyList:input_type -> octopus.GetAlgorithmApplyListReq - 28, // 77: octopus.Octopus.GetAlgorithmFrameworkList:input_type -> octopus.GetAlgorithmFrameworkListReq - 32, // 78: octopus.Octopus.DeleteMyAlgorithm:input_type -> octopus.DeleteMyAlgorithmReq - 35, // 79: octopus.Octopus.CreateMyAlgorithm:input_type -> octopus.CreateMyAlgorithmReq - 7, // 80: octopus.Octopus.DownloadAlgorithm:input_type -> octopus.DownloadAlgorithmReq - 10, // 81: octopus.Octopus.UploadAlgorithm:input_type -> octopus.UploadAlgorithmReq - 14, // 82: octopus.Octopus.UploadAlgorithmConfirm:input_type -> octopus.UploadAlgorithmConfirmReq - 47, // 83: octopus.Octopus.GetMyDatasetList:input_type -> octopus.GetMyDatasetListReq - 39, // 84: octopus.Octopus.GetDatasetVersionList:input_type -> octopus.GetDatasetVersionListReq - 43, // 85: octopus.Octopus.CreateDataSet:input_type -> octopus.CreateDataSetReq - 52, // 86: octopus.Octopus.DeleteDataSet:input_type -> octopus.DeleteDataSetReq - 55, // 87: octopus.Octopus.UploadDataSet:input_type -> octopus.UploadDataSetReq - 59, // 88: octopus.Octopus.UploadDataSetConfirm:input_type -> octopus.UploadDataSetConfirmReq - 62, // 89: octopus.Octopus.CreateDataSetVersion:input_type -> octopus.CreateDataSetVersionReq - 65, // 90: octopus.Octopus.DeleteDataSetVersion:input_type -> octopus.DeleteDataSetVersionReq - 71, // 91: octopus.Octopus.GetNotebookList:input_type -> octopus.GetNotebookListReq - 68, // 92: octopus.Octopus.DeleteNotebook:input_type -> octopus.DeleteNotebookReq - 76, // 93: octopus.Octopus.GetUserImageList:input_type -> octopus.GetUserImageListReq - 84, // 94: octopus.Octopus.CreateImage:input_type -> octopus.CreateImageReq - 81, // 95: octopus.Octopus.DeleteImage:input_type -> octopus.DeleteImageReq - 88, // 96: octopus.Octopus.UploadImage:input_type -> octopus.UploadImageReq - 93, // 97: octopus.Octopus.UploadImageConfirm:input_type -> octopus.UploadImageConfirmReq - 1, // 98: octopus.Octopus.GetComputingPower:output_type -> octopus.cpResp - 2, // 99: octopus.Octopus.GetGeneralInfo:output_type -> octopus.giResp - 22, // 100: octopus.Octopus.GetMyAlgorithmList:output_type -> octopus.GetMyAlgorithmListResp - 18, // 101: octopus.Octopus.GetAlgorithmList:output_type -> octopus.GetAlgorithmListResp - 4, // 102: octopus.Octopus.GetAlgorithm:output_type -> octopus.GetAlgorithmResp - 26, // 103: octopus.Octopus.GetAlgorithmApplyList:output_type -> octopus.GetAlgorithmApplyListResp - 29, // 104: octopus.Octopus.GetAlgorithmFrameworkList:output_type -> octopus.GetAlgorithmFrameworkListResp - 33, // 105: octopus.Octopus.DeleteMyAlgorithm:output_type -> octopus.DeleteMyAlgorithmResp - 36, // 106: octopus.Octopus.CreateMyAlgorithm:output_type -> octopus.CreateMyAlgorithmResp - 8, // 107: octopus.Octopus.DownloadAlgorithm:output_type -> octopus.DownloadAlgorithmResp - 12, // 108: octopus.Octopus.UploadAlgorithm:output_type -> octopus.UploadAlgorithmResp - 15, // 109: octopus.Octopus.UploadAlgorithmConfirm:output_type -> octopus.UploadAlgorithmConfirmResp - 48, // 110: octopus.Octopus.GetMyDatasetList:output_type -> octopus.GetMyDatasetListResp - 40, // 111: octopus.Octopus.GetDatasetVersionList:output_type -> octopus.GetDatasetVersionListResp - 44, // 112: octopus.Octopus.CreateDataSet:output_type -> octopus.CreateDataSetResp - 53, // 113: octopus.Octopus.DeleteDataSet:output_type -> octopus.DeleteDataSetResp - 57, // 114: octopus.Octopus.UploadDataSet:output_type -> octopus.UploadDataSetResp - 60, // 115: octopus.Octopus.UploadDataSetConfirm:output_type -> octopus.UploadDataSetConfirmResp - 63, // 116: octopus.Octopus.CreateDataSetVersion:output_type -> octopus.CreateDataSetVersionResp - 66, // 117: octopus.Octopus.DeleteDataSetVersion:output_type -> octopus.DeleteDataSetVersionResp - 72, // 118: octopus.Octopus.GetNotebookList:output_type -> octopus.GetNotebookListResp - 69, // 119: octopus.Octopus.DeleteNotebook:output_type -> octopus.DeleteNotebookResp - 77, // 120: octopus.Octopus.GetUserImageList:output_type -> octopus.GetUserImageListResp - 86, // 121: octopus.Octopus.CreateImage:output_type -> octopus.CreateImageResp - 82, // 122: octopus.Octopus.DeleteImage:output_type -> octopus.DeleteImageResp - 90, // 123: octopus.Octopus.UploadImage:output_type -> octopus.UploadImageResp - 94, // 124: octopus.Octopus.UploadImageConfirm:output_type -> octopus.UploadImageConfirmResp - 98, // [98:125] is the sub-list for method output_type - 71, // [71:98] is the sub-list for method input_type - 71, // [71:71] is the sub-list for extension type_name - 71, // [71:71] is the sub-list for extension extendee - 0, // [0:71] is the sub-list for field type_name + 5, // 0: octopus.GetAlgorithmResp.payload:type_name -> octopus.PayloadGetAlgorithm + 129, // 1: octopus.GetAlgorithmResp.error:type_name -> octopus.Error + 25, // 2: octopus.PayloadGetAlgorithm.algorithm:type_name -> octopus.Algorithms + 6, // 3: octopus.PayloadGetAlgorithm.versionAccesses:type_name -> octopus.VersionAccesses + 9, // 4: octopus.DownloadAlgorithmResp.payload:type_name -> octopus.PayloadDownloadAlgorithm + 129, // 5: octopus.DownloadAlgorithmResp.error:type_name -> octopus.Error + 11, // 6: octopus.UploadAlgorithmReq.params:type_name -> octopus.UploadAlgorithmParam + 13, // 7: octopus.UploadAlgorithmResp.payload:type_name -> octopus.PayloadUploadAlgorithm + 129, // 8: octopus.UploadAlgorithmResp.error:type_name -> octopus.Error + 15, // 9: octopus.UploadAlgorithmConfirmReq.params:type_name -> octopus.UploadAlgorithmConfirmParam + 17, // 10: octopus.UploadAlgorithmConfirmResp.payload:type_name -> octopus.PayloadUploadAlgorithmConfirm + 129, // 11: octopus.UploadAlgorithmConfirmResp.error:type_name -> octopus.Error + 20, // 12: octopus.GetAlgorithmListResp.payload:type_name -> octopus.PayloadAlgorithmList + 129, // 13: octopus.GetAlgorithmListResp.error:type_name -> octopus.Error + 21, // 14: octopus.PayloadAlgorithmList.algorithms:type_name -> octopus.AlgorithmDetail + 25, // 15: octopus.AlgorithmDetail.algorithmDetail:type_name -> octopus.Algorithms + 24, // 16: octopus.GetMyAlgorithmListResp.payload:type_name -> octopus.PayloadMyAlgorithmList + 129, // 17: octopus.GetMyAlgorithmListResp.error:type_name -> octopus.Error + 25, // 18: octopus.PayloadMyAlgorithmList.algorithms:type_name -> octopus.Algorithms + 28, // 19: octopus.GetAlgorithmApplyListResp.payload:type_name -> octopus.PayloadGetAlgorithmApplyList + 129, // 20: octopus.GetAlgorithmApplyListResp.error:type_name -> octopus.Error + 32, // 21: octopus.PayloadGetAlgorithmApplyList.lables:type_name -> octopus.Lables + 31, // 22: octopus.GetAlgorithmFrameworkListResp.payload:type_name -> octopus.PayloadAlgorithmFrameworkList + 129, // 23: octopus.GetAlgorithmFrameworkListResp.error:type_name -> octopus.Error + 32, // 24: octopus.PayloadAlgorithmFrameworkList.lables:type_name -> octopus.Lables + 35, // 25: octopus.DeleteMyAlgorithmResp.payload:type_name -> octopus.PayloadDeleteMyAlgorithm + 129, // 26: octopus.DeleteMyAlgorithmResp.error:type_name -> octopus.Error + 38, // 27: octopus.CreateMyAlgorithmReq.createMyAlgorithm:type_name -> octopus.CreateMyAlgorithm + 39, // 28: octopus.CreateMyAlgorithmResp.payload:type_name -> octopus.PayloadCreateMyAlgorithm + 129, // 29: octopus.CreateMyAlgorithmResp.error:type_name -> octopus.Error + 42, // 30: octopus.GetDatasetVersionListResp.payload:type_name -> octopus.PayloadGetDatasetVersion + 129, // 31: octopus.GetDatasetVersionListResp.error:type_name -> octopus.Error + 43, // 32: octopus.PayloadGetDatasetVersion.versions:type_name -> octopus.DatasetVersion + 46, // 33: octopus.CreateDataSetReq.createDataSet:type_name -> octopus.CreateDataSet + 47, // 34: octopus.CreateDataSetResp.payload:type_name -> octopus.PayloadCreateDataSet + 129, // 35: octopus.CreateDataSetResp.error:type_name -> octopus.Error + 50, // 36: octopus.GetMyDatasetListResp.payload:type_name -> octopus.PayloadMyDatasetList + 129, // 37: octopus.GetMyDatasetListResp.error:type_name -> octopus.Error + 51, // 38: octopus.PayloadMyDatasetList.datasets:type_name -> octopus.Datasets + 52, // 39: octopus.Datasets.applies:type_name -> octopus.Applies + 55, // 40: octopus.DeleteDataSetResp.payload:type_name -> octopus.PayloadDeleteDataSet + 129, // 41: octopus.DeleteDataSetResp.error:type_name -> octopus.Error + 57, // 42: octopus.UploadDataSetReq.params:type_name -> octopus.UploadDataSetParam + 59, // 43: octopus.UploadDataSetResp.payload:type_name -> octopus.PayloadUploadDataSet + 129, // 44: octopus.UploadDataSetResp.error:type_name -> octopus.Error + 61, // 45: octopus.UploadDataSetConfirmReq.params:type_name -> octopus.UploadDataSetConfirmParam + 63, // 46: octopus.UploadDataSetConfirmResp.payload:type_name -> octopus.PayloadUploadDataSetConfirm + 129, // 47: octopus.UploadDataSetConfirmResp.error:type_name -> octopus.Error + 65, // 48: octopus.CreateDataSetVersionReq.params:type_name -> octopus.CreateDataSetVersionParam + 67, // 49: octopus.CreateDataSetVersionResp.payload:type_name -> octopus.PayloadCreateDataSetVersion + 129, // 50: octopus.CreateDataSetVersionResp.error:type_name -> octopus.Error + 70, // 51: octopus.DeleteDataSetVersionResp.payload:type_name -> octopus.PayloadDeleteDataSetVersion + 129, // 52: octopus.DeleteDataSetVersionResp.error:type_name -> octopus.Error + 73, // 53: octopus.GetDatasetApplyListResp.payload:type_name -> octopus.PayloadGetDatasetApplyList + 129, // 54: octopus.GetDatasetApplyListResp.error:type_name -> octopus.Error + 32, // 55: octopus.PayloadGetDatasetApplyList.lables:type_name -> octopus.Lables + 76, // 56: octopus.GetDatasetTypeListResp.payload:type_name -> octopus.PayloadGetDatasetTypeList + 129, // 57: octopus.GetDatasetTypeListResp.error:type_name -> octopus.Error + 32, // 58: octopus.PayloadGetDatasetTypeList.lables:type_name -> octopus.Lables + 78, // 59: octopus.CreateNotebookReq.params:type_name -> octopus.CreateNotebookParam + 122, // 60: octopus.CreateNotebookParam.envs:type_name -> octopus.Envs + 125, // 61: octopus.CreateNotebookParam.mounts:type_name -> octopus.Mounts + 80, // 62: octopus.CreateNotebookResp.payload:type_name -> octopus.PayloadCreateNotebook + 129, // 63: octopus.CreateNotebookResp.error:type_name -> octopus.Error + 83, // 64: octopus.GetNotebookResp.payload:type_name -> octopus.PayloadGetNotebook + 129, // 65: octopus.GetNotebookResp.error:type_name -> octopus.Error + 90, // 66: octopus.PayloadGetNotebook.notebook:type_name -> octopus.Notebook + 86, // 67: octopus.DeleteNotebookResp.payload:type_name -> octopus.PayloadDeleteNotebook + 129, // 68: octopus.DeleteNotebookResp.error:type_name -> octopus.Error + 89, // 69: octopus.GetNotebookListResp.payload:type_name -> octopus.PayloadNotebookList + 129, // 70: octopus.GetNotebookListResp.error:type_name -> octopus.Error + 90, // 71: octopus.PayloadNotebookList.notebooks:type_name -> octopus.Notebook + 91, // 72: octopus.Notebook.tasks:type_name -> octopus.Tasks + 94, // 73: octopus.StartNotebookResp.payload:type_name -> octopus.PayloadStartNotebook + 129, // 74: octopus.StartNotebookResp.error:type_name -> octopus.Error + 97, // 75: octopus.StopNotebookResp.payload:type_name -> octopus.PayloadStopNotebook + 129, // 76: octopus.StopNotebookResp.error:type_name -> octopus.Error + 100, // 77: octopus.GetUserImageListResp.payload:type_name -> octopus.PayloadUserImageList + 129, // 78: octopus.GetUserImageListResp.error:type_name -> octopus.Error + 101, // 79: octopus.PayloadUserImageList.images:type_name -> octopus.Images + 102, // 80: octopus.Images.image:type_name -> octopus.Image + 105, // 81: octopus.DeleteImageResp.payload:type_name -> octopus.PayloadDeleteImage + 129, // 82: octopus.DeleteImageResp.error:type_name -> octopus.Error + 107, // 83: octopus.CreateImageReq.createImage:type_name -> octopus.CreateImage + 109, // 84: octopus.CreateImageResp.payload:type_name -> octopus.PayloadCreateImage + 129, // 85: octopus.CreateImageResp.error:type_name -> octopus.Error + 111, // 86: octopus.UploadImageReq.params:type_name -> octopus.UploadImageParam + 113, // 87: octopus.UploadImageResp.payload:type_name -> octopus.PayloadUploadImage + 129, // 88: octopus.UploadImageResp.error:type_name -> octopus.Error + 114, // 89: octopus.PayloadUploadImage.headers:type_name -> octopus.Headers + 117, // 90: octopus.UploadImageConfirmResp.payload:type_name -> octopus.PayloadUploadImageConfirm + 129, // 91: octopus.UploadImageConfirmResp.error:type_name -> octopus.Error + 120, // 92: octopus.CreateTrainJobReq.params:type_name -> octopus.CreateTrainJobParam + 126, // 93: octopus.CreateTrainJobResp.payload:type_name -> octopus.PayloadCreateTrainJob + 129, // 94: octopus.CreateTrainJobResp.error:type_name -> octopus.Error + 121, // 95: octopus.CreateTrainJobParam.config:type_name -> octopus.Config + 125, // 96: octopus.CreateTrainJobParam.mounts:type_name -> octopus.Mounts + 122, // 97: octopus.Config.envs:type_name -> octopus.Envs + 123, // 98: octopus.Config.parameters:type_name -> octopus.Parameters + 124, // 99: octopus.Config.replicaStates:type_name -> octopus.ReplicaStates + 127, // 100: octopus.Mounts.nfs:type_name -> octopus.Nfs + 128, // 101: octopus.Mounts.octopus:type_name -> octopus.TrainJobOctopus + 0, // 102: octopus.Octopus.GetComputingPower:input_type -> octopus.resourceReq + 0, // 103: octopus.Octopus.GetGeneralInfo:input_type -> octopus.resourceReq + 22, // 104: octopus.Octopus.GetMyAlgorithmList:input_type -> octopus.GetMyAlgorithmListReq + 18, // 105: octopus.Octopus.GetAlgorithmList:input_type -> octopus.GetAlgorithmListReq + 3, // 106: octopus.Octopus.GetAlgorithm:input_type -> octopus.GetAlgorithmReq + 26, // 107: octopus.Octopus.GetAlgorithmApplyList:input_type -> octopus.GetAlgorithmApplyListReq + 29, // 108: octopus.Octopus.GetAlgorithmFrameworkList:input_type -> octopus.GetAlgorithmFrameworkListReq + 33, // 109: octopus.Octopus.DeleteMyAlgorithm:input_type -> octopus.DeleteMyAlgorithmReq + 36, // 110: octopus.Octopus.CreateMyAlgorithm:input_type -> octopus.CreateMyAlgorithmReq + 7, // 111: octopus.Octopus.DownloadAlgorithm:input_type -> octopus.DownloadAlgorithmReq + 10, // 112: octopus.Octopus.UploadAlgorithm:input_type -> octopus.UploadAlgorithmReq + 14, // 113: octopus.Octopus.UploadAlgorithmConfirm:input_type -> octopus.UploadAlgorithmConfirmReq + 48, // 114: octopus.Octopus.GetMyDatasetList:input_type -> octopus.GetMyDatasetListReq + 40, // 115: octopus.Octopus.GetDatasetVersionList:input_type -> octopus.GetDatasetVersionListReq + 44, // 116: octopus.Octopus.CreateDataSet:input_type -> octopus.CreateDataSetReq + 53, // 117: octopus.Octopus.DeleteDataSet:input_type -> octopus.DeleteDataSetReq + 56, // 118: octopus.Octopus.UploadDataSet:input_type -> octopus.UploadDataSetReq + 60, // 119: octopus.Octopus.UploadDataSetConfirm:input_type -> octopus.UploadDataSetConfirmReq + 64, // 120: octopus.Octopus.CreateDataSetVersion:input_type -> octopus.CreateDataSetVersionReq + 68, // 121: octopus.Octopus.DeleteDataSetVersion:input_type -> octopus.DeleteDataSetVersionReq + 71, // 122: octopus.Octopus.GetDatasetApplyList:input_type -> octopus.GetDatasetApplyListReq + 74, // 123: octopus.Octopus.GetDatasetTypeList:input_type -> octopus.GetDatasetTypeListRep + 87, // 124: octopus.Octopus.GetNotebookList:input_type -> octopus.GetNotebookListReq + 81, // 125: octopus.Octopus.GetNotebook:input_type -> octopus.GetNotebookReq + 84, // 126: octopus.Octopus.DeleteNotebook:input_type -> octopus.DeleteNotebookReq + 77, // 127: octopus.Octopus.CreateNotebook:input_type -> octopus.CreateNotebookReq + 92, // 128: octopus.Octopus.StartNotebook:input_type -> octopus.StartNotebookReq + 95, // 129: octopus.Octopus.StopNotebook:input_type -> octopus.StopNotebookReq + 98, // 130: octopus.Octopus.GetUserImageList:input_type -> octopus.GetUserImageListReq + 106, // 131: octopus.Octopus.CreateImage:input_type -> octopus.CreateImageReq + 103, // 132: octopus.Octopus.DeleteImage:input_type -> octopus.DeleteImageReq + 110, // 133: octopus.Octopus.UploadImage:input_type -> octopus.UploadImageReq + 115, // 134: octopus.Octopus.UploadImageConfirm:input_type -> octopus.UploadImageConfirmReq + 118, // 135: octopus.Octopus.CreateTrainJob:input_type -> octopus.CreateTrainJobReq + 1, // 136: octopus.Octopus.GetComputingPower:output_type -> octopus.cpResp + 2, // 137: octopus.Octopus.GetGeneralInfo:output_type -> octopus.giResp + 23, // 138: octopus.Octopus.GetMyAlgorithmList:output_type -> octopus.GetMyAlgorithmListResp + 19, // 139: octopus.Octopus.GetAlgorithmList:output_type -> octopus.GetAlgorithmListResp + 4, // 140: octopus.Octopus.GetAlgorithm:output_type -> octopus.GetAlgorithmResp + 27, // 141: octopus.Octopus.GetAlgorithmApplyList:output_type -> octopus.GetAlgorithmApplyListResp + 30, // 142: octopus.Octopus.GetAlgorithmFrameworkList:output_type -> octopus.GetAlgorithmFrameworkListResp + 34, // 143: octopus.Octopus.DeleteMyAlgorithm:output_type -> octopus.DeleteMyAlgorithmResp + 37, // 144: octopus.Octopus.CreateMyAlgorithm:output_type -> octopus.CreateMyAlgorithmResp + 8, // 145: octopus.Octopus.DownloadAlgorithm:output_type -> octopus.DownloadAlgorithmResp + 12, // 146: octopus.Octopus.UploadAlgorithm:output_type -> octopus.UploadAlgorithmResp + 16, // 147: octopus.Octopus.UploadAlgorithmConfirm:output_type -> octopus.UploadAlgorithmConfirmResp + 49, // 148: octopus.Octopus.GetMyDatasetList:output_type -> octopus.GetMyDatasetListResp + 41, // 149: octopus.Octopus.GetDatasetVersionList:output_type -> octopus.GetDatasetVersionListResp + 45, // 150: octopus.Octopus.CreateDataSet:output_type -> octopus.CreateDataSetResp + 54, // 151: octopus.Octopus.DeleteDataSet:output_type -> octopus.DeleteDataSetResp + 58, // 152: octopus.Octopus.UploadDataSet:output_type -> octopus.UploadDataSetResp + 62, // 153: octopus.Octopus.UploadDataSetConfirm:output_type -> octopus.UploadDataSetConfirmResp + 66, // 154: octopus.Octopus.CreateDataSetVersion:output_type -> octopus.CreateDataSetVersionResp + 69, // 155: octopus.Octopus.DeleteDataSetVersion:output_type -> octopus.DeleteDataSetVersionResp + 72, // 156: octopus.Octopus.GetDatasetApplyList:output_type -> octopus.GetDatasetApplyListResp + 75, // 157: octopus.Octopus.GetDatasetTypeList:output_type -> octopus.GetDatasetTypeListResp + 88, // 158: octopus.Octopus.GetNotebookList:output_type -> octopus.GetNotebookListResp + 82, // 159: octopus.Octopus.GetNotebook:output_type -> octopus.GetNotebookResp + 85, // 160: octopus.Octopus.DeleteNotebook:output_type -> octopus.DeleteNotebookResp + 79, // 161: octopus.Octopus.CreateNotebook:output_type -> octopus.CreateNotebookResp + 93, // 162: octopus.Octopus.StartNotebook:output_type -> octopus.StartNotebookResp + 96, // 163: octopus.Octopus.StopNotebook:output_type -> octopus.StopNotebookResp + 99, // 164: octopus.Octopus.GetUserImageList:output_type -> octopus.GetUserImageListResp + 108, // 165: octopus.Octopus.CreateImage:output_type -> octopus.CreateImageResp + 104, // 166: octopus.Octopus.DeleteImage:output_type -> octopus.DeleteImageResp + 112, // 167: octopus.Octopus.UploadImage:output_type -> octopus.UploadImageResp + 116, // 168: octopus.Octopus.UploadImageConfirm:output_type -> octopus.UploadImageConfirmResp + 119, // 169: octopus.Octopus.CreateTrainJob:output_type -> octopus.CreateTrainJobResp + 136, // [136:170] is the sub-list for method output_type + 102, // [102:136] is the sub-list for method input_type + 102, // [102:102] is the sub-list for extension type_name + 102, // [102:102] is the sub-list for extension extendee + 0, // [0:102] is the sub-list for field type_name } func init() { file_octopus_proto_init() } @@ -7596,7 +10105,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadAlgorithmConfirmResp); i { + switch v := v.(*UploadAlgorithmConfirmParam); i { case 0: return &v.state case 1: @@ -7608,7 +10117,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUploadAlgorithmConfirm); i { + switch v := v.(*UploadAlgorithmConfirmResp); i { case 0: return &v.state case 1: @@ -7620,7 +10129,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmListReq); i { + switch v := v.(*PayloadUploadAlgorithmConfirm); i { case 0: return &v.state case 1: @@ -7632,7 +10141,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmListResp); i { + switch v := v.(*GetAlgorithmListReq); i { case 0: return &v.state case 1: @@ -7644,7 +10153,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadAlgorithmList); i { + switch v := v.(*GetAlgorithmListResp); i { case 0: return &v.state case 1: @@ -7656,7 +10165,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlgorithmDetail); i { + switch v := v.(*PayloadAlgorithmList); i { case 0: return &v.state case 1: @@ -7668,7 +10177,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyAlgorithmListReq); i { + switch v := v.(*AlgorithmDetail); i { case 0: return &v.state case 1: @@ -7680,7 +10189,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyAlgorithmListResp); i { + switch v := v.(*GetMyAlgorithmListReq); i { case 0: return &v.state case 1: @@ -7692,7 +10201,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadMyAlgorithmList); i { + switch v := v.(*GetMyAlgorithmListResp); i { case 0: return &v.state case 1: @@ -7704,7 +10213,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Algorithms); i { + switch v := v.(*PayloadMyAlgorithmList); i { case 0: return &v.state case 1: @@ -7716,7 +10225,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmApplyListReq); i { + switch v := v.(*Algorithms); i { case 0: return &v.state case 1: @@ -7728,7 +10237,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmApplyListResp); i { + switch v := v.(*GetAlgorithmApplyListReq); i { case 0: return &v.state case 1: @@ -7740,7 +10249,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadGetAlgorithmApplyList); i { + switch v := v.(*GetAlgorithmApplyListResp); i { case 0: return &v.state case 1: @@ -7752,7 +10261,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmFrameworkListReq); i { + switch v := v.(*PayloadGetAlgorithmApplyList); i { case 0: return &v.state case 1: @@ -7764,7 +10273,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlgorithmFrameworkListResp); i { + switch v := v.(*GetAlgorithmFrameworkListReq); i { case 0: return &v.state case 1: @@ -7776,7 +10285,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadAlgorithmFrameworkList); i { + switch v := v.(*GetAlgorithmFrameworkListResp); i { case 0: return &v.state case 1: @@ -7788,7 +10297,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Lables); i { + switch v := v.(*PayloadAlgorithmFrameworkList); i { case 0: return &v.state case 1: @@ -7800,7 +10309,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMyAlgorithmReq); i { + switch v := v.(*Lables); i { case 0: return &v.state case 1: @@ -7812,7 +10321,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMyAlgorithmResp); i { + switch v := v.(*DeleteMyAlgorithmReq); i { case 0: return &v.state case 1: @@ -7824,7 +10333,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadDeleteMyAlgorithm); i { + switch v := v.(*DeleteMyAlgorithmResp); i { case 0: return &v.state case 1: @@ -7836,7 +10345,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMyAlgorithmReq); i { + switch v := v.(*PayloadDeleteMyAlgorithm); i { case 0: return &v.state case 1: @@ -7848,7 +10357,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMyAlgorithmResp); i { + switch v := v.(*CreateMyAlgorithmReq); i { case 0: return &v.state case 1: @@ -7860,7 +10369,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateMyAlgorithm); i { + switch v := v.(*CreateMyAlgorithmResp); i { case 0: return &v.state case 1: @@ -7872,7 +10381,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadCreateMyAlgorithm); i { + switch v := v.(*CreateMyAlgorithm); i { case 0: return &v.state case 1: @@ -7884,7 +10393,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDatasetVersionListReq); i { + switch v := v.(*PayloadCreateMyAlgorithm); i { case 0: return &v.state case 1: @@ -7896,7 +10405,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDatasetVersionListResp); i { + switch v := v.(*GetDatasetVersionListReq); i { case 0: return &v.state case 1: @@ -7908,7 +10417,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadGetDatasetVersion); i { + switch v := v.(*GetDatasetVersionListResp); i { case 0: return &v.state case 1: @@ -7920,7 +10429,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DatasetVersion); i { + switch v := v.(*PayloadGetDatasetVersion); i { case 0: return &v.state case 1: @@ -7932,7 +10441,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataSetReq); i { + switch v := v.(*DatasetVersion); i { case 0: return &v.state case 1: @@ -7944,7 +10453,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataSetResp); i { + switch v := v.(*CreateDataSetReq); i { case 0: return &v.state case 1: @@ -7956,7 +10465,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataSet); i { + switch v := v.(*CreateDataSetResp); i { case 0: return &v.state case 1: @@ -7968,7 +10477,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadCreateDataSet); i { + switch v := v.(*CreateDataSet); i { case 0: return &v.state case 1: @@ -7980,7 +10489,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyDatasetListReq); i { + switch v := v.(*PayloadCreateDataSet); i { case 0: return &v.state case 1: @@ -7992,7 +10501,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMyDatasetListResp); i { + switch v := v.(*GetMyDatasetListReq); i { case 0: return &v.state case 1: @@ -8004,7 +10513,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadMyDatasetList); i { + switch v := v.(*GetMyDatasetListResp); i { case 0: return &v.state case 1: @@ -8016,7 +10525,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Datasets); i { + switch v := v.(*PayloadMyDatasetList); i { case 0: return &v.state case 1: @@ -8028,7 +10537,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Applies); i { + switch v := v.(*Datasets); i { case 0: return &v.state case 1: @@ -8040,7 +10549,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDataSetReq); i { + switch v := v.(*Applies); i { case 0: return &v.state case 1: @@ -8052,7 +10561,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDataSetResp); i { + switch v := v.(*DeleteDataSetReq); i { case 0: return &v.state case 1: @@ -8064,7 +10573,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadDeleteDataSet); i { + switch v := v.(*DeleteDataSetResp); i { case 0: return &v.state case 1: @@ -8076,7 +10585,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadDataSetReq); i { + switch v := v.(*PayloadDeleteDataSet); i { case 0: return &v.state case 1: @@ -8088,7 +10597,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadDataSetParam); i { + switch v := v.(*UploadDataSetReq); i { case 0: return &v.state case 1: @@ -8100,7 +10609,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadDataSetResp); i { + switch v := v.(*UploadDataSetParam); i { case 0: return &v.state case 1: @@ -8112,7 +10621,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUploadDataSet); i { + switch v := v.(*UploadDataSetResp); i { case 0: return &v.state case 1: @@ -8124,7 +10633,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadDataSetConfirmReq); i { + switch v := v.(*PayloadUploadDataSet); i { case 0: return &v.state case 1: @@ -8136,7 +10645,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadDataSetConfirmResp); i { + switch v := v.(*UploadDataSetConfirmReq); i { case 0: return &v.state case 1: @@ -8148,7 +10657,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUploadDataSetConfirm); i { + switch v := v.(*UploadDataSetConfirmParam); i { case 0: return &v.state case 1: @@ -8160,7 +10669,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataSetVersionReq); i { + switch v := v.(*UploadDataSetConfirmResp); i { case 0: return &v.state case 1: @@ -8172,7 +10681,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataSetVersionResp); i { + switch v := v.(*PayloadUploadDataSetConfirm); i { case 0: return &v.state case 1: @@ -8184,7 +10693,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadCreateDataSetVersion); i { + switch v := v.(*CreateDataSetVersionReq); i { case 0: return &v.state case 1: @@ -8196,7 +10705,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDataSetVersionReq); i { + switch v := v.(*CreateDataSetVersionParam); i { case 0: return &v.state case 1: @@ -8208,7 +10717,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDataSetVersionResp); i { + switch v := v.(*CreateDataSetVersionResp); i { case 0: return &v.state case 1: @@ -8220,7 +10729,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadDeleteDataSetVersion); i { + switch v := v.(*PayloadCreateDataSetVersion); i { case 0: return &v.state case 1: @@ -8232,7 +10741,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteNotebookReq); i { + switch v := v.(*DeleteDataSetVersionReq); i { case 0: return &v.state case 1: @@ -8244,7 +10753,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteNotebookResp); i { + switch v := v.(*DeleteDataSetVersionResp); i { case 0: return &v.state case 1: @@ -8256,7 +10765,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadDeleteNotebook); i { + switch v := v.(*PayloadDeleteDataSetVersion); i { case 0: return &v.state case 1: @@ -8268,7 +10777,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNotebookListReq); i { + switch v := v.(*GetDatasetApplyListReq); i { case 0: return &v.state case 1: @@ -8280,7 +10789,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNotebookListResp); i { + switch v := v.(*GetDatasetApplyListResp); i { case 0: return &v.state case 1: @@ -8292,7 +10801,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadNotebookList); i { + switch v := v.(*PayloadGetDatasetApplyList); i { case 0: return &v.state case 1: @@ -8304,7 +10813,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Notebooks); i { + switch v := v.(*GetDatasetTypeListRep); i { case 0: return &v.state case 1: @@ -8316,7 +10825,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tasks); i { + switch v := v.(*GetDatasetTypeListResp); i { case 0: return &v.state case 1: @@ -8328,7 +10837,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserImageListReq); i { + switch v := v.(*PayloadGetDatasetTypeList); i { case 0: return &v.state case 1: @@ -8340,7 +10849,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserImageListResp); i { + switch v := v.(*CreateNotebookReq); i { case 0: return &v.state case 1: @@ -8352,7 +10861,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUserImageList); i { + switch v := v.(*CreateNotebookParam); i { case 0: return &v.state case 1: @@ -8364,7 +10873,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Images); i { + switch v := v.(*CreateNotebookResp); i { case 0: return &v.state case 1: @@ -8376,7 +10885,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Image); i { + switch v := v.(*PayloadCreateNotebook); i { case 0: return &v.state case 1: @@ -8388,7 +10897,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteImageReq); i { + switch v := v.(*GetNotebookReq); i { case 0: return &v.state case 1: @@ -8400,7 +10909,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteImageResp); i { + switch v := v.(*GetNotebookResp); i { case 0: return &v.state case 1: @@ -8412,7 +10921,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadDeleteImage); i { + switch v := v.(*PayloadGetNotebook); i { case 0: return &v.state case 1: @@ -8424,7 +10933,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateImageReq); i { + switch v := v.(*DeleteNotebookReq); i { case 0: return &v.state case 1: @@ -8436,7 +10945,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateImage); i { + switch v := v.(*DeleteNotebookResp); i { case 0: return &v.state case 1: @@ -8448,7 +10957,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateImageResp); i { + switch v := v.(*PayloadDeleteNotebook); i { case 0: return &v.state case 1: @@ -8460,7 +10969,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadCreateImage); i { + switch v := v.(*GetNotebookListReq); i { case 0: return &v.state case 1: @@ -8472,7 +10981,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadImageReq); i { + switch v := v.(*GetNotebookListResp); i { case 0: return &v.state case 1: @@ -8484,7 +10993,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadImageParam); i { + switch v := v.(*PayloadNotebookList); i { case 0: return &v.state case 1: @@ -8496,7 +11005,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadImageResp); i { + switch v := v.(*Notebook); i { case 0: return &v.state case 1: @@ -8508,7 +11017,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUploadImage); i { + switch v := v.(*Tasks); i { case 0: return &v.state case 1: @@ -8520,7 +11029,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Headers); i { + switch v := v.(*StartNotebookReq); i { case 0: return &v.state case 1: @@ -8532,7 +11041,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadImageConfirmReq); i { + switch v := v.(*StartNotebookResp); i { case 0: return &v.state case 1: @@ -8544,7 +11053,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadImageConfirmResp); i { + switch v := v.(*PayloadStartNotebook); i { case 0: return &v.state case 1: @@ -8556,7 +11065,7 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PayloadUploadImageConfirm); i { + switch v := v.(*StopNotebookReq); i { case 0: return &v.state case 1: @@ -8568,6 +11077,402 @@ func file_octopus_proto_init() { } } file_octopus_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopNotebookResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadStopNotebook); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserImageListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserImageListResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadUserImageList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Images); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Image); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteImageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteImageResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadDeleteImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateImageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateImageResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadCreateImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadImageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadImageParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadImageResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadUploadImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Headers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadImageConfirmReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadImageConfirmResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadUploadImageConfirm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTrainJobReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTrainJobResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTrainJobParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Config); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Envs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicaStates); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Mounts); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PayloadCreateTrainJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Nfs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrainJobOctopus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_octopus_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Error); i { case 0: return &v.state @@ -8586,7 +11491,7 @@ func file_octopus_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_octopus_proto_rawDesc, NumEnums: 0, - NumMessages: 97, + NumMessages: 130, NumExtensions: 0, NumServices: 1, }, diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus_grpc.pb.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus_grpc.pb.go index 793bec6c..18c503c8 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus_grpc.pb.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopus/octopus_grpc.pb.go @@ -44,16 +44,23 @@ type OctopusClient interface { UploadDataSetConfirm(ctx context.Context, in *UploadDataSetConfirmReq, opts ...grpc.CallOption) (*UploadDataSetConfirmResp, error) CreateDataSetVersion(ctx context.Context, in *CreateDataSetVersionReq, opts ...grpc.CallOption) (*CreateDataSetVersionResp, error) DeleteDataSetVersion(ctx context.Context, in *DeleteDataSetVersionReq, opts ...grpc.CallOption) (*DeleteDataSetVersionResp, error) - // ModelDeployService + GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) + GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) // Develop GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) + GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) + CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) + StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) + StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) // ImageService GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) CreateImage(ctx context.Context, in *CreateImageReq, opts ...grpc.CallOption) (*CreateImageResp, error) DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error) UploadImage(ctx context.Context, in *UploadImageReq, opts ...grpc.CallOption) (*UploadImageResp, error) UploadImageConfirm(ctx context.Context, in *UploadImageConfirmReq, opts ...grpc.CallOption) (*UploadImageConfirmResp, error) + // TrainJobService + CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) } type octopusClient struct { @@ -244,6 +251,24 @@ func (c *octopusClient) DeleteDataSetVersion(ctx context.Context, in *DeleteData return out, nil } +func (c *octopusClient) GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) { + out := new(GetDatasetApplyListResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/GetDatasetApplyList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *octopusClient) GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) { + out := new(GetDatasetTypeListResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/GetDatasetTypeList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *octopusClient) GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) { out := new(GetNotebookListResp) err := c.cc.Invoke(ctx, "/octopus.Octopus/GetNotebookList", in, out, opts...) @@ -253,6 +278,15 @@ func (c *octopusClient) GetNotebookList(ctx context.Context, in *GetNotebookList return out, nil } +func (c *octopusClient) GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) { + out := new(GetNotebookResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/GetNotebook", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *octopusClient) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) { out := new(DeleteNotebookResp) err := c.cc.Invoke(ctx, "/octopus.Octopus/DeleteNotebook", in, out, opts...) @@ -262,6 +296,33 @@ func (c *octopusClient) DeleteNotebook(ctx context.Context, in *DeleteNotebookRe return out, nil } +func (c *octopusClient) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) { + out := new(CreateNotebookResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/CreateNotebook", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *octopusClient) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) { + out := new(StartNotebookResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/StartNotebook", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *octopusClient) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) { + out := new(StopNotebookResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/StopNotebook", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *octopusClient) GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) { out := new(GetUserImageListResp) err := c.cc.Invoke(ctx, "/octopus.Octopus/GetUserImageList", in, out, opts...) @@ -307,6 +368,15 @@ func (c *octopusClient) UploadImageConfirm(ctx context.Context, in *UploadImageC return out, nil } +func (c *octopusClient) CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) { + out := new(CreateTrainJobResp) + err := c.cc.Invoke(ctx, "/octopus.Octopus/CreateTrainJob", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // OctopusServer is the server API for Octopus service. // All implementations must embed UnimplementedOctopusServer // for forward compatibility @@ -333,16 +403,23 @@ type OctopusServer interface { UploadDataSetConfirm(context.Context, *UploadDataSetConfirmReq) (*UploadDataSetConfirmResp, error) CreateDataSetVersion(context.Context, *CreateDataSetVersionReq) (*CreateDataSetVersionResp, error) DeleteDataSetVersion(context.Context, *DeleteDataSetVersionReq) (*DeleteDataSetVersionResp, error) - // ModelDeployService + GetDatasetApplyList(context.Context, *GetDatasetApplyListReq) (*GetDatasetApplyListResp, error) + GetDatasetTypeList(context.Context, *GetDatasetTypeListRep) (*GetDatasetTypeListResp, error) // Develop GetNotebookList(context.Context, *GetNotebookListReq) (*GetNotebookListResp, error) + GetNotebook(context.Context, *GetNotebookReq) (*GetNotebookResp, error) DeleteNotebook(context.Context, *DeleteNotebookReq) (*DeleteNotebookResp, error) + CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error) + StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error) + StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error) // ImageService GetUserImageList(context.Context, *GetUserImageListReq) (*GetUserImageListResp, error) CreateImage(context.Context, *CreateImageReq) (*CreateImageResp, error) DeleteImage(context.Context, *DeleteImageReq) (*DeleteImageResp, error) UploadImage(context.Context, *UploadImageReq) (*UploadImageResp, error) UploadImageConfirm(context.Context, *UploadImageConfirmReq) (*UploadImageConfirmResp, error) + // TrainJobService + CreateTrainJob(context.Context, *CreateTrainJobReq) (*CreateTrainJobResp, error) mustEmbedUnimplementedOctopusServer() } @@ -410,12 +487,30 @@ func (UnimplementedOctopusServer) CreateDataSetVersion(context.Context, *CreateD func (UnimplementedOctopusServer) DeleteDataSetVersion(context.Context, *DeleteDataSetVersionReq) (*DeleteDataSetVersionResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDataSetVersion not implemented") } +func (UnimplementedOctopusServer) GetDatasetApplyList(context.Context, *GetDatasetApplyListReq) (*GetDatasetApplyListResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDatasetApplyList not implemented") +} +func (UnimplementedOctopusServer) GetDatasetTypeList(context.Context, *GetDatasetTypeListRep) (*GetDatasetTypeListResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDatasetTypeList not implemented") +} func (UnimplementedOctopusServer) GetNotebookList(context.Context, *GetNotebookListReq) (*GetNotebookListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNotebookList not implemented") } +func (UnimplementedOctopusServer) GetNotebook(context.Context, *GetNotebookReq) (*GetNotebookResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNotebook not implemented") +} func (UnimplementedOctopusServer) DeleteNotebook(context.Context, *DeleteNotebookReq) (*DeleteNotebookResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNotebook not implemented") } +func (UnimplementedOctopusServer) CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNotebook not implemented") +} +func (UnimplementedOctopusServer) StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartNotebook not implemented") +} +func (UnimplementedOctopusServer) StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method StopNotebook not implemented") +} func (UnimplementedOctopusServer) GetUserImageList(context.Context, *GetUserImageListReq) (*GetUserImageListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserImageList not implemented") } @@ -431,6 +526,9 @@ func (UnimplementedOctopusServer) UploadImage(context.Context, *UploadImageReq) func (UnimplementedOctopusServer) UploadImageConfirm(context.Context, *UploadImageConfirmReq) (*UploadImageConfirmResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UploadImageConfirm not implemented") } +func (UnimplementedOctopusServer) CreateTrainJob(context.Context, *CreateTrainJobReq) (*CreateTrainJobResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTrainJob not implemented") +} func (UnimplementedOctopusServer) mustEmbedUnimplementedOctopusServer() {} // UnsafeOctopusServer may be embedded to opt out of forward compatibility for this service. @@ -804,6 +902,42 @@ func _Octopus_DeleteDataSetVersion_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Octopus_GetDatasetApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDatasetApplyListReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).GetDatasetApplyList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/GetDatasetApplyList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).GetDatasetApplyList(ctx, req.(*GetDatasetApplyListReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Octopus_GetDatasetTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDatasetTypeListRep) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).GetDatasetTypeList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/GetDatasetTypeList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).GetDatasetTypeList(ctx, req.(*GetDatasetTypeListRep)) + } + return interceptor(ctx, in, info, handler) +} + func _Octopus_GetNotebookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetNotebookListReq) if err := dec(in); err != nil { @@ -822,6 +956,24 @@ func _Octopus_GetNotebookList_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Octopus_GetNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNotebookReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).GetNotebook(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/GetNotebook", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).GetNotebook(ctx, req.(*GetNotebookReq)) + } + return interceptor(ctx, in, info, handler) +} + func _Octopus_DeleteNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteNotebookReq) if err := dec(in); err != nil { @@ -840,6 +992,60 @@ func _Octopus_DeleteNotebook_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _Octopus_CreateNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNotebookReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).CreateNotebook(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/CreateNotebook", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).CreateNotebook(ctx, req.(*CreateNotebookReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Octopus_StartNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartNotebookReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).StartNotebook(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/StartNotebook", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).StartNotebook(ctx, req.(*StartNotebookReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Octopus_StopNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StopNotebookReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).StopNotebook(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/StopNotebook", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).StopNotebook(ctx, req.(*StopNotebookReq)) + } + return interceptor(ctx, in, info, handler) +} + func _Octopus_GetUserImageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUserImageListReq) if err := dec(in); err != nil { @@ -930,6 +1136,24 @@ func _Octopus_UploadImageConfirm_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _Octopus_CreateTrainJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTrainJobReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OctopusServer).CreateTrainJob(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/octopus.Octopus/CreateTrainJob", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OctopusServer).CreateTrainJob(ctx, req.(*CreateTrainJobReq)) + } + return interceptor(ctx, in, info, handler) +} + // Octopus_ServiceDesc is the grpc.ServiceDesc for Octopus service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -1017,14 +1241,38 @@ var Octopus_ServiceDesc = grpc.ServiceDesc{ MethodName: "DeleteDataSetVersion", Handler: _Octopus_DeleteDataSetVersion_Handler, }, + { + MethodName: "GetDatasetApplyList", + Handler: _Octopus_GetDatasetApplyList_Handler, + }, + { + MethodName: "GetDatasetTypeList", + Handler: _Octopus_GetDatasetTypeList_Handler, + }, { MethodName: "GetNotebookList", Handler: _Octopus_GetNotebookList_Handler, }, + { + MethodName: "GetNotebook", + Handler: _Octopus_GetNotebook_Handler, + }, { MethodName: "DeleteNotebook", Handler: _Octopus_DeleteNotebook_Handler, }, + { + MethodName: "CreateNotebook", + Handler: _Octopus_CreateNotebook_Handler, + }, + { + MethodName: "StartNotebook", + Handler: _Octopus_StartNotebook_Handler, + }, + { + MethodName: "StopNotebook", + Handler: _Octopus_StopNotebook_Handler, + }, { MethodName: "GetUserImageList", Handler: _Octopus_GetUserImageList_Handler, @@ -1045,6 +1293,10 @@ var Octopus_ServiceDesc = grpc.ServiceDesc{ MethodName: "UploadImageConfirm", Handler: _Octopus_UploadImageConfirm_Handler, }, + { + MethodName: "CreateTrainJob", + Handler: _Octopus_CreateTrainJob_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "octopus.proto", diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopusclient/octopus.go b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopusclient/octopus.go index 41804b88..fb0fa84f 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopusclient/octopus.go +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/octopusclient/octopus.go @@ -16,10 +16,12 @@ type ( AlgorithmDetail = octopus.AlgorithmDetail Algorithms = octopus.Algorithms Applies = octopus.Applies + Config = octopus.Config CpResp = octopus.CpResp CreateDataSet = octopus.CreateDataSet CreateDataSetReq = octopus.CreateDataSetReq CreateDataSetResp = octopus.CreateDataSetResp + CreateDataSetVersionParam = octopus.CreateDataSetVersionParam CreateDataSetVersionReq = octopus.CreateDataSetVersionReq CreateDataSetVersionResp = octopus.CreateDataSetVersionResp CreateImage = octopus.CreateImage @@ -28,6 +30,12 @@ type ( CreateMyAlgorithm = octopus.CreateMyAlgorithm CreateMyAlgorithmReq = octopus.CreateMyAlgorithmReq CreateMyAlgorithmResp = octopus.CreateMyAlgorithmResp + CreateNotebookParam = octopus.CreateNotebookParam + CreateNotebookReq = octopus.CreateNotebookReq + CreateNotebookResp = octopus.CreateNotebookResp + CreateTrainJobParam = octopus.CreateTrainJobParam + CreateTrainJobReq = octopus.CreateTrainJobReq + CreateTrainJobResp = octopus.CreateTrainJobResp DatasetVersion = octopus.DatasetVersion Datasets = octopus.Datasets DeleteDataSetReq = octopus.DeleteDataSetReq @@ -42,6 +50,7 @@ type ( DeleteNotebookResp = octopus.DeleteNotebookResp DownloadAlgorithmReq = octopus.DownloadAlgorithmReq DownloadAlgorithmResp = octopus.DownloadAlgorithmResp + Envs = octopus.Envs Error = octopus.Error GetAlgorithmApplyListReq = octopus.GetAlgorithmApplyListReq GetAlgorithmApplyListResp = octopus.GetAlgorithmApplyListResp @@ -51,6 +60,10 @@ type ( GetAlgorithmListResp = octopus.GetAlgorithmListResp GetAlgorithmReq = octopus.GetAlgorithmReq GetAlgorithmResp = octopus.GetAlgorithmResp + GetDatasetApplyListReq = octopus.GetDatasetApplyListReq + GetDatasetApplyListResp = octopus.GetDatasetApplyListResp + GetDatasetTypeListRep = octopus.GetDatasetTypeListRep + GetDatasetTypeListResp = octopus.GetDatasetTypeListResp GetDatasetVersionListReq = octopus.GetDatasetVersionListReq GetDatasetVersionListResp = octopus.GetDatasetVersionListResp GetMyAlgorithmListReq = octopus.GetMyAlgorithmListReq @@ -59,6 +72,8 @@ type ( GetMyDatasetListResp = octopus.GetMyDatasetListResp GetNotebookListReq = octopus.GetNotebookListReq GetNotebookListResp = octopus.GetNotebookListResp + GetNotebookReq = octopus.GetNotebookReq + GetNotebookResp = octopus.GetNotebookResp GetUserImageListReq = octopus.GetUserImageListReq GetUserImageListResp = octopus.GetUserImageListResp GiResp = octopus.GiResp @@ -66,13 +81,18 @@ type ( Image = octopus.Image Images = octopus.Images Lables = octopus.Lables - Notebooks = octopus.Notebooks + Mounts = octopus.Mounts + Nfs = octopus.Nfs + Notebook = octopus.Notebook + Parameters = octopus.Parameters PayloadAlgorithmFrameworkList = octopus.PayloadAlgorithmFrameworkList PayloadAlgorithmList = octopus.PayloadAlgorithmList PayloadCreateDataSet = octopus.PayloadCreateDataSet PayloadCreateDataSetVersion = octopus.PayloadCreateDataSetVersion PayloadCreateImage = octopus.PayloadCreateImage PayloadCreateMyAlgorithm = octopus.PayloadCreateMyAlgorithm + PayloadCreateNotebook = octopus.PayloadCreateNotebook + PayloadCreateTrainJob = octopus.PayloadCreateTrainJob PayloadDeleteDataSet = octopus.PayloadDeleteDataSet PayloadDeleteDataSetVersion = octopus.PayloadDeleteDataSetVersion PayloadDeleteImage = octopus.PayloadDeleteImage @@ -81,10 +101,15 @@ type ( PayloadDownloadAlgorithm = octopus.PayloadDownloadAlgorithm PayloadGetAlgorithm = octopus.PayloadGetAlgorithm PayloadGetAlgorithmApplyList = octopus.PayloadGetAlgorithmApplyList + PayloadGetDatasetApplyList = octopus.PayloadGetDatasetApplyList + PayloadGetDatasetTypeList = octopus.PayloadGetDatasetTypeList PayloadGetDatasetVersion = octopus.PayloadGetDatasetVersion + PayloadGetNotebook = octopus.PayloadGetNotebook PayloadMyAlgorithmList = octopus.PayloadMyAlgorithmList PayloadMyDatasetList = octopus.PayloadMyDatasetList PayloadNotebookList = octopus.PayloadNotebookList + PayloadStartNotebook = octopus.PayloadStartNotebook + PayloadStopNotebook = octopus.PayloadStopNotebook PayloadUploadAlgorithm = octopus.PayloadUploadAlgorithm PayloadUploadAlgorithmConfirm = octopus.PayloadUploadAlgorithmConfirm PayloadUploadDataSet = octopus.PayloadUploadDataSet @@ -92,13 +117,21 @@ type ( PayloadUploadImage = octopus.PayloadUploadImage PayloadUploadImageConfirm = octopus.PayloadUploadImageConfirm PayloadUserImageList = octopus.PayloadUserImageList + ReplicaStates = octopus.ReplicaStates ResourceReq = octopus.ResourceReq + StartNotebookReq = octopus.StartNotebookReq + StartNotebookResp = octopus.StartNotebookResp + StopNotebookReq = octopus.StopNotebookReq + StopNotebookResp = octopus.StopNotebookResp Tasks = octopus.Tasks + TrainJobOctopus = octopus.TrainJobOctopus + UploadAlgorithmConfirmParam = octopus.UploadAlgorithmConfirmParam UploadAlgorithmConfirmReq = octopus.UploadAlgorithmConfirmReq UploadAlgorithmConfirmResp = octopus.UploadAlgorithmConfirmResp UploadAlgorithmParam = octopus.UploadAlgorithmParam UploadAlgorithmReq = octopus.UploadAlgorithmReq UploadAlgorithmResp = octopus.UploadAlgorithmResp + UploadDataSetConfirmParam = octopus.UploadDataSetConfirmParam UploadDataSetConfirmReq = octopus.UploadDataSetConfirmReq UploadDataSetConfirmResp = octopus.UploadDataSetConfirmResp UploadDataSetParam = octopus.UploadDataSetParam @@ -134,15 +167,23 @@ type ( UploadDataSetConfirm(ctx context.Context, in *UploadDataSetConfirmReq, opts ...grpc.CallOption) (*UploadDataSetConfirmResp, error) CreateDataSetVersion(ctx context.Context, in *CreateDataSetVersionReq, opts ...grpc.CallOption) (*CreateDataSetVersionResp, error) DeleteDataSetVersion(ctx context.Context, in *DeleteDataSetVersionReq, opts ...grpc.CallOption) (*DeleteDataSetVersionResp, error) - // ModelDeployService + GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) + GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) + // Develop GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) + GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) + CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) + StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) + StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) // ImageService GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) CreateImage(ctx context.Context, in *CreateImageReq, opts ...grpc.CallOption) (*CreateImageResp, error) DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error) UploadImage(ctx context.Context, in *UploadImageReq, opts ...grpc.CallOption) (*UploadImageResp, error) UploadImageConfirm(ctx context.Context, in *UploadImageConfirmReq, opts ...grpc.CallOption) (*UploadImageConfirmResp, error) + // TrainJobService + CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) } defaultOctopus struct { @@ -258,17 +299,47 @@ func (m *defaultOctopus) DeleteDataSetVersion(ctx context.Context, in *DeleteDat return client.DeleteDataSetVersion(ctx, in, opts...) } -// ModelDeployService +func (m *defaultOctopus) GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.GetDatasetApplyList(ctx, in, opts...) +} + +func (m *defaultOctopus) GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.GetDatasetTypeList(ctx, in, opts...) +} + +// Develop func (m *defaultOctopus) GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) { client := octopus.NewOctopusClient(m.cli.Conn()) return client.GetNotebookList(ctx, in, opts...) } +func (m *defaultOctopus) GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.GetNotebook(ctx, in, opts...) +} + func (m *defaultOctopus) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) { client := octopus.NewOctopusClient(m.cli.Conn()) return client.DeleteNotebook(ctx, in, opts...) } +func (m *defaultOctopus) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.CreateNotebook(ctx, in, opts...) +} + +func (m *defaultOctopus) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.StartNotebook(ctx, in, opts...) +} + +func (m *defaultOctopus) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.StopNotebook(ctx, in, opts...) +} + // ImageService func (m *defaultOctopus) GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) { client := octopus.NewOctopusClient(m.cli.Conn()) @@ -294,3 +365,9 @@ func (m *defaultOctopus) UploadImageConfirm(ctx context.Context, in *UploadImage client := octopus.NewOctopusClient(m.cli.Conn()) return client.UploadImageConfirm(ctx, in, opts...) } + +// TrainJobService +func (m *defaultOctopus) CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) { + client := octopus.NewOctopusClient(m.cli.Conn()) + return client.CreateTrainJob(ctx, in, opts...) +} diff --git a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/pb/octopus.proto b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/pb/octopus.proto index b8697c8a..8ce219c8 100644 --- a/adaptor/PCM-AI/PCM-OCTOPUS/rpc/pb/octopus.proto +++ b/adaptor/PCM-AI/PCM-OCTOPUS/rpc/pb/octopus.proto @@ -5,6 +5,7 @@ option go_package = "/octopus"; message resourceReq{ + string platform =1; } message cpResp{ @@ -60,7 +61,7 @@ message UploadAlgorithmReq{ string platform =1; string algorithmId = 2; string version = 3; - UploadAlgorithmParam uploadAlgorithmParam = 4; + UploadAlgorithmParam params = 4; } message UploadAlgorithmParam{ @@ -82,7 +83,11 @@ message UploadAlgorithmConfirmReq{ string platform =1; string algorithmId = 2; string version = 3; - string fileName = 4; + UploadAlgorithmConfirmParam params = 4; +} + +message UploadAlgorithmConfirmParam{ + string fileName = 1; } message UploadAlgorithmConfirmResp{ @@ -97,8 +102,9 @@ message PayloadUploadAlgorithmConfirm{ message GetAlgorithmListReq{ string platform =1; - int32 pageIndex =2; - int32 pageSize =3; + string algorithmId = 2; + int32 pageIndex =3; + int32 pageSize =4; } message GetAlgorithmListResp{ @@ -344,7 +350,7 @@ message UploadDataSetReq{ string platform =1; string datasetId=2; string version=3; - UploadDataSetParam UploadDataSetParam = 4; + UploadDataSetParam params = 4; } message UploadDataSetParam{ @@ -366,7 +372,11 @@ message UploadDataSetConfirmReq{ string platform =1; string datasetId=2; string version=3; - string fileName = 4; + UploadDataSetConfirmParam params = 4; +} + +message UploadDataSetConfirmParam{ + string fileName = 1; } message UploadDataSetConfirmResp{ @@ -382,7 +392,11 @@ message PayloadUploadDataSetConfirm{ message CreateDataSetVersionReq{ string platform =1; string datasetId=2; - string desc =3; + CreateDataSetVersionParam params =3; +} + +message CreateDataSetVersionParam{ + string desc =1; } message CreateDataSetVersionResp{ @@ -411,12 +425,95 @@ message DeleteDataSetVersionResp{ message PayloadDeleteDataSetVersion{ int64 deletedAt = 1; } + +message GetDatasetApplyListReq{ + string platform =1; + int32 pageIndex =2; + int32 pageSize =3; +} + +message GetDatasetApplyListResp{ + bool success =1; + PayloadGetDatasetApplyList payload =2; + Error error = 3; +} + +message PayloadGetDatasetApplyList{ + int32 totalSize = 1; + repeated Lables lables =2; +} + +message GetDatasetTypeListRep{ + string platform =1; + int32 pageIndex =2; + int32 pageSize =3; +} + +message GetDatasetTypeListResp{ + bool success =1; + PayloadGetDatasetTypeList payload =2; + Error error = 3; +} + +message PayloadGetDatasetTypeList{ + int32 totalSize = 1; + repeated Lables lables =2; +} + + /******************DatasetService End*************************/ /******************ModelDeployService Start*************************/ /******************ModelDeployService End*************************/ /******************Develop Start*************************/ +message CreateNotebookReq{ + string platform =1; + CreateNotebookParam params = 2; +} + +message CreateNotebookParam{ + string algorithmId = 1; + string algorithmVersion = 2; + string command = 3; + string datasetId = 4; + string datasetVersion = 5; + string desc = 6; + Envs envs = 7; + string imageId = 8; + string imageUrl = 9; + repeated Mounts mounts = 10; + string name = 11; + string resourcePool = 12; + string resourceSpecId = 13; + int32 taskNumber = 14; +} + +message CreateNotebookResp{ + bool success =1; + PayloadCreateNotebook payload =2; + Error error = 3; +} + +message PayloadCreateNotebook{ + string id = 1; +} + +message GetNotebookReq{ + string platform =1; + string id =2; +} + +message GetNotebookResp{ + bool success =1; + PayloadGetNotebook payload =2; + Error error = 3; +} + +message PayloadGetNotebook{ + Notebook notebook = 1; +} + message DeleteNotebookReq{ string platform =1; string id =2; @@ -446,10 +543,10 @@ message GetNotebookListResp{ message PayloadNotebookList{ int32 totalSize =1; - repeated Notebooks notebooks = 2; + repeated Notebook notebooks = 2; } -message Notebooks{ +message Notebook{ int64 createdAt =1; int64 updatedAt =2; string id = 3; @@ -479,6 +576,38 @@ message Tasks{ string url =1; string name= 2; } + +message StartNotebookReq{ + string platform =1; + string id =2; +} + +message StartNotebookResp{ + bool success =1; + PayloadStartNotebook payload =2; + Error error = 3; +} + +message PayloadStartNotebook{ + string id = 1; +} + +message StopNotebookReq{ + string platform =1; + string id =2; +} + +message StopNotebookResp{ + bool success =1; + PayloadStopNotebook payload =2; + Error error = 3; +} + +message PayloadStopNotebook{ + string id = 1; +} + + /******************Develop End*************************/ /******************ImageService Start*************************/ @@ -562,7 +691,7 @@ message PayloadCreateImage{ message UploadImageReq{ string platform =1; string imageId=2; - UploadImageParam uploadImageParam = 3; + UploadImageParam params = 3; } message UploadImageParam{ @@ -608,6 +737,85 @@ message PayloadUploadImageConfirm{ /******************Model End*************************/ /******************TrainJobService Start*************************/ +message CreateTrainJobReq{ + string platform =1; + CreateTrainJobParam params = 2; +} + +message CreateTrainJobResp{ + bool success =1; + PayloadCreateTrainJob payload =2; + Error error = 3; +} + +message CreateTrainJobParam{ + string algorithmId = 1; + string algorithmVersion = 2; + repeated Config config = 3; + string dataSetId = 4; + string dataSetVersion = 5; + string desc = 6; + string imageId = 7; + string imageUrl = 8; + bool isDistributed = 9; + repeated Mounts mounts = 10; + string name = 11; + string resourcePool = 12; +} + +message Config{ + string command = 1; + Envs envs = 2; + bool isMainRole = 3; + int32 minFailedTaskCount = 4; + int32 minSucceededTaskCount =5; + string name = 6; + repeated Parameters parameters = 7; + repeated ReplicaStates replicaStates = 8; + string resourceSpecId = 9; + string resourceSpecName = 10; + int32 resourceSpecPrice = 11; + string subTaskState = 12; + int32 taskNumber = 13; +} + +message Envs{ + string additionalProp1 = 1; + string additionalProp2 = 2; + string additionalProp3 = 3; +} + +message Parameters{ + string key = 1; + string value = 2; +} + +message ReplicaStates{ + string key = 1; + string state = 2; +} + +message Mounts{ + string containerPath = 1; + Nfs nfs = 2; + TrainJobOctopus octopus = 3; + bool readOnly = 4; +} + +message PayloadCreateTrainJob{ + string jobId = 1; +} + +message Nfs{ + string path = 1; + string server = 2; +} + +message TrainJobOctopus{ + string bucket = 1; + string object = 2; +} + /******************TrainJobService End*************************/ message Error{ @@ -638,9 +846,6 @@ service Octopus { - - - //DatasetService rpc GetMyDatasetList(GetMyDatasetListReq) returns (GetMyDatasetListResp); rpc GetDatasetVersionList(GetDatasetVersionListReq) returns (GetDatasetVersionListResp); @@ -650,15 +855,21 @@ service Octopus { rpc UploadDataSetConfirm(UploadDataSetConfirmReq) returns (UploadDataSetConfirmResp); rpc CreateDataSetVersion(CreateDataSetVersionReq) returns (CreateDataSetVersionResp); //创建版本 rpc DeleteDataSetVersion(DeleteDataSetVersionReq) returns (DeleteDataSetVersionResp); //删除版本 - - - + rpc GetDatasetApplyList(GetDatasetApplyListReq) returns (GetDatasetApplyListResp); //查询数据集用途列表 + rpc GetDatasetTypeList(GetDatasetTypeListRep) returns (GetDatasetTypeListResp); //查询数据集类型列表 //ModelDeployService + + //Develop rpc GetNotebookList(GetNotebookListReq) returns (GetNotebookListResp); + rpc GetNotebook(GetNotebookReq) returns (GetNotebookResp); rpc DeleteNotebook(DeleteNotebookReq) returns (DeleteNotebookResp); + rpc CreateNotebook(CreateNotebookReq) returns (CreateNotebookResp); + rpc StartNotebook(StartNotebookReq) returns (StartNotebookResp); + rpc StopNotebook(StopNotebookReq) returns (StopNotebookResp); + //ImageService @@ -669,9 +880,12 @@ service Octopus { rpc UploadImageConfirm(UploadImageConfirmReq) returns (UploadImageConfirmResp); - - //Model + + + //TrainJobService + rpc CreateTrainJob(CreateTrainJobReq) returns (CreateTrainJobResp); + } \ No newline at end of file diff --git a/adaptor/PCM-CORE/api/desc/core/pcm-core.api b/adaptor/PCM-CORE/api/desc/core/pcm-core.api index 47c268f3..17b6d3ee 100644 --- a/adaptor/PCM-CORE/api/desc/core/pcm-core.api +++ b/adaptor/PCM-CORE/api/desc/core/pcm-core.api @@ -302,4 +302,48 @@ type ( NodeCount string `json:"nodeCount"` //节点数量 // DeleteFlag int64 `json:"delete_flag"` // 是否删除 0:未删除,1:已经删除 } +) + +type ( + ResourcePanelConfigReq { + Id int64 `json:"id"` //id + Title string `json:"title"` //标题 + TitleColor string `json:"titleColor"` //标题色 + MainColor string `json:"mainColor"` //主色调 + MainColor2 string `json:"mainColor2"` //次主色调 + TextColor string `json:"textColor"` //文字颜色 + BackgroundColor string `json:"backgroundColor"` //背景底色 + Center string `json:"center"` //中心点 + CenterPosition string `json:"centerPosition"` //comment 中心点坐标 + ProvinceBgColor string `json:"provinceBgColor"` //三级地图底色 + StatusIng string `json:"statusIng"` //接入中图标 + StatusUn string `json:"statusUn"` //未接入图标 + StatusEnd string `json:"statusEnd"` //已接入图标 + TitleIcon string `json:"titleIcon"` //标题底图 + SubTitleIcon string `json:"subTitleIcon"` //小标题底图 + NumberBg string `json:"numberBg"` //数字底图 + TaskBg string `json:"taskBg"` //任务底图 + } + + ResourcePanelConfigResp { + Id int64 `json:"id"` //id + Title string `json:"title"` //标题, + TitleColor string `json:"titleColor"` //标题色, + MainColor string `json:"mainColor"` //主色调, + MainColor2 string `json:"mainColor2"` //次主色调, + TextColor string `json:"textColor"` //文字颜色, + BackgroundColor string `json:"backgroundColor"` //背景底色, + Center string `json:"center"` //中心点, + CenterPosition string `json:"centerPosition"` //comment 中心点坐标, + ProvinceBgColor string `json:"provinceBgColor"` //三级地图底色, + StatusIng string `json:"statusIng"` //接入中图标, + StatusUn string `json:"statusUn"` //未接入图标, + StatusEnd string `json:"statusEnd"` //已接入图标, + TitleIcon string `json:"titleIcon"` //标题底图, + SubTitleIcon string `json:"subTitleIcon"` //小标题底图, + NumberBg string `json:"numberBg"` //数字底图, + TaskBg string `json:"taskBg"` //任务底图, + CreateTime string `json:"createTime"` //创建时间, + UpdateTime string `json:"updateTime"` //更新时间 + } ) \ No newline at end of file diff --git a/adaptor/PCM-CORE/api/desc/pcm.api b/adaptor/PCM-CORE/api/desc/pcm.api index ce3f80bd..3d81dc34 100644 --- a/adaptor/PCM-CORE/api/desc/pcm.api +++ b/adaptor/PCM-CORE/api/desc/pcm.api @@ -50,6 +50,12 @@ service pcm { @handler listDomainResourceHandler get /core/listDomainResource returns (DomainResourceResp) + + @handler getResourcePanelConfigHandler + get /core/getResourcePanelConfigHandler () returns (ResourcePanelConfigResp) + + @handler putResourcePanelConfigHandler + put /core/resourcePanelConfigHandler (ResourcePanelConfigReq) returns () } //hpc二级接口 @@ -181,7 +187,12 @@ service pcm { @handler uploadImageHandler post /image/upload () returns () + @handler chunkImageHandler + post /image/chunk () returns () + @handler imageListHandler get /image/list () returns (imageListResp) + @handler checkHandler + get /image/check (checkReq) returns (checkResp) } \ No newline at end of file diff --git a/adaptor/PCM-CORE/api/desc/storage/pcm-storage.api b/adaptor/PCM-CORE/api/desc/storage/pcm-storage.api index 87117496..96ecd53d 100644 --- a/adaptor/PCM-CORE/api/desc/storage/pcm-storage.api +++ b/adaptor/PCM-CORE/api/desc/storage/pcm-storage.api @@ -118,4 +118,13 @@ type ( name string `json:"name"` tags []string `json:"tags" copier:"tags"` } -) \ No newline at end of file +) + +type ( + checkReq { + fileMd5 string `json:"fileMd5"` + } + checkResp { + exist bool `json:"exist"` + } +) diff --git a/adaptor/PCM-CORE/api/internal/handler/core/getresourcepanelconfighandler.go b/adaptor/PCM-CORE/api/internal/handler/core/getresourcepanelconfighandler.go new file mode 100644 index 00000000..3a4052f1 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/handler/core/getresourcepanelconfighandler.go @@ -0,0 +1,18 @@ +package core + +import ( + "net/http" + + "PCM/common/result" + + "PCM/adaptor/PCM-CORE/api/internal/logic/core" + "PCM/adaptor/PCM-CORE/api/internal/svc" +) + +func GetResourcePanelConfigHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + l := core.NewGetResourcePanelConfigLogic(r.Context(), svcCtx) + resp, err := l.GetResourcePanelConfig() + result.HttpResult(r, w, resp, err) + } +} diff --git a/adaptor/PCM-CORE/api/internal/handler/core/putresourcepanelconfighandler.go b/adaptor/PCM-CORE/api/internal/handler/core/putresourcepanelconfighandler.go new file mode 100644 index 00000000..0cca6ad7 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/handler/core/putresourcepanelconfighandler.go @@ -0,0 +1,26 @@ +package core + +import ( + "net/http" + + "PCM/common/result" + + "PCM/adaptor/PCM-CORE/api/internal/logic/core" + "PCM/adaptor/PCM-CORE/api/internal/svc" + "PCM/adaptor/PCM-CORE/api/internal/types" + "github.com/zeromicro/go-zero/rest/httpx" +) + +func PutResourcePanelConfigHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + var req types.ResourcePanelConfigReq + if err := httpx.Parse(r, &req); err != nil { + result.ParamErrorResult(r, w, err) + return + } + + l := core.NewPutResourcePanelConfigLogic(r.Context(), svcCtx) + err := l.PutResourcePanelConfig(&req) + result.HttpResult(r, w, nil, err) + } +} diff --git a/adaptor/PCM-CORE/api/internal/handler/image/checkhandler.go b/adaptor/PCM-CORE/api/internal/handler/image/checkhandler.go new file mode 100644 index 00000000..663475f2 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/handler/image/checkhandler.go @@ -0,0 +1,28 @@ +package image + +import ( + "net/http" + + "PCM/adaptor/PCM-CORE/api/internal/logic/image" + "PCM/adaptor/PCM-CORE/api/internal/svc" + "PCM/adaptor/PCM-CORE/api/internal/types" + "github.com/zeromicro/go-zero/rest/httpx" +) + +func CheckHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + var req types.CheckReq + if err := httpx.Parse(r, &req); err != nil { + httpx.ErrorCtx(r.Context(), w, err) + return + } + + l := image.NewCheckLogic(r.Context(), svcCtx) + resp, err := l.Check(&req) + if err != nil { + httpx.ErrorCtx(r.Context(), w, err) + } else { + httpx.OkJsonCtx(r.Context(), w, resp) + } + } +} diff --git a/adaptor/PCM-CORE/api/internal/handler/image/chunkimagehandler.go b/adaptor/PCM-CORE/api/internal/handler/image/chunkimagehandler.go new file mode 100644 index 00000000..0e6df523 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/handler/image/chunkimagehandler.go @@ -0,0 +1,104 @@ +package image + +import ( + result2 "PCM/common/result" + "fmt" + "io/ioutil" + "net/http" + "os" + "path" + "path/filepath" + "strconv" + "strings" + "sync" + + "PCM/adaptor/PCM-CORE/api/internal/logic/image" + "PCM/adaptor/PCM-CORE/api/internal/svc" +) + +var dir, _ = os.Getwd() +var windowsUploadPath = strings.ReplaceAll(path.Join(dir, "uploads"), "/", "\\") +var linuxUploadPath = path.Join(dir, "uploads") + +func ChunkImageHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { + return func(w http.ResponseWriter, r *http.Request) { + size, _ := strconv.ParseInt(r.PostFormValue("size"), 10, 64) + hash := r.PostFormValue("hash") + name := r.PostFormValue("name") + // 对比合并请求的文件大小和已上传文件夹大小 + toSize, _ := getDirSize(path.Join(linuxUploadTempPath, hash)) + if size != toSize { + fmt.Fprintf(w, "文件上传错误") + } + chunksPath := path.Join(linuxUploadTempPath, hash) + files, _ := ioutil.ReadDir(chunksPath) + // 排序 + filesSort := make(map[string]string) + for _, f := range files { + nameArr := strings.Split(f.Name(), "-") + filesSort[nameArr[1]] = f.Name() + } + saveFile := path.Join(linuxUploadPath, name) + if exists, _ := PathExists(saveFile); exists { + os.Remove(saveFile) + } + fs, _ := os.OpenFile(saveFile, os.O_CREATE|os.O_RDWR|os.O_APPEND, os.ModeAppend|os.ModePerm) + var wg sync.WaitGroup + filesCount := len(files) + if filesCount != len(filesSort) { + fmt.Fprintf(w, "文件上传错误2") + } + wg.Add(filesCount) + for i := 0; i < filesCount; i++ { + // 这里一定要注意按顺序读取不然文件就会损坏 + fileName := path.Join(chunksPath, "/"+filesSort[strconv.Itoa(i)]) + data, err := ioutil.ReadFile(fileName) + fmt.Println(err) + fs.Write(data) + + wg.Done() + } + wg.Wait() + os.RemoveAll(path.Join(chunksPath, "/")) + defer fs.Close() + + //// 加载镜像文件到docker + //body, err := svcCtx.DockerClient.ImageLoad(context.Background(), multipartFile, false) + //if err != nil { + // httpx.ErrorCtx(r.Context(), w, err) + // return + //} + //bytes, err := ioutil.ReadAll(body.Body) + //loadBody := LoadBody{} + //err = json.Unmarshal(bytes, &loadBody) + //if err != nil { + // httpx.ErrorCtx(r.Context(), w, err) + // return + //} + //imageName := strings.TrimSpace(loadBody.Stream[13:]) + //req.Name = "hub.jcce.dev:18443/repository/docker-hub/jcce/" + imageName + //// 给镜像打上私有仓库的tag + //err = svcCtx.DockerClient.ImageTag(context.Background(), imageName, req.Name) + //if err != nil { + // httpx.ErrorCtx(r.Context(), w, err) + // return + //} + //l := image.NewUploadImageLogic(r.Context(), svcCtx) + //err = l.UploadImage(&req) + l := image.NewChunkImageLogic(r.Context(), svcCtx) + err := l.ChunkImage() + result2.HttpResult(r, w, nil, err) + } +} + +// DirSize 获取整体文件夹大小 +func getDirSize(path string) (int64, error) { + var size int64 + err := filepath.Walk(path, func(_ string, info os.FileInfo, err error) error { + if !info.IsDir() { + size += info.Size() + } + return err + }) + return size, err +} diff --git a/adaptor/PCM-CORE/api/internal/handler/image/uploadimagehandler.go b/adaptor/PCM-CORE/api/internal/handler/image/uploadimagehandler.go index 3a306d55..ddb36a53 100644 --- a/adaptor/PCM-CORE/api/internal/handler/image/uploadimagehandler.go +++ b/adaptor/PCM-CORE/api/internal/handler/image/uploadimagehandler.go @@ -1,15 +1,18 @@ package image import ( - "PCM/adaptor/PCM-CORE/api/internal/logic/image" - types2 "PCM/adaptor/PCM-CORE/api/internal/types" - "PCM/common/result" - "context" - "github.com/zeromicro/go-zero/rest/httpx" + result2 "PCM/common/result" + "bufio" + "encoding/json" + "fmt" + "io" "io/ioutil" - "k8s.io/apimachinery/pkg/util/json" + "log" "net/http" + "os" + "path" "strings" + "syscall" "PCM/adaptor/PCM-CORE/api/internal/svc" ) @@ -18,38 +21,71 @@ type LoadBody struct { Stream string `json:"stream"` } +var windowsUploadTempPath = strings.ReplaceAll(path.Join(windowsUploadPath, "temp"), "/", "\\") +var linuxUploadTempPath = path.Join(linuxUploadPath) + func UploadImageHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { - var req types2.UploadImageReq - // 解析yaml文件 - multipartFile, _, err := r.FormFile("file") - if err != nil { - result.HttpResult(r, w, nil, err) - return + file, _, err := r.FormFile("file") + index := r.PostFormValue("index") + hash := r.PostFormValue("hash") + // 获取uploads下所有的文件夹 + nameList, err := ioutil.ReadDir(linuxUploadPath) + m := map[string]interface{}{ + "code": 46900, + "msg": "文件已上传", } - // 加载镜像文件到docker - body, err := svcCtx.DockerClient.ImageLoad(context.Background(), multipartFile, false) - if err != nil { - httpx.ErrorCtx(r.Context(), w, err) - return + result, _ := json.MarshalIndent(m, "", " ") + // 循环判断hash是否在文件里如果有就返回上传已完成 + for _, name := range nameList { + tmpName := strings.Split(name.Name(), "_")[0] + if tmpName == hash { + fmt.Fprintf(w, string(result)) + return + } } - bytes, err := ioutil.ReadAll(body.Body) - loadBody := LoadBody{} - err = json.Unmarshal(bytes, &loadBody) - if err != nil { - httpx.ErrorCtx(r.Context(), w, err) - return + + chunksPath := path.Join(linuxUploadTempPath, hash) + + isPathExists, err := PathExists(chunksPath) + if !isPathExists { + err = os.MkdirAll(chunksPath, os.ModePerm) } - imageName := strings.TrimSpace(loadBody.Stream[13:]) - req.Name = "hub.jcce.dev:18443/repository/docker-hub/jcce/" + imageName - // 给镜像打上私有仓库的tag - err = svcCtx.DockerClient.ImageTag(context.Background(), imageName, req.Name) - if err != nil { - httpx.ErrorCtx(r.Context(), w, err) - return + destFile, err := os.OpenFile(path.Join(chunksPath+"/"+hash+"-"+index), syscall.O_CREAT|syscall.O_WRONLY, 0777) + reader := bufio.NewReader(file) + writer := bufio.NewWriter(destFile) + buf := make([]byte, 1024*1024) // 1M buf + for { + n, err := reader.Read(buf) + if err == io.EOF { + writer.Flush() + break + } else if err != nil { + return + } else { + writer.Write(buf[:n]) + } } - l := image.NewUploadImageLogic(r.Context(), svcCtx) - err = l.UploadImage(&req) - result.HttpResult(r, w, nil, err) + + defer file.Close() + defer destFile.Close() + if err != nil { + log.Fatal("%v", err) + } + fmt.Printf("第%s:%s块上传完成\n", index, destFile.Name()) + + result2.HttpResult(r, w, nil, err) } } + +// PathExists 判断文件夹是否存在 +func PathExists(path string) (bool, error) { + _, err := os.Stat(path) + if err == nil { + return true, nil + } + if os.IsNotExist(err) { + return false, nil + } + return false, err +} diff --git a/adaptor/PCM-CORE/api/internal/handler/routes.go b/adaptor/PCM-CORE/api/internal/handler/routes.go index 734d774d..48c5e148 100644 --- a/adaptor/PCM-CORE/api/internal/handler/routes.go +++ b/adaptor/PCM-CORE/api/internal/handler/routes.go @@ -67,6 +67,16 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { Path: "/core/listDomainResource", Handler: core.ListDomainResourceHandler(serverCtx), }, + { + Method: http.MethodGet, + Path: "/core/getResourcePanelConfigHandler", + Handler: core.GetResourcePanelConfigHandler(serverCtx), + }, + { + Method: http.MethodPut, + Path: "/core/resourcePanelConfigHandler", + Handler: core.PutResourcePanelConfigHandler(serverCtx), + }, }, rest.WithPrefix("/pcm/v1"), ) @@ -266,11 +276,21 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { Path: "/image/upload", Handler: image.UploadImageHandler(serverCtx), }, + { + Method: http.MethodPost, + Path: "/image/chunk", + Handler: image.ChunkImageHandler(serverCtx), + }, { Method: http.MethodGet, Path: "/image/list", Handler: image.ImageListHandler(serverCtx), }, + { + Method: http.MethodGet, + Path: "/image/check", + Handler: image.CheckHandler(serverCtx), + }, }, rest.WithPrefix("/pcm/v1"), ) diff --git a/adaptor/PCM-CORE/api/internal/logic/core/getresourcepanelconfiglogic.go b/adaptor/PCM-CORE/api/internal/logic/core/getresourcepanelconfiglogic.go new file mode 100644 index 00000000..3be7e089 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/logic/core/getresourcepanelconfiglogic.go @@ -0,0 +1,32 @@ +package core + +import ( + "PCM/adaptor/PCM-CORE/api/internal/svc" + "PCM/adaptor/PCM-CORE/api/internal/types" + "PCM/adaptor/PCM-CORE/model" + "PCM/common/tool" + "context" + + "github.com/zeromicro/go-zero/core/logx" +) + +type GetResourcePanelConfigLogic struct { + logx.Logger + ctx context.Context + svcCtx *svc.ServiceContext +} + +func NewGetResourcePanelConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetResourcePanelConfigLogic { + return &GetResourcePanelConfigLogic{ + Logger: logx.WithContext(ctx), + ctx: ctx, + svcCtx: svcCtx, + } +} + +func (l *GetResourcePanelConfigLogic) GetResourcePanelConfig() (resp *types.ResourcePanelConfigResp, err error) { + rpcModel := model.ResourcePanelConfig{} + l.svcCtx.DbEngin.Find(&rpcModel) + tool.Convert(rpcModel, &resp) + return resp, nil +} diff --git a/adaptor/PCM-CORE/api/internal/logic/core/putresourcepanelconfiglogic.go b/adaptor/PCM-CORE/api/internal/logic/core/putresourcepanelconfiglogic.go new file mode 100644 index 00000000..5e2aa407 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/logic/core/putresourcepanelconfiglogic.go @@ -0,0 +1,40 @@ +package core + +import ( + "PCM/adaptor/PCM-CORE/api/internal/svc" + "PCM/adaptor/PCM-CORE/api/internal/types" + "PCM/adaptor/PCM-CORE/model" + "PCM/common/tool" + "context" + "time" + + "github.com/zeromicro/go-zero/core/logx" +) + +type PutResourcePanelConfigLogic struct { + logx.Logger + ctx context.Context + svcCtx *svc.ServiceContext +} + +func NewPutResourcePanelConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PutResourcePanelConfigLogic { + return &PutResourcePanelConfigLogic{ + Logger: logx.WithContext(ctx), + ctx: ctx, + svcCtx: svcCtx, + } +} + +func (l *PutResourcePanelConfigLogic) PutResourcePanelConfig(req *types.ResourcePanelConfigReq) error { + rpcModel := model.ResourcePanelConfig{} + tool.Convert(req, &rpcModel) + rpcModel.UpdateTime = time.Now() + + update := l.svcCtx.DbEngin.Model(&rpcModel).Updates(rpcModel) + err := update.Error + if err != nil { + logx.WithContext(l.ctx).Errorf("PCM 资源面板数据更新失败 err: %s", err.Error()) + return err + } + return nil +} diff --git a/adaptor/PCM-CORE/api/internal/logic/hpc/listjoblogic.go b/adaptor/PCM-CORE/api/internal/logic/hpc/listjoblogic.go index 8f7b8672..4da87598 100644 --- a/adaptor/PCM-CORE/api/internal/logic/hpc/listjoblogic.go +++ b/adaptor/PCM-CORE/api/internal/logic/hpc/listjoblogic.go @@ -31,7 +31,6 @@ func (l *ListJobLogic) ListJob(req *types.ListJobReq) (resp *types.ListJobResp, var tasks []types.Job // 查询任务数据 - tx := l.svcCtx.DbEngin.Raw("SELECT h.service_name as SlurmVersion,h.name,h.start_time as JobStartTime,h.running_time as JobRunTime,t.status as StateofJob from hpc h join task t on t.id = h.task_id and t.status != 'Completed'").Scan(&tasks) if tx.Error != nil { logx.Error(err) diff --git a/adaptor/PCM-CORE/api/internal/logic/image/checklogic.go b/adaptor/PCM-CORE/api/internal/logic/image/checklogic.go new file mode 100644 index 00000000..51783b07 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/logic/image/checklogic.go @@ -0,0 +1,31 @@ +package image + +import ( + "context" + "path" + + "PCM/adaptor/PCM-CORE/api/internal/svc" + "PCM/adaptor/PCM-CORE/api/internal/types" + + "github.com/zeromicro/go-zero/core/logx" +) + +type CheckLogic struct { + logx.Logger + ctx context.Context + svcCtx *svc.ServiceContext +} + +func NewCheckLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckLogic { + return &CheckLogic{ + Logger: logx.WithContext(ctx), + ctx: ctx, + svcCtx: svcCtx, + } +} + +func (l *CheckLogic) Check(req *types.CheckReq) (resp *types.CheckResp, err error) { + // todo: add your logic here and delete this line + path.Join() + return +} diff --git a/adaptor/PCM-CORE/api/internal/logic/image/chunkimagelogic.go b/adaptor/PCM-CORE/api/internal/logic/image/chunkimagelogic.go new file mode 100644 index 00000000..c03f4866 --- /dev/null +++ b/adaptor/PCM-CORE/api/internal/logic/image/chunkimagelogic.go @@ -0,0 +1,28 @@ +package image + +import ( + "context" + + "PCM/adaptor/PCM-CORE/api/internal/svc" + "github.com/zeromicro/go-zero/core/logx" +) + +type ChunkImageLogic struct { + logx.Logger + ctx context.Context + svcCtx *svc.ServiceContext +} + +func NewChunkImageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChunkImageLogic { + return &ChunkImageLogic{ + Logger: logx.WithContext(ctx), + ctx: ctx, + svcCtx: svcCtx, + } +} + +func (l *ChunkImageLogic) ChunkImage() error { + // todo: add your logic here and delete this line + + return nil +} diff --git a/adaptor/PCM-CORE/api/internal/types/types.go b/adaptor/PCM-CORE/api/internal/types/types.go index b6e70758..07c2ad12 100644 --- a/adaptor/PCM-CORE/api/internal/types/types.go +++ b/adaptor/PCM-CORE/api/internal/types/types.go @@ -278,6 +278,48 @@ type DomainResource struct { NodeCount string `json:"nodeCount"` //节点数量 } +type ResourcePanelConfigReq struct { + Id int64 `json:"id,optional"` //id + Title string `json:"title,optional"` //标题 + TitleColor string `json:"titleColor,optional"` //标题色 + MainColor string `json:"mainColor,optional"` //主色调 + MainColor2 string `json:"mainColor2,optional"` //次主色调 + TextColor string `json:"textColor,optional"` //文字颜色 + BackgroundColor string `json:"backgroundColor,optional"` //背景底色 + Center string `json:"center,optional"` //中心点 + CenterPosition string `json:"centerPosition,optional"` //comment 中心点坐标 + ProvinceBgColor string `json:"provinceBgColor,optional"` //三级地图底色 + StatusIng string `json:"statusIng,optional"` //接入中图标 + StatusUn string `json:"statusUn,optional"` //未接入图标 + StatusEnd string `json:"statusEnd,optional"` //已接入图标 + TitleIcon string `json:"titleIcon,optional"` //标题底图 + SubTitleIcon string `json:"subTitleIcon,optional"` //小标题底图 + NumberBg string `json:"numberBg,optional"` //数字底图 + TaskBg string `json:"taskBg,optional"` //任务底图 +} + +type ResourcePanelConfigResp struct { + Id int64 `json:"id"` //id + Title string `json:"title"` //标题, + TitleColor string `json:"titleColor"` //标题色, + MainColor string `json:"mainColor"` //主色调, + MainColor2 string `json:"mainColor2"` //次主色调, + TextColor string `json:"textColor"` //文字颜色, + BackgroundColor string `json:"backgroundColor"` //背景底色, + Center string `json:"center"` //中心点, + CenterPosition string `json:"centerPosition"` //comment 中心点坐标, + ProvinceBgColor string `json:"provinceBgColor"` //三级地图底色, + StatusIng string `json:"statusIng"` //接入中图标, + StatusUn string `json:"statusUn"` //未接入图标, + StatusEnd string `json:"statusEnd"` //已接入图标, + TitleIcon string `json:"titleIcon"` //标题底图, + SubTitleIcon string `json:"subTitleIcon"` //小标题底图, + NumberBg string `json:"numberBg"` //数字底图, + TaskBg string `json:"taskBg"` //任务底图, + CreateTime string `json:"createTime"` //创建时间, + UpdateTime string `json:"updateTime"` //更新时间 +} + type Job struct { SlurmVersion string `json:"slurmVersion"` Name string `json:"name"` @@ -1860,3 +1902,11 @@ type ImageTagsResp struct { Name string `json:"name"` Tags []string `json:"tags" copier:"tags"` } + +type CheckReq struct { + FileMd5 string `json:"fileMd5"` +} + +type CheckResp struct { + Exist bool `json:"exist"` +} diff --git a/adaptor/PCM-CORE/api/pcm.go b/adaptor/PCM-CORE/api/pcm.go index 15627376..e74d166a 100644 --- a/adaptor/PCM-CORE/api/pcm.go +++ b/adaptor/PCM-CORE/api/pcm.go @@ -44,7 +44,7 @@ func main() { serviceGroup := service.NewServiceGroup() defer serviceGroup.Stop() - server := rest.MustNewServer(c.RestConf) + server := rest.MustNewServer(c.RestConf, rest.WithCors()) ctx := svc.NewServiceContext(c) // start log component diff --git a/adaptor/PCM-CORE/model/resourcepanelconfigmodel.go b/adaptor/PCM-CORE/model/resourcepanelconfigmodel.go new file mode 100755 index 00000000..3bb1bce8 --- /dev/null +++ b/adaptor/PCM-CORE/model/resourcepanelconfigmodel.go @@ -0,0 +1,27 @@ +package model + +import ( + "github.com/zeromicro/go-zero/core/stores/cache" + "github.com/zeromicro/go-zero/core/stores/sqlx" +) + +var _ ResourcePanelConfigModel = (*customResourcePanelConfigModel)(nil) + +type ( + // ResourcePanelConfigModel is an interface to be customized, add more methods here, + // and implement the added methods in customResourcePanelConfigModel. + ResourcePanelConfigModel interface { + resourcePanelConfigModel + } + + customResourcePanelConfigModel struct { + *defaultResourcePanelConfigModel + } +) + +// NewResourcePanelConfigModel returns a model for the database table. +func NewResourcePanelConfigModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) ResourcePanelConfigModel { + return &customResourcePanelConfigModel{ + defaultResourcePanelConfigModel: newResourcePanelConfigModel(conn, c, opts...), + } +} diff --git a/adaptor/PCM-CORE/model/resourcepanelconfigmodel_gen.go b/adaptor/PCM-CORE/model/resourcepanelconfigmodel_gen.go new file mode 100755 index 00000000..4c464703 --- /dev/null +++ b/adaptor/PCM-CORE/model/resourcepanelconfigmodel_gen.go @@ -0,0 +1,126 @@ +// Code generated by goctl. DO NOT EDIT. + +package model + +import ( + "context" + "database/sql" + "fmt" + "strings" + "time" + + "github.com/zeromicro/go-zero/core/stores/builder" + "github.com/zeromicro/go-zero/core/stores/cache" + "github.com/zeromicro/go-zero/core/stores/sqlc" + "github.com/zeromicro/go-zero/core/stores/sqlx" + "github.com/zeromicro/go-zero/core/stringx" +) + +var ( + resourcePanelConfigFieldNames = builder.RawFieldNames(&ResourcePanelConfig{}) + resourcePanelConfigRows = strings.Join(resourcePanelConfigFieldNames, ",") + resourcePanelConfigRowsExpectAutoSet = strings.Join(stringx.Remove(resourcePanelConfigFieldNames, "`id`", "`create_at`", "`create_time`", "`created_at`", "`update_at`", "`update_time`", "`updated_at`"), ",") + resourcePanelConfigRowsWithPlaceHolder = strings.Join(stringx.Remove(resourcePanelConfigFieldNames, "`id`", "`create_at`", "`create_time`", "`created_at`", "`update_at`", "`update_time`", "`updated_at`"), "=?,") + "=?" + + cachePcmResourcePanelConfigIdPrefix = "cache:pcm:resourcePanelConfig:id:" +) + +type ( + resourcePanelConfigModel interface { + Insert(ctx context.Context, data *ResourcePanelConfig) (sql.Result, error) + FindOne(ctx context.Context, id int64) (*ResourcePanelConfig, error) + Update(ctx context.Context, data *ResourcePanelConfig) error + Delete(ctx context.Context, id int64) error + } + + defaultResourcePanelConfigModel struct { + sqlc.CachedConn + table string + } + + ResourcePanelConfig struct { + Id int64 `db:"id"` + Title string `db:"title"` // 标题 + TitleColor string `db:"title_color"` // 标题色 + MainColor string `db:"main_color"` // 主色调 + MainColor2 string `db:"main_color2"` // 次主色调 + TextColor string `db:"text_color"` // 文字颜色 + BackgroundColor string `db:"background_color"` // 背景底色 + Center string `db:"center"` // 中心点 + CenterPosition string `db:"center_position"` // 中心点坐标 + ProvinceBgColor string `db:"province_bg_color"` // 三级地图底色 + StatusIng string `db:"status_ing"` // 接入中图标 + StatusUn string `db:"status_un"` // 未接入图标 + StatusEnd string `db:"status_end"` // 已接入图标 + TitleIcon string `db:"title_icon"` // 标题底图 + SubTitleIcon string `db:"sub_title_icon"` // 小标题底图 + NumberBg string `db:"number_bg"` // 数字底图 + TaskBg string `db:"task_bg"` // 任务底图 + CreateTime time.Time `db:"create_time"` // 创建时间 + UpdateTime time.Time `db:"update_time"` // 更新时间 + } +) + +func newResourcePanelConfigModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) *defaultResourcePanelConfigModel { + return &defaultResourcePanelConfigModel{ + CachedConn: sqlc.NewConn(conn, c, opts...), + table: "`resource_panel_config`", + } +} + +func (m *defaultResourcePanelConfigModel) Delete(ctx context.Context, id int64) error { + pcmResourcePanelConfigIdKey := fmt.Sprintf("%s%v", cachePcmResourcePanelConfigIdPrefix, id) + _, err := m.ExecCtx(ctx, func(ctx context.Context, conn sqlx.SqlConn) (result sql.Result, err error) { + query := fmt.Sprintf("delete from %s where `id` = ?", m.table) + return conn.ExecCtx(ctx, query, id) + }, pcmResourcePanelConfigIdKey) + return err +} + +func (m *defaultResourcePanelConfigModel) FindOne(ctx context.Context, id int64) (*ResourcePanelConfig, error) { + pcmResourcePanelConfigIdKey := fmt.Sprintf("%s%v", cachePcmResourcePanelConfigIdPrefix, id) + var resp ResourcePanelConfig + err := m.QueryRowCtx(ctx, &resp, pcmResourcePanelConfigIdKey, func(ctx context.Context, conn sqlx.SqlConn, v any) error { + query := fmt.Sprintf("select %s from %s where `id` = ? limit 1", resourcePanelConfigRows, m.table) + return conn.QueryRowCtx(ctx, v, query, id) + }) + switch err { + case nil: + return &resp, nil + case sqlc.ErrNotFound: + return nil, ErrNotFound + default: + return nil, err + } +} + +func (m *defaultResourcePanelConfigModel) Insert(ctx context.Context, data *ResourcePanelConfig) (sql.Result, error) { + pcmResourcePanelConfigIdKey := fmt.Sprintf("%s%v", cachePcmResourcePanelConfigIdPrefix, data.Id) + ret, err := m.ExecCtx(ctx, func(ctx context.Context, conn sqlx.SqlConn) (result sql.Result, err error) { + query := fmt.Sprintf("insert into %s (%s) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", m.table, resourcePanelConfigRowsExpectAutoSet) + return conn.ExecCtx(ctx, query, data.Title, data.TitleColor, data.MainColor, data.MainColor2, data.TextColor, data.BackgroundColor, data.Center, data.CenterPosition, data.ProvinceBgColor, data.StatusIng, data.StatusUn, data.StatusEnd, data.TitleIcon, data.SubTitleIcon, data.NumberBg, data.TaskBg) + }, pcmResourcePanelConfigIdKey) + return ret, err +} + +func (m *defaultResourcePanelConfigModel) Update(ctx context.Context, data *ResourcePanelConfig) error { + pcmResourcePanelConfigIdKey := fmt.Sprintf("%s%v", cachePcmResourcePanelConfigIdPrefix, data.Id) + _, err := m.ExecCtx(ctx, func(ctx context.Context, conn sqlx.SqlConn) (result sql.Result, err error) { + query := fmt.Sprintf("update %s set %s where `id` = ?", m.table, resourcePanelConfigRowsWithPlaceHolder) + return conn.ExecCtx(ctx, query, data.Title, data.TitleColor, data.MainColor, data.MainColor2, data.TextColor, data.BackgroundColor, data.Center, data.CenterPosition, data.ProvinceBgColor, data.StatusIng, data.StatusUn, data.StatusEnd, data.TitleIcon, data.SubTitleIcon, data.NumberBg, data.TaskBg, data.Id) + }, pcmResourcePanelConfigIdKey) + return err +} + +func (m *defaultResourcePanelConfigModel) formatPrimary(primary any) string { + return fmt.Sprintf("%s%v", cachePcmResourcePanelConfigIdPrefix, primary) +} + +func (m *defaultResourcePanelConfigModel) queryPrimary(ctx context.Context, conn sqlx.SqlConn, v, primary any) error { + query := fmt.Sprintf("select %s from %s where `id` = ? limit 1", resourcePanelConfigRows, m.table) + return conn.QueryRowCtx(ctx, v, query, primary) +} + +func (m *defaultResourcePanelConfigModel) tableName() string { + return m.table +} diff --git a/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go b/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go index 7b754721..2e9b334a 100644 --- a/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go +++ b/adaptor/PCM-HPC/PCM-TH/rpc/internal/logic/cronlogic.go @@ -63,7 +63,7 @@ func submitJob(infoList *pcmcoreclient.InfoListResp, submitJobLogic *SubmitJobLo submitReq := hpcTH.SubmitJobReq{ Account: "root", Name: infoList.HpcInfoList[index].Name, - Script: "#! /bin/bash\\n hostname \\n env | grep SLURM", + Script: infoList.HpcInfoList[index].CmdScript, UserId: 123, } jobResult, _ := submitJobLogic.SubmitJob(&submitReq) diff --git a/deploy/pcm-core-deployment.yaml b/deploy/pcm-core-deployment.yaml index 8eea5afb..2ce35b0d 100644 --- a/deploy/pcm-core-deployment.yaml +++ b/deploy/pcm-core-deployment.yaml @@ -28,8 +28,13 @@ spec: procMount: Default ports: - containerPort: 80 - volumeMounts: [] - volumes: [] + volumeMounts: + - mountPath: /home/uploads + name: pcm-image-storage + volumes: + - name: pcm-image-storage + persistentVolumeClaim: + claimName: pcm-image-storage restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst diff --git a/go.mod b/go.mod index 577b6134..ea114b8f 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module PCM go 1.18 require ( + github.com/JCCE-nudt/apigw-go-sdk v0.0.0-20230525024753-ad1a4646385b github.com/JCCE-nudt/zero-contrib/zrpc/registry/nacos v0.0.0-20230419021610-13bbc83fbc3c github.com/Masterminds/squirrel v1.5.4 github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 diff --git a/go.sum b/go.sum index 521ebf30..1ab11ab8 100644 --- a/go.sum +++ b/go.sum @@ -401,6 +401,8 @@ github.com/ClickHouse/clickhouse-go v1.5.4/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHg github.com/ClickHouse/clickhouse-go/v2 v2.0.14/go.mod h1:iq2DUGgpA4BBki2CVwrF8x43zqBjdgHtbexkFkh5a6M= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= +github.com/JCCE-nudt/apigw-go-sdk v0.0.0-20230525024753-ad1a4646385b h1:Xp3e6dXhnq285cUXa1Qd5bcFKoMSeFY7ISp86/uvqWU= +github.com/JCCE-nudt/apigw-go-sdk v0.0.0-20230525024753-ad1a4646385b/go.mod h1:j+am5/1URgsvyhOAyURFR9vH3malaW7Tq6d33OyPsnM= github.com/JCCE-nudt/zero-contrib/zrpc/registry/nacos v0.0.0-20230419021610-13bbc83fbc3c h1:qoPu5FeE6dsvZ7AmH/l3Y5RxrJPNVKvsQSrjQpWUCMQ= github.com/JCCE-nudt/zero-contrib/zrpc/registry/nacos v0.0.0-20230419021610-13bbc83fbc3c/go.mod h1:GuCS4be9IH3bSBTvbzz34nszPQDO33PIOv5nviEaFMw= github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8afzqM=