diff --git a/protos/hardware/hardware.pb.go b/protos/hardware/hardware.pb.go index 5acb0ae75..3456939e5 100644 --- a/protos/hardware/hardware.pb.go +++ b/protos/hardware/hardware.pb.go @@ -685,9 +685,7 @@ func init() { proto.RegisterType((*DeleteRequest)(nil), "github.com.tinkerbell.tink.protos.hardware.DeleteRequest") } -func init() { - proto.RegisterFile("hardware/hardware.proto", fileDescriptor_61ac56d7fc2e671f) -} +func init() { proto.RegisterFile("hardware/hardware.proto", fileDescriptor_61ac56d7fc2e671f) } var fileDescriptor_61ac56d7fc2e671f = []byte{ // 907 bytes of a gzipped FileDescriptorProto @@ -752,30 +750,37 @@ var fileDescriptor_61ac56d7fc2e671f = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // HardwareServiceClient is the client API for HardwareService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type HardwareServiceClient interface { + // Push adds a new Hardware profile to the data store. Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*Empty, error) + // ByMac returns the Hardware with the given hardware MAC Address. ByMAC(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Hardware, error) + // ByIP returns the Hardware with the given IP Address. ByIP(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Hardware, error) + // ByID returns the Hardware with the given ID. ByID(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Hardware, error) + // All returns all of the Hardware profiles. All(ctx context.Context, in *Empty, opts ...grpc.CallOption) (HardwareService_AllClient, error) + // Watch watches for events on the given hardware and streams the matching Hardware. Watch(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (HardwareService_WatchClient, error) + // Delete deletes the given hardware from the data store. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Empty, error) } type hardwareServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewHardwareServiceClient(cc grpc.ClientConnInterface) HardwareServiceClient { +func NewHardwareServiceClient(cc *grpc.ClientConn) HardwareServiceClient { return &hardwareServiceClient{cc} } @@ -890,12 +895,19 @@ func (c *hardwareServiceClient) Delete(ctx context.Context, in *DeleteRequest, o // HardwareServiceServer is the server API for HardwareService service. type HardwareServiceServer interface { + // Push adds a new Hardware profile to the data store. Push(context.Context, *PushRequest) (*Empty, error) + // ByMac returns the Hardware with the given hardware MAC Address. ByMAC(context.Context, *GetRequest) (*Hardware, error) + // ByIP returns the Hardware with the given IP Address. ByIP(context.Context, *GetRequest) (*Hardware, error) + // ByID returns the Hardware with the given ID. ByID(context.Context, *GetRequest) (*Hardware, error) + // All returns all of the Hardware profiles. All(*Empty, HardwareService_AllServer) error + // Watch watches for events on the given hardware and streams the matching Hardware. Watch(*GetRequest, HardwareService_WatchServer) error + // Delete deletes the given hardware from the data store. Delete(context.Context, *DeleteRequest) (*Empty, error) } diff --git a/protos/hardware/hardware.proto b/protos/hardware/hardware.proto index 360180106..c5a744e64 100644 --- a/protos/hardware/hardware.proto +++ b/protos/hardware/hardware.proto @@ -6,36 +6,58 @@ package github.com.tinkerbell.tink.protos.hardware; import "google/api/annotations.proto"; +// The HardwareService provides access to data describing the compute +// and networking profiles of the hardware available to accept workflows. +// +// The API supports adding new entries. While the hardware data is essential, +// not all of the properties are required for every workflow. The choice of +// workflow predicates the level of hardware detail necessary. +// +// Read access to individual hardware profiles is provided through the unique +// ID, MAC, and IP hardware properties. service HardwareService { + // Push adds a new Hardware profile to the data store. rpc Push (PushRequest) returns (Empty) { option (google.api.http) = { post: "/v1/hardware" body: "*" }; }; + + // ByMac returns the Hardware with the given hardware MAC Address. rpc ByMAC(GetRequest) returns (Hardware) { option (google.api.http) = { post: "/v1/hardware/mac" body: "*" }; }; + + // ByIP returns the Hardware with the given IP Address. rpc ByIP(GetRequest) returns (Hardware) { option (google.api.http) = { post: "/v1/hardware/ip" body: "*" }; }; + + // ByID returns the Hardware with the given ID. rpc ByID(GetRequest) returns (Hardware) { option (google.api.http) = { get: "/v1/hardware/{id}" }; }; + + // All returns all of the Hardware profiles. rpc All(Empty) returns (stream Hardware) { option (google.api.http) = { get: "/v1/hardware" }; }; + + // Watch watches for events on the given hardware and streams the matching Hardware. rpc Watch(GetRequest) returns (stream Hardware); + + // Delete deletes the given hardware from the data store. rpc Delete(DeleteRequest) returns (Empty) { option (google.api.http) = { delete: "/v1/hardware/{id}" diff --git a/protos/packet/packet.pb.go b/protos/packet/packet.pb.go index 56e010aaf..207917b7c 100644 --- a/protos/packet/packet.pb.go +++ b/protos/packet/packet.pb.go @@ -1046,9 +1046,7 @@ func init() { proto.RegisterType((*Metadata_Facility)(nil), "github.com.tinkerbell.tink.protos.packet.Metadata.Facility") } -func init() { - proto.RegisterFile("packet/packet.proto", fileDescriptor_57dbb8dc3dbf2351) -} +func init() { proto.RegisterFile("packet/packet.proto", fileDescriptor_57dbb8dc3dbf2351) } var fileDescriptor_57dbb8dc3dbf2351 = []byte{ // 1185 bytes of a gzipped FileDescriptorProto diff --git a/protos/protoc.sh b/protos/protoc.sh index f2cba378d..446d9c32a 100755 --- a/protos/protoc.sh +++ b/protos/protoc.sh @@ -1,9 +1,33 @@ #!/usr/bin/env bash - +# +# protoc.sh uses the local protoc if installed, otherwise +# docker will be used with a complete environment provided +# by https://github.com/jaegertracing/docker-protobuf. +# Alternative images like grpc/go are very dated and do not +# include the needed plugins and includes. +# set -e +GOPATH=${GOPATH:-$(go env GOPATH)} + +if command -v protoc >/dev/null; then + GW_PATH="$GOPATH"/src/github.com/grpc-ecosystem/grpc-gateway + GO111MODULES=on go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway + + PROTOC="protoc -I/usr/local/include -I$GW_PATH/third_party/googleapis --plugin=protoc-gen-grpc-gateway=$GOPATH/bin/protoc-gen-grpc-gateway" +else + IMAGE=jaegertracing/protobuf:0.2.0 + BASE=/protos + PROTOC="docker run -v $(pwd):$BASE -w $BASE --rm $IMAGE " +fi + for proto in hardware packet template workflow; do echo "Generating ${proto}.pb.go..." - protoc -I ./ -I ./common/ -I "$GOPATH"/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis "${proto}/${proto}.proto" --go_out=plugins=grpc:./ --grpc-gateway_out=logtostderr=true:. + $PROTOC -I./ \ + -I./common \ + --go_opt=paths=source_relative \ + --go_out=plugins=grpc:./ \ + --grpc-gateway_out=logtostderr=true:. \ + "${proto}/${proto}.proto" done goimports -w . diff --git a/protos/template/template.pb.go b/protos/template/template.pb.go index 762809414..c74884d05 100644 --- a/protos/template/template.pb.go +++ b/protos/template/template.pb.go @@ -222,9 +222,7 @@ func init() { proto.RegisterType((*GetRequest)(nil), "github.com.tinkerbell.tink.protos.template.GetRequest") } -func init() { - proto.RegisterFile("template/template.proto", fileDescriptor_dca67df6b60706ce) -} +func init() { proto.RegisterFile("template/template.proto", fileDescriptor_dca67df6b60706ce) } var fileDescriptor_dca67df6b60706ce = []byte{ // 431 bytes of a gzipped FileDescriptorProto @@ -259,11 +257,11 @@ var fileDescriptor_dca67df6b60706ce = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // TemplateClient is the client API for Template service. // @@ -277,10 +275,10 @@ type TemplateClient interface { } type templateClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewTemplateClient(cc grpc.ClientConnInterface) TemplateClient { +func NewTemplateClient(cc *grpc.ClientConn) TemplateClient { return &templateClient{cc} } diff --git a/protos/workflow/workflow.pb.go b/protos/workflow/workflow.pb.go index d9d50422d..6f1625542 100644 --- a/protos/workflow/workflow.pb.go +++ b/protos/workflow/workflow.pb.go @@ -1,15 +1,12 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.25.0-devel -// protoc v3.10.0 // source: workflow/workflow.proto package workflow import ( context "context" - reflect "reflect" - sync "sync" + fmt "fmt" + math "math" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" @@ -17,20 +14,18 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type State int32 @@ -42,49 +37,28 @@ const ( State_SUCCESS State = 4 ) -// Enum value maps for State. -var ( - State_name = map[int32]string{ - 0: "PENDING", - 1: "RUNNING", - 2: "FAILED", - 3: "TIMEOUT", - 4: "SUCCESS", - } - State_value = map[string]int32{ - "PENDING": 0, - "RUNNING": 1, - "FAILED": 2, - "TIMEOUT": 3, - "SUCCESS": 4, - } -) - -func (x State) Enum() *State { - p := new(State) - *p = x - return p -} - -func (x State) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (State) Descriptor() protoreflect.EnumDescriptor { - return file_workflow_workflow_proto_enumTypes[0].Descriptor() +var State_name = map[int32]string{ + 0: "PENDING", + 1: "RUNNING", + 2: "FAILED", + 3: "TIMEOUT", + 4: "SUCCESS", } -func (State) Type() protoreflect.EnumType { - return &file_workflow_workflow_proto_enumTypes[0] +var State_value = map[string]int32{ + "PENDING": 0, + "RUNNING": 1, + "FAILED": 2, + "TIMEOUT": 3, + "SUCCESS": 4, } -func (x State) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x State) String() string { + return proto.EnumName(State_name, int32(x)) } -// Deprecated: Use State.Descriptor instead. func (State) EnumDescriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{0} + return fileDescriptor_87aff9429097fa52, []int{0} } type ActionState int32 @@ -97,346 +71,282 @@ const ( ActionState_ACTION_TIMEOUT ActionState = 4 ) -// Enum value maps for ActionState. -var ( - ActionState_name = map[int32]string{ - 0: "ACTION_PENDING", - 1: "ACTION_IN_PROGRESS", - 2: "ACTION_SUCCESS", - 3: "ACTION_FAILED", - 4: "ACTION_TIMEOUT", - } - ActionState_value = map[string]int32{ - "ACTION_PENDING": 0, - "ACTION_IN_PROGRESS": 1, - "ACTION_SUCCESS": 2, - "ACTION_FAILED": 3, - "ACTION_TIMEOUT": 4, - } -) +var ActionState_name = map[int32]string{ + 0: "ACTION_PENDING", + 1: "ACTION_IN_PROGRESS", + 2: "ACTION_SUCCESS", + 3: "ACTION_FAILED", + 4: "ACTION_TIMEOUT", +} -func (x ActionState) Enum() *ActionState { - p := new(ActionState) - *p = x - return p +var ActionState_value = map[string]int32{ + "ACTION_PENDING": 0, + "ACTION_IN_PROGRESS": 1, + "ACTION_SUCCESS": 2, + "ACTION_FAILED": 3, + "ACTION_TIMEOUT": 4, } func (x ActionState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(ActionState_name, int32(x)) } -func (ActionState) Descriptor() protoreflect.EnumDescriptor { - return file_workflow_workflow_proto_enumTypes[1].Descriptor() +func (ActionState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{1} } -func (ActionState) Type() protoreflect.EnumType { - return &file_workflow_workflow_proto_enumTypes[1] +type Empty struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x ActionState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *Empty) Reset() { *m = Empty{} } +func (m *Empty) String() string { return proto.CompactTextString(m) } +func (*Empty) ProtoMessage() {} +func (*Empty) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{0} } -// Deprecated: Use ActionState.Descriptor instead. -func (ActionState) EnumDescriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{1} +func (m *Empty) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Empty.Unmarshal(m, b) } - -type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Empty.Marshal(b, m, deterministic) } - -func (x *Empty) Reset() { - *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Empty) XXX_Merge(src proto.Message) { + xxx_messageInfo_Empty.Merge(m, src) } - -func (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Empty) XXX_Size() int { + return xxx_messageInfo_Empty.Size(m) } - -func (*Empty) ProtoMessage() {} - -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *Empty) XXX_DiscardUnknown() { + xxx_messageInfo_Empty.DiscardUnknown(m) } -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_Empty proto.InternalMessageInfo type Workflow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` - Hardware string `protobuf:"bytes,3,opt,name=hardware,proto3" json:"hardware,omitempty"` - State State `protobuf:"varint,4,opt,name=state,proto3,enum=github.com.tinkerbell.tink.protos.workflow.State" json:"state,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` - DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` - Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + Hardware string `protobuf:"bytes,3,opt,name=hardware,proto3" json:"hardware,omitempty"` + State State `protobuf:"varint,4,opt,name=state,proto3,enum=github.com.tinkerbell.tink.protos.workflow.State" json:"state,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` + DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` + Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Workflow) Reset() { *m = Workflow{} } +func (m *Workflow) String() string { return proto.CompactTextString(m) } +func (*Workflow) ProtoMessage() {} +func (*Workflow) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{1} } -func (x *Workflow) Reset() { - *x = Workflow{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Workflow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Workflow.Unmarshal(m, b) } - -func (x *Workflow) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Workflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Workflow.Marshal(b, m, deterministic) } - -func (*Workflow) ProtoMessage() {} - -func (x *Workflow) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *Workflow) XXX_Merge(src proto.Message) { + xxx_messageInfo_Workflow.Merge(m, src) } - -// Deprecated: Use Workflow.ProtoReflect.Descriptor instead. -func (*Workflow) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{1} +func (m *Workflow) XXX_Size() int { + return xxx_messageInfo_Workflow.Size(m) } +func (m *Workflow) XXX_DiscardUnknown() { + xxx_messageInfo_Workflow.DiscardUnknown(m) +} + +var xxx_messageInfo_Workflow proto.InternalMessageInfo -func (x *Workflow) GetId() string { - if x != nil { - return x.Id +func (m *Workflow) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *Workflow) GetTemplate() string { - if x != nil { - return x.Template +func (m *Workflow) GetTemplate() string { + if m != nil { + return m.Template } return "" } -func (x *Workflow) GetHardware() string { - if x != nil { - return x.Hardware +func (m *Workflow) GetHardware() string { + if m != nil { + return m.Hardware } return "" } -func (x *Workflow) GetState() State { - if x != nil { - return x.State +func (m *Workflow) GetState() State { + if m != nil { + return m.State } return State_PENDING } -func (x *Workflow) GetCreatedAt() *timestamp.Timestamp { - if x != nil { - return x.CreatedAt +func (m *Workflow) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt } return nil } -func (x *Workflow) GetUpdatedAt() *timestamp.Timestamp { - if x != nil { - return x.UpdatedAt +func (m *Workflow) GetUpdatedAt() *timestamp.Timestamp { + if m != nil { + return m.UpdatedAt } return nil } -func (x *Workflow) GetDeletedAt() *timestamp.Timestamp { - if x != nil { - return x.DeletedAt +func (m *Workflow) GetDeletedAt() *timestamp.Timestamp { + if m != nil { + return m.DeletedAt } return nil } -func (x *Workflow) GetData() string { - if x != nil { - return x.Data +func (m *Workflow) GetData() string { + if m != nil { + return m.Data } return "" } type CreateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` - Hardware string `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty"` + Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` + Hardware string `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateRequest) Reset() { - *x = CreateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CreateRequest) Reset() { *m = CreateRequest{} } +func (m *CreateRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRequest) ProtoMessage() {} +func (*CreateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{2} } -func (x *CreateRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CreateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRequest.Unmarshal(m, b) } - -func (*CreateRequest) ProtoMessage() {} - -func (x *CreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. -func (*CreateRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{2} +func (m *CreateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRequest.Merge(m, src) +} +func (m *CreateRequest) XXX_Size() int { + return xxx_messageInfo_CreateRequest.Size(m) } +func (m *CreateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRequest proto.InternalMessageInfo -func (x *CreateRequest) GetTemplate() string { - if x != nil { - return x.Template +func (m *CreateRequest) GetTemplate() string { + if m != nil { + return m.Template } return "" } -func (x *CreateRequest) GetHardware() string { - if x != nil { - return x.Hardware +func (m *CreateRequest) GetHardware() string { + if m != nil { + return m.Hardware } return "" } type CreateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateResponse) Reset() { - *x = CreateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CreateResponse) Reset() { *m = CreateResponse{} } +func (m *CreateResponse) String() string { return proto.CompactTextString(m) } +func (*CreateResponse) ProtoMessage() {} +func (*CreateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{3} } -func (x *CreateResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CreateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateResponse.Unmarshal(m, b) } - -func (*CreateResponse) ProtoMessage() {} - -func (x *CreateResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead. -func (*CreateResponse) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{3} +func (m *CreateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateResponse.Merge(m, src) +} +func (m *CreateResponse) XXX_Size() int { + return xxx_messageInfo_CreateResponse.Size(m) +} +func (m *CreateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateResponse.DiscardUnknown(m) } -func (x *CreateResponse) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_CreateResponse proto.InternalMessageInfo + +func (m *CreateResponse) GetId() string { + if m != nil { + return m.Id } return "" } type GetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetRequest) Reset() { - *x = GetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetRequest) Reset() { *m = GetRequest{} } +func (m *GetRequest) String() string { return proto.CompactTextString(m) } +func (*GetRequest) ProtoMessage() {} +func (*GetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{4} } -func (x *GetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRequest.Unmarshal(m, b) } - -func (*GetRequest) ProtoMessage() {} - -func (x *GetRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetRequest.ProtoReflect.Descriptor instead. -func (*GetRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{4} +func (m *GetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRequest.Merge(m, src) } +func (m *GetRequest) XXX_Size() int { + return xxx_messageInfo_GetRequest.Size(m) +} +func (m *GetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRequest proto.InternalMessageInfo -func (x *GetRequest) GetId() string { - if x != nil { - return x.Id +func (m *GetRequest) GetId() string { + if m != nil { + return m.Id } return "" } type WorkflowContext struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` CurrentWorker string `protobuf:"bytes,2,opt,name=current_worker,json=currentWorker,proto3" json:"current_worker,omitempty"` CurrentTask string `protobuf:"bytes,3,opt,name=current_task,json=currentTask,proto3" json:"current_task,omitempty"` @@ -444,1266 +354,709 @@ type WorkflowContext struct { CurrentActionIndex int64 `protobuf:"varint,5,opt,name=current_action_index,json=currentActionIndex,proto3" json:"current_action_index,omitempty"` CurrentActionState ActionState `protobuf:"varint,6,opt,name=current_action_state,json=currentActionState,proto3,enum=github.com.tinkerbell.tink.protos.workflow.ActionState" json:"current_action_state,omitempty"` TotalNumberOfActions int64 `protobuf:"varint,7,opt,name=total_number_of_actions,json=totalNumberOfActions,proto3" json:"total_number_of_actions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowContext) Reset() { - *x = WorkflowContext{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowContext) Reset() { *m = WorkflowContext{} } +func (m *WorkflowContext) String() string { return proto.CompactTextString(m) } +func (*WorkflowContext) ProtoMessage() {} +func (*WorkflowContext) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{5} } -func (x *WorkflowContext) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowContext) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowContext.Unmarshal(m, b) } - -func (*WorkflowContext) ProtoMessage() {} - -func (x *WorkflowContext) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowContext.Marshal(b, m, deterministic) } - -// Deprecated: Use WorkflowContext.ProtoReflect.Descriptor instead. -func (*WorkflowContext) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{5} +func (m *WorkflowContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowContext.Merge(m, src) +} +func (m *WorkflowContext) XXX_Size() int { + return xxx_messageInfo_WorkflowContext.Size(m) } +func (m *WorkflowContext) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowContext.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowContext proto.InternalMessageInfo -func (x *WorkflowContext) GetWorkflowId() string { - if x != nil { - return x.WorkflowId +func (m *WorkflowContext) GetWorkflowId() string { + if m != nil { + return m.WorkflowId } return "" } -func (x *WorkflowContext) GetCurrentWorker() string { - if x != nil { - return x.CurrentWorker +func (m *WorkflowContext) GetCurrentWorker() string { + if m != nil { + return m.CurrentWorker } return "" } -func (x *WorkflowContext) GetCurrentTask() string { - if x != nil { - return x.CurrentTask +func (m *WorkflowContext) GetCurrentTask() string { + if m != nil { + return m.CurrentTask } return "" } -func (x *WorkflowContext) GetCurrentAction() string { - if x != nil { - return x.CurrentAction +func (m *WorkflowContext) GetCurrentAction() string { + if m != nil { + return m.CurrentAction } return "" } -func (x *WorkflowContext) GetCurrentActionIndex() int64 { - if x != nil { - return x.CurrentActionIndex +func (m *WorkflowContext) GetCurrentActionIndex() int64 { + if m != nil { + return m.CurrentActionIndex } return 0 } -func (x *WorkflowContext) GetCurrentActionState() ActionState { - if x != nil { - return x.CurrentActionState +func (m *WorkflowContext) GetCurrentActionState() ActionState { + if m != nil { + return m.CurrentActionState } return ActionState_ACTION_PENDING } -func (x *WorkflowContext) GetTotalNumberOfActions() int64 { - if x != nil { - return x.TotalNumberOfActions +func (m *WorkflowContext) GetTotalNumberOfActions() int64 { + if m != nil { + return m.TotalNumberOfActions } return 0 } type WorkflowActionStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` - ActionName string `protobuf:"bytes,3,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` - ActionStatus ActionState `protobuf:"varint,4,opt,name=action_status,json=actionStatus,proto3,enum=github.com.tinkerbell.tink.protos.workflow.ActionState" json:"action_status,omitempty"` - Seconds int64 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"` - Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` - WorkerId string `protobuf:"bytes,8,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` + ActionName string `protobuf:"bytes,3,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` + ActionStatus ActionState `protobuf:"varint,4,opt,name=action_status,json=actionStatus,proto3,enum=github.com.tinkerbell.tink.protos.workflow.ActionState" json:"action_status,omitempty"` + Seconds int64 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"` + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + WorkerId string `protobuf:"bytes,8,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowActionStatus) Reset() { *m = WorkflowActionStatus{} } +func (m *WorkflowActionStatus) String() string { return proto.CompactTextString(m) } +func (*WorkflowActionStatus) ProtoMessage() {} +func (*WorkflowActionStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{6} } -func (x *WorkflowActionStatus) Reset() { - *x = WorkflowActionStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowActionStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowActionStatus.Unmarshal(m, b) } - -func (x *WorkflowActionStatus) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowActionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowActionStatus.Marshal(b, m, deterministic) } - -func (*WorkflowActionStatus) ProtoMessage() {} - -func (x *WorkflowActionStatus) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowActionStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowActionStatus.Merge(m, src) } - -// Deprecated: Use WorkflowActionStatus.ProtoReflect.Descriptor instead. -func (*WorkflowActionStatus) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{6} +func (m *WorkflowActionStatus) XXX_Size() int { + return xxx_messageInfo_WorkflowActionStatus.Size(m) } +func (m *WorkflowActionStatus) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowActionStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowActionStatus proto.InternalMessageInfo -func (x *WorkflowActionStatus) GetWorkflowId() string { - if x != nil { - return x.WorkflowId +func (m *WorkflowActionStatus) GetWorkflowId() string { + if m != nil { + return m.WorkflowId } return "" } -func (x *WorkflowActionStatus) GetTaskName() string { - if x != nil { - return x.TaskName +func (m *WorkflowActionStatus) GetTaskName() string { + if m != nil { + return m.TaskName } return "" } -func (x *WorkflowActionStatus) GetActionName() string { - if x != nil { - return x.ActionName +func (m *WorkflowActionStatus) GetActionName() string { + if m != nil { + return m.ActionName } return "" } -func (x *WorkflowActionStatus) GetActionStatus() ActionState { - if x != nil { - return x.ActionStatus +func (m *WorkflowActionStatus) GetActionStatus() ActionState { + if m != nil { + return m.ActionStatus } return ActionState_ACTION_PENDING } -func (x *WorkflowActionStatus) GetSeconds() int64 { - if x != nil { - return x.Seconds +func (m *WorkflowActionStatus) GetSeconds() int64 { + if m != nil { + return m.Seconds } return 0 } -func (x *WorkflowActionStatus) GetMessage() string { - if x != nil { - return x.Message +func (m *WorkflowActionStatus) GetMessage() string { + if m != nil { + return m.Message } return "" } -func (x *WorkflowActionStatus) GetCreatedAt() *timestamp.Timestamp { - if x != nil { - return x.CreatedAt +func (m *WorkflowActionStatus) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt } return nil } -func (x *WorkflowActionStatus) GetWorkerId() string { - if x != nil { - return x.WorkerId +func (m *WorkflowActionStatus) GetWorkerId() string { + if m != nil { + return m.WorkerId } return "" } type WorkflowContextRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowContextRequest) Reset() { - *x = WorkflowContextRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowContextRequest) Reset() { *m = WorkflowContextRequest{} } +func (m *WorkflowContextRequest) String() string { return proto.CompactTextString(m) } +func (*WorkflowContextRequest) ProtoMessage() {} +func (*WorkflowContextRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{7} } -func (x *WorkflowContextRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowContextRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowContextRequest.Unmarshal(m, b) } - -func (*WorkflowContextRequest) ProtoMessage() {} - -func (x *WorkflowContextRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowContextRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use WorkflowContextRequest.ProtoReflect.Descriptor instead. -func (*WorkflowContextRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{7} +func (m *WorkflowContextRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowContextRequest.Merge(m, src) +} +func (m *WorkflowContextRequest) XXX_Size() int { + return xxx_messageInfo_WorkflowContextRequest.Size(m) +} +func (m *WorkflowContextRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowContextRequest.DiscardUnknown(m) } -func (x *WorkflowContextRequest) GetWorkerId() string { - if x != nil { - return x.WorkerId +var xxx_messageInfo_WorkflowContextRequest proto.InternalMessageInfo + +func (m *WorkflowContextRequest) GetWorkerId() string { + if m != nil { + return m.WorkerId } return "" } type WorkflowContextList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowContexts []*WorkflowContext `protobuf:"bytes,1,rep,name=workflow_contexts,json=workflowContexts,proto3" json:"workflow_contexts,omitempty"` + WorkflowContexts []*WorkflowContext `protobuf:"bytes,1,rep,name=workflow_contexts,json=workflowContexts,proto3" json:"workflow_contexts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowContextList) Reset() { - *x = WorkflowContextList{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowContextList) Reset() { *m = WorkflowContextList{} } +func (m *WorkflowContextList) String() string { return proto.CompactTextString(m) } +func (*WorkflowContextList) ProtoMessage() {} +func (*WorkflowContextList) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{8} } -func (x *WorkflowContextList) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowContextList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowContextList.Unmarshal(m, b) } - -func (*WorkflowContextList) ProtoMessage() {} - -func (x *WorkflowContextList) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowContextList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowContextList.Marshal(b, m, deterministic) } - -// Deprecated: Use WorkflowContextList.ProtoReflect.Descriptor instead. -func (*WorkflowContextList) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{8} +func (m *WorkflowContextList) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowContextList.Merge(m, src) } +func (m *WorkflowContextList) XXX_Size() int { + return xxx_messageInfo_WorkflowContextList.Size(m) +} +func (m *WorkflowContextList) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowContextList.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowContextList proto.InternalMessageInfo -func (x *WorkflowContextList) GetWorkflowContexts() []*WorkflowContext { - if x != nil { - return x.WorkflowContexts +func (m *WorkflowContextList) GetWorkflowContexts() []*WorkflowContext { + if m != nil { + return m.WorkflowContexts } return nil } type WorkflowActionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowActionsRequest) Reset() { - *x = WorkflowActionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowActionsRequest) Reset() { *m = WorkflowActionsRequest{} } +func (m *WorkflowActionsRequest) String() string { return proto.CompactTextString(m) } +func (*WorkflowActionsRequest) ProtoMessage() {} +func (*WorkflowActionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{9} } -func (x *WorkflowActionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowActionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowActionsRequest.Unmarshal(m, b) } - -func (*WorkflowActionsRequest) ProtoMessage() {} - -func (x *WorkflowActionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowActionsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use WorkflowActionsRequest.ProtoReflect.Descriptor instead. -func (*WorkflowActionsRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{9} +func (m *WorkflowActionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowActionsRequest.Merge(m, src) +} +func (m *WorkflowActionsRequest) XXX_Size() int { + return xxx_messageInfo_WorkflowActionsRequest.Size(m) } +func (m *WorkflowActionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowActionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowActionsRequest proto.InternalMessageInfo -func (x *WorkflowActionsRequest) GetWorkflowId() string { - if x != nil { - return x.WorkflowId +func (m *WorkflowActionsRequest) GetWorkflowId() string { + if m != nil { + return m.WorkflowId } return "" } type WorkflowAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TaskName string `protobuf:"bytes,1,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` - Command []string `protobuf:"bytes,5,rep,name=command,proto3" json:"command,omitempty"` - OnTimeout []string `protobuf:"bytes,6,rep,name=on_timeout,json=onTimeout,proto3" json:"on_timeout,omitempty"` - OnFailure []string `protobuf:"bytes,7,rep,name=on_failure,json=onFailure,proto3" json:"on_failure,omitempty"` - WorkerId string `protobuf:"bytes,8,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` - Volumes []string `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` - Environment []string `protobuf:"bytes,10,rep,name=environment,proto3" json:"environment,omitempty"` + TaskName string `protobuf:"bytes,1,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` + Command []string `protobuf:"bytes,5,rep,name=command,proto3" json:"command,omitempty"` + OnTimeout []string `protobuf:"bytes,6,rep,name=on_timeout,json=onTimeout,proto3" json:"on_timeout,omitempty"` + OnFailure []string `protobuf:"bytes,7,rep,name=on_failure,json=onFailure,proto3" json:"on_failure,omitempty"` + WorkerId string `protobuf:"bytes,8,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + Volumes []string `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` + Environment []string `protobuf:"bytes,10,rep,name=environment,proto3" json:"environment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowAction) Reset() { *m = WorkflowAction{} } +func (m *WorkflowAction) String() string { return proto.CompactTextString(m) } +func (*WorkflowAction) ProtoMessage() {} +func (*WorkflowAction) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{10} } -func (x *WorkflowAction) Reset() { - *x = WorkflowAction{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowAction.Unmarshal(m, b) } - -func (x *WorkflowAction) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowAction.Marshal(b, m, deterministic) } - -func (*WorkflowAction) ProtoMessage() {} - -func (x *WorkflowAction) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowAction.Merge(m, src) } - -// Deprecated: Use WorkflowAction.ProtoReflect.Descriptor instead. -func (*WorkflowAction) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{10} +func (m *WorkflowAction) XXX_Size() int { + return xxx_messageInfo_WorkflowAction.Size(m) +} +func (m *WorkflowAction) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowAction.DiscardUnknown(m) } -func (x *WorkflowAction) GetTaskName() string { - if x != nil { - return x.TaskName +var xxx_messageInfo_WorkflowAction proto.InternalMessageInfo + +func (m *WorkflowAction) GetTaskName() string { + if m != nil { + return m.TaskName } return "" } -func (x *WorkflowAction) GetName() string { - if x != nil { - return x.Name +func (m *WorkflowAction) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *WorkflowAction) GetImage() string { - if x != nil { - return x.Image +func (m *WorkflowAction) GetImage() string { + if m != nil { + return m.Image } return "" } -func (x *WorkflowAction) GetTimeout() int64 { - if x != nil { - return x.Timeout +func (m *WorkflowAction) GetTimeout() int64 { + if m != nil { + return m.Timeout } return 0 } -func (x *WorkflowAction) GetCommand() []string { - if x != nil { - return x.Command +func (m *WorkflowAction) GetCommand() []string { + if m != nil { + return m.Command } return nil } -func (x *WorkflowAction) GetOnTimeout() []string { - if x != nil { - return x.OnTimeout +func (m *WorkflowAction) GetOnTimeout() []string { + if m != nil { + return m.OnTimeout } return nil } -func (x *WorkflowAction) GetOnFailure() []string { - if x != nil { - return x.OnFailure +func (m *WorkflowAction) GetOnFailure() []string { + if m != nil { + return m.OnFailure } return nil } -func (x *WorkflowAction) GetWorkerId() string { - if x != nil { - return x.WorkerId +func (m *WorkflowAction) GetWorkerId() string { + if m != nil { + return m.WorkerId } return "" } -func (x *WorkflowAction) GetVolumes() []string { - if x != nil { - return x.Volumes +func (m *WorkflowAction) GetVolumes() []string { + if m != nil { + return m.Volumes } return nil } -func (x *WorkflowAction) GetEnvironment() []string { - if x != nil { - return x.Environment +func (m *WorkflowAction) GetEnvironment() []string { + if m != nil { + return m.Environment } return nil } type WorkflowActionList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActionList []*WorkflowAction `protobuf:"bytes,1,rep,name=action_list,json=actionList,proto3" json:"action_list,omitempty"` + ActionList []*WorkflowAction `protobuf:"bytes,1,rep,name=action_list,json=actionList,proto3" json:"action_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowActionList) Reset() { - *x = WorkflowActionList{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WorkflowActionList) Reset() { *m = WorkflowActionList{} } +func (m *WorkflowActionList) String() string { return proto.CompactTextString(m) } +func (*WorkflowActionList) ProtoMessage() {} +func (*WorkflowActionList) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{11} } -func (x *WorkflowActionList) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WorkflowActionList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowActionList.Unmarshal(m, b) } - -func (*WorkflowActionList) ProtoMessage() {} - -func (x *WorkflowActionList) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *WorkflowActionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowActionList.Marshal(b, m, deterministic) } - -// Deprecated: Use WorkflowActionList.ProtoReflect.Descriptor instead. -func (*WorkflowActionList) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{11} +func (m *WorkflowActionList) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowActionList.Merge(m, src) +} +func (m *WorkflowActionList) XXX_Size() int { + return xxx_messageInfo_WorkflowActionList.Size(m) +} +func (m *WorkflowActionList) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowActionList.DiscardUnknown(m) } -func (x *WorkflowActionList) GetActionList() []*WorkflowAction { - if x != nil { - return x.ActionList +var xxx_messageInfo_WorkflowActionList proto.InternalMessageInfo + +func (m *WorkflowActionList) GetActionList() []*WorkflowAction { + if m != nil { + return m.ActionList } return nil } type GetWorkflowDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowID string `protobuf:"bytes,1,opt,name=workflow_iD,json=workflowID,proto3" json:"workflow_iD,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + WorkflowID string `protobuf:"bytes,1,opt,name=workflow_iD,json=workflowID,proto3" json:"workflow_iD,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowDataRequest) Reset() { - *x = GetWorkflowDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetWorkflowDataRequest) Reset() { *m = GetWorkflowDataRequest{} } +func (m *GetWorkflowDataRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowDataRequest) ProtoMessage() {} +func (*GetWorkflowDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{12} } -func (x *GetWorkflowDataRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetWorkflowDataRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowDataRequest.Unmarshal(m, b) } - -func (*GetWorkflowDataRequest) ProtoMessage() {} - -func (x *GetWorkflowDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *GetWorkflowDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowDataRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetWorkflowDataRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowDataRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{12} +func (m *GetWorkflowDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowDataRequest.Merge(m, src) } +func (m *GetWorkflowDataRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowDataRequest.Size(m) +} +func (m *GetWorkflowDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowDataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowDataRequest proto.InternalMessageInfo -func (x *GetWorkflowDataRequest) GetWorkflowID() string { - if x != nil { - return x.WorkflowID +func (m *GetWorkflowDataRequest) GetWorkflowID() string { + if m != nil { + return m.WorkflowID } return "" } -func (x *GetWorkflowDataRequest) GetVersion() int32 { - if x != nil { - return x.Version +func (m *GetWorkflowDataRequest) GetVersion() int32 { + if m != nil { + return m.Version } return 0 } type GetWorkflowDataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowDataResponse) Reset() { - *x = GetWorkflowDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetWorkflowDataResponse) Reset() { *m = GetWorkflowDataResponse{} } +func (m *GetWorkflowDataResponse) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowDataResponse) ProtoMessage() {} +func (*GetWorkflowDataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{13} } -func (x *GetWorkflowDataResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetWorkflowDataResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowDataResponse.Unmarshal(m, b) } - -func (*GetWorkflowDataResponse) ProtoMessage() {} - -func (x *GetWorkflowDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *GetWorkflowDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowDataResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetWorkflowDataResponse.ProtoReflect.Descriptor instead. -func (*GetWorkflowDataResponse) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{13} +func (m *GetWorkflowDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowDataResponse.Merge(m, src) } +func (m *GetWorkflowDataResponse) XXX_Size() int { + return xxx_messageInfo_GetWorkflowDataResponse.Size(m) +} +func (m *GetWorkflowDataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowDataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowDataResponse proto.InternalMessageInfo -func (x *GetWorkflowDataResponse) GetData() []byte { - if x != nil { - return x.Data +func (m *GetWorkflowDataResponse) GetData() []byte { + if m != nil { + return m.Data } return nil } -func (x *GetWorkflowDataResponse) GetVersion() int32 { - if x != nil { - return x.Version +func (m *GetWorkflowDataResponse) GetVersion() int32 { + if m != nil { + return m.Version } return 0 } type UpdateWorkflowDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowID string `protobuf:"bytes,1,opt,name=workflow_iD,json=workflowID,proto3" json:"workflow_iD,omitempty"` - Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + WorkflowID string `protobuf:"bytes,1,opt,name=workflow_iD,json=workflowID,proto3" json:"workflow_iD,omitempty"` + Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateWorkflowDataRequest) Reset() { - *x = UpdateWorkflowDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_workflow_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *UpdateWorkflowDataRequest) Reset() { *m = UpdateWorkflowDataRequest{} } +func (m *UpdateWorkflowDataRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateWorkflowDataRequest) ProtoMessage() {} +func (*UpdateWorkflowDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_87aff9429097fa52, []int{14} } -func (x *UpdateWorkflowDataRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *UpdateWorkflowDataRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateWorkflowDataRequest.Unmarshal(m, b) } - -func (*UpdateWorkflowDataRequest) ProtoMessage() {} - -func (x *UpdateWorkflowDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_workflow_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) +func (m *UpdateWorkflowDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateWorkflowDataRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use UpdateWorkflowDataRequest.ProtoReflect.Descriptor instead. -func (*UpdateWorkflowDataRequest) Descriptor() ([]byte, []int) { - return file_workflow_workflow_proto_rawDescGZIP(), []int{14} +func (m *UpdateWorkflowDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateWorkflowDataRequest.Merge(m, src) +} +func (m *UpdateWorkflowDataRequest) XXX_Size() int { + return xxx_messageInfo_UpdateWorkflowDataRequest.Size(m) } +func (m *UpdateWorkflowDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateWorkflowDataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateWorkflowDataRequest proto.InternalMessageInfo -func (x *UpdateWorkflowDataRequest) GetWorkflowID() string { - if x != nil { - return x.WorkflowID +func (m *UpdateWorkflowDataRequest) GetWorkflowID() string { + if m != nil { + return m.WorkflowID } return "" } -func (x *UpdateWorkflowDataRequest) GetMetadata() []byte { - if x != nil { - return x.Metadata +func (m *UpdateWorkflowDataRequest) GetMetadata() []byte { + if m != nil { + return m.Metadata } return nil } -func (x *UpdateWorkflowDataRequest) GetData() []byte { - if x != nil { - return x.Data +func (m *UpdateWorkflowDataRequest) GetData() []byte { + if m != nil { + return m.Data } return nil } -var File_workflow_workflow_proto protoreflect.FileDescriptor - -var file_workflow_workflow_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, - 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xdd, 0x02, - 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, - 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, - 0x72, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x38, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x47, 0x0a, - 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x61, - 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x61, - 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x22, 0x20, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xf7, 0x02, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, - 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x69, - 0x0a, 0x14, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, - 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0xde, 0x02, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, - 0x61, 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x37, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, - 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, - 0x64, 0x22, 0x35, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, - 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x13, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x68, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, - 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x16, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x49, 0x64, 0x22, 0xa2, 0x02, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, - 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x71, 0x0a, 0x12, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x5b, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, - 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x5f, 0x69, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x22, 0x47, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x19, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x2a, 0x47, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, - 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x49, 0x4d, 0x45, 0x4f, - 0x55, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, - 0x04, 0x2a, 0x74, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, - 0x4e, 0x47, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, - 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x02, - 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x49, - 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x04, 0x32, 0xc2, 0x11, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x76, 0x63, 0x12, 0xa1, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x39, 0x2e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, - 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x97, 0x01, 0x0a, 0x0b, - 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x36, 0x2e, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, - 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, - 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x36, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, - 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x2a, 0x12, 0x2f, 0x76, 0x31, - 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, - 0x91, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x73, 0x12, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, - 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x73, 0x30, 0x01, 0x12, 0xab, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, - 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, - 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x12, 0xb3, 0x01, 0x0a, 0x12, 0x53, 0x68, 0x6f, 0x77, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, - 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x40, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x30, 0x01, 0x12, 0x9f, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x42, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, - 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x9a, 0x01, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x73, 0x12, 0x42, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x9a, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x2e, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, - 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3e, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x2e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, - 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x31, 0x2e, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, - 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, - 0x00, 0x12, 0x9c, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x42, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, - 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, - 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x42, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, - 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, - 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0xa3, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, - 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, - 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x47, 0x65, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x90, 0x01, 0x0a, 0x12, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x45, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, - 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x65, 0x72, 0x62, 0x65, 0x6c, 0x6c, 0x2e, - 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x0a, 0x5a, 0x08, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_workflow_workflow_proto_rawDescOnce sync.Once - file_workflow_workflow_proto_rawDescData = file_workflow_workflow_proto_rawDesc -) - -func file_workflow_workflow_proto_rawDescGZIP() []byte { - file_workflow_workflow_proto_rawDescOnce.Do(func() { - file_workflow_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_workflow_workflow_proto_rawDescData) - }) - return file_workflow_workflow_proto_rawDescData -} - -var file_workflow_workflow_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_workflow_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_workflow_workflow_proto_goTypes = []interface{}{ - (State)(0), // 0: github.com.tinkerbell.tink.protos.workflow.State - (ActionState)(0), // 1: github.com.tinkerbell.tink.protos.workflow.ActionState - (*Empty)(nil), // 2: github.com.tinkerbell.tink.protos.workflow.Empty - (*Workflow)(nil), // 3: github.com.tinkerbell.tink.protos.workflow.Workflow - (*CreateRequest)(nil), // 4: github.com.tinkerbell.tink.protos.workflow.CreateRequest - (*CreateResponse)(nil), // 5: github.com.tinkerbell.tink.protos.workflow.CreateResponse - (*GetRequest)(nil), // 6: github.com.tinkerbell.tink.protos.workflow.GetRequest - (*WorkflowContext)(nil), // 7: github.com.tinkerbell.tink.protos.workflow.WorkflowContext - (*WorkflowActionStatus)(nil), // 8: github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus - (*WorkflowContextRequest)(nil), // 9: github.com.tinkerbell.tink.protos.workflow.WorkflowContextRequest - (*WorkflowContextList)(nil), // 10: github.com.tinkerbell.tink.protos.workflow.WorkflowContextList - (*WorkflowActionsRequest)(nil), // 11: github.com.tinkerbell.tink.protos.workflow.WorkflowActionsRequest - (*WorkflowAction)(nil), // 12: github.com.tinkerbell.tink.protos.workflow.WorkflowAction - (*WorkflowActionList)(nil), // 13: github.com.tinkerbell.tink.protos.workflow.WorkflowActionList - (*GetWorkflowDataRequest)(nil), // 14: github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataRequest - (*GetWorkflowDataResponse)(nil), // 15: github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataResponse - (*UpdateWorkflowDataRequest)(nil), // 16: github.com.tinkerbell.tink.protos.workflow.UpdateWorkflowDataRequest - (*timestamp.Timestamp)(nil), // 17: google.protobuf.Timestamp -} -var file_workflow_workflow_proto_depIdxs = []int32{ - 0, // 0: github.com.tinkerbell.tink.protos.workflow.Workflow.state:type_name -> github.com.tinkerbell.tink.protos.workflow.State - 17, // 1: github.com.tinkerbell.tink.protos.workflow.Workflow.createdAt:type_name -> google.protobuf.Timestamp - 17, // 2: github.com.tinkerbell.tink.protos.workflow.Workflow.updatedAt:type_name -> google.protobuf.Timestamp - 17, // 3: github.com.tinkerbell.tink.protos.workflow.Workflow.deletedAt:type_name -> google.protobuf.Timestamp - 1, // 4: github.com.tinkerbell.tink.protos.workflow.WorkflowContext.current_action_state:type_name -> github.com.tinkerbell.tink.protos.workflow.ActionState - 1, // 5: github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus.action_status:type_name -> github.com.tinkerbell.tink.protos.workflow.ActionState - 17, // 6: github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus.createdAt:type_name -> google.protobuf.Timestamp - 7, // 7: github.com.tinkerbell.tink.protos.workflow.WorkflowContextList.workflow_contexts:type_name -> github.com.tinkerbell.tink.protos.workflow.WorkflowContext - 12, // 8: github.com.tinkerbell.tink.protos.workflow.WorkflowActionList.action_list:type_name -> github.com.tinkerbell.tink.protos.workflow.WorkflowAction - 4, // 9: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.CreateWorkflow:input_type -> github.com.tinkerbell.tink.protos.workflow.CreateRequest - 6, // 10: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflow:input_type -> github.com.tinkerbell.tink.protos.workflow.GetRequest - 6, // 11: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.DeleteWorkflow:input_type -> github.com.tinkerbell.tink.protos.workflow.GetRequest - 2, // 12: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ListWorkflows:input_type -> github.com.tinkerbell.tink.protos.workflow.Empty - 6, // 13: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContext:input_type -> github.com.tinkerbell.tink.protos.workflow.GetRequest - 6, // 14: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ShowWorkflowEvents:input_type -> github.com.tinkerbell.tink.protos.workflow.GetRequest - 9, // 15: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContextList:input_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowContextRequest - 9, // 16: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContexts:input_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowContextRequest - 11, // 17: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowActions:input_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowActionsRequest - 8, // 18: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ReportActionStatus:input_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus - 14, // 19: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowData:input_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataRequest - 14, // 20: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowMetadata:input_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataRequest - 14, // 21: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowDataVersion:input_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataRequest - 16, // 22: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.UpdateWorkflowData:input_type -> github.com.tinkerbell.tink.protos.workflow.UpdateWorkflowDataRequest - 5, // 23: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.CreateWorkflow:output_type -> github.com.tinkerbell.tink.protos.workflow.CreateResponse - 3, // 24: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflow:output_type -> github.com.tinkerbell.tink.protos.workflow.Workflow - 2, // 25: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.DeleteWorkflow:output_type -> github.com.tinkerbell.tink.protos.workflow.Empty - 3, // 26: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ListWorkflows:output_type -> github.com.tinkerbell.tink.protos.workflow.Workflow - 7, // 27: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContext:output_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowContext - 8, // 28: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ShowWorkflowEvents:output_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus - 10, // 29: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContextList:output_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowContextList - 7, // 30: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowContexts:output_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowContext - 13, // 31: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowActions:output_type -> github.com.tinkerbell.tink.protos.workflow.WorkflowActionList - 2, // 32: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.ReportActionStatus:output_type -> github.com.tinkerbell.tink.protos.workflow.Empty - 15, // 33: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowData:output_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataResponse - 15, // 34: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowMetadata:output_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataResponse - 15, // 35: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.GetWorkflowDataVersion:output_type -> github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataResponse - 2, // 36: github.com.tinkerbell.tink.protos.workflow.WorkflowSvc.UpdateWorkflowData:output_type -> github.com.tinkerbell.tink.protos.workflow.Empty - 23, // [23:37] is the sub-list for method output_type - 9, // [9:23] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name -} - -func init() { file_workflow_workflow_proto_init() } -func file_workflow_workflow_proto_init() { - if File_workflow_workflow_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_workflow_workflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Workflow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowContext); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowActionStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowContextRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowContextList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowActionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowActionList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_workflow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkflowDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_workflow_workflow_proto_rawDesc, - NumEnums: 2, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_workflow_workflow_proto_goTypes, - DependencyIndexes: file_workflow_workflow_proto_depIdxs, - EnumInfos: file_workflow_workflow_proto_enumTypes, - MessageInfos: file_workflow_workflow_proto_msgTypes, - }.Build() - File_workflow_workflow_proto = out.File - file_workflow_workflow_proto_rawDesc = nil - file_workflow_workflow_proto_goTypes = nil - file_workflow_workflow_proto_depIdxs = nil +func init() { + proto.RegisterEnum("github.com.tinkerbell.tink.protos.workflow.State", State_name, State_value) + proto.RegisterEnum("github.com.tinkerbell.tink.protos.workflow.ActionState", ActionState_name, ActionState_value) + proto.RegisterType((*Empty)(nil), "github.com.tinkerbell.tink.protos.workflow.Empty") + proto.RegisterType((*Workflow)(nil), "github.com.tinkerbell.tink.protos.workflow.Workflow") + proto.RegisterType((*CreateRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.CreateRequest") + proto.RegisterType((*CreateResponse)(nil), "github.com.tinkerbell.tink.protos.workflow.CreateResponse") + proto.RegisterType((*GetRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.GetRequest") + proto.RegisterType((*WorkflowContext)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowContext") + proto.RegisterType((*WorkflowActionStatus)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowActionStatus") + proto.RegisterType((*WorkflowContextRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowContextRequest") + proto.RegisterType((*WorkflowContextList)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowContextList") + proto.RegisterType((*WorkflowActionsRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowActionsRequest") + proto.RegisterType((*WorkflowAction)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowAction") + proto.RegisterType((*WorkflowActionList)(nil), "github.com.tinkerbell.tink.protos.workflow.WorkflowActionList") + proto.RegisterType((*GetWorkflowDataRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataRequest") + proto.RegisterType((*GetWorkflowDataResponse)(nil), "github.com.tinkerbell.tink.protos.workflow.GetWorkflowDataResponse") + proto.RegisterType((*UpdateWorkflowDataRequest)(nil), "github.com.tinkerbell.tink.protos.workflow.UpdateWorkflowDataRequest") +} + +func init() { proto.RegisterFile("workflow/workflow.proto", fileDescriptor_87aff9429097fa52) } + +var fileDescriptor_87aff9429097fa52 = []byte{ + // 1274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xcf, 0xac, 0xe3, 0x24, 0x7e, 0x6e, 0x9c, 0x74, 0x1a, 0xda, 0xad, 0x5b, 0x84, 0xbb, 0x12, + 0x52, 0x94, 0x83, 0x93, 0x06, 0x0a, 0xb4, 0x48, 0x40, 0x9a, 0xb8, 0x96, 0xa5, 0xd6, 0xa9, 0xd6, + 0x09, 0x95, 0x00, 0xc9, 0x9a, 0x78, 0x27, 0xc9, 0x2a, 0xde, 0x5d, 0x77, 0x67, 0x9c, 0x14, 0x21, + 0x84, 0xc4, 0x95, 0x0b, 0x88, 0x03, 0x12, 0x42, 0xe2, 0xdf, 0x91, 0x23, 0xdf, 0x80, 0xaf, 0xc0, + 0x19, 0x4e, 0x7c, 0x07, 0xae, 0x68, 0xfe, 0xd9, 0xbb, 0x76, 0x68, 0xf0, 0x9a, 0x43, 0x6f, 0xfb, + 0xfe, 0xce, 0x6f, 0xdf, 0xfb, 0xcd, 0xbc, 0x07, 0xd7, 0xce, 0xa2, 0xf8, 0xe4, 0xb0, 0x1b, 0x9d, + 0xad, 0x9b, 0x8f, 0x6a, 0x2f, 0x8e, 0x78, 0x84, 0xd7, 0x8e, 0x7c, 0x7e, 0xdc, 0x3f, 0xa8, 0x76, + 0xa2, 0xa0, 0xca, 0xfd, 0xf0, 0x84, 0xc6, 0x07, 0xb4, 0xdb, 0x95, 0x9f, 0xca, 0x83, 0x55, 0x4d, + 0x44, 0xf9, 0xe6, 0x51, 0x14, 0x1d, 0x75, 0xe9, 0x3a, 0xe9, 0xf9, 0xeb, 0x24, 0x0c, 0x23, 0x4e, + 0xb8, 0x1f, 0x85, 0x4c, 0xf9, 0x95, 0x97, 0xb8, 0x1f, 0x50, 0xc6, 0x49, 0xd0, 0x53, 0x0a, 0x67, + 0x1e, 0xf2, 0xb5, 0xa0, 0xc7, 0x3f, 0x76, 0xfe, 0xb0, 0x60, 0xe1, 0x89, 0x4e, 0x82, 0x4b, 0x60, + 0xf9, 0x9e, 0x8d, 0x2a, 0x68, 0xb5, 0xe0, 0x5a, 0xbe, 0x87, 0xcb, 0xb0, 0xc0, 0x69, 0xd0, 0xeb, + 0x12, 0x4e, 0x6d, 0x4b, 0x6a, 0x07, 0xb2, 0xb0, 0x1d, 0x93, 0xd8, 0x3b, 0x23, 0x31, 0xb5, 0x73, + 0xca, 0x66, 0x64, 0x5c, 0x87, 0x3c, 0xe3, 0x22, 0x68, 0xb6, 0x82, 0x56, 0x4b, 0x9b, 0xb7, 0xab, + 0xff, 0xfd, 0x47, 0xaa, 0x2d, 0x11, 0xe8, 0xaa, 0x78, 0xfc, 0x16, 0x14, 0x3a, 0x31, 0x25, 0x9c, + 0x7a, 0x5b, 0xdc, 0xce, 0x57, 0xd0, 0x6a, 0x71, 0xb3, 0x5c, 0x55, 0x7f, 0xaa, 0x02, 0x0f, 0xfa, + 0x87, 0xd5, 0x3d, 0xf3, 0x6f, 0xee, 0xd0, 0x59, 0x44, 0xf6, 0x7b, 0x9e, 0x8e, 0x9c, 0xbb, 0x38, + 0x72, 0xe0, 0x2c, 0x22, 0x3d, 0xda, 0xa5, 0x2a, 0x72, 0xfe, 0xe2, 0xc8, 0x81, 0x33, 0xc6, 0x30, + 0xeb, 0x11, 0x4e, 0xec, 0x05, 0x59, 0x0e, 0xf9, 0xed, 0xd4, 0x61, 0x71, 0x5b, 0x82, 0x72, 0xe9, + 0xd3, 0x3e, 0x65, 0x3c, 0x55, 0x53, 0xf4, 0x9c, 0x9a, 0x5a, 0xe9, 0x9a, 0x3a, 0x15, 0x28, 0x99, + 0x44, 0xac, 0x17, 0x85, 0x8c, 0x8e, 0x76, 0xcb, 0xb9, 0x09, 0x50, 0xa7, 0xdc, 0x9c, 0x33, 0x6a, + 0xfd, 0xdb, 0x82, 0x25, 0xd3, 0xe8, 0xed, 0x28, 0xe4, 0xf4, 0x19, 0xc7, 0xaf, 0x40, 0xd1, 0xd4, + 0xbd, 0x3d, 0x70, 0x06, 0xa3, 0x6a, 0x78, 0xf8, 0x55, 0x28, 0x75, 0xfa, 0x71, 0x4c, 0x43, 0xde, + 0x16, 0x5a, 0x1a, 0x6b, 0x58, 0x8b, 0x5a, 0xfb, 0x44, 0x2a, 0xf1, 0x2d, 0xb8, 0x64, 0xdc, 0x38, + 0x61, 0x27, 0x9a, 0x0f, 0x45, 0xad, 0xdb, 0x23, 0xec, 0x24, 0x99, 0x89, 0x74, 0x04, 0x35, 0x25, + 0x37, 0x86, 0x99, 0xb6, 0xa4, 0x12, 0x6f, 0xc0, 0x4a, 0xda, 0xad, 0xed, 0x87, 0x1e, 0x7d, 0x26, + 0x7b, 0x9f, 0x73, 0x71, 0xca, 0xb9, 0x21, 0x2c, 0xd8, 0x1f, 0x8b, 0x50, 0xd4, 0x9b, 0x93, 0xd4, + 0x7b, 0x73, 0x12, 0xea, 0xa9, 0xb4, 0x8a, 0x80, 0xe9, 0xa3, 0xa4, 0x0e, 0xdf, 0x81, 0x6b, 0x3c, + 0xe2, 0xa4, 0xdb, 0x0e, 0xfb, 0xc1, 0x01, 0x8d, 0xdb, 0xd1, 0xa1, 0x3e, 0x92, 0x49, 0x9e, 0xe4, + 0xdc, 0x15, 0x69, 0x6e, 0x4a, 0xeb, 0xee, 0xa1, 0x0a, 0x65, 0xce, 0x9f, 0x16, 0xac, 0x98, 0xca, + 0x0f, 0xd3, 0xf5, 0xd9, 0xc5, 0xe5, 0xbf, 0x01, 0x05, 0x51, 0xcf, 0x76, 0x48, 0x82, 0xe1, 0x05, + 0x24, 0xec, 0xa4, 0x49, 0x02, 0x2a, 0xa2, 0xf5, 0x0f, 0x4b, 0xb3, 0xaa, 0x39, 0x28, 0x95, 0x74, + 0xf8, 0x08, 0x16, 0x13, 0x15, 0xe9, 0x33, 0x7d, 0x1b, 0x33, 0x97, 0xe4, 0x12, 0x49, 0x82, 0xb7, + 0x61, 0x9e, 0xd1, 0x4e, 0x14, 0x7a, 0x4c, 0x37, 0xc7, 0x88, 0xc2, 0x12, 0x50, 0xc6, 0xc8, 0x91, + 0x6a, 0x42, 0xc1, 0x35, 0x62, 0xfa, 0x3a, 0xcf, 0x4f, 0x72, 0x9d, 0x6f, 0x40, 0x41, 0x11, 0x50, + 0x14, 0x4a, 0xdd, 0xaf, 0x05, 0xa5, 0x68, 0x78, 0xce, 0x1d, 0xb8, 0x3a, 0xc2, 0x6c, 0x73, 0x09, + 0x52, 0x61, 0x68, 0x24, 0xec, 0x33, 0xb8, 0x32, 0x12, 0xf6, 0xd0, 0x67, 0x1c, 0x1f, 0xc3, 0xe5, + 0x41, 0x57, 0x3a, 0x4a, 0xcf, 0x6c, 0x54, 0xc9, 0xad, 0x16, 0x37, 0xdf, 0x9e, 0xa4, 0x74, 0xa3, + 0x90, 0x96, 0xcf, 0xd2, 0x0a, 0xe6, 0xdc, 0x1d, 0xe2, 0xd6, 0x5c, 0x31, 0xb8, 0x2f, 0x62, 0x86, + 0xf3, 0x93, 0x05, 0xa5, 0x74, 0x6c, 0x9a, 0x2c, 0x68, 0x84, 0x2c, 0x18, 0x66, 0x13, 0x24, 0x92, + 0xdf, 0x78, 0x05, 0xf2, 0x7e, 0x20, 0xba, 0xa4, 0xa8, 0xa3, 0x04, 0xd1, 0x3d, 0x31, 0x2c, 0xa2, + 0x3e, 0x97, 0x7c, 0xc9, 0xb9, 0x46, 0x14, 0x96, 0x4e, 0x14, 0x04, 0x24, 0xf4, 0xec, 0x7c, 0x25, + 0x27, 0xfa, 0xaa, 0x45, 0xfc, 0x32, 0x40, 0x14, 0xb6, 0x4d, 0xd8, 0x9c, 0x34, 0x16, 0xa2, 0x70, + 0x4f, 0x07, 0x2a, 0xf3, 0x21, 0xf1, 0xbb, 0xfd, 0x98, 0xda, 0xf3, 0xc6, 0xfc, 0x40, 0x29, 0x9e, + 0xdb, 0x5b, 0x71, 0xe8, 0x69, 0xd4, 0xed, 0x07, 0x94, 0xd9, 0x05, 0x75, 0xa8, 0x16, 0x71, 0x05, + 0x8a, 0x34, 0x3c, 0xf5, 0xe3, 0x28, 0x0c, 0x68, 0xc8, 0x6d, 0x90, 0xd6, 0xa4, 0xca, 0x79, 0x0a, + 0x38, 0x5d, 0x23, 0xd9, 0xdf, 0x0f, 0x07, 0xf7, 0xa6, 0xeb, 0x33, 0xae, 0x3b, 0x7b, 0x2f, 0x4b, + 0x67, 0x55, 0x52, 0x73, 0xe7, 0x44, 0x72, 0xa7, 0x05, 0x57, 0xeb, 0x94, 0x1b, 0x87, 0x1d, 0xc2, + 0xc9, 0xb9, 0x2d, 0xdd, 0x19, 0x6b, 0xe9, 0x8e, 0xfc, 0x53, 0x1a, 0x33, 0xf1, 0x34, 0x8a, 0x2e, + 0xe5, 0x5d, 0x23, 0x3a, 0x75, 0xb8, 0x36, 0x96, 0x54, 0xcf, 0x00, 0x33, 0x72, 0x44, 0xba, 0x4b, + 0x6a, 0xe4, 0x3c, 0x27, 0x51, 0x17, 0xae, 0xef, 0xcb, 0x39, 0x97, 0x09, 0x60, 0x19, 0x16, 0x02, + 0xca, 0x89, 0x3c, 0xcf, 0x92, 0xe7, 0x0d, 0xe4, 0x01, 0x8e, 0xdc, 0x10, 0xc7, 0x5a, 0x1d, 0xf2, + 0xea, 0xdd, 0x2c, 0xc2, 0xfc, 0xe3, 0x5a, 0x73, 0xa7, 0xd1, 0xac, 0x2f, 0xcf, 0x08, 0xc1, 0xdd, + 0x6f, 0x36, 0x85, 0x80, 0x30, 0xc0, 0xdc, 0x83, 0xad, 0xc6, 0xc3, 0xda, 0xce, 0xb2, 0x25, 0x0c, + 0x7b, 0x8d, 0x47, 0xb5, 0xdd, 0xfd, 0xbd, 0xe5, 0x9c, 0x10, 0x5a, 0xfb, 0xdb, 0xdb, 0xb5, 0x56, + 0x6b, 0x79, 0x76, 0x8d, 0x43, 0x31, 0xf9, 0x0c, 0x63, 0x28, 0x6d, 0x6d, 0xef, 0x35, 0x76, 0x9b, + 0xed, 0x61, 0xd6, 0xab, 0x80, 0xb5, 0xae, 0xd1, 0x6c, 0x3f, 0x76, 0x77, 0xeb, 0xae, 0x08, 0x45, + 0x09, 0x5f, 0x93, 0xce, 0xc2, 0x97, 0x61, 0x51, 0xeb, 0xf4, 0xd9, 0xb9, 0x84, 0x9b, 0x81, 0x30, + 0xbb, 0xf9, 0xdb, 0x65, 0x28, 0x9a, 0x3a, 0xb5, 0x4e, 0x3b, 0xf8, 0x47, 0x64, 0x26, 0xf0, 0x60, + 0x5f, 0xba, 0x3b, 0x09, 0x6b, 0x52, 0x6b, 0x40, 0xf9, 0x5e, 0x96, 0x50, 0xd5, 0x74, 0xc7, 0xfe, + 0xfc, 0xf7, 0xbf, 0xbe, 0xb6, 0xb0, 0xb3, 0xb8, 0x7e, 0x7a, 0x7b, 0xb0, 0x33, 0xb2, 0x7b, 0x68, + 0x0d, 0x7f, 0x83, 0xa0, 0x98, 0xa0, 0x0a, 0x7e, 0x63, 0x92, 0x53, 0x86, 0xcb, 0x43, 0xf9, 0xf5, + 0x2c, 0xd7, 0xc1, 0x29, 0x4b, 0x5c, 0x2b, 0x18, 0xa7, 0x70, 0xad, 0x7f, 0xe2, 0x7b, 0x9f, 0x0a, + 0x64, 0xa5, 0x1d, 0xb9, 0x29, 0x4d, 0x0d, 0x6e, 0xa2, 0x75, 0x52, 0x6d, 0xb9, 0x1a, 0xd9, 0xda, + 0x79, 0xc8, 0xbe, 0x42, 0xb0, 0x28, 0xee, 0xae, 0xc1, 0xc5, 0xf0, 0xe4, 0x07, 0x64, 0x2c, 0xd8, + 0x4b, 0x12, 0xd6, 0x12, 0x4e, 0x37, 0x72, 0x03, 0xe1, 0x5f, 0x10, 0xe0, 0x44, 0x1f, 0xcd, 0xbe, + 0x96, 0xb5, 0x62, 0xd3, 0xcc, 0x2d, 0xa7, 0x22, 0x41, 0x96, 0xb1, 0x3d, 0x5e, 0xbb, 0x75, 0xb5, + 0xa5, 0xff, 0x8a, 0x00, 0xb7, 0x8e, 0xa3, 0x33, 0x13, 0x59, 0x3b, 0xa5, 0x21, 0x67, 0x99, 0xd1, + 0xbe, 0x97, 0xfd, 0x2d, 0x56, 0xbb, 0x89, 0x73, 0x4b, 0x42, 0xbe, 0x81, 0xaf, 0x9f, 0x03, 0x99, + 0x4a, 0x70, 0x1b, 0x08, 0x7f, 0x8f, 0x52, 0x6f, 0x75, 0x72, 0x05, 0xb8, 0x3f, 0xcd, 0x9c, 0xd7, + 0x7f, 0xf1, 0xee, 0x14, 0x39, 0xe4, 0x28, 0x99, 0xc1, 0xdf, 0x22, 0xb8, 0x32, 0x8e, 0x90, 0xfd, + 0x2f, 0xf0, 0xa6, 0xa2, 0xc4, 0xcc, 0x06, 0x12, 0xe0, 0x92, 0x14, 0xd5, 0x0b, 0x4c, 0x36, 0x6c, + 0xe9, 0xed, 0xa7, 0xfc, 0x4e, 0xf6, 0x1c, 0xba, 0x72, 0x5f, 0x20, 0xc0, 0x2e, 0xed, 0x45, 0x31, + 0x4f, 0x2d, 0xdc, 0x53, 0x33, 0x2b, 0xcb, 0xdb, 0x33, 0x83, 0xbf, 0x43, 0xb0, 0x34, 0x32, 0xc0, + 0x27, 0xab, 0xd3, 0xf9, 0x2b, 0x45, 0x79, 0x7b, 0xaa, 0x1c, 0x7a, 0x98, 0xcc, 0xe0, 0x1f, 0xd2, + 0x34, 0x7b, 0x64, 0x66, 0xfa, 0x0b, 0x04, 0xf1, 0x67, 0x34, 0xb6, 0x57, 0xbd, 0xaf, 0x76, 0x9a, + 0x17, 0x09, 0xe5, 0x97, 0x08, 0xf0, 0xf8, 0x7e, 0x85, 0x6b, 0x93, 0x64, 0xff, 0xd7, 0xfd, 0x2c, + 0x13, 0xf5, 0xee, 0xc3, 0x07, 0x0b, 0x46, 0x77, 0x30, 0x27, 0x9d, 0x5e, 0xfb, 0x27, 0x00, 0x00, + 0xff, 0xff, 0xfd, 0xdb, 0x1f, 0x25, 0x70, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // WorkflowSvcClient is the client API for WorkflowSvc service. // @@ -1726,10 +1079,10 @@ type WorkflowSvcClient interface { } type workflowSvcClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewWorkflowSvcClient(cc grpc.ClientConnInterface) WorkflowSvcClient { +func NewWorkflowSvcClient(cc *grpc.ClientConn) WorkflowSvcClient { return &workflowSvcClient{cc} } @@ -1950,46 +1303,46 @@ type WorkflowSvcServer interface { type UnimplementedWorkflowSvcServer struct { } -func (*UnimplementedWorkflowSvcServer) CreateWorkflow(context.Context, *CreateRequest) (*CreateResponse, error) { +func (*UnimplementedWorkflowSvcServer) CreateWorkflow(ctx context.Context, req *CreateRequest) (*CreateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflow not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflow(context.Context, *GetRequest) (*Workflow, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflow(ctx context.Context, req *GetRequest) (*Workflow, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflow not implemented") } -func (*UnimplementedWorkflowSvcServer) DeleteWorkflow(context.Context, *GetRequest) (*Empty, error) { +func (*UnimplementedWorkflowSvcServer) DeleteWorkflow(ctx context.Context, req *GetRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflow not implemented") } -func (*UnimplementedWorkflowSvcServer) ListWorkflows(*Empty, WorkflowSvc_ListWorkflowsServer) error { +func (*UnimplementedWorkflowSvcServer) ListWorkflows(req *Empty, srv WorkflowSvc_ListWorkflowsServer) error { return status.Errorf(codes.Unimplemented, "method ListWorkflows not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowContext(context.Context, *GetRequest) (*WorkflowContext, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowContext(ctx context.Context, req *GetRequest) (*WorkflowContext, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowContext not implemented") } -func (*UnimplementedWorkflowSvcServer) ShowWorkflowEvents(*GetRequest, WorkflowSvc_ShowWorkflowEventsServer) error { +func (*UnimplementedWorkflowSvcServer) ShowWorkflowEvents(req *GetRequest, srv WorkflowSvc_ShowWorkflowEventsServer) error { return status.Errorf(codes.Unimplemented, "method ShowWorkflowEvents not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowContextList(context.Context, *WorkflowContextRequest) (*WorkflowContextList, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowContextList(ctx context.Context, req *WorkflowContextRequest) (*WorkflowContextList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowContextList not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowContexts(*WorkflowContextRequest, WorkflowSvc_GetWorkflowContextsServer) error { +func (*UnimplementedWorkflowSvcServer) GetWorkflowContexts(req *WorkflowContextRequest, srv WorkflowSvc_GetWorkflowContextsServer) error { return status.Errorf(codes.Unimplemented, "method GetWorkflowContexts not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowActions(context.Context, *WorkflowActionsRequest) (*WorkflowActionList, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowActions(ctx context.Context, req *WorkflowActionsRequest) (*WorkflowActionList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowActions not implemented") } -func (*UnimplementedWorkflowSvcServer) ReportActionStatus(context.Context, *WorkflowActionStatus) (*Empty, error) { +func (*UnimplementedWorkflowSvcServer) ReportActionStatus(ctx context.Context, req *WorkflowActionStatus) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ReportActionStatus not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowData(context.Context, *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowData(ctx context.Context, req *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowData not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowMetadata(context.Context, *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowMetadata(ctx context.Context, req *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowMetadata not implemented") } -func (*UnimplementedWorkflowSvcServer) GetWorkflowDataVersion(context.Context, *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { +func (*UnimplementedWorkflowSvcServer) GetWorkflowDataVersion(ctx context.Context, req *GetWorkflowDataRequest) (*GetWorkflowDataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowDataVersion not implemented") } -func (*UnimplementedWorkflowSvcServer) UpdateWorkflowData(context.Context, *UpdateWorkflowDataRequest) (*Empty, error) { +func (*UnimplementedWorkflowSvcServer) UpdateWorkflowData(ctx context.Context, req *UpdateWorkflowDataRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowData not implemented") }