1612 lines
54 KiB
Go
1612 lines
54 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc (unknown)
|
|
// source: rpc/v1/executor.proto
|
|
|
|
package rpcv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type TaskOutputSource int32
|
|
|
|
const (
|
|
TaskOutputSource_TASK_OUTPUT_SOURCE_UNSPECIFIED TaskOutputSource = 0
|
|
TaskOutputSource_TASK_OUTPUT_SOURCE_STDOUT TaskOutputSource = 1
|
|
TaskOutputSource_TASK_OUTPUT_SOURCE_STDERR TaskOutputSource = 2
|
|
)
|
|
|
|
// Enum value maps for TaskOutputSource.
|
|
var (
|
|
TaskOutputSource_name = map[int32]string{
|
|
0: "TASK_OUTPUT_SOURCE_UNSPECIFIED",
|
|
1: "TASK_OUTPUT_SOURCE_STDOUT",
|
|
2: "TASK_OUTPUT_SOURCE_STDERR",
|
|
}
|
|
TaskOutputSource_value = map[string]int32{
|
|
"TASK_OUTPUT_SOURCE_UNSPECIFIED": 0,
|
|
"TASK_OUTPUT_SOURCE_STDOUT": 1,
|
|
"TASK_OUTPUT_SOURCE_STDERR": 2,
|
|
}
|
|
)
|
|
|
|
func (x TaskOutputSource) Enum() *TaskOutputSource {
|
|
p := new(TaskOutputSource)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x TaskOutputSource) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (TaskOutputSource) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rpc_v1_executor_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (TaskOutputSource) Type() protoreflect.EnumType {
|
|
return &file_rpc_v1_executor_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x TaskOutputSource) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskOutputSource.Descriptor instead.
|
|
func (TaskOutputSource) EnumDescriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Buildr struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Repo *Buildr_Repo `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
BinDir string `protobuf:"bytes,2,opt,name=bin_dir,json=binDir,proto3" json:"bin_dir,omitempty"`
|
|
OutDir string `protobuf:"bytes,3,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"`
|
|
}
|
|
|
|
func (x *Buildr) Reset() {
|
|
*x = Buildr{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Buildr) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Buildr) ProtoMessage() {}
|
|
|
|
func (x *Buildr) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Buildr.ProtoReflect.Descriptor instead.
|
|
func (*Buildr) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Buildr) GetRepo() *Buildr_Repo {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Buildr) GetBinDir() string {
|
|
if x != nil {
|
|
return x.BinDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Buildr) GetOutDir() string {
|
|
if x != nil {
|
|
return x.OutDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskReference struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Module *ModuleReference `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
|
|
}
|
|
|
|
func (x *TaskReference) Reset() {
|
|
*x = TaskReference{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskReference) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskReference) ProtoMessage() {}
|
|
|
|
func (x *TaskReference) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskReference.ProtoReflect.Descriptor instead.
|
|
func (*TaskReference) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *TaskReference) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskReference) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskReference) GetModule() *ModuleReference {
|
|
if x != nil {
|
|
return x.Module
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartTaskRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Reference *TaskReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
|
|
Buildr *Buildr `protobuf:"bytes,2,opt,name=buildr,proto3" json:"buildr,omitempty"`
|
|
Spec *ModuleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
|
|
}
|
|
|
|
func (x *StartTaskRequest) Reset() {
|
|
*x = StartTaskRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StartTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *StartTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *StartTaskRequest) GetReference() *TaskReference {
|
|
if x != nil {
|
|
return x.Reference
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartTaskRequest) GetBuildr() *Buildr {
|
|
if x != nil {
|
|
return x.Buildr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartTaskRequest) GetSpec() *ModuleSpec {
|
|
if x != nil {
|
|
return x.Spec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TaskResult struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
ModifiedFilesArchivePath string `protobuf:"bytes,2,opt,name=modified_files_archive_path,json=modifiedFilesArchivePath,proto3" json:"modified_files_archive_path,omitempty"`
|
|
}
|
|
|
|
func (x *TaskResult) Reset() {
|
|
*x = TaskResult{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskResult) ProtoMessage() {}
|
|
|
|
func (x *TaskResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskResult.ProtoReflect.Descriptor instead.
|
|
func (*TaskResult) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *TaskResult) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskResult) GetModifiedFilesArchivePath() string {
|
|
if x != nil {
|
|
return x.ModifiedFilesArchivePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskOutput struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Source TaskOutputSource `protobuf:"varint,1,opt,name=source,proto3,enum=buildr.rpc.v1.TaskOutputSource" json:"source,omitempty"`
|
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
}
|
|
|
|
func (x *TaskOutput) Reset() {
|
|
*x = TaskOutput{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskOutput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskOutput) ProtoMessage() {}
|
|
|
|
func (x *TaskOutput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskOutput.ProtoReflect.Descriptor instead.
|
|
func (*TaskOutput) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *TaskOutput) GetSource() TaskOutputSource {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return TaskOutputSource_TASK_OUTPUT_SOURCE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *TaskOutput) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TaskLog struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
|
|
Attributes []*TaskLog_LogAttribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
|
|
}
|
|
|
|
func (x *TaskLog) Reset() {
|
|
*x = TaskLog{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskLog) ProtoMessage() {}
|
|
|
|
func (x *TaskLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskLog.ProtoReflect.Descriptor instead.
|
|
func (*TaskLog) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *TaskLog) GetTime() int64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskLog) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskLog) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskLog) GetAttributes() []*TaskLog_LogAttribute {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *SetState) Reset() {
|
|
*x = SetState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetState) ProtoMessage() {}
|
|
|
|
func (x *SetState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetState.ProtoReflect.Descriptor instead.
|
|
func (*SetState) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SetState) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetState) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetStateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
}
|
|
|
|
func (x *GetStateRequest) Reset() {
|
|
*x = GetStateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetStateRequest) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetStateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *GetStateResponse) Reset() {
|
|
*x = GetStateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetStateResponse) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetStateResponse) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Result struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *Result) Reset() {
|
|
*x = Result{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Result) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Result) ProtoMessage() {}
|
|
|
|
func (x *Result) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Result.ProtoReflect.Descriptor instead.
|
|
func (*Result) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *Result) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Result) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PluginInventory struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Specs []*PluginInventory_InventorySpec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"`
|
|
}
|
|
|
|
func (x *PluginInventory) Reset() {
|
|
*x = PluginInventory{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PluginInventory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginInventory) ProtoMessage() {}
|
|
|
|
func (x *PluginInventory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginInventory.ProtoReflect.Descriptor instead.
|
|
func (*PluginInventory) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *PluginInventory) GetSpecs() []*PluginInventory_InventorySpec {
|
|
if x != nil {
|
|
return x.Specs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExecutionClientMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Meta:
|
|
//
|
|
// *ExecutionClientMessage_MessageId
|
|
// *ExecutionClientMessage_RepliesTo
|
|
Meta isExecutionClientMessage_Meta `protobuf_oneof:"meta"`
|
|
// Types that are assignable to Envelope:
|
|
//
|
|
// *ExecutionClientMessage_StartTask
|
|
// *ExecutionClientMessage_GetState
|
|
// *ExecutionClientMessage_Error
|
|
Envelope isExecutionClientMessage_Envelope `protobuf_oneof:"envelope"`
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) Reset() {
|
|
*x = ExecutionClientMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExecutionClientMessage) ProtoMessage() {}
|
|
|
|
func (x *ExecutionClientMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecutionClientMessage.ProtoReflect.Descriptor instead.
|
|
func (*ExecutionClientMessage) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (m *ExecutionClientMessage) GetMeta() isExecutionClientMessage_Meta {
|
|
if m != nil {
|
|
return m.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) GetMessageId() []byte {
|
|
if x, ok := x.GetMeta().(*ExecutionClientMessage_MessageId); ok {
|
|
return x.MessageId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) GetRepliesTo() []byte {
|
|
if x, ok := x.GetMeta().(*ExecutionClientMessage_RepliesTo); ok {
|
|
return x.RepliesTo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ExecutionClientMessage) GetEnvelope() isExecutionClientMessage_Envelope {
|
|
if m != nil {
|
|
return m.Envelope
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) GetStartTask() *StartTaskRequest {
|
|
if x, ok := x.GetEnvelope().(*ExecutionClientMessage_StartTask); ok {
|
|
return x.StartTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) GetGetState() *GetStateResponse {
|
|
if x, ok := x.GetEnvelope().(*ExecutionClientMessage_GetState); ok {
|
|
return x.GetState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionClientMessage) GetError() *Result {
|
|
if x, ok := x.GetEnvelope().(*ExecutionClientMessage_Error); ok {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isExecutionClientMessage_Meta interface {
|
|
isExecutionClientMessage_Meta()
|
|
}
|
|
|
|
type ExecutionClientMessage_MessageId struct {
|
|
MessageId []byte `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionClientMessage_RepliesTo struct {
|
|
RepliesTo []byte `protobuf:"bytes,2,opt,name=replies_to,json=repliesTo,proto3,oneof"`
|
|
}
|
|
|
|
func (*ExecutionClientMessage_MessageId) isExecutionClientMessage_Meta() {}
|
|
|
|
func (*ExecutionClientMessage_RepliesTo) isExecutionClientMessage_Meta() {}
|
|
|
|
type isExecutionClientMessage_Envelope interface {
|
|
isExecutionClientMessage_Envelope()
|
|
}
|
|
|
|
type ExecutionClientMessage_StartTask struct {
|
|
StartTask *StartTaskRequest `protobuf:"bytes,11,opt,name=start_task,json=startTask,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionClientMessage_GetState struct {
|
|
GetState *GetStateResponse `protobuf:"bytes,12,opt,name=get_state,json=getState,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionClientMessage_Error struct {
|
|
Error *Result `protobuf:"bytes,13,opt,name=error,proto3,oneof"`
|
|
}
|
|
|
|
func (*ExecutionClientMessage_StartTask) isExecutionClientMessage_Envelope() {}
|
|
|
|
func (*ExecutionClientMessage_GetState) isExecutionClientMessage_Envelope() {}
|
|
|
|
func (*ExecutionClientMessage_Error) isExecutionClientMessage_Envelope() {}
|
|
|
|
type ExecutionServerMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Meta:
|
|
//
|
|
// *ExecutionServerMessage_MessageId
|
|
// *ExecutionServerMessage_RepliesTo
|
|
Meta isExecutionServerMessage_Meta `protobuf_oneof:"meta"`
|
|
// Types that are assignable to Envelope:
|
|
//
|
|
// *ExecutionServerMessage_TaskResult
|
|
// *ExecutionServerMessage_TaskLog
|
|
// *ExecutionServerMessage_TaskOutput
|
|
// *ExecutionServerMessage_GetState
|
|
// *ExecutionServerMessage_SetState
|
|
Envelope isExecutionServerMessage_Envelope `protobuf_oneof:"envelope"`
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) Reset() {
|
|
*x = ExecutionServerMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExecutionServerMessage) ProtoMessage() {}
|
|
|
|
func (x *ExecutionServerMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExecutionServerMessage.ProtoReflect.Descriptor instead.
|
|
func (*ExecutionServerMessage) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (m *ExecutionServerMessage) GetMeta() isExecutionServerMessage_Meta {
|
|
if m != nil {
|
|
return m.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetMessageId() []byte {
|
|
if x, ok := x.GetMeta().(*ExecutionServerMessage_MessageId); ok {
|
|
return x.MessageId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetRepliesTo() []byte {
|
|
if x, ok := x.GetMeta().(*ExecutionServerMessage_RepliesTo); ok {
|
|
return x.RepliesTo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ExecutionServerMessage) GetEnvelope() isExecutionServerMessage_Envelope {
|
|
if m != nil {
|
|
return m.Envelope
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetTaskResult() *TaskResult {
|
|
if x, ok := x.GetEnvelope().(*ExecutionServerMessage_TaskResult); ok {
|
|
return x.TaskResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetTaskLog() *TaskLog {
|
|
if x, ok := x.GetEnvelope().(*ExecutionServerMessage_TaskLog); ok {
|
|
return x.TaskLog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetTaskOutput() *TaskOutput {
|
|
if x, ok := x.GetEnvelope().(*ExecutionServerMessage_TaskOutput); ok {
|
|
return x.TaskOutput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetGetState() *GetStateRequest {
|
|
if x, ok := x.GetEnvelope().(*ExecutionServerMessage_GetState); ok {
|
|
return x.GetState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ExecutionServerMessage) GetSetState() *SetState {
|
|
if x, ok := x.GetEnvelope().(*ExecutionServerMessage_SetState); ok {
|
|
return x.SetState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isExecutionServerMessage_Meta interface {
|
|
isExecutionServerMessage_Meta()
|
|
}
|
|
|
|
type ExecutionServerMessage_MessageId struct {
|
|
MessageId []byte `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionServerMessage_RepliesTo struct {
|
|
RepliesTo []byte `protobuf:"bytes,2,opt,name=replies_to,json=repliesTo,proto3,oneof"`
|
|
}
|
|
|
|
func (*ExecutionServerMessage_MessageId) isExecutionServerMessage_Meta() {}
|
|
|
|
func (*ExecutionServerMessage_RepliesTo) isExecutionServerMessage_Meta() {}
|
|
|
|
type isExecutionServerMessage_Envelope interface {
|
|
isExecutionServerMessage_Envelope()
|
|
}
|
|
|
|
type ExecutionServerMessage_TaskResult struct {
|
|
TaskResult *TaskResult `protobuf:"bytes,11,opt,name=task_result,json=taskResult,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionServerMessage_TaskLog struct {
|
|
TaskLog *TaskLog `protobuf:"bytes,12,opt,name=task_log,json=taskLog,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionServerMessage_TaskOutput struct {
|
|
TaskOutput *TaskOutput `protobuf:"bytes,13,opt,name=task_output,json=taskOutput,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionServerMessage_GetState struct {
|
|
GetState *GetStateRequest `protobuf:"bytes,14,opt,name=get_state,json=getState,proto3,oneof"`
|
|
}
|
|
|
|
type ExecutionServerMessage_SetState struct {
|
|
SetState *SetState `protobuf:"bytes,15,opt,name=set_state,json=setState,proto3,oneof"`
|
|
}
|
|
|
|
func (*ExecutionServerMessage_TaskResult) isExecutionServerMessage_Envelope() {}
|
|
|
|
func (*ExecutionServerMessage_TaskLog) isExecutionServerMessage_Envelope() {}
|
|
|
|
func (*ExecutionServerMessage_TaskOutput) isExecutionServerMessage_Envelope() {}
|
|
|
|
func (*ExecutionServerMessage_GetState) isExecutionServerMessage_Envelope() {}
|
|
|
|
func (*ExecutionServerMessage_SetState) isExecutionServerMessage_Envelope() {}
|
|
|
|
type Buildr_Repo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
|
|
}
|
|
|
|
func (x *Buildr_Repo) Reset() {
|
|
*x = Buildr_Repo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Buildr_Repo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Buildr_Repo) ProtoMessage() {}
|
|
|
|
func (x *Buildr_Repo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Buildr_Repo.ProtoReflect.Descriptor instead.
|
|
func (*Buildr_Repo) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *Buildr_Repo) GetRoot() string {
|
|
if x != nil {
|
|
return x.Root
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskLog_LogAttribute 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 *TaskLog_LogAttribute) Reset() {
|
|
*x = TaskLog_LogAttribute{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskLog_LogAttribute) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskLog_LogAttribute) ProtoMessage() {}
|
|
|
|
func (x *TaskLog_LogAttribute) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskLog_LogAttribute.ProtoReflect.Descriptor instead.
|
|
func (*TaskLog_LogAttribute) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{5, 0}
|
|
}
|
|
|
|
func (x *TaskLog_LogAttribute) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskLog_LogAttribute) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PluginInventory_InventorySpec struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ModuleRef *ModuleReference `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"`
|
|
EmptySpec []byte `protobuf:"bytes,2,opt,name=empty_spec,json=emptySpec,proto3" json:"empty_spec,omitempty"`
|
|
}
|
|
|
|
func (x *PluginInventory_InventorySpec) Reset() {
|
|
*x = PluginInventory_InventorySpec{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_executor_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PluginInventory_InventorySpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginInventory_InventorySpec) ProtoMessage() {}
|
|
|
|
func (x *PluginInventory_InventorySpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_executor_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 PluginInventory_InventorySpec.ProtoReflect.Descriptor instead.
|
|
func (*PluginInventory_InventorySpec) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_executor_proto_rawDescGZIP(), []int{10, 0}
|
|
}
|
|
|
|
func (x *PluginInventory_InventorySpec) GetModuleRef() *ModuleReference {
|
|
if x != nil {
|
|
return x.ModuleRef
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PluginInventory_InventorySpec) GetEmptySpec() []byte {
|
|
if x != nil {
|
|
return x.EmptySpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_rpc_v1_executor_proto protoreflect.FileDescriptor
|
|
|
|
var file_rpc_v1_executor_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f,
|
|
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73,
|
|
0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x42, 0x75,
|
|
0x69, 0x6c, 0x64, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x04,
|
|
0x72, 0x65, 0x70, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x69, 0x6e, 0x5f, 0x64, 0x69, 0x72, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x44, 0x69, 0x72, 0x12, 0x17, 0x0a,
|
|
0x07, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x6f, 0x75, 0x74, 0x44, 0x69, 0x72, 0x1a, 0x1a, 0x0a, 0x04, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x12,
|
|
0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f,
|
|
0x6f, 0x74, 0x22, 0x6b, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
|
|
0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65,
|
|
0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22,
|
|
0xac, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x66, 0x65,
|
|
0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
|
|
0x12, 0x2d, 0x0a, 0x06, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x15, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x52, 0x06, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x12,
|
|
0x2d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f,
|
|
0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x61,
|
|
0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x66,
|
|
0x69, 0x6c, 0x65, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74,
|
|
0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
|
|
0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74,
|
|
0x68, 0x22, 0x5f, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12,
|
|
0x37, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c,
|
|
0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
|
|
0x61, 0x64, 0x22, 0xca, 0x01, 0x0a, 0x07, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x12, 0x12,
|
|
0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69,
|
|
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x12, 0x43, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
|
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x2e, 0x4c,
|
|
0x6f, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74,
|
|
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x36, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x41, 0x74,
|
|
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 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,
|
|
0x30, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x22, 0x23, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x38, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x22, 0x38, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 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, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc4, 0x01, 0x0a, 0x0f, 0x50,
|
|
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x42,
|
|
0x0a, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
|
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,
|
|
0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e,
|
|
0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x73, 0x70, 0x65,
|
|
0x63, 0x73, 0x1a, 0x6d, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53,
|
|
0x70, 0x65, 0x63, 0x12, 0x3d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65,
|
|
0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65,
|
|
0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52,
|
|
0x65, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x73, 0x70, 0x65, 0x63,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x53, 0x70, 0x65,
|
|
0x63, 0x22, 0x9f, 0x02, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0a,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x48, 0x00, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a,
|
|
0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0c, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x73, 0x54, 0x6f, 0x12, 0x40,
|
|
0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x48, 0x01, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b,
|
|
0x12, 0x3e, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x48, 0x01, 0x52, 0x08, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x12, 0x2d, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x15, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42,
|
|
0x06, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x42, 0x0a, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c,
|
|
0x6f, 0x70, 0x65, 0x22, 0x96, 0x03, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f,
|
|
0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12,
|
|
0x1f, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x73, 0x54, 0x6f,
|
|
0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
|
|
0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
|
0x48, 0x01, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x33,
|
|
0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x16, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x48, 0x01, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b,
|
|
0x4c, 0x6f, 0x67, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70,
|
|
0x75, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64,
|
|
0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74,
|
|
0x70, 0x75, 0x74, 0x48, 0x01, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75,
|
|
0x74, 0x12, 0x3d, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0e,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x48, 0x01, 0x52, 0x08, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x12, 0x36, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x01, 0x52, 0x08,
|
|
0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61,
|
|
0x42, 0x0a, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x2a, 0x74, 0x0a, 0x10,
|
|
0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x12, 0x22, 0x0a, 0x1e, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f,
|
|
0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
|
|
0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4f, 0x55, 0x54,
|
|
0x50, 0x55, 0x54, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x44, 0x4f, 0x55,
|
|
0x54, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4f, 0x55, 0x54, 0x50,
|
|
0x55, 0x54, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x44, 0x45, 0x52, 0x52,
|
|
0x10, 0x02, 0x32, 0x74, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x53, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
|
|
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x25, 0x2e,
|
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78,
|
|
0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0xaa, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d,
|
|
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0d,
|
|
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x02, 0x50,
|
|
0x01, 0x5a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30, 0x2e,
|
|
0x64, 0x65, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76,
|
|
0x31, 0xa2, 0x02, 0x03, 0x42, 0x52, 0x58, 0xaa, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
|
|
0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x3a, 0x3a, 0x52, 0x70,
|
|
0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_rpc_v1_executor_proto_rawDescOnce sync.Once
|
|
file_rpc_v1_executor_proto_rawDescData = file_rpc_v1_executor_proto_rawDesc
|
|
)
|
|
|
|
func file_rpc_v1_executor_proto_rawDescGZIP() []byte {
|
|
file_rpc_v1_executor_proto_rawDescOnce.Do(func() {
|
|
file_rpc_v1_executor_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_v1_executor_proto_rawDescData)
|
|
})
|
|
return file_rpc_v1_executor_proto_rawDescData
|
|
}
|
|
|
|
var file_rpc_v1_executor_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_rpc_v1_executor_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
var file_rpc_v1_executor_proto_goTypes = []interface{}{
|
|
(TaskOutputSource)(0), // 0: buildr.rpc.v1.TaskOutputSource
|
|
(*Buildr)(nil), // 1: buildr.rpc.v1.Buildr
|
|
(*TaskReference)(nil), // 2: buildr.rpc.v1.TaskReference
|
|
(*StartTaskRequest)(nil), // 3: buildr.rpc.v1.StartTaskRequest
|
|
(*TaskResult)(nil), // 4: buildr.rpc.v1.TaskResult
|
|
(*TaskOutput)(nil), // 5: buildr.rpc.v1.TaskOutput
|
|
(*TaskLog)(nil), // 6: buildr.rpc.v1.TaskLog
|
|
(*SetState)(nil), // 7: buildr.rpc.v1.SetState
|
|
(*GetStateRequest)(nil), // 8: buildr.rpc.v1.GetStateRequest
|
|
(*GetStateResponse)(nil), // 9: buildr.rpc.v1.GetStateResponse
|
|
(*Result)(nil), // 10: buildr.rpc.v1.Result
|
|
(*PluginInventory)(nil), // 11: buildr.rpc.v1.PluginInventory
|
|
(*ExecutionClientMessage)(nil), // 12: buildr.rpc.v1.ExecutionClientMessage
|
|
(*ExecutionServerMessage)(nil), // 13: buildr.rpc.v1.ExecutionServerMessage
|
|
(*Buildr_Repo)(nil), // 14: buildr.rpc.v1.Buildr.Repo
|
|
(*TaskLog_LogAttribute)(nil), // 15: buildr.rpc.v1.TaskLog.LogAttribute
|
|
(*PluginInventory_InventorySpec)(nil), // 16: buildr.rpc.v1.PluginInventory.InventorySpec
|
|
(*ModuleReference)(nil), // 17: buildr.rpc.v1.ModuleReference
|
|
(*ModuleSpec)(nil), // 18: buildr.rpc.v1.ModuleSpec
|
|
}
|
|
var file_rpc_v1_executor_proto_depIdxs = []int32{
|
|
14, // 0: buildr.rpc.v1.Buildr.repo:type_name -> buildr.rpc.v1.Buildr.Repo
|
|
17, // 1: buildr.rpc.v1.TaskReference.module:type_name -> buildr.rpc.v1.ModuleReference
|
|
2, // 2: buildr.rpc.v1.StartTaskRequest.reference:type_name -> buildr.rpc.v1.TaskReference
|
|
1, // 3: buildr.rpc.v1.StartTaskRequest.buildr:type_name -> buildr.rpc.v1.Buildr
|
|
18, // 4: buildr.rpc.v1.StartTaskRequest.spec:type_name -> buildr.rpc.v1.ModuleSpec
|
|
0, // 5: buildr.rpc.v1.TaskOutput.source:type_name -> buildr.rpc.v1.TaskOutputSource
|
|
15, // 6: buildr.rpc.v1.TaskLog.attributes:type_name -> buildr.rpc.v1.TaskLog.LogAttribute
|
|
16, // 7: buildr.rpc.v1.PluginInventory.specs:type_name -> buildr.rpc.v1.PluginInventory.InventorySpec
|
|
3, // 8: buildr.rpc.v1.ExecutionClientMessage.start_task:type_name -> buildr.rpc.v1.StartTaskRequest
|
|
9, // 9: buildr.rpc.v1.ExecutionClientMessage.get_state:type_name -> buildr.rpc.v1.GetStateResponse
|
|
10, // 10: buildr.rpc.v1.ExecutionClientMessage.error:type_name -> buildr.rpc.v1.Result
|
|
4, // 11: buildr.rpc.v1.ExecutionServerMessage.task_result:type_name -> buildr.rpc.v1.TaskResult
|
|
6, // 12: buildr.rpc.v1.ExecutionServerMessage.task_log:type_name -> buildr.rpc.v1.TaskLog
|
|
5, // 13: buildr.rpc.v1.ExecutionServerMessage.task_output:type_name -> buildr.rpc.v1.TaskOutput
|
|
8, // 14: buildr.rpc.v1.ExecutionServerMessage.get_state:type_name -> buildr.rpc.v1.GetStateRequest
|
|
7, // 15: buildr.rpc.v1.ExecutionServerMessage.set_state:type_name -> buildr.rpc.v1.SetState
|
|
17, // 16: buildr.rpc.v1.PluginInventory.InventorySpec.module_ref:type_name -> buildr.rpc.v1.ModuleReference
|
|
12, // 17: buildr.rpc.v1.ExecutorService.ExecuteStream:input_type -> buildr.rpc.v1.ExecutionClientMessage
|
|
13, // 18: buildr.rpc.v1.ExecutorService.ExecuteStream:output_type -> buildr.rpc.v1.ExecutionServerMessage
|
|
18, // [18:19] is the sub-list for method output_type
|
|
17, // [17:18] is the sub-list for method input_type
|
|
17, // [17:17] is the sub-list for extension type_name
|
|
17, // [17:17] is the sub-list for extension extendee
|
|
0, // [0:17] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpc_v1_executor_proto_init() }
|
|
func file_rpc_v1_executor_proto_init() {
|
|
if File_rpc_v1_executor_proto != nil {
|
|
return
|
|
}
|
|
file_rpc_v1_spec_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_rpc_v1_executor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Buildr); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskReference); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StartTaskRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskResult); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskOutput); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskLog); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetStateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetStateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Result); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PluginInventory); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ExecutionClientMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ExecutionServerMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Buildr_Repo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskLog_LogAttribute); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PluginInventory_InventorySpec); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[11].OneofWrappers = []interface{}{
|
|
(*ExecutionClientMessage_MessageId)(nil),
|
|
(*ExecutionClientMessage_RepliesTo)(nil),
|
|
(*ExecutionClientMessage_StartTask)(nil),
|
|
(*ExecutionClientMessage_GetState)(nil),
|
|
(*ExecutionClientMessage_Error)(nil),
|
|
}
|
|
file_rpc_v1_executor_proto_msgTypes[12].OneofWrappers = []interface{}{
|
|
(*ExecutionServerMessage_MessageId)(nil),
|
|
(*ExecutionServerMessage_RepliesTo)(nil),
|
|
(*ExecutionServerMessage_TaskResult)(nil),
|
|
(*ExecutionServerMessage_TaskLog)(nil),
|
|
(*ExecutionServerMessage_TaskOutput)(nil),
|
|
(*ExecutionServerMessage_GetState)(nil),
|
|
(*ExecutionServerMessage_SetState)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_rpc_v1_executor_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 16,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_rpc_v1_executor_proto_goTypes,
|
|
DependencyIndexes: file_rpc_v1_executor_proto_depIdxs,
|
|
EnumInfos: file_rpc_v1_executor_proto_enumTypes,
|
|
MessageInfos: file_rpc_v1_executor_proto_msgTypes,
|
|
}.Build()
|
|
File_rpc_v1_executor_proto = out.File
|
|
file_rpc_v1_executor_proto_rawDesc = nil
|
|
file_rpc_v1_executor_proto_goTypes = nil
|
|
file_rpc_v1_executor_proto_depIdxs = nil
|
|
}
|