diff --git a/Makefile b/Makefile index 41018e77f..778c56230 100644 --- a/Makefile +++ b/Makefile @@ -61,14 +61,10 @@ PROD :=-X=$(REPOPATH)/common/product EXTLDFLAGS :="-static" LDFLAGS=-ldflags "-extldflags $(EXTLDFLAGS) $(PROD).VERSION_MAJOR=$(VERSION_MAJOR) $(PROD).VERSION_MINOR=$(VERSION_MINOR) $(PROD).VERSION_PATCH=$(VERSION_PATCH) $(PROD).BUILD=$(BUILD)" -tags osusergo,netgo -# We expect to find the gogo protobuf executables in $GOPATH/bin +# We expect to find the protoc-gen-go executable in $GOPATH/bin GOPATH := $(shell go env GOPATH) -GOGOPATH=$(GOPATH)/bin/protoc-gen-gofast -HAS_GOGOPROTO := $(shell command -v $(GOGOPATH) 2> /dev/null) - -GO_GET_U1 := $(addprefix github.com/gogo/protobuf/, proto protoc-gen-gofast protoc-gen-gogofast protoc-gen-gogofaster protoc-gen-gogoslick gogoproto) -GO_GET_U2 := $(addprefix github.com/golang/protobuf/, proto protoc-gen-go) -GO_GET_U2 += google.golang.org/grpc +GOPROTOCPATH=$(GOPATH)/bin/protoc-gen-go +HAS_PROTOC := $(shell command -v $(GOPROTOCPATH) 2> /dev/null) .PHONY: build all install generate test debugtest vet fmt clean cleanall help $(WHAT) tools vendor doc docs @@ -97,7 +93,7 @@ $(INSTALL_WHAT): @$(WHAT_$(@:install_%=%)_BUILD_FLAGS) go install -mod=vendor $(VERBOSE_$(V)) $(LDFLAGS) ./cmd/$(@:install_%=%) generate: -ifndef HAS_GOGOPROTO +ifndef HAS_PROTOC $(MAKE) tools/protoc endif @for gendir in $(GENERATE_DIRS); do \ @@ -132,6 +128,15 @@ vendor: @echo -e "\033[1;33mcurl odc.proto\033[0m" @mkdir -p odcshim/odcprotos @curl -s -L $(ODC_PROTO) -o odcshim/odcprotos/odc.proto + +# WORKAROUND: In order to avoid the following issues: +# https://github.com/golang/protobuf/issues/992 +# https://github.com/golang/protobuf/issues/1158 +# we insert a go_package specification into the ODC protofile right +# after we download it. + @echo -e "\033[1;33mpatch odc.proto\033[0m" + @sed -i '/^package/a option go_package = "odcprotos;odc";' odcshim/odcprotos/odc.proto + # vendor: tools/dep # @echo -e "\033[1;33mdep ensure\033[0m" # @./tools/dep ensure @@ -147,8 +152,8 @@ tools: tools/protoc tools/protoc: @echo "installing Go protoc" - go get -u $(GO_GET_U1) - go get -u $(GO_GET_U2) + go get -u google.golang.org/grpc + go install google.golang.org/protobuf/cmd/protoc-gen-go docs: doc diff --git a/coconut/cmd/environment.go b/coconut/cmd/environment.go index ef523abd4..86ca5b60c 100644 --- a/coconut/cmd/environment.go +++ b/coconut/cmd/environment.go @@ -22,7 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -//go:generate protoc -I ../../core --gofast_out=plugins=grpc:.. protos/o2control.proto +//go:generate protoc -I ../../core --go_out=plugins=grpc:.. protos/o2control.proto package cmd diff --git a/coconut/cmd/repo.go b/coconut/cmd/repo.go index be7f555be..a93e0190b 100644 --- a/coconut/cmd/repo.go +++ b/coconut/cmd/repo.go @@ -22,7 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -//go:generate protoc -I ../../core --gofast_out=plugins=grpc:.. protos/o2control.proto +//go:generate protoc -I ../../core --go_out=plugins=grpc:.. protos/o2control.proto package cmd diff --git a/coconut/protos/o2control.pb.go b/coconut/protos/o2control.pb.go index 91254d084..9b49a124d 100644 --- a/coconut/protos/o2control.pb.go +++ b/coconut/protos/o2control.pb.go @@ -1,30 +1,56 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// +// === This file is part of ALICE O² === +// +// Copyright 2018 CERN and copyright holders of ALICE O². +// Author: Teo Mrnjavac +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// In applying this license CERN does not waive the privileges and +// immunities granted to it by virtue of its status as an +// Intergovernmental Organization or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.4 // source: protos/o2control.proto package pb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type StatusUpdate_Level int32 @@ -35,26 +61,47 @@ const ( StatusUpdate_ERROR StatusUpdate_Level = 3 ) -var StatusUpdate_Level_name = map[int32]string{ - 0: "DEBUG", - 1: "INFO", - 2: "WARNING", - 3: "ERROR", -} +// Enum value maps for StatusUpdate_Level. +var ( + StatusUpdate_Level_name = map[int32]string{ + 0: "DEBUG", + 1: "INFO", + 2: "WARNING", + 3: "ERROR", + } + StatusUpdate_Level_value = map[string]int32{ + "DEBUG": 0, + "INFO": 1, + "WARNING": 2, + "ERROR": 3, + } +) -var StatusUpdate_Level_value = map[string]int32{ - "DEBUG": 0, - "INFO": 1, - "WARNING": 2, - "ERROR": 3, +func (x StatusUpdate_Level) Enum() *StatusUpdate_Level { + p := new(StatusUpdate_Level) + *p = x + return p } func (x StatusUpdate_Level) String() string { - return proto.EnumName(StatusUpdate_Level_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StatusUpdate_Level) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[0].Descriptor() } +func (StatusUpdate_Level) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[0] +} + +func (x StatusUpdate_Level) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StatusUpdate_Level.Descriptor instead. func (StatusUpdate_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{12, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{12, 0} } type ControlEnvironmentRequest_Optype int32 @@ -68,30 +115,51 @@ const ( ControlEnvironmentRequest_GO_ERROR ControlEnvironmentRequest_Optype = 5 ) -var ControlEnvironmentRequest_Optype_name = map[int32]string{ - 0: "NOOP", - 1: "START_ACTIVITY", - 2: "STOP_ACTIVITY", - 3: "CONFIGURE", - 4: "RESET", - 5: "GO_ERROR", -} +// Enum value maps for ControlEnvironmentRequest_Optype. +var ( + ControlEnvironmentRequest_Optype_name = map[int32]string{ + 0: "NOOP", + 1: "START_ACTIVITY", + 2: "STOP_ACTIVITY", + 3: "CONFIGURE", + 4: "RESET", + 5: "GO_ERROR", + } + ControlEnvironmentRequest_Optype_value = map[string]int32{ + "NOOP": 0, + "START_ACTIVITY": 1, + "STOP_ACTIVITY": 2, + "CONFIGURE": 3, + "RESET": 4, + "GO_ERROR": 5, + } +) -var ControlEnvironmentRequest_Optype_value = map[string]int32{ - "NOOP": 0, - "START_ACTIVITY": 1, - "STOP_ACTIVITY": 2, - "CONFIGURE": 3, - "RESET": 4, - "GO_ERROR": 5, +func (x ControlEnvironmentRequest_Optype) Enum() *ControlEnvironmentRequest_Optype { + p := new(ControlEnvironmentRequest_Optype) + *p = x + return p } func (x ControlEnvironmentRequest_Optype) String() string { - return proto.EnumName(ControlEnvironmentRequest_Optype_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ControlEnvironmentRequest_Optype) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[1].Descriptor() +} + +func (ControlEnvironmentRequest_Optype) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[1] +} + +func (x ControlEnvironmentRequest_Optype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ControlEnvironmentRequest_Optype.Descriptor instead. func (ControlEnvironmentRequest_Optype) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{27, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{27, 0} } type EnvironmentOperation_Optype int32 @@ -102,671 +170,683 @@ const ( EnvironmentOperation_ADD_ROLE EnvironmentOperation_Optype = 4 ) -var EnvironmentOperation_Optype_name = map[int32]string{ - 0: "NOOP", - 3: "REMOVE_ROLE", - 4: "ADD_ROLE", -} +// Enum value maps for EnvironmentOperation_Optype. +var ( + EnvironmentOperation_Optype_name = map[int32]string{ + 0: "NOOP", + 3: "REMOVE_ROLE", + 4: "ADD_ROLE", + } + EnvironmentOperation_Optype_value = map[string]int32{ + "NOOP": 0, + "REMOVE_ROLE": 3, + "ADD_ROLE": 4, + } +) -var EnvironmentOperation_Optype_value = map[string]int32{ - "NOOP": 0, - "REMOVE_ROLE": 3, - "ADD_ROLE": 4, +func (x EnvironmentOperation_Optype) Enum() *EnvironmentOperation_Optype { + p := new(EnvironmentOperation_Optype) + *p = x + return p } func (x EnvironmentOperation_Optype) String() string { - return proto.EnumName(EnvironmentOperation_Optype_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EnvironmentOperation_Optype) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[2].Descriptor() +} + +func (EnvironmentOperation_Optype) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[2] +} + +func (x EnvironmentOperation_Optype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use EnvironmentOperation_Optype.Descriptor instead. func (EnvironmentOperation_Optype) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{30, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{30, 0} } type Event_MesosHeartbeat struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Event_MesosHeartbeat) Reset() { *m = Event_MesosHeartbeat{} } -func (m *Event_MesosHeartbeat) String() string { return proto.CompactTextString(m) } -func (*Event_MesosHeartbeat) ProtoMessage() {} -func (*Event_MesosHeartbeat) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{0} -} -func (m *Event_MesosHeartbeat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Event_MesosHeartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Event_MesosHeartbeat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Event_MesosHeartbeat) Reset() { + *x = Event_MesosHeartbeat{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Event_MesosHeartbeat) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event_MesosHeartbeat.Merge(m, src) -} -func (m *Event_MesosHeartbeat) XXX_Size() int { - return m.Size() + +func (x *Event_MesosHeartbeat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Event_MesosHeartbeat) XXX_DiscardUnknown() { - xxx_messageInfo_Event_MesosHeartbeat.DiscardUnknown(m) + +func (*Event_MesosHeartbeat) ProtoMessage() {} + +func (x *Event_MesosHeartbeat) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Event_MesosHeartbeat proto.InternalMessageInfo +// Deprecated: Use Event_MesosHeartbeat.ProtoReflect.Descriptor instead. +func (*Event_MesosHeartbeat) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{0} +} type Ev_EnvironmentStateChanged struct { - Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` - Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` + Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *Ev_EnvironmentStateChanged) Reset() { *m = Ev_EnvironmentStateChanged{} } -func (m *Ev_EnvironmentStateChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentStateChanged) ProtoMessage() {} -func (*Ev_EnvironmentStateChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{1} -} -func (m *Ev_EnvironmentStateChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentStateChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentStateChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentStateChanged) Reset() { + *x = Ev_EnvironmentStateChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentStateChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentStateChanged.Merge(m, src) -} -func (m *Ev_EnvironmentStateChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentStateChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentStateChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentStateChanged.DiscardUnknown(m) + +func (*Ev_EnvironmentStateChanged) ProtoMessage() {} + +func (x *Ev_EnvironmentStateChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentStateChanged proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentStateChanged.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentStateChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{1} +} -func (m *Ev_EnvironmentStateChanged) GetEvent() string { - if m != nil { - return m.Event +func (x *Ev_EnvironmentStateChanged) GetEvent() string { + if x != nil { + return x.Event } return "" } -func (m *Ev_EnvironmentStateChanged) GetSource() string { - if m != nil { - return m.Source +func (x *Ev_EnvironmentStateChanged) GetSource() string { + if x != nil { + return x.Source } return "" } -func (m *Ev_EnvironmentStateChanged) GetDestination() string { - if m != nil { - return m.Destination +func (x *Ev_EnvironmentStateChanged) GetDestination() string { + if x != nil { + return x.Destination } return "" } type Ev_TaskStateChanged struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } -func (m *Ev_TaskStateChanged) Reset() { *m = Ev_TaskStateChanged{} } -func (m *Ev_TaskStateChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskStateChanged) ProtoMessage() {} -func (*Ev_TaskStateChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{2} -} -func (m *Ev_TaskStateChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskStateChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskStateChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskStateChanged) Reset() { + *x = Ev_TaskStateChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskStateChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskStateChanged.Merge(m, src) -} -func (m *Ev_TaskStateChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskStateChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskStateChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskStateChanged.DiscardUnknown(m) + +func (*Ev_TaskStateChanged) ProtoMessage() {} + +func (x *Ev_TaskStateChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskStateChanged proto.InternalMessageInfo +// Deprecated: Use Ev_TaskStateChanged.ProtoReflect.Descriptor instead. +func (*Ev_TaskStateChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{2} +} -func (m *Ev_TaskStateChanged) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskStateChanged) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } -func (m *Ev_TaskStateChanged) GetState() string { - if m != nil { - return m.State +func (x *Ev_TaskStateChanged) GetState() string { + if x != nil { + return x.State } return "" } type Ev_TaskStatusChanged struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } -func (m *Ev_TaskStatusChanged) Reset() { *m = Ev_TaskStatusChanged{} } -func (m *Ev_TaskStatusChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskStatusChanged) ProtoMessage() {} -func (*Ev_TaskStatusChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{3} -} -func (m *Ev_TaskStatusChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskStatusChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskStatusChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskStatusChanged) Reset() { + *x = Ev_TaskStatusChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskStatusChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskStatusChanged.Merge(m, src) -} -func (m *Ev_TaskStatusChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskStatusChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskStatusChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskStatusChanged.DiscardUnknown(m) + +func (*Ev_TaskStatusChanged) ProtoMessage() {} + +func (x *Ev_TaskStatusChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskStatusChanged proto.InternalMessageInfo +// Deprecated: Use Ev_TaskStatusChanged.ProtoReflect.Descriptor instead. +func (*Ev_TaskStatusChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{3} +} -func (m *Ev_TaskStatusChanged) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskStatusChanged) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } -func (m *Ev_TaskStatusChanged) GetStatus() string { - if m != nil { - return m.Status +func (x *Ev_TaskStatusChanged) GetStatus() string { + if x != nil { + return x.Status } return "" } type Ev_TaskLaunched struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` } -func (m *Ev_TaskLaunched) Reset() { *m = Ev_TaskLaunched{} } -func (m *Ev_TaskLaunched) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskLaunched) ProtoMessage() {} -func (*Ev_TaskLaunched) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{4} -} -func (m *Ev_TaskLaunched) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskLaunched) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskLaunched.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskLaunched) Reset() { + *x = Ev_TaskLaunched{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskLaunched) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskLaunched.Merge(m, src) -} -func (m *Ev_TaskLaunched) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskLaunched) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskLaunched) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskLaunched.DiscardUnknown(m) + +func (*Ev_TaskLaunched) ProtoMessage() {} + +func (x *Ev_TaskLaunched) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskLaunched proto.InternalMessageInfo +// Deprecated: Use Ev_TaskLaunched.ProtoReflect.Descriptor instead. +func (*Ev_TaskLaunched) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{4} +} -func (m *Ev_TaskLaunched) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskLaunched) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } type Ev_MesosTaskCreated struct { - Taskresources string `protobuf:"bytes,1,opt,name=taskresources,proto3" json:"taskresources,omitempty"` - ExecutorResources string `protobuf:"bytes,2,opt,name=executorResources,proto3" json:"executorResources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskresources string `protobuf:"bytes,1,opt,name=taskresources,proto3" json:"taskresources,omitempty"` + ExecutorResources string `protobuf:"bytes,2,opt,name=executorResources,proto3" json:"executorResources,omitempty"` } -func (m *Ev_MesosTaskCreated) Reset() { *m = Ev_MesosTaskCreated{} } -func (m *Ev_MesosTaskCreated) String() string { return proto.CompactTextString(m) } -func (*Ev_MesosTaskCreated) ProtoMessage() {} -func (*Ev_MesosTaskCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{5} -} -func (m *Ev_MesosTaskCreated) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_MesosTaskCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_MesosTaskCreated.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_MesosTaskCreated) Reset() { + *x = Ev_MesosTaskCreated{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_MesosTaskCreated) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_MesosTaskCreated.Merge(m, src) -} -func (m *Ev_MesosTaskCreated) XXX_Size() int { - return m.Size() + +func (x *Ev_MesosTaskCreated) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_MesosTaskCreated) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_MesosTaskCreated.DiscardUnknown(m) + +func (*Ev_MesosTaskCreated) ProtoMessage() {} + +func (x *Ev_MesosTaskCreated) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_MesosTaskCreated proto.InternalMessageInfo +// Deprecated: Use Ev_MesosTaskCreated.ProtoReflect.Descriptor instead. +func (*Ev_MesosTaskCreated) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{5} +} -func (m *Ev_MesosTaskCreated) GetTaskresources() string { - if m != nil { - return m.Taskresources +func (x *Ev_MesosTaskCreated) GetTaskresources() string { + if x != nil { + return x.Taskresources } return "" } -func (m *Ev_MesosTaskCreated) GetExecutorResources() string { - if m != nil { - return m.ExecutorResources +func (x *Ev_MesosTaskCreated) GetExecutorResources() string { + if x != nil { + return x.ExecutorResources } return "" } type Ev_EnvironmentCreated struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` } -func (m *Ev_EnvironmentCreated) Reset() { *m = Ev_EnvironmentCreated{} } -func (m *Ev_EnvironmentCreated) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentCreated) ProtoMessage() {} -func (*Ev_EnvironmentCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{6} -} -func (m *Ev_EnvironmentCreated) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentCreated.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentCreated) Reset() { + *x = Ev_EnvironmentCreated{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentCreated) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentCreated.Merge(m, src) -} -func (m *Ev_EnvironmentCreated) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentCreated) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentCreated) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentCreated.DiscardUnknown(m) + +func (*Ev_EnvironmentCreated) ProtoMessage() {} + +func (x *Ev_EnvironmentCreated) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentCreated proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentCreated.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentCreated) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{6} +} -func (m *Ev_EnvironmentCreated) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *Ev_EnvironmentCreated) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } type Ev_EnvironmentDestroyed struct { - CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` - Environmentid string `protobuf:"bytes,2,opt,name=environmentid,proto3" json:"environmentid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` + Environmentid string `protobuf:"bytes,2,opt,name=environmentid,proto3" json:"environmentid,omitempty"` } -func (m *Ev_EnvironmentDestroyed) Reset() { *m = Ev_EnvironmentDestroyed{} } -func (m *Ev_EnvironmentDestroyed) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentDestroyed) ProtoMessage() {} -func (*Ev_EnvironmentDestroyed) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{7} -} -func (m *Ev_EnvironmentDestroyed) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentDestroyed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentDestroyed.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentDestroyed) Reset() { + *x = Ev_EnvironmentDestroyed{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentDestroyed) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentDestroyed.Merge(m, src) -} -func (m *Ev_EnvironmentDestroyed) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentDestroyed) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentDestroyed) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentDestroyed.DiscardUnknown(m) + +func (*Ev_EnvironmentDestroyed) ProtoMessage() {} + +func (x *Ev_EnvironmentDestroyed) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentDestroyed proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentDestroyed.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentDestroyed) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{7} +} -func (m *Ev_EnvironmentDestroyed) GetCleanupTasksReply() *CleanupTasksReply { - if m != nil { - return m.CleanupTasksReply +func (x *Ev_EnvironmentDestroyed) GetCleanupTasksReply() *CleanupTasksReply { + if x != nil { + return x.CleanupTasksReply } return nil } -func (m *Ev_EnvironmentDestroyed) GetEnvironmentid() string { - if m != nil { - return m.Environmentid +func (x *Ev_EnvironmentDestroyed) GetEnvironmentid() string { + if x != nil { + return x.Environmentid } return "" } type Ev_EnvironmentError struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Ev_EnvironmentError) Reset() { *m = Ev_EnvironmentError{} } -func (m *Ev_EnvironmentError) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentError) ProtoMessage() {} -func (*Ev_EnvironmentError) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{8} -} -func (m *Ev_EnvironmentError) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentError.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentError) Reset() { + *x = Ev_EnvironmentError{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentError) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentError.Merge(m, src) -} -func (m *Ev_EnvironmentError) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentError) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentError) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentError.DiscardUnknown(m) + +func (*Ev_EnvironmentError) ProtoMessage() {} + +func (x *Ev_EnvironmentError) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentError proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentError.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentError) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{8} +} type Ev_KillTasksMesos struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Ev_KillTasksMesos) Reset() { *m = Ev_KillTasksMesos{} } -func (m *Ev_KillTasksMesos) String() string { return proto.CompactTextString(m) } -func (*Ev_KillTasksMesos) ProtoMessage() {} -func (*Ev_KillTasksMesos) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{9} -} -func (m *Ev_KillTasksMesos) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_KillTasksMesos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_KillTasksMesos.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_KillTasksMesos) Reset() { + *x = Ev_KillTasksMesos{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_KillTasksMesos) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_KillTasksMesos.Merge(m, src) -} -func (m *Ev_KillTasksMesos) XXX_Size() int { - return m.Size() + +func (x *Ev_KillTasksMesos) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_KillTasksMesos) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_KillTasksMesos.DiscardUnknown(m) + +func (*Ev_KillTasksMesos) ProtoMessage() {} + +func (x *Ev_KillTasksMesos) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_KillTasksMesos proto.InternalMessageInfo +// Deprecated: Use Ev_KillTasksMesos.ProtoReflect.Descriptor instead. +func (*Ev_KillTasksMesos) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{9} +} //////////////////////////////////////// // Global status //////////////////////////////////////// type StatusRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StatusRequest) Reset() { *m = StatusRequest{} } -func (m *StatusRequest) String() string { return proto.CompactTextString(m) } -func (*StatusRequest) ProtoMessage() {} -func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{10} -} -func (m *StatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusRequest) Reset() { + *x = StatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusRequest.Merge(m, src) -} -func (m *StatusRequest) XXX_Size() int { - return m.Size() + +func (x *StatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatusRequest.DiscardUnknown(m) + +func (*StatusRequest) ProtoMessage() {} + +func (x *StatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_StatusRequest proto.InternalMessageInfo +// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead. +func (*StatusRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{10} +} type StatusReply struct { - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - StatusUpdates []*StatusUpdate `protobuf:"bytes,2,rep,name=statusUpdates,proto3" json:"statusUpdates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + StatusUpdates []*StatusUpdate `protobuf:"bytes,2,rep,name=statusUpdates,proto3" json:"statusUpdates,omitempty"` } -func (m *StatusReply) Reset() { *m = StatusReply{} } -func (m *StatusReply) String() string { return proto.CompactTextString(m) } -func (*StatusReply) ProtoMessage() {} -func (*StatusReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{11} -} -func (m *StatusReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusReply) Reset() { + *x = StatusReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusReply.Merge(m, src) -} -func (m *StatusReply) XXX_Size() int { - return m.Size() + +func (x *StatusReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusReply) XXX_DiscardUnknown() { - xxx_messageInfo_StatusReply.DiscardUnknown(m) + +func (*StatusReply) ProtoMessage() {} + +func (x *StatusReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_StatusReply proto.InternalMessageInfo +// Deprecated: Use StatusReply.ProtoReflect.Descriptor instead. +func (*StatusReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{11} +} -func (m *StatusReply) GetState() string { - if m != nil { - return m.State +func (x *StatusReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *StatusReply) GetStatusUpdates() []*StatusUpdate { - if m != nil { - return m.StatusUpdates +func (x *StatusReply) GetStatusUpdates() []*StatusUpdate { + if x != nil { + return x.StatusUpdates } return nil } type StatusUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Level StatusUpdate_Level `protobuf:"varint,1,opt,name=level,proto3,enum=o2control.StatusUpdate_Level" json:"level,omitempty"` - // Types that are valid to be assigned to Event: + // Types that are assignable to Event: // *StatusUpdate_MesosHeartbeat - Event isStatusUpdate_Event `protobuf_oneof:"Event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event isStatusUpdate_Event `protobuf_oneof:"Event"` } -func (m *StatusUpdate) Reset() { *m = StatusUpdate{} } -func (m *StatusUpdate) String() string { return proto.CompactTextString(m) } -func (*StatusUpdate) ProtoMessage() {} -func (*StatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{12} -} -func (m *StatusUpdate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusUpdate.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusUpdate) Reset() { + *x = StatusUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusUpdate.Merge(m, src) -} -func (m *StatusUpdate) XXX_Size() int { - return m.Size() -} -func (m *StatusUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_StatusUpdate.DiscardUnknown(m) + +func (x *StatusUpdate) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_StatusUpdate proto.InternalMessageInfo +func (*StatusUpdate) ProtoMessage() {} -type isStatusUpdate_Event interface { - isStatusUpdate_Event() - MarshalTo([]byte) (int, error) - Size() int +func (x *StatusUpdate) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -type StatusUpdate_MesosHeartbeat struct { - MesosHeartbeat *Event_MesosHeartbeat `protobuf:"bytes,2,opt,name=mesosHeartbeat,proto3,oneof" json:"mesosHeartbeat,omitempty"` +// Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead. +func (*StatusUpdate) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{12} } -func (*StatusUpdate_MesosHeartbeat) isStatusUpdate_Event() {} +func (x *StatusUpdate) GetLevel() StatusUpdate_Level { + if x != nil { + return x.Level + } + return StatusUpdate_DEBUG +} func (m *StatusUpdate) GetEvent() isStatusUpdate_Event { if m != nil { @@ -775,30 +855,30 @@ func (m *StatusUpdate) GetEvent() isStatusUpdate_Event { return nil } -func (m *StatusUpdate) GetLevel() StatusUpdate_Level { - if m != nil { - return m.Level - } - return StatusUpdate_DEBUG -} - -func (m *StatusUpdate) GetMesosHeartbeat() *Event_MesosHeartbeat { - if x, ok := m.GetEvent().(*StatusUpdate_MesosHeartbeat); ok { +func (x *StatusUpdate) GetMesosHeartbeat() *Event_MesosHeartbeat { + if x, ok := x.GetEvent().(*StatusUpdate_MesosHeartbeat); ok { return x.MesosHeartbeat } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StatusUpdate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StatusUpdate_MesosHeartbeat)(nil), - } +type isStatusUpdate_Event interface { + isStatusUpdate_Event() +} + +type StatusUpdate_MesosHeartbeat struct { + MesosHeartbeat *Event_MesosHeartbeat `protobuf:"bytes,2,opt,name=mesosHeartbeat,proto3,oneof"` //TODO add other events here and in events.proto } +func (*StatusUpdate_MesosHeartbeat) isStatusUpdate_Event() {} + type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Types that are valid to be assigned to Payload: + // Types that are assignable to Payload: // *Event_EnvironmentStateChanged // *Event_EnvironmentCreated // *Event_TaskStateChanged @@ -808,88 +888,47 @@ type Event struct { // *Event_EnvironmentDestroyed // *Event_EnvironmentError // *Event_KilltasksMesos - Payload isEvent_Payload `protobuf_oneof:"Payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Payload isEvent_Payload `protobuf_oneof:"Payload"` } -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{13} -} -func (m *Event) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) -} -func (m *Event) XXX_Size() int { - return m.Size() -} -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Event proto.InternalMessageInfo +func (*Event) ProtoMessage() {} -type isEvent_Payload interface { - isEvent_Payload() - MarshalTo([]byte) (int, error) - Size() int +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -type Event_EnvironmentStateChanged struct { - EnvironmentStateChanged *Ev_EnvironmentStateChanged `protobuf:"bytes,2,opt,name=environmentStateChanged,proto3,oneof" json:"environmentStateChanged,omitempty"` -} -type Event_EnvironmentCreated struct { - EnvironmentCreated *Ev_EnvironmentCreated `protobuf:"bytes,3,opt,name=environmentCreated,proto3,oneof" json:"environmentCreated,omitempty"` -} -type Event_TaskStateChanged struct { - TaskStateChanged *Ev_TaskStateChanged `protobuf:"bytes,4,opt,name=taskStateChanged,proto3,oneof" json:"taskStateChanged,omitempty"` -} -type Event_TaskStatusChanged struct { - TaskStatusChanged *Ev_TaskStatusChanged `protobuf:"bytes,5,opt,name=taskStatusChanged,proto3,oneof" json:"taskStatusChanged,omitempty"` -} -type Event_Tasklaunched struct { - Tasklaunched *Ev_TaskLaunched `protobuf:"bytes,6,opt,name=tasklaunched,proto3,oneof" json:"tasklaunched,omitempty"` -} -type Event_MesosTaskcreated struct { - MesosTaskcreated *Ev_MesosTaskCreated `protobuf:"bytes,7,opt,name=mesosTaskcreated,proto3,oneof" json:"mesosTaskcreated,omitempty"` -} -type Event_EnvironmentDestroyed struct { - EnvironmentDestroyed *Ev_EnvironmentDestroyed `protobuf:"bytes,8,opt,name=environmentDestroyed,proto3,oneof" json:"environmentDestroyed,omitempty"` -} -type Event_EnvironmentError struct { - EnvironmentError *Ev_EnvironmentError `protobuf:"bytes,9,opt,name=environmentError,proto3,oneof" json:"environmentError,omitempty"` -} -type Event_KilltasksMesos struct { - KilltasksMesos *Ev_KillTasksMesos `protobuf:"bytes,10,opt,name=killtasksMesos,proto3,oneof" json:"killtasksMesos,omitempty"` +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{13} } -func (*Event_EnvironmentStateChanged) isEvent_Payload() {} -func (*Event_EnvironmentCreated) isEvent_Payload() {} -func (*Event_TaskStateChanged) isEvent_Payload() {} -func (*Event_TaskStatusChanged) isEvent_Payload() {} -func (*Event_Tasklaunched) isEvent_Payload() {} -func (*Event_MesosTaskcreated) isEvent_Payload() {} -func (*Event_EnvironmentDestroyed) isEvent_Payload() {} -func (*Event_EnvironmentError) isEvent_Payload() {} -func (*Event_KilltasksMesos) isEvent_Payload() {} +func (x *Event) GetTimestamp() string { + if x != nil { + return x.Timestamp + } + return "" +} func (m *Event) GetPayload() isEvent_Payload { if m != nil { @@ -898,1266 +937,1298 @@ func (m *Event) GetPayload() isEvent_Payload { return nil } -func (m *Event) GetTimestamp() string { - if m != nil { - return m.Timestamp - } - return "" -} - -func (m *Event) GetEnvironmentStateChanged() *Ev_EnvironmentStateChanged { - if x, ok := m.GetPayload().(*Event_EnvironmentStateChanged); ok { +func (x *Event) GetEnvironmentStateChanged() *Ev_EnvironmentStateChanged { + if x, ok := x.GetPayload().(*Event_EnvironmentStateChanged); ok { return x.EnvironmentStateChanged } return nil } -func (m *Event) GetEnvironmentCreated() *Ev_EnvironmentCreated { - if x, ok := m.GetPayload().(*Event_EnvironmentCreated); ok { +func (x *Event) GetEnvironmentCreated() *Ev_EnvironmentCreated { + if x, ok := x.GetPayload().(*Event_EnvironmentCreated); ok { return x.EnvironmentCreated } return nil } -func (m *Event) GetTaskStateChanged() *Ev_TaskStateChanged { - if x, ok := m.GetPayload().(*Event_TaskStateChanged); ok { +func (x *Event) GetTaskStateChanged() *Ev_TaskStateChanged { + if x, ok := x.GetPayload().(*Event_TaskStateChanged); ok { return x.TaskStateChanged } return nil } -func (m *Event) GetTaskStatusChanged() *Ev_TaskStatusChanged { - if x, ok := m.GetPayload().(*Event_TaskStatusChanged); ok { +func (x *Event) GetTaskStatusChanged() *Ev_TaskStatusChanged { + if x, ok := x.GetPayload().(*Event_TaskStatusChanged); ok { return x.TaskStatusChanged } return nil } -func (m *Event) GetTasklaunched() *Ev_TaskLaunched { - if x, ok := m.GetPayload().(*Event_Tasklaunched); ok { +func (x *Event) GetTasklaunched() *Ev_TaskLaunched { + if x, ok := x.GetPayload().(*Event_Tasklaunched); ok { return x.Tasklaunched } return nil } -func (m *Event) GetMesosTaskcreated() *Ev_MesosTaskCreated { - if x, ok := m.GetPayload().(*Event_MesosTaskcreated); ok { +func (x *Event) GetMesosTaskcreated() *Ev_MesosTaskCreated { + if x, ok := x.GetPayload().(*Event_MesosTaskcreated); ok { return x.MesosTaskcreated } return nil } -func (m *Event) GetEnvironmentDestroyed() *Ev_EnvironmentDestroyed { - if x, ok := m.GetPayload().(*Event_EnvironmentDestroyed); ok { +func (x *Event) GetEnvironmentDestroyed() *Ev_EnvironmentDestroyed { + if x, ok := x.GetPayload().(*Event_EnvironmentDestroyed); ok { return x.EnvironmentDestroyed } return nil } -func (m *Event) GetEnvironmentError() *Ev_EnvironmentError { - if x, ok := m.GetPayload().(*Event_EnvironmentError); ok { +func (x *Event) GetEnvironmentError() *Ev_EnvironmentError { + if x, ok := x.GetPayload().(*Event_EnvironmentError); ok { return x.EnvironmentError } return nil } -func (m *Event) GetKilltasksMesos() *Ev_KillTasksMesos { - if x, ok := m.GetPayload().(*Event_KilltasksMesos); ok { +func (x *Event) GetKilltasksMesos() *Ev_KillTasksMesos { + if x, ok := x.GetPayload().(*Event_KilltasksMesos); ok { return x.KilltasksMesos } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Event) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Event_EnvironmentStateChanged)(nil), - (*Event_EnvironmentCreated)(nil), - (*Event_TaskStateChanged)(nil), - (*Event_TaskStatusChanged)(nil), - (*Event_Tasklaunched)(nil), - (*Event_MesosTaskcreated)(nil), - (*Event_EnvironmentDestroyed)(nil), - (*Event_EnvironmentError)(nil), - (*Event_KilltasksMesos)(nil), - } +type isEvent_Payload interface { + isEvent_Payload() +} + +type Event_EnvironmentStateChanged struct { + EnvironmentStateChanged *Ev_EnvironmentStateChanged `protobuf:"bytes,2,opt,name=environmentStateChanged,proto3,oneof"` +} + +type Event_EnvironmentCreated struct { + EnvironmentCreated *Ev_EnvironmentCreated `protobuf:"bytes,3,opt,name=environmentCreated,proto3,oneof"` +} + +type Event_TaskStateChanged struct { + TaskStateChanged *Ev_TaskStateChanged `protobuf:"bytes,4,opt,name=taskStateChanged,proto3,oneof"` +} + +type Event_TaskStatusChanged struct { + TaskStatusChanged *Ev_TaskStatusChanged `protobuf:"bytes,5,opt,name=taskStatusChanged,proto3,oneof"` +} + +type Event_Tasklaunched struct { + Tasklaunched *Ev_TaskLaunched `protobuf:"bytes,6,opt,name=tasklaunched,proto3,oneof"` +} + +type Event_MesosTaskcreated struct { + MesosTaskcreated *Ev_MesosTaskCreated `protobuf:"bytes,7,opt,name=mesosTaskcreated,proto3,oneof"` +} + +type Event_EnvironmentDestroyed struct { + EnvironmentDestroyed *Ev_EnvironmentDestroyed `protobuf:"bytes,8,opt,name=environmentDestroyed,proto3,oneof"` +} + +type Event_EnvironmentError struct { + EnvironmentError *Ev_EnvironmentError `protobuf:"bytes,9,opt,name=environmentError,proto3,oneof"` } +type Event_KilltasksMesos struct { + KilltasksMesos *Ev_KillTasksMesos `protobuf:"bytes,10,opt,name=killtasksMesos,proto3,oneof"` +} + +func (*Event_EnvironmentStateChanged) isEvent_Payload() {} + +func (*Event_EnvironmentCreated) isEvent_Payload() {} + +func (*Event_TaskStateChanged) isEvent_Payload() {} + +func (*Event_TaskStatusChanged) isEvent_Payload() {} + +func (*Event_Tasklaunched) isEvent_Payload() {} + +func (*Event_MesosTaskcreated) isEvent_Payload() {} + +func (*Event_EnvironmentDestroyed) isEvent_Payload() {} + +func (*Event_EnvironmentError) isEvent_Payload() {} + +func (*Event_KilltasksMesos) isEvent_Payload() {} + type SubscribeRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SubscribeRequest) Reset() { *m = SubscribeRequest{} } -func (m *SubscribeRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeRequest) ProtoMessage() {} -func (*SubscribeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{14} -} -func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SubscribeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SubscribeRequest) Reset() { + *x = SubscribeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SubscribeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeRequest.Merge(m, src) -} -func (m *SubscribeRequest) XXX_Size() int { - return m.Size() + +func (x *SubscribeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeRequest.DiscardUnknown(m) + +func (*SubscribeRequest) ProtoMessage() {} + +func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_SubscribeRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. +func (*SubscribeRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{14} +} //////////////////////////////////////// // Framework //////////////////////////////////////// type GetFrameworkInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetFrameworkInfoRequest) Reset() { *m = GetFrameworkInfoRequest{} } -func (m *GetFrameworkInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetFrameworkInfoRequest) ProtoMessage() {} -func (*GetFrameworkInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{15} -} -func (m *GetFrameworkInfoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetFrameworkInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetFrameworkInfoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetFrameworkInfoRequest) Reset() { + *x = GetFrameworkInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetFrameworkInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFrameworkInfoRequest.Merge(m, src) -} -func (m *GetFrameworkInfoRequest) XXX_Size() int { - return m.Size() -} -func (m *GetFrameworkInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFrameworkInfoRequest.DiscardUnknown(m) + +func (x *GetFrameworkInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetFrameworkInfoRequest proto.InternalMessageInfo +func (*GetFrameworkInfoRequest) ProtoMessage() {} -type Version struct { - Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` - Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` - Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` - Build string `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"` - ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"` - VersionStr string `protobuf:"bytes,6,opt,name=versionStr,proto3" json:"versionStr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{16} -} -func (m *Version) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *GetFrameworkInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFrameworkInfoRequest.ProtoReflect.Descriptor instead. +func (*GetFrameworkInfoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{15} } -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) + +type Version struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` + Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` + Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` + Build string `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"` + ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"` + VersionStr string `protobuf:"bytes,6,opt,name=versionStr,proto3" json:"versionStr,omitempty"` } -func (m *Version) XXX_Size() int { - return m.Size() + +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Version proto.InternalMessageInfo +func (*Version) ProtoMessage() {} -func (m *Version) GetMajor() int32 { - if m != nil { - return m.Major +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Version.ProtoReflect.Descriptor instead. +func (*Version) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{16} +} + +func (x *Version) GetMajor() int32 { + if x != nil { + return x.Major } return 0 } -func (m *Version) GetMinor() int32 { - if m != nil { - return m.Minor +func (x *Version) GetMinor() int32 { + if x != nil { + return x.Minor } return 0 } -func (m *Version) GetPatch() int32 { - if m != nil { - return m.Patch +func (x *Version) GetPatch() int32 { + if x != nil { + return x.Patch } return 0 } -func (m *Version) GetBuild() string { - if m != nil { - return m.Build +func (x *Version) GetBuild() string { + if x != nil { + return x.Build } return "" } -func (m *Version) GetProductName() string { - if m != nil { - return m.ProductName +func (x *Version) GetProductName() string { + if x != nil { + return x.ProductName } return "" } -func (m *Version) GetVersionStr() string { - if m != nil { - return m.VersionStr +func (x *Version) GetVersionStr() string { + if x != nil { + return x.VersionStr } return "" } type GetFrameworkInfoReply struct { - FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` - EnvironmentsCount int32 `protobuf:"varint,2,opt,name=environmentsCount,proto3" json:"environmentsCount,omitempty"` - TasksCount int32 `protobuf:"varint,3,opt,name=tasksCount,proto3" json:"tasksCount,omitempty"` - State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - HostsCount int32 `protobuf:"varint,5,opt,name=hostsCount,proto3" json:"hostsCount,omitempty"` - InstanceName string `protobuf:"bytes,6,opt,name=instanceName,proto3" json:"instanceName,omitempty"` - Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetFrameworkInfoReply) Reset() { *m = GetFrameworkInfoReply{} } -func (m *GetFrameworkInfoReply) String() string { return proto.CompactTextString(m) } -func (*GetFrameworkInfoReply) ProtoMessage() {} -func (*GetFrameworkInfoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{17} -} -func (m *GetFrameworkInfoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetFrameworkInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetFrameworkInfoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` + EnvironmentsCount int32 `protobuf:"varint,2,opt,name=environmentsCount,proto3" json:"environmentsCount,omitempty"` + TasksCount int32 `protobuf:"varint,3,opt,name=tasksCount,proto3" json:"tasksCount,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + HostsCount int32 `protobuf:"varint,5,opt,name=hostsCount,proto3" json:"hostsCount,omitempty"` + InstanceName string `protobuf:"bytes,6,opt,name=instanceName,proto3" json:"instanceName,omitempty"` + Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` } -func (m *GetFrameworkInfoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFrameworkInfoReply.Merge(m, src) + +func (x *GetFrameworkInfoReply) Reset() { + *x = GetFrameworkInfoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetFrameworkInfoReply) XXX_Size() int { - return m.Size() + +func (x *GetFrameworkInfoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetFrameworkInfoReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetFrameworkInfoReply.DiscardUnknown(m) + +func (*GetFrameworkInfoReply) ProtoMessage() {} + +func (x *GetFrameworkInfoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[17] + 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) } -var xxx_messageInfo_GetFrameworkInfoReply proto.InternalMessageInfo +// Deprecated: Use GetFrameworkInfoReply.ProtoReflect.Descriptor instead. +func (*GetFrameworkInfoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{17} +} -func (m *GetFrameworkInfoReply) GetFrameworkId() string { - if m != nil { - return m.FrameworkId +func (x *GetFrameworkInfoReply) GetFrameworkId() string { + if x != nil { + return x.FrameworkId } return "" } -func (m *GetFrameworkInfoReply) GetEnvironmentsCount() int32 { - if m != nil { - return m.EnvironmentsCount +func (x *GetFrameworkInfoReply) GetEnvironmentsCount() int32 { + if x != nil { + return x.EnvironmentsCount } return 0 } -func (m *GetFrameworkInfoReply) GetTasksCount() int32 { - if m != nil { - return m.TasksCount +func (x *GetFrameworkInfoReply) GetTasksCount() int32 { + if x != nil { + return x.TasksCount } return 0 } -func (m *GetFrameworkInfoReply) GetState() string { - if m != nil { - return m.State +func (x *GetFrameworkInfoReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *GetFrameworkInfoReply) GetHostsCount() int32 { - if m != nil { - return m.HostsCount +func (x *GetFrameworkInfoReply) GetHostsCount() int32 { + if x != nil { + return x.HostsCount } return 0 } -func (m *GetFrameworkInfoReply) GetInstanceName() string { - if m != nil { - return m.InstanceName +func (x *GetFrameworkInfoReply) GetInstanceName() string { + if x != nil { + return x.InstanceName } return "" } -func (m *GetFrameworkInfoReply) GetVersion() *Version { - if m != nil { - return m.Version +func (x *GetFrameworkInfoReply) GetVersion() *Version { + if x != nil { + return x.Version } return nil } // Not implemented yet type TeardownRequest struct { - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` } -func (m *TeardownRequest) Reset() { *m = TeardownRequest{} } -func (m *TeardownRequest) String() string { return proto.CompactTextString(m) } -func (*TeardownRequest) ProtoMessage() {} -func (*TeardownRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{18} -} -func (m *TeardownRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TeardownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TeardownRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TeardownRequest) Reset() { + *x = TeardownRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TeardownRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TeardownRequest.Merge(m, src) -} -func (m *TeardownRequest) XXX_Size() int { - return m.Size() + +func (x *TeardownRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TeardownRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TeardownRequest.DiscardUnknown(m) + +func (*TeardownRequest) ProtoMessage() {} + +func (x *TeardownRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[18] + 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) } -var xxx_messageInfo_TeardownRequest proto.InternalMessageInfo +// Deprecated: Use TeardownRequest.ProtoReflect.Descriptor instead. +func (*TeardownRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{18} +} -func (m *TeardownRequest) GetReason() string { - if m != nil { - return m.Reason +func (x *TeardownRequest) GetReason() string { + if x != nil { + return x.Reason } return "" } type TeardownReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TeardownReply) Reset() { *m = TeardownReply{} } -func (m *TeardownReply) String() string { return proto.CompactTextString(m) } -func (*TeardownReply) ProtoMessage() {} -func (*TeardownReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{19} -} -func (m *TeardownReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TeardownReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TeardownReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TeardownReply) Reset() { + *x = TeardownReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TeardownReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_TeardownReply.Merge(m, src) -} -func (m *TeardownReply) XXX_Size() int { - return m.Size() + +func (x *TeardownReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TeardownReply) XXX_DiscardUnknown() { - xxx_messageInfo_TeardownReply.DiscardUnknown(m) + +func (*TeardownReply) ProtoMessage() {} + +func (x *TeardownReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[19] + 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) } -var xxx_messageInfo_TeardownReply proto.InternalMessageInfo +// Deprecated: Use TeardownReply.ProtoReflect.Descriptor instead. +func (*TeardownReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{19} +} //////////////////////////////////////// // Environment //////////////////////////////////////// type GetEnvironmentsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetEnvironmentsRequest) Reset() { *m = GetEnvironmentsRequest{} } -func (m *GetEnvironmentsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentsRequest) ProtoMessage() {} -func (*GetEnvironmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{20} -} -func (m *GetEnvironmentsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentsRequest) Reset() { + *x = GetEnvironmentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentsRequest.Merge(m, src) -} -func (m *GetEnvironmentsRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentsRequest.DiscardUnknown(m) + +func (*GetEnvironmentsRequest) ProtoMessage() {} + +func (x *GetEnvironmentsRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[20] + 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) } -var xxx_messageInfo_GetEnvironmentsRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentsRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentsRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{20} +} type GetEnvironmentsReply struct { - FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` - Environments []*EnvironmentInfo `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` + Environments []*EnvironmentInfo `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"` } -func (m *GetEnvironmentsReply) Reset() { *m = GetEnvironmentsReply{} } -func (m *GetEnvironmentsReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentsReply) ProtoMessage() {} -func (*GetEnvironmentsReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{21} -} -func (m *GetEnvironmentsReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentsReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentsReply) Reset() { + *x = GetEnvironmentsReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentsReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentsReply.Merge(m, src) -} -func (m *GetEnvironmentsReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentsReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentsReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentsReply.DiscardUnknown(m) + +func (*GetEnvironmentsReply) ProtoMessage() {} + +func (x *GetEnvironmentsReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[21] + 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) } -var xxx_messageInfo_GetEnvironmentsReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentsReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentsReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{21} +} -func (m *GetEnvironmentsReply) GetFrameworkId() string { - if m != nil { - return m.FrameworkId +func (x *GetEnvironmentsReply) GetFrameworkId() string { + if x != nil { + return x.FrameworkId } return "" } -func (m *GetEnvironmentsReply) GetEnvironments() []*EnvironmentInfo { - if m != nil { - return m.Environments +func (x *GetEnvironmentsReply) GetEnvironments() []*EnvironmentInfo { + if x != nil { + return x.Environments } return nil } type EnvironmentInfo struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedWhen string `protobuf:"bytes,2,opt,name=createdWhen,proto3" json:"createdWhen,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - Tasks []*ShortTaskInfo `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` - RootRole string `protobuf:"bytes,5,opt,name=rootRole,proto3" json:"rootRole,omitempty"` - CurrentRunNumber uint32 `protobuf:"varint,6,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` - Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnvironmentInfo) Reset() { *m = EnvironmentInfo{} } -func (m *EnvironmentInfo) String() string { return proto.CompactTextString(m) } -func (*EnvironmentInfo) ProtoMessage() {} -func (*EnvironmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{22} -} -func (m *EnvironmentInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EnvironmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EnvironmentInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedWhen string `protobuf:"bytes,2,opt,name=createdWhen,proto3" json:"createdWhen,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + Tasks []*ShortTaskInfo `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` + RootRole string `protobuf:"bytes,5,opt,name=rootRole,proto3" json:"rootRole,omitempty"` + CurrentRunNumber uint32 `protobuf:"varint,6,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` + Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *EnvironmentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnvironmentInfo.Merge(m, src) + +func (x *EnvironmentInfo) Reset() { + *x = EnvironmentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EnvironmentInfo) XXX_Size() int { - return m.Size() + +func (x *EnvironmentInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnvironmentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_EnvironmentInfo.DiscardUnknown(m) + +func (*EnvironmentInfo) ProtoMessage() {} + +func (x *EnvironmentInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[22] + 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) } -var xxx_messageInfo_EnvironmentInfo proto.InternalMessageInfo +// Deprecated: Use EnvironmentInfo.ProtoReflect.Descriptor instead. +func (*EnvironmentInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{22} +} -func (m *EnvironmentInfo) GetId() string { - if m != nil { - return m.Id +func (x *EnvironmentInfo) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *EnvironmentInfo) GetCreatedWhen() string { - if m != nil { - return m.CreatedWhen +func (x *EnvironmentInfo) GetCreatedWhen() string { + if x != nil { + return x.CreatedWhen } return "" } -func (m *EnvironmentInfo) GetState() string { - if m != nil { - return m.State +func (x *EnvironmentInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *EnvironmentInfo) GetTasks() []*ShortTaskInfo { - if m != nil { - return m.Tasks +func (x *EnvironmentInfo) GetTasks() []*ShortTaskInfo { + if x != nil { + return x.Tasks } return nil } -func (m *EnvironmentInfo) GetRootRole() string { - if m != nil { - return m.RootRole +func (x *EnvironmentInfo) GetRootRole() string { + if x != nil { + return x.RootRole } return "" } -func (m *EnvironmentInfo) GetCurrentRunNumber() uint32 { - if m != nil { - return m.CurrentRunNumber +func (x *EnvironmentInfo) GetCurrentRunNumber() uint32 { + if x != nil { + return x.CurrentRunNumber } return 0 } -func (m *EnvironmentInfo) GetDefaults() map[string]string { - if m != nil { - return m.Defaults +func (x *EnvironmentInfo) GetDefaults() map[string]string { + if x != nil { + return x.Defaults } return nil } -func (m *EnvironmentInfo) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *EnvironmentInfo) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } -func (m *EnvironmentInfo) GetUserVars() map[string]string { - if m != nil { - return m.UserVars +func (x *EnvironmentInfo) GetUserVars() map[string]string { + if x != nil { + return x.UserVars } return nil } type NewEnvironmentRequest struct { - WorkflowTemplate string `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` - Vars map[string]string `protobuf:"bytes,2,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkflowTemplate string `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + Vars map[string]string `protobuf:"bytes,2,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NewEnvironmentRequest) Reset() { *m = NewEnvironmentRequest{} } -func (m *NewEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*NewEnvironmentRequest) ProtoMessage() {} -func (*NewEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{23} -} -func (m *NewEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NewEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NewEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NewEnvironmentRequest) Reset() { + *x = NewEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NewEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewEnvironmentRequest.Merge(m, src) -} -func (m *NewEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *NewEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewEnvironmentRequest.DiscardUnknown(m) + +func (*NewEnvironmentRequest) ProtoMessage() {} + +func (x *NewEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[23] + 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) } -var xxx_messageInfo_NewEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use NewEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*NewEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{23} +} -func (m *NewEnvironmentRequest) GetWorkflowTemplate() string { - if m != nil { - return m.WorkflowTemplate +func (x *NewEnvironmentRequest) GetWorkflowTemplate() string { + if x != nil { + return x.WorkflowTemplate } return "" } -func (m *NewEnvironmentRequest) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *NewEnvironmentRequest) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } type NewEnvironmentReply struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` } -func (m *NewEnvironmentReply) Reset() { *m = NewEnvironmentReply{} } -func (m *NewEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*NewEnvironmentReply) ProtoMessage() {} -func (*NewEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{24} -} -func (m *NewEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NewEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NewEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NewEnvironmentReply) Reset() { + *x = NewEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NewEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewEnvironmentReply.Merge(m, src) -} -func (m *NewEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *NewEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_NewEnvironmentReply.DiscardUnknown(m) + +func (*NewEnvironmentReply) ProtoMessage() {} + +func (x *NewEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[24] + 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) } -var xxx_messageInfo_NewEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use NewEnvironmentReply.ProtoReflect.Descriptor instead. +func (*NewEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{24} +} -func (m *NewEnvironmentReply) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *NewEnvironmentReply) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } type GetEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *GetEnvironmentRequest) Reset() { *m = GetEnvironmentRequest{} } -func (m *GetEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentRequest) ProtoMessage() {} -func (*GetEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{25} -} -func (m *GetEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentRequest) Reset() { + *x = GetEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentRequest.Merge(m, src) -} -func (m *GetEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentRequest.DiscardUnknown(m) + +func (*GetEnvironmentRequest) ProtoMessage() {} + +func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[25] + 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) } -var xxx_messageInfo_GetEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{25} +} -func (m *GetEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *GetEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } type GetEnvironmentReply struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - Workflow *RoleInfo `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` + Workflow *RoleInfo `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` } -func (m *GetEnvironmentReply) Reset() { *m = GetEnvironmentReply{} } -func (m *GetEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentReply) ProtoMessage() {} -func (*GetEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{26} -} -func (m *GetEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentReply) Reset() { + *x = GetEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentReply.Merge(m, src) -} -func (m *GetEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentReply.DiscardUnknown(m) + +func (*GetEnvironmentReply) ProtoMessage() {} + +func (x *GetEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[26] + 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) } -var xxx_messageInfo_GetEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{26} +} -func (m *GetEnvironmentReply) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *GetEnvironmentReply) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } -func (m *GetEnvironmentReply) GetWorkflow() *RoleInfo { - if m != nil { - return m.Workflow +func (x *GetEnvironmentReply) GetWorkflow() *RoleInfo { + if x != nil { + return x.Workflow } return nil } type ControlEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type ControlEnvironmentRequest_Optype `protobuf:"varint,2,opt,name=type,proto3,enum=o2control.ControlEnvironmentRequest_Optype" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Type ControlEnvironmentRequest_Optype `protobuf:"varint,2,opt,name=type,proto3,enum=o2control.ControlEnvironmentRequest_Optype" json:"type,omitempty"` } -func (m *ControlEnvironmentRequest) Reset() { *m = ControlEnvironmentRequest{} } -func (m *ControlEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*ControlEnvironmentRequest) ProtoMessage() {} -func (*ControlEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{27} -} -func (m *ControlEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ControlEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ControlEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ControlEnvironmentRequest) Reset() { + *x = ControlEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ControlEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlEnvironmentRequest.Merge(m, src) -} -func (m *ControlEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *ControlEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ControlEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ControlEnvironmentRequest.DiscardUnknown(m) + +func (*ControlEnvironmentRequest) ProtoMessage() {} + +func (x *ControlEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[27] + 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) } -var xxx_messageInfo_ControlEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use ControlEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*ControlEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{27} +} -func (m *ControlEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *ControlEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ControlEnvironmentRequest) GetType() ControlEnvironmentRequest_Optype { - if m != nil { - return m.Type +func (x *ControlEnvironmentRequest) GetType() ControlEnvironmentRequest_Optype { + if x != nil { + return x.Type } return ControlEnvironmentRequest_NOOP } type ControlEnvironmentReply struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - CurrentRunNumber uint32 `protobuf:"varint,3,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + CurrentRunNumber uint32 `protobuf:"varint,3,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` } -func (m *ControlEnvironmentReply) Reset() { *m = ControlEnvironmentReply{} } -func (m *ControlEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*ControlEnvironmentReply) ProtoMessage() {} -func (*ControlEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{28} -} -func (m *ControlEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ControlEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ControlEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ControlEnvironmentReply) Reset() { + *x = ControlEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ControlEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlEnvironmentReply.Merge(m, src) -} -func (m *ControlEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *ControlEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ControlEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_ControlEnvironmentReply.DiscardUnknown(m) + +func (*ControlEnvironmentReply) ProtoMessage() {} + +func (x *ControlEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[28] + 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) } -var xxx_messageInfo_ControlEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use ControlEnvironmentReply.ProtoReflect.Descriptor instead. +func (*ControlEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{28} +} -func (m *ControlEnvironmentReply) GetId() string { - if m != nil { - return m.Id +func (x *ControlEnvironmentReply) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ControlEnvironmentReply) GetState() string { - if m != nil { - return m.State +func (x *ControlEnvironmentReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ControlEnvironmentReply) GetCurrentRunNumber() uint32 { - if m != nil { - return m.CurrentRunNumber +func (x *ControlEnvironmentReply) GetCurrentRunNumber() uint32 { + if x != nil { + return x.CurrentRunNumber } return 0 } type ModifyEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Operations []*EnvironmentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - ReconfigureAll bool `protobuf:"varint,3,opt,name=reconfigureAll,proto3" json:"reconfigureAll,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Operations []*EnvironmentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + ReconfigureAll bool `protobuf:"varint,3,opt,name=reconfigureAll,proto3" json:"reconfigureAll,omitempty"` } -func (m *ModifyEnvironmentRequest) Reset() { *m = ModifyEnvironmentRequest{} } -func (m *ModifyEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyEnvironmentRequest) ProtoMessage() {} -func (*ModifyEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{29} -} -func (m *ModifyEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ModifyEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ModifyEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ModifyEnvironmentRequest) Reset() { + *x = ModifyEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ModifyEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyEnvironmentRequest.Merge(m, src) -} -func (m *ModifyEnvironmentRequest) XXX_Size() int { - return m.Size() -} -func (m *ModifyEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyEnvironmentRequest.DiscardUnknown(m) + +func (x *ModifyEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ModifyEnvironmentRequest proto.InternalMessageInfo +func (*ModifyEnvironmentRequest) ProtoMessage() {} -func (m *ModifyEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *ModifyEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ModifyEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*ModifyEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{29} +} + +func (x *ModifyEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ModifyEnvironmentRequest) GetOperations() []*EnvironmentOperation { - if m != nil { - return m.Operations +func (x *ModifyEnvironmentRequest) GetOperations() []*EnvironmentOperation { + if x != nil { + return x.Operations } return nil } -func (m *ModifyEnvironmentRequest) GetReconfigureAll() bool { - if m != nil { - return m.ReconfigureAll +func (x *ModifyEnvironmentRequest) GetReconfigureAll() bool { + if x != nil { + return x.ReconfigureAll } return false } type EnvironmentOperation struct { - Type EnvironmentOperation_Optype `protobuf:"varint,1,opt,name=type,proto3,enum=o2control.EnvironmentOperation_Optype" json:"type,omitempty"` - RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type EnvironmentOperation_Optype `protobuf:"varint,1,opt,name=type,proto3,enum=o2control.EnvironmentOperation_Optype" json:"type,omitempty"` + RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,omitempty"` } -func (m *EnvironmentOperation) Reset() { *m = EnvironmentOperation{} } -func (m *EnvironmentOperation) String() string { return proto.CompactTextString(m) } -func (*EnvironmentOperation) ProtoMessage() {} -func (*EnvironmentOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{30} -} -func (m *EnvironmentOperation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EnvironmentOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EnvironmentOperation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EnvironmentOperation) Reset() { + *x = EnvironmentOperation{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EnvironmentOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnvironmentOperation.Merge(m, src) -} -func (m *EnvironmentOperation) XXX_Size() int { - return m.Size() + +func (x *EnvironmentOperation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnvironmentOperation) XXX_DiscardUnknown() { - xxx_messageInfo_EnvironmentOperation.DiscardUnknown(m) + +func (*EnvironmentOperation) ProtoMessage() {} + +func (x *EnvironmentOperation) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[30] + 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) } -var xxx_messageInfo_EnvironmentOperation proto.InternalMessageInfo +// Deprecated: Use EnvironmentOperation.ProtoReflect.Descriptor instead. +func (*EnvironmentOperation) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{30} +} -func (m *EnvironmentOperation) GetType() EnvironmentOperation_Optype { - if m != nil { - return m.Type +func (x *EnvironmentOperation) GetType() EnvironmentOperation_Optype { + if x != nil { + return x.Type } return EnvironmentOperation_NOOP } -func (m *EnvironmentOperation) GetRoleName() string { - if m != nil { - return m.RoleName +func (x *EnvironmentOperation) GetRoleName() string { + if x != nil { + return x.RoleName } return "" } type ModifyEnvironmentReply struct { - FailedOperations []*EnvironmentOperation `protobuf:"bytes,1,rep,name=failedOperations,proto3" json:"failedOperations,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FailedOperations []*EnvironmentOperation `protobuf:"bytes,1,rep,name=failedOperations,proto3" json:"failedOperations,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` } -func (m *ModifyEnvironmentReply) Reset() { *m = ModifyEnvironmentReply{} } -func (m *ModifyEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*ModifyEnvironmentReply) ProtoMessage() {} -func (*ModifyEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{31} -} -func (m *ModifyEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ModifyEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ModifyEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ModifyEnvironmentReply) Reset() { + *x = ModifyEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ModifyEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyEnvironmentReply.Merge(m, src) -} -func (m *ModifyEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *ModifyEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ModifyEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyEnvironmentReply.DiscardUnknown(m) + +func (*ModifyEnvironmentReply) ProtoMessage() {} + +func (x *ModifyEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[31] + 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) } -var xxx_messageInfo_ModifyEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use ModifyEnvironmentReply.ProtoReflect.Descriptor instead. +func (*ModifyEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{31} +} -func (m *ModifyEnvironmentReply) GetFailedOperations() []*EnvironmentOperation { - if m != nil { - return m.FailedOperations +func (x *ModifyEnvironmentReply) GetFailedOperations() []*EnvironmentOperation { + if x != nil { + return x.FailedOperations } return nil } -func (m *ModifyEnvironmentReply) GetId() string { - if m != nil { - return m.Id +func (x *ModifyEnvironmentReply) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ModifyEnvironmentReply) GetState() string { - if m != nil { - return m.State +func (x *ModifyEnvironmentReply) GetState() string { + if x != nil { + return x.State } return "" } type DestroyEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - KeepTasks bool `protobuf:"varint,2,opt,name=keepTasks,proto3" json:"keepTasks,omitempty"` - AllowInRunningState bool `protobuf:"varint,3,opt,name=allowInRunningState,proto3" json:"allowInRunningState,omitempty"` - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DestroyEnvironmentRequest) Reset() { *m = DestroyEnvironmentRequest{} } -func (m *DestroyEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*DestroyEnvironmentRequest) ProtoMessage() {} -func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{32} -} -func (m *DestroyEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DestroyEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DestroyEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + KeepTasks bool `protobuf:"varint,2,opt,name=keepTasks,proto3" json:"keepTasks,omitempty"` + AllowInRunningState bool `protobuf:"varint,3,opt,name=allowInRunningState,proto3" json:"allowInRunningState,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` } -func (m *DestroyEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyEnvironmentRequest.Merge(m, src) + +func (x *DestroyEnvironmentRequest) Reset() { + *x = DestroyEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DestroyEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *DestroyEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyEnvironmentRequest.DiscardUnknown(m) + +func (*DestroyEnvironmentRequest) ProtoMessage() {} + +func (x *DestroyEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[32] + 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) } -var xxx_messageInfo_DestroyEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use DestroyEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{32} +} -func (m *DestroyEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *DestroyEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *DestroyEnvironmentRequest) GetKeepTasks() bool { - if m != nil { - return m.KeepTasks +func (x *DestroyEnvironmentRequest) GetKeepTasks() bool { + if x != nil { + return x.KeepTasks } return false } -func (m *DestroyEnvironmentRequest) GetAllowInRunningState() bool { - if m != nil { - return m.AllowInRunningState +func (x *DestroyEnvironmentRequest) GetAllowInRunningState() bool { + if x != nil { + return x.AllowInRunningState } return false } -func (m *DestroyEnvironmentRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *DestroyEnvironmentRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type DestroyEnvironmentReply struct { - CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` } -func (m *DestroyEnvironmentReply) Reset() { *m = DestroyEnvironmentReply{} } -func (m *DestroyEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*DestroyEnvironmentReply) ProtoMessage() {} -func (*DestroyEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{33} -} -func (m *DestroyEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DestroyEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DestroyEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DestroyEnvironmentReply) Reset() { + *x = DestroyEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DestroyEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyEnvironmentReply.Merge(m, src) -} -func (m *DestroyEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *DestroyEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyEnvironmentReply.DiscardUnknown(m) + +func (*DestroyEnvironmentReply) ProtoMessage() {} + +func (x *DestroyEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[33] + 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) } -var xxx_messageInfo_DestroyEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use DestroyEnvironmentReply.ProtoReflect.Descriptor instead. +func (*DestroyEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{33} +} -func (m *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { - if m != nil { - return m.CleanupTasksReply +func (x *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { + if x != nil { + return x.CleanupTasksReply } return nil } @@ -2166,210 +2237,209 @@ func (m *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { // Environment, GET/SET properties //////////////////////////////////////// type SetEnvironmentPropertiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If properties == nil, the core sets nothing // and reply ok - Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *SetEnvironmentPropertiesRequest) Reset() { *m = SetEnvironmentPropertiesRequest{} } -func (m *SetEnvironmentPropertiesRequest) String() string { return proto.CompactTextString(m) } -func (*SetEnvironmentPropertiesRequest) ProtoMessage() {} -func (*SetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{34} -} -func (m *SetEnvironmentPropertiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetEnvironmentPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetEnvironmentPropertiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetEnvironmentPropertiesRequest) Reset() { + *x = SetEnvironmentPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetEnvironmentPropertiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetEnvironmentPropertiesRequest.Merge(m, src) -} -func (m *SetEnvironmentPropertiesRequest) XXX_Size() int { - return m.Size() + +func (x *SetEnvironmentPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetEnvironmentPropertiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetEnvironmentPropertiesRequest.DiscardUnknown(m) + +func (*SetEnvironmentPropertiesRequest) ProtoMessage() {} + +func (x *SetEnvironmentPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[34] + 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) } -var xxx_messageInfo_SetEnvironmentPropertiesRequest proto.InternalMessageInfo +// Deprecated: Use SetEnvironmentPropertiesRequest.ProtoReflect.Descriptor instead. +func (*SetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{34} +} -func (m *SetEnvironmentPropertiesRequest) GetId() string { - if m != nil { - return m.Id +func (x *SetEnvironmentPropertiesRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *SetEnvironmentPropertiesRequest) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *SetEnvironmentPropertiesRequest) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } type SetEnvironmentPropertiesReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetEnvironmentPropertiesReply) Reset() { *m = SetEnvironmentPropertiesReply{} } -func (m *SetEnvironmentPropertiesReply) String() string { return proto.CompactTextString(m) } -func (*SetEnvironmentPropertiesReply) ProtoMessage() {} -func (*SetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{35} -} -func (m *SetEnvironmentPropertiesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetEnvironmentPropertiesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetEnvironmentPropertiesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetEnvironmentPropertiesReply) Reset() { + *x = SetEnvironmentPropertiesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetEnvironmentPropertiesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetEnvironmentPropertiesReply.Merge(m, src) -} -func (m *SetEnvironmentPropertiesReply) XXX_Size() int { - return m.Size() + +func (x *SetEnvironmentPropertiesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetEnvironmentPropertiesReply) XXX_DiscardUnknown() { - xxx_messageInfo_SetEnvironmentPropertiesReply.DiscardUnknown(m) + +func (*SetEnvironmentPropertiesReply) ProtoMessage() {} + +func (x *SetEnvironmentPropertiesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[35] + 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) } -var xxx_messageInfo_SetEnvironmentPropertiesReply proto.InternalMessageInfo +// Deprecated: Use SetEnvironmentPropertiesReply.ProtoReflect.Descriptor instead. +func (*SetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{35} +} type GetEnvironmentPropertiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If len(queries) == 0, we return an // empty map. // To retrieve all KVs, use query '*' - Queries []string `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` - ExcludeGlobals bool `protobuf:"varint,3,opt,name=excludeGlobals,proto3" json:"excludeGlobals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Queries []string `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` + ExcludeGlobals bool `protobuf:"varint,3,opt,name=excludeGlobals,proto3" json:"excludeGlobals,omitempty"` } -func (m *GetEnvironmentPropertiesRequest) Reset() { *m = GetEnvironmentPropertiesRequest{} } -func (m *GetEnvironmentPropertiesRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentPropertiesRequest) ProtoMessage() {} -func (*GetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{36} -} -func (m *GetEnvironmentPropertiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentPropertiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentPropertiesRequest) Reset() { + *x = GetEnvironmentPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentPropertiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentPropertiesRequest.Merge(m, src) -} -func (m *GetEnvironmentPropertiesRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentPropertiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentPropertiesRequest.DiscardUnknown(m) + +func (*GetEnvironmentPropertiesRequest) ProtoMessage() {} + +func (x *GetEnvironmentPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[36] + 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) } -var xxx_messageInfo_GetEnvironmentPropertiesRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentPropertiesRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{36} +} -func (m *GetEnvironmentPropertiesRequest) GetId() string { - if m != nil { - return m.Id +func (x *GetEnvironmentPropertiesRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *GetEnvironmentPropertiesRequest) GetQueries() []string { - if m != nil { - return m.Queries +func (x *GetEnvironmentPropertiesRequest) GetQueries() []string { + if x != nil { + return x.Queries } return nil } -func (m *GetEnvironmentPropertiesRequest) GetExcludeGlobals() bool { - if m != nil { - return m.ExcludeGlobals +func (x *GetEnvironmentPropertiesRequest) GetExcludeGlobals() bool { + if x != nil { + return x.ExcludeGlobals } return false } type GetEnvironmentPropertiesReply struct { - Properties map[string]string `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Properties map[string]string `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *GetEnvironmentPropertiesReply) Reset() { *m = GetEnvironmentPropertiesReply{} } -func (m *GetEnvironmentPropertiesReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentPropertiesReply) ProtoMessage() {} -func (*GetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{37} -} -func (m *GetEnvironmentPropertiesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentPropertiesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentPropertiesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentPropertiesReply) Reset() { + *x = GetEnvironmentPropertiesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentPropertiesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentPropertiesReply.Merge(m, src) -} -func (m *GetEnvironmentPropertiesReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentPropertiesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentPropertiesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentPropertiesReply.DiscardUnknown(m) + +func (*GetEnvironmentPropertiesReply) ProtoMessage() {} + +func (x *GetEnvironmentPropertiesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[37] + 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) } -var xxx_messageInfo_GetEnvironmentPropertiesReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentPropertiesReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{37} +} -func (m *GetEnvironmentPropertiesReply) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *GetEnvironmentPropertiesReply) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } @@ -2378,757 +2448,756 @@ func (m *GetEnvironmentPropertiesReply) GetProperties() map[string]string { // Tasks //////////////////////////////////////// type ShortTaskInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` - TaskId string `protobuf:"bytes,3,opt,name=taskId,proto3" json:"taskId,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` - ClassName string `protobuf:"bytes,6,opt,name=className,proto3" json:"className,omitempty"` - DeploymentInfo *TaskDeploymentInfo `protobuf:"bytes,7,opt,name=deploymentInfo,proto3" json:"deploymentInfo,omitempty"` - Pid string `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ShortTaskInfo) Reset() { *m = ShortTaskInfo{} } -func (m *ShortTaskInfo) String() string { return proto.CompactTextString(m) } -func (*ShortTaskInfo) ProtoMessage() {} -func (*ShortTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{38} -} -func (m *ShortTaskInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShortTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShortTaskInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` + TaskId string `protobuf:"bytes,3,opt,name=taskId,proto3" json:"taskId,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` + State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + ClassName string `protobuf:"bytes,6,opt,name=className,proto3" json:"className,omitempty"` + DeploymentInfo *TaskDeploymentInfo `protobuf:"bytes,7,opt,name=deploymentInfo,proto3" json:"deploymentInfo,omitempty"` + Pid string `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid,omitempty"` } -func (m *ShortTaskInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShortTaskInfo.Merge(m, src) + +func (x *ShortTaskInfo) Reset() { + *x = ShortTaskInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShortTaskInfo) XXX_Size() int { - return m.Size() + +func (x *ShortTaskInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShortTaskInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShortTaskInfo.DiscardUnknown(m) + +func (*ShortTaskInfo) ProtoMessage() {} + +func (x *ShortTaskInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[38] + 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) } -var xxx_messageInfo_ShortTaskInfo proto.InternalMessageInfo +// Deprecated: Use ShortTaskInfo.ProtoReflect.Descriptor instead. +func (*ShortTaskInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{38} +} -func (m *ShortTaskInfo) GetName() string { - if m != nil { - return m.Name +func (x *ShortTaskInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ShortTaskInfo) GetLocked() bool { - if m != nil { - return m.Locked +func (x *ShortTaskInfo) GetLocked() bool { + if x != nil { + return x.Locked } return false } -func (m *ShortTaskInfo) GetTaskId() string { - if m != nil { - return m.TaskId +func (x *ShortTaskInfo) GetTaskId() string { + if x != nil { + return x.TaskId } return "" } -func (m *ShortTaskInfo) GetStatus() string { - if m != nil { - return m.Status +func (x *ShortTaskInfo) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *ShortTaskInfo) GetState() string { - if m != nil { - return m.State +func (x *ShortTaskInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ShortTaskInfo) GetClassName() string { - if m != nil { - return m.ClassName +func (x *ShortTaskInfo) GetClassName() string { + if x != nil { + return x.ClassName } return "" } -func (m *ShortTaskInfo) GetDeploymentInfo() *TaskDeploymentInfo { - if m != nil { - return m.DeploymentInfo +func (x *ShortTaskInfo) GetDeploymentInfo() *TaskDeploymentInfo { + if x != nil { + return x.DeploymentInfo } return nil } -func (m *ShortTaskInfo) GetPid() string { - if m != nil { - return m.Pid +func (x *ShortTaskInfo) GetPid() string { + if x != nil { + return x.Pid } return "" } type TaskDeploymentInfo struct { - Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` - AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId,omitempty"` - OfferId string `protobuf:"bytes,3,opt,name=offerId,proto3" json:"offerId,omitempty"` - ExecutorId string `protobuf:"bytes,4,opt,name=executorId,proto3" json:"executorId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskDeploymentInfo) Reset() { *m = TaskDeploymentInfo{} } -func (m *TaskDeploymentInfo) String() string { return proto.CompactTextString(m) } -func (*TaskDeploymentInfo) ProtoMessage() {} -func (*TaskDeploymentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{39} -} -func (m *TaskDeploymentInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskDeploymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskDeploymentInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` + AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId,omitempty"` + OfferId string `protobuf:"bytes,3,opt,name=offerId,proto3" json:"offerId,omitempty"` + ExecutorId string `protobuf:"bytes,4,opt,name=executorId,proto3" json:"executorId,omitempty"` } -func (m *TaskDeploymentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskDeploymentInfo.Merge(m, src) + +func (x *TaskDeploymentInfo) Reset() { + *x = TaskDeploymentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskDeploymentInfo) XXX_Size() int { - return m.Size() + +func (x *TaskDeploymentInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskDeploymentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskDeploymentInfo.DiscardUnknown(m) + +func (*TaskDeploymentInfo) ProtoMessage() {} + +func (x *TaskDeploymentInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[39] + 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) } -var xxx_messageInfo_TaskDeploymentInfo proto.InternalMessageInfo +// Deprecated: Use TaskDeploymentInfo.ProtoReflect.Descriptor instead. +func (*TaskDeploymentInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{39} +} -func (m *TaskDeploymentInfo) GetHostname() string { - if m != nil { - return m.Hostname +func (x *TaskDeploymentInfo) GetHostname() string { + if x != nil { + return x.Hostname } return "" } -func (m *TaskDeploymentInfo) GetAgentId() string { - if m != nil { - return m.AgentId +func (x *TaskDeploymentInfo) GetAgentId() string { + if x != nil { + return x.AgentId } return "" } -func (m *TaskDeploymentInfo) GetOfferId() string { - if m != nil { - return m.OfferId +func (x *TaskDeploymentInfo) GetOfferId() string { + if x != nil { + return x.OfferId } return "" } -func (m *TaskDeploymentInfo) GetExecutorId() string { - if m != nil { - return m.ExecutorId +func (x *TaskDeploymentInfo) GetExecutorId() string { + if x != nil { + return x.ExecutorId } return "" } type GetTasksRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetTasksRequest) Reset() { *m = GetTasksRequest{} } -func (m *GetTasksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTasksRequest) ProtoMessage() {} -func (*GetTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{40} -} -func (m *GetTasksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTasksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTasksRequest) Reset() { + *x = GetTasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTasksRequest.Merge(m, src) -} -func (m *GetTasksRequest) XXX_Size() int { - return m.Size() + +func (x *GetTasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTasksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTasksRequest.DiscardUnknown(m) + +func (*GetTasksRequest) ProtoMessage() {} + +func (x *GetTasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[40] + 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) } -var xxx_messageInfo_GetTasksRequest proto.InternalMessageInfo +// Deprecated: Use GetTasksRequest.ProtoReflect.Descriptor instead. +func (*GetTasksRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{40} +} type GetTasksReply struct { - Tasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *GetTasksReply) Reset() { *m = GetTasksReply{} } -func (m *GetTasksReply) String() string { return proto.CompactTextString(m) } -func (*GetTasksReply) ProtoMessage() {} -func (*GetTasksReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{41} -} -func (m *GetTasksReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTasksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTasksReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTasksReply) Reset() { + *x = GetTasksReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTasksReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTasksReply.Merge(m, src) -} -func (m *GetTasksReply) XXX_Size() int { - return m.Size() + +func (x *GetTasksReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTasksReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetTasksReply.DiscardUnknown(m) + +func (*GetTasksReply) ProtoMessage() {} + +func (x *GetTasksReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[41] + 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) } -var xxx_messageInfo_GetTasksReply proto.InternalMessageInfo +// Deprecated: Use GetTasksReply.ProtoReflect.Descriptor instead. +func (*GetTasksReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{41} +} -func (m *GetTasksReply) GetTasks() []*ShortTaskInfo { - if m != nil { - return m.Tasks +func (x *GetTasksReply) GetTasks() []*ShortTaskInfo { + if x != nil { + return x.Tasks } return nil } type GetTaskRequest struct { - TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` } -func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{42} -} -func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTaskRequest) Reset() { + *x = GetTaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, src) -} -func (m *GetTaskRequest) XXX_Size() int { - return m.Size() + +func (x *GetTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) + +func (*GetTaskRequest) ProtoMessage() {} + +func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[42] + 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) } -var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo +// Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead. +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{42} +} -func (m *GetTaskRequest) GetTaskId() string { - if m != nil { - return m.TaskId +func (x *GetTaskRequest) GetTaskId() string { + if x != nil { + return x.TaskId } return "" } type GetTaskReply struct { - Task *TaskInfo `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Task *TaskInfo `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` } -func (m *GetTaskReply) Reset() { *m = GetTaskReply{} } -func (m *GetTaskReply) String() string { return proto.CompactTextString(m) } -func (*GetTaskReply) ProtoMessage() {} -func (*GetTaskReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{43} -} -func (m *GetTaskReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTaskReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTaskReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTaskReply) Reset() { + *x = GetTaskReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTaskReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskReply.Merge(m, src) -} -func (m *GetTaskReply) XXX_Size() int { - return m.Size() + +func (x *GetTaskReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskReply.DiscardUnknown(m) + +func (*GetTaskReply) ProtoMessage() {} + +func (x *GetTaskReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[43] + 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) } -var xxx_messageInfo_GetTaskReply proto.InternalMessageInfo +// Deprecated: Use GetTaskReply.ProtoReflect.Descriptor instead. +func (*GetTaskReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{43} +} -func (m *GetTaskReply) GetTask() *TaskInfo { - if m != nil { - return m.Task +func (x *GetTaskReply) GetTask() *TaskInfo { + if x != nil { + return x.Task } return nil } type TaskClassInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ControlMode string `protobuf:"bytes,2,opt,name=controlMode,proto3" json:"controlMode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ControlMode string `protobuf:"bytes,2,opt,name=controlMode,proto3" json:"controlMode,omitempty"` } -func (m *TaskClassInfo) Reset() { *m = TaskClassInfo{} } -func (m *TaskClassInfo) String() string { return proto.CompactTextString(m) } -func (*TaskClassInfo) ProtoMessage() {} -func (*TaskClassInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{44} -} -func (m *TaskClassInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskClassInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TaskClassInfo) Reset() { + *x = TaskClassInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TaskClassInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskClassInfo.Merge(m, src) -} -func (m *TaskClassInfo) XXX_Size() int { - return m.Size() + +func (x *TaskClassInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskClassInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskClassInfo.DiscardUnknown(m) + +func (*TaskClassInfo) ProtoMessage() {} + +func (x *TaskClassInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[44] + 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) } -var xxx_messageInfo_TaskClassInfo proto.InternalMessageInfo +// Deprecated: Use TaskClassInfo.ProtoReflect.Descriptor instead. +func (*TaskClassInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{44} +} -func (m *TaskClassInfo) GetName() string { - if m != nil { - return m.Name +func (x *TaskClassInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *TaskClassInfo) GetControlMode() string { - if m != nil { - return m.ControlMode +func (x *TaskClassInfo) GetControlMode() string { + if x != nil { + return x.ControlMode } return "" } type CommandInfo struct { - Env []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"` - Shell bool `protobuf:"varint,2,opt,name=shell,proto3" json:"shell,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` - User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommandInfo) Reset() { *m = CommandInfo{} } -func (m *CommandInfo) String() string { return proto.CompactTextString(m) } -func (*CommandInfo) ProtoMessage() {} -func (*CommandInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{45} -} -func (m *CommandInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CommandInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CommandInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Env []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"` + Shell bool `protobuf:"varint,2,opt,name=shell,proto3" json:"shell,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` + User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` } -func (m *CommandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandInfo.Merge(m, src) + +func (x *CommandInfo) Reset() { + *x = CommandInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommandInfo) XXX_Size() int { - return m.Size() + +func (x *CommandInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommandInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CommandInfo.DiscardUnknown(m) + +func (*CommandInfo) ProtoMessage() {} + +func (x *CommandInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[45] + 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) } -var xxx_messageInfo_CommandInfo proto.InternalMessageInfo +// Deprecated: Use CommandInfo.ProtoReflect.Descriptor instead. +func (*CommandInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{45} +} -func (m *CommandInfo) GetEnv() []string { - if m != nil { - return m.Env +func (x *CommandInfo) GetEnv() []string { + if x != nil { + return x.Env } return nil } -func (m *CommandInfo) GetShell() bool { - if m != nil { - return m.Shell +func (x *CommandInfo) GetShell() bool { + if x != nil { + return x.Shell } return false } -func (m *CommandInfo) GetValue() string { - if m != nil { - return m.Value +func (x *CommandInfo) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *CommandInfo) GetArguments() []string { - if m != nil { - return m.Arguments +func (x *CommandInfo) GetArguments() []string { + if x != nil { + return x.Arguments } return nil } -func (m *CommandInfo) GetUser() string { - if m != nil { - return m.User +func (x *CommandInfo) GetUser() string { + if x != nil { + return x.User } return "" } type ChannelInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ChannelInfo) Reset() { *m = ChannelInfo{} } -func (m *ChannelInfo) String() string { return proto.CompactTextString(m) } -func (*ChannelInfo) ProtoMessage() {} -func (*ChannelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{46} -} -func (m *ChannelInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChannelInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ChannelInfo) Reset() { + *x = ChannelInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelInfo.Merge(m, src) -} -func (m *ChannelInfo) XXX_Size() int { - return m.Size() + +func (x *ChannelInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChannelInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelInfo.DiscardUnknown(m) + +func (*ChannelInfo) ProtoMessage() {} + +func (x *ChannelInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[46] + 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) } -var xxx_messageInfo_ChannelInfo proto.InternalMessageInfo +// Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead. +func (*ChannelInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{46} +} -func (m *ChannelInfo) GetName() string { - if m != nil { - return m.Name +func (x *ChannelInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ChannelInfo) GetType() string { - if m != nil { - return m.Type +func (x *ChannelInfo) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ChannelInfo) GetTarget() string { - if m != nil { - return m.Target +func (x *ChannelInfo) GetTarget() string { + if x != nil { + return x.Target } return "" } type TaskInfo struct { - ShortInfo *ShortTaskInfo `protobuf:"bytes,1,opt,name=shortInfo,proto3" json:"shortInfo,omitempty"` - ClassInfo *TaskClassInfo `protobuf:"bytes,2,opt,name=classInfo,proto3" json:"classInfo,omitempty"` - InboundChannels []*ChannelInfo `protobuf:"bytes,3,rep,name=inboundChannels,proto3" json:"inboundChannels,omitempty"` - OutboundChannels []*ChannelInfo `protobuf:"bytes,4,rep,name=outboundChannels,proto3" json:"outboundChannels,omitempty"` - CommandInfo *CommandInfo `protobuf:"bytes,5,opt,name=commandInfo,proto3" json:"commandInfo,omitempty"` - TaskPath string `protobuf:"bytes,6,opt,name=taskPath,proto3" json:"taskPath,omitempty"` - EnvId string `protobuf:"bytes,7,opt,name=envId,proto3" json:"envId,omitempty"` - Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskInfo) Reset() { *m = TaskInfo{} } -func (m *TaskInfo) String() string { return proto.CompactTextString(m) } -func (*TaskInfo) ProtoMessage() {} -func (*TaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{47} -} -func (m *TaskInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *TaskInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskInfo.Merge(m, src) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShortInfo *ShortTaskInfo `protobuf:"bytes,1,opt,name=shortInfo,proto3" json:"shortInfo,omitempty"` + ClassInfo *TaskClassInfo `protobuf:"bytes,2,opt,name=classInfo,proto3" json:"classInfo,omitempty"` + InboundChannels []*ChannelInfo `protobuf:"bytes,3,rep,name=inboundChannels,proto3" json:"inboundChannels,omitempty"` + OutboundChannels []*ChannelInfo `protobuf:"bytes,4,rep,name=outboundChannels,proto3" json:"outboundChannels,omitempty"` + CommandInfo *CommandInfo `protobuf:"bytes,5,opt,name=commandInfo,proto3" json:"commandInfo,omitempty"` + TaskPath string `protobuf:"bytes,6,opt,name=taskPath,proto3" json:"taskPath,omitempty"` + EnvId string `protobuf:"bytes,7,opt,name=envId,proto3" json:"envId,omitempty"` + Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *TaskInfo) XXX_Size() int { - return m.Size() + +func (x *TaskInfo) Reset() { + *x = TaskInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskInfo.DiscardUnknown(m) + +func (x *TaskInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TaskInfo proto.InternalMessageInfo +func (*TaskInfo) ProtoMessage() {} -func (m *TaskInfo) GetShortInfo() *ShortTaskInfo { - if m != nil { - return m.ShortInfo +func (x *TaskInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *TaskInfo) GetClassInfo() *TaskClassInfo { - if m != nil { - return m.ClassInfo - } +// Deprecated: Use TaskInfo.ProtoReflect.Descriptor instead. +func (*TaskInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{47} +} + +func (x *TaskInfo) GetShortInfo() *ShortTaskInfo { + if x != nil { + return x.ShortInfo + } return nil } -func (m *TaskInfo) GetInboundChannels() []*ChannelInfo { - if m != nil { - return m.InboundChannels +func (x *TaskInfo) GetClassInfo() *TaskClassInfo { + if x != nil { + return x.ClassInfo } return nil } -func (m *TaskInfo) GetOutboundChannels() []*ChannelInfo { - if m != nil { - return m.OutboundChannels +func (x *TaskInfo) GetInboundChannels() []*ChannelInfo { + if x != nil { + return x.InboundChannels } return nil } -func (m *TaskInfo) GetCommandInfo() *CommandInfo { - if m != nil { - return m.CommandInfo +func (x *TaskInfo) GetOutboundChannels() []*ChannelInfo { + if x != nil { + return x.OutboundChannels } return nil } -func (m *TaskInfo) GetTaskPath() string { - if m != nil { - return m.TaskPath +func (x *TaskInfo) GetCommandInfo() *CommandInfo { + if x != nil { + return x.CommandInfo + } + return nil +} + +func (x *TaskInfo) GetTaskPath() string { + if x != nil { + return x.TaskPath } return "" } -func (m *TaskInfo) GetEnvId() string { - if m != nil { - return m.EnvId +func (x *TaskInfo) GetEnvId() string { + if x != nil { + return x.EnvId } return "" } -func (m *TaskInfo) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *TaskInfo) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } type CleanupTasksRequest struct { - TaskIds []string `protobuf:"bytes,1,rep,name=taskIds,proto3" json:"taskIds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TaskIds []string `protobuf:"bytes,1,rep,name=taskIds,proto3" json:"taskIds,omitempty"` } -func (m *CleanupTasksRequest) Reset() { *m = CleanupTasksRequest{} } -func (m *CleanupTasksRequest) String() string { return proto.CompactTextString(m) } -func (*CleanupTasksRequest) ProtoMessage() {} -func (*CleanupTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{48} -} -func (m *CleanupTasksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CleanupTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CleanupTasksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CleanupTasksRequest) Reset() { + *x = CleanupTasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CleanupTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupTasksRequest.Merge(m, src) -} -func (m *CleanupTasksRequest) XXX_Size() int { - return m.Size() + +func (x *CleanupTasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CleanupTasksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupTasksRequest.DiscardUnknown(m) + +func (*CleanupTasksRequest) ProtoMessage() {} + +func (x *CleanupTasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[48] + 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) } -var xxx_messageInfo_CleanupTasksRequest proto.InternalMessageInfo +// Deprecated: Use CleanupTasksRequest.ProtoReflect.Descriptor instead. +func (*CleanupTasksRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{48} +} -func (m *CleanupTasksRequest) GetTaskIds() []string { - if m != nil { - return m.TaskIds +func (x *CleanupTasksRequest) GetTaskIds() []string { + if x != nil { + return x.TaskIds } return nil } type CleanupTasksReply struct { - KilledTasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=killedTasks,proto3" json:"killedTasks,omitempty"` - RunningTasks []*ShortTaskInfo `protobuf:"bytes,2,rep,name=runningTasks,proto3" json:"runningTasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KilledTasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=killedTasks,proto3" json:"killedTasks,omitempty"` + RunningTasks []*ShortTaskInfo `protobuf:"bytes,2,rep,name=runningTasks,proto3" json:"runningTasks,omitempty"` } -func (m *CleanupTasksReply) Reset() { *m = CleanupTasksReply{} } -func (m *CleanupTasksReply) String() string { return proto.CompactTextString(m) } -func (*CleanupTasksReply) ProtoMessage() {} -func (*CleanupTasksReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{49} -} -func (m *CleanupTasksReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CleanupTasksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CleanupTasksReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CleanupTasksReply) Reset() { + *x = CleanupTasksReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CleanupTasksReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupTasksReply.Merge(m, src) -} -func (m *CleanupTasksReply) XXX_Size() int { - return m.Size() + +func (x *CleanupTasksReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CleanupTasksReply) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupTasksReply.DiscardUnknown(m) + +func (*CleanupTasksReply) ProtoMessage() {} + +func (x *CleanupTasksReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[49] + 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) } -var xxx_messageInfo_CleanupTasksReply proto.InternalMessageInfo +// Deprecated: Use CleanupTasksReply.ProtoReflect.Descriptor instead. +func (*CleanupTasksReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{49} +} -func (m *CleanupTasksReply) GetKilledTasks() []*ShortTaskInfo { - if m != nil { - return m.KilledTasks +func (x *CleanupTasksReply) GetKilledTasks() []*ShortTaskInfo { + if x != nil { + return x.KilledTasks } return nil } -func (m *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { - if m != nil { - return m.RunningTasks +func (x *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { + if x != nil { + return x.RunningTasks } return nil } @@ -3137,1331 +3206,2769 @@ func (m *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { // Roles //////////////////////////////////////// type GetRolesRequest struct { - EnvId string `protobuf:"bytes,1,opt,name=envId,proto3" json:"envId,omitempty"` - PathSpec string `protobuf:"bytes,2,opt,name=pathSpec,proto3" json:"pathSpec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnvId string `protobuf:"bytes,1,opt,name=envId,proto3" json:"envId,omitempty"` + PathSpec string `protobuf:"bytes,2,opt,name=pathSpec,proto3" json:"pathSpec,omitempty"` } -func (m *GetRolesRequest) Reset() { *m = GetRolesRequest{} } -func (m *GetRolesRequest) String() string { return proto.CompactTextString(m) } -func (*GetRolesRequest) ProtoMessage() {} -func (*GetRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{50} -} -func (m *GetRolesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesRequest) Reset() { + *x = GetRolesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesRequest.Merge(m, src) -} -func (m *GetRolesRequest) XXX_Size() int { - return m.Size() + +func (x *GetRolesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesRequest.DiscardUnknown(m) + +func (*GetRolesRequest) ProtoMessage() {} + +func (x *GetRolesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[50] + 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) } -var xxx_messageInfo_GetRolesRequest proto.InternalMessageInfo +// Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead. +func (*GetRolesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{50} +} -func (m *GetRolesRequest) GetEnvId() string { - if m != nil { - return m.EnvId +func (x *GetRolesRequest) GetEnvId() string { + if x != nil { + return x.EnvId } return "" } -func (m *GetRolesRequest) GetPathSpec() string { - if m != nil { - return m.PathSpec +func (x *GetRolesRequest) GetPathSpec() string { + if x != nil { + return x.PathSpec } return "" } type RoleInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - FullPath string `protobuf:"bytes,4,opt,name=fullPath,proto3" json:"fullPath,omitempty"` - TaskIds []string `protobuf:"bytes,5,rep,name=taskIds,proto3" json:"taskIds,omitempty"` - Roles []*RoleInfo `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` - Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RoleInfo) Reset() { *m = RoleInfo{} } -func (m *RoleInfo) String() string { return proto.CompactTextString(m) } -func (*RoleInfo) ProtoMessage() {} -func (*RoleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{51} -} -func (m *RoleInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RoleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RoleInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + FullPath string `protobuf:"bytes,4,opt,name=fullPath,proto3" json:"fullPath,omitempty"` + TaskIds []string `protobuf:"bytes,5,rep,name=taskIds,proto3" json:"taskIds,omitempty"` + Roles []*RoleInfo `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` + Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *RoleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoleInfo.Merge(m, src) + +func (x *RoleInfo) Reset() { + *x = RoleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RoleInfo) XXX_Size() int { - return m.Size() + +func (x *RoleInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RoleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RoleInfo.DiscardUnknown(m) + +func (*RoleInfo) ProtoMessage() {} + +func (x *RoleInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[51] + 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) } -var xxx_messageInfo_RoleInfo proto.InternalMessageInfo +// Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead. +func (*RoleInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{51} +} -func (m *RoleInfo) GetName() string { - if m != nil { - return m.Name +func (x *RoleInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *RoleInfo) GetStatus() string { - if m != nil { - return m.Status +func (x *RoleInfo) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *RoleInfo) GetState() string { - if m != nil { - return m.State +func (x *RoleInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *RoleInfo) GetFullPath() string { - if m != nil { - return m.FullPath +func (x *RoleInfo) GetFullPath() string { + if x != nil { + return x.FullPath } return "" } -func (m *RoleInfo) GetTaskIds() []string { - if m != nil { - return m.TaskIds +func (x *RoleInfo) GetTaskIds() []string { + if x != nil { + return x.TaskIds } return nil } -func (m *RoleInfo) GetRoles() []*RoleInfo { - if m != nil { - return m.Roles +func (x *RoleInfo) GetRoles() []*RoleInfo { + if x != nil { + return x.Roles } return nil } -func (m *RoleInfo) GetDefaults() map[string]string { - if m != nil { - return m.Defaults +func (x *RoleInfo) GetDefaults() map[string]string { + if x != nil { + return x.Defaults } return nil } -func (m *RoleInfo) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *RoleInfo) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } -func (m *RoleInfo) GetUserVars() map[string]string { - if m != nil { - return m.UserVars +func (x *RoleInfo) GetUserVars() map[string]string { + if x != nil { + return x.UserVars } return nil } type GetRolesReply struct { - Roles []*RoleInfo `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Roles []*RoleInfo `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` } -func (m *GetRolesReply) Reset() { *m = GetRolesReply{} } -func (m *GetRolesReply) String() string { return proto.CompactTextString(m) } -func (*GetRolesReply) ProtoMessage() {} -func (*GetRolesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{52} -} -func (m *GetRolesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesReply) Reset() { + *x = GetRolesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesReply.Merge(m, src) -} -func (m *GetRolesReply) XXX_Size() int { - return m.Size() + +func (x *GetRolesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesReply.DiscardUnknown(m) + +func (*GetRolesReply) ProtoMessage() {} + +func (x *GetRolesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[52] + 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) } -var xxx_messageInfo_GetRolesReply proto.InternalMessageInfo +// Deprecated: Use GetRolesReply.ProtoReflect.Descriptor instead. +func (*GetRolesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{52} +} -func (m *GetRolesReply) GetRoles() []*RoleInfo { - if m != nil { - return m.Roles +func (x *GetRolesReply) GetRoles() []*RoleInfo { + if x != nil { + return x.Roles } return nil } type GetWorkflowTemplatesRequest struct { - RepoPattern string `protobuf:"bytes,1,opt,name=repoPattern,proto3" json:"repoPattern,omitempty"` - RevisionPattern string `protobuf:"bytes,2,opt,name=revisionPattern,proto3" json:"revisionPattern,omitempty"` - AllBranches bool `protobuf:"varint,3,opt,name=allBranches,proto3" json:"allBranches,omitempty"` - AllTags bool `protobuf:"varint,4,opt,name=allTags,proto3" json:"allTags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetWorkflowTemplatesRequest) Reset() { *m = GetWorkflowTemplatesRequest{} } -func (m *GetWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*GetWorkflowTemplatesRequest) ProtoMessage() {} -func (*GetWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{53} -} -func (m *GetWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetWorkflowTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetWorkflowTemplatesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoPattern string `protobuf:"bytes,1,opt,name=repoPattern,proto3" json:"repoPattern,omitempty"` + RevisionPattern string `protobuf:"bytes,2,opt,name=revisionPattern,proto3" json:"revisionPattern,omitempty"` + AllBranches bool `protobuf:"varint,3,opt,name=allBranches,proto3" json:"allBranches,omitempty"` + AllTags bool `protobuf:"varint,4,opt,name=allTags,proto3" json:"allTags,omitempty"` } -func (m *GetWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplatesRequest.Merge(m, src) + +func (x *GetWorkflowTemplatesRequest) Reset() { + *x = GetWorkflowTemplatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetWorkflowTemplatesRequest) XXX_Size() int { - return m.Size() + +func (x *GetWorkflowTemplatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetWorkflowTemplatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetWorkflowTemplatesRequest.DiscardUnknown(m) + +func (*GetWorkflowTemplatesRequest) ProtoMessage() {} + +func (x *GetWorkflowTemplatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[53] + 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) } -var xxx_messageInfo_GetWorkflowTemplatesRequest proto.InternalMessageInfo +// Deprecated: Use GetWorkflowTemplatesRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{53} +} -func (m *GetWorkflowTemplatesRequest) GetRepoPattern() string { - if m != nil { - return m.RepoPattern +func (x *GetWorkflowTemplatesRequest) GetRepoPattern() string { + if x != nil { + return x.RepoPattern } return "" } -func (m *GetWorkflowTemplatesRequest) GetRevisionPattern() string { - if m != nil { - return m.RevisionPattern +func (x *GetWorkflowTemplatesRequest) GetRevisionPattern() string { + if x != nil { + return x.RevisionPattern } return "" } -func (m *GetWorkflowTemplatesRequest) GetAllBranches() bool { - if m != nil { - return m.AllBranches +func (x *GetWorkflowTemplatesRequest) GetAllBranches() bool { + if x != nil { + return x.AllBranches } return false } -func (m *GetWorkflowTemplatesRequest) GetAllTags() bool { - if m != nil { - return m.AllTags +func (x *GetWorkflowTemplatesRequest) GetAllTags() bool { + if x != nil { + return x.AllTags } return false } type WorkflowTemplateInfo struct { - Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` - Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` - Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` + Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *WorkflowTemplateInfo) Reset() { *m = WorkflowTemplateInfo{} } -func (m *WorkflowTemplateInfo) String() string { return proto.CompactTextString(m) } -func (*WorkflowTemplateInfo) ProtoMessage() {} -func (*WorkflowTemplateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{54} -} -func (m *WorkflowTemplateInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *WorkflowTemplateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WorkflowTemplateInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *WorkflowTemplateInfo) Reset() { + *x = WorkflowTemplateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *WorkflowTemplateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplateInfo.Merge(m, src) -} -func (m *WorkflowTemplateInfo) XXX_Size() int { - return m.Size() + +func (x *WorkflowTemplateInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowTemplateInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowTemplateInfo.DiscardUnknown(m) + +func (*WorkflowTemplateInfo) ProtoMessage() {} + +func (x *WorkflowTemplateInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[54] + 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) } -var xxx_messageInfo_WorkflowTemplateInfo proto.InternalMessageInfo +// Deprecated: Use WorkflowTemplateInfo.ProtoReflect.Descriptor instead. +func (*WorkflowTemplateInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{54} +} -func (m *WorkflowTemplateInfo) GetRepo() string { - if m != nil { - return m.Repo +func (x *WorkflowTemplateInfo) GetRepo() string { + if x != nil { + return x.Repo } return "" } -func (m *WorkflowTemplateInfo) GetTemplate() string { - if m != nil { - return m.Template +func (x *WorkflowTemplateInfo) GetTemplate() string { + if x != nil { + return x.Template } return "" } -func (m *WorkflowTemplateInfo) GetRevision() string { - if m != nil { - return m.Revision +func (x *WorkflowTemplateInfo) GetRevision() string { + if x != nil { + return x.Revision } return "" } type GetWorkflowTemplatesReply struct { - WorkflowTemplates []*WorkflowTemplateInfo `protobuf:"bytes,1,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkflowTemplates []*WorkflowTemplateInfo `protobuf:"bytes,1,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` } -func (m *GetWorkflowTemplatesReply) Reset() { *m = GetWorkflowTemplatesReply{} } -func (m *GetWorkflowTemplatesReply) String() string { return proto.CompactTextString(m) } -func (*GetWorkflowTemplatesReply) ProtoMessage() {} -func (*GetWorkflowTemplatesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{55} -} -func (m *GetWorkflowTemplatesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetWorkflowTemplatesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetWorkflowTemplatesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetWorkflowTemplatesReply) Reset() { + *x = GetWorkflowTemplatesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetWorkflowTemplatesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplatesReply.Merge(m, src) -} -func (m *GetWorkflowTemplatesReply) XXX_Size() int { - return m.Size() + +func (x *GetWorkflowTemplatesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetWorkflowTemplatesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetWorkflowTemplatesReply.DiscardUnknown(m) + +func (*GetWorkflowTemplatesReply) ProtoMessage() {} + +func (x *GetWorkflowTemplatesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[55] + 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) } -var xxx_messageInfo_GetWorkflowTemplatesReply proto.InternalMessageInfo +// Deprecated: Use GetWorkflowTemplatesReply.ProtoReflect.Descriptor instead. +func (*GetWorkflowTemplatesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{55} +} -func (m *GetWorkflowTemplatesReply) GetWorkflowTemplates() []*WorkflowTemplateInfo { - if m != nil { - return m.WorkflowTemplates +func (x *GetWorkflowTemplatesReply) GetWorkflowTemplates() []*WorkflowTemplateInfo { + if x != nil { + return x.WorkflowTemplates } return nil } type ListReposRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListReposRequest) Reset() { *m = ListReposRequest{} } -func (m *ListReposRequest) String() string { return proto.CompactTextString(m) } -func (*ListReposRequest) ProtoMessage() {} -func (*ListReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{56} -} -func (m *ListReposRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReposRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListReposRequest) Reset() { + *x = ListReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposRequest.Merge(m, src) -} -func (m *ListReposRequest) XXX_Size() int { - return m.Size() + +func (x *ListReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposRequest.DiscardUnknown(m) + +func (*ListReposRequest) ProtoMessage() {} + +func (x *ListReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[56] + 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) } -var xxx_messageInfo_ListReposRequest proto.InternalMessageInfo +// Deprecated: Use ListReposRequest.ProtoReflect.Descriptor instead. +func (*ListReposRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{56} +} type RepoInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` - DefaultRevision string `protobuf:"bytes,3,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` + DefaultRevision string `protobuf:"bytes,3,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` } -func (m *RepoInfo) Reset() { *m = RepoInfo{} } -func (m *RepoInfo) String() string { return proto.CompactTextString(m) } -func (*RepoInfo) ProtoMessage() {} -func (*RepoInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{57} -} -func (m *RepoInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RepoInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RepoInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RepoInfo) Reset() { + *x = RepoInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RepoInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoInfo.Merge(m, src) -} -func (m *RepoInfo) XXX_Size() int { - return m.Size() + +func (x *RepoInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepoInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RepoInfo.DiscardUnknown(m) + +func (*RepoInfo) ProtoMessage() {} + +func (x *RepoInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[57] + 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) } -var xxx_messageInfo_RepoInfo proto.InternalMessageInfo +// Deprecated: Use RepoInfo.ProtoReflect.Descriptor instead. +func (*RepoInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{57} +} -func (m *RepoInfo) GetName() string { - if m != nil { - return m.Name +func (x *RepoInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *RepoInfo) GetDefault() bool { - if m != nil { - return m.Default +func (x *RepoInfo) GetDefault() bool { + if x != nil { + return x.Default } return false } -func (m *RepoInfo) GetDefaultRevision() string { - if m != nil { - return m.DefaultRevision +func (x *RepoInfo) GetDefaultRevision() string { + if x != nil { + return x.DefaultRevision } return "" } type ListReposReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repos []*RepoInfo `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"` GlobalDefaultRevision string `protobuf:"bytes,2,opt,name=globalDefaultRevision,proto3" json:"globalDefaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ListReposReply) Reset() { *m = ListReposReply{} } -func (m *ListReposReply) String() string { return proto.CompactTextString(m) } -func (*ListReposReply) ProtoMessage() {} -func (*ListReposReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{58} -} -func (m *ListReposReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReposReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReposReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListReposReply) Reset() { + *x = ListReposReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListReposReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposReply.Merge(m, src) -} -func (m *ListReposReply) XXX_Size() int { - return m.Size() + +func (x *ListReposReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReposReply) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposReply.DiscardUnknown(m) + +func (*ListReposReply) ProtoMessage() {} + +func (x *ListReposReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[58] + 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) } -var xxx_messageInfo_ListReposReply proto.InternalMessageInfo +// Deprecated: Use ListReposReply.ProtoReflect.Descriptor instead. +func (*ListReposReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{58} +} -func (m *ListReposReply) GetRepos() []*RepoInfo { - if m != nil { - return m.Repos +func (x *ListReposReply) GetRepos() []*RepoInfo { + if x != nil { + return x.Repos } return nil } -func (m *ListReposReply) GetGlobalDefaultRevision() string { - if m != nil { - return m.GlobalDefaultRevision +func (x *ListReposReply) GetGlobalDefaultRevision() string { + if x != nil { + return x.GlobalDefaultRevision } return "" } type AddRepoRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - DefaultRevision string `protobuf:"bytes,2,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + DefaultRevision string `protobuf:"bytes,2,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` } -func (m *AddRepoRequest) Reset() { *m = AddRepoRequest{} } -func (m *AddRepoRequest) String() string { return proto.CompactTextString(m) } -func (*AddRepoRequest) ProtoMessage() {} -func (*AddRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{59} -} -func (m *AddRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AddRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AddRepoRequest) Reset() { + *x = AddRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AddRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddRepoRequest.Merge(m, src) -} -func (m *AddRepoRequest) XXX_Size() int { - return m.Size() + +func (x *AddRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddRepoRequest.DiscardUnknown(m) + +func (*AddRepoRequest) ProtoMessage() {} + +func (x *AddRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[59] + 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) } -var xxx_messageInfo_AddRepoRequest proto.InternalMessageInfo +// Deprecated: Use AddRepoRequest.ProtoReflect.Descriptor instead. +func (*AddRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{59} +} -func (m *AddRepoRequest) GetName() string { - if m != nil { - return m.Name +func (x *AddRepoRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *AddRepoRequest) GetDefaultRevision() string { - if m != nil { - return m.DefaultRevision +func (x *AddRepoRequest) GetDefaultRevision() string { + if x != nil { + return x.DefaultRevision } return "" } type AddRepoReply struct { - NewDefaultRevision string `protobuf:"bytes,1,opt,name=newDefaultRevision,proto3" json:"newDefaultRevision,omitempty"` - Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewDefaultRevision string `protobuf:"bytes,1,opt,name=newDefaultRevision,proto3" json:"newDefaultRevision,omitempty"` + Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } -func (m *AddRepoReply) Reset() { *m = AddRepoReply{} } -func (m *AddRepoReply) String() string { return proto.CompactTextString(m) } -func (*AddRepoReply) ProtoMessage() {} -func (*AddRepoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{60} -} -func (m *AddRepoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AddRepoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddRepoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AddRepoReply) Reset() { + *x = AddRepoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AddRepoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddRepoReply.Merge(m, src) -} -func (m *AddRepoReply) XXX_Size() int { - return m.Size() + +func (x *AddRepoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddRepoReply) XXX_DiscardUnknown() { - xxx_messageInfo_AddRepoReply.DiscardUnknown(m) + +func (*AddRepoReply) ProtoMessage() {} + +func (x *AddRepoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[60] + 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) } -var xxx_messageInfo_AddRepoReply proto.InternalMessageInfo +// Deprecated: Use AddRepoReply.ProtoReflect.Descriptor instead. +func (*AddRepoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{60} +} -func (m *AddRepoReply) GetNewDefaultRevision() string { - if m != nil { - return m.NewDefaultRevision +func (x *AddRepoReply) GetNewDefaultRevision() string { + if x != nil { + return x.NewDefaultRevision } return "" } -func (m *AddRepoReply) GetInfo() string { - if m != nil { - return m.Info +func (x *AddRepoReply) GetInfo() string { + if x != nil { + return x.Info } return "" } type RemoveRepoRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *RemoveRepoRequest) Reset() { *m = RemoveRepoRequest{} } -func (m *RemoveRepoRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveRepoRequest) ProtoMessage() {} -func (*RemoveRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{61} -} -func (m *RemoveRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RemoveRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RemoveRepoRequest) Reset() { + *x = RemoveRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RemoveRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepoRequest.Merge(m, src) -} -func (m *RemoveRepoRequest) XXX_Size() int { - return m.Size() + +func (x *RemoveRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepoRequest.DiscardUnknown(m) + +func (*RemoveRepoRequest) ProtoMessage() {} + +func (x *RemoveRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveRepoRequest proto.InternalMessageInfo +// Deprecated: Use RemoveRepoRequest.ProtoReflect.Descriptor instead. +func (*RemoveRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{61} +} -func (m *RemoveRepoRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *RemoveRepoRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type RemoveRepoReply struct { - NewDefaultRepo string `protobuf:"bytes,1,opt,name=newDefaultRepo,proto3" json:"newDefaultRepo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewDefaultRepo string `protobuf:"bytes,1,opt,name=newDefaultRepo,proto3" json:"newDefaultRepo,omitempty"` } -func (m *RemoveRepoReply) Reset() { *m = RemoveRepoReply{} } -func (m *RemoveRepoReply) String() string { return proto.CompactTextString(m) } -func (*RemoveRepoReply) ProtoMessage() {} -func (*RemoveRepoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{62} -} -func (m *RemoveRepoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RemoveRepoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveRepoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RemoveRepoReply) Reset() { + *x = RemoveRepoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RemoveRepoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepoReply.Merge(m, src) -} -func (m *RemoveRepoReply) XXX_Size() int { - return m.Size() + +func (x *RemoveRepoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveRepoReply) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepoReply.DiscardUnknown(m) + +func (*RemoveRepoReply) ProtoMessage() {} + +func (x *RemoveRepoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[62] + 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) } -var xxx_messageInfo_RemoveRepoReply proto.InternalMessageInfo +// Deprecated: Use RemoveRepoReply.ProtoReflect.Descriptor instead. +func (*RemoveRepoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{62} +} -func (m *RemoveRepoReply) GetNewDefaultRepo() string { - if m != nil { - return m.NewDefaultRepo +func (x *RemoveRepoReply) GetNewDefaultRepo() string { + if x != nil { + return x.NewDefaultRepo } return "" } type RefreshReposRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *RefreshReposRequest) Reset() { *m = RefreshReposRequest{} } -func (m *RefreshReposRequest) String() string { return proto.CompactTextString(m) } -func (*RefreshReposRequest) ProtoMessage() {} -func (*RefreshReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{63} -} -func (m *RefreshReposRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RefreshReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RefreshReposRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RefreshReposRequest) Reset() { + *x = RefreshReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RefreshReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshReposRequest.Merge(m, src) -} -func (m *RefreshReposRequest) XXX_Size() int { - return m.Size() + +func (x *RefreshReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefreshReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RefreshReposRequest.DiscardUnknown(m) + +func (*RefreshReposRequest) ProtoMessage() {} + +func (x *RefreshReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[63] + 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) } -var xxx_messageInfo_RefreshReposRequest proto.InternalMessageInfo +// Deprecated: Use RefreshReposRequest.ProtoReflect.Descriptor instead. +func (*RefreshReposRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{63} +} -func (m *RefreshReposRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *RefreshReposRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type SetDefaultRepoRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *SetDefaultRepoRequest) Reset() { *m = SetDefaultRepoRequest{} } -func (m *SetDefaultRepoRequest) String() string { return proto.CompactTextString(m) } -func (*SetDefaultRepoRequest) ProtoMessage() {} -func (*SetDefaultRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{64} -} -func (m *SetDefaultRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetDefaultRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetDefaultRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetDefaultRepoRequest) Reset() { + *x = SetDefaultRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetDefaultRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultRepoRequest.Merge(m, src) -} -func (m *SetDefaultRepoRequest) XXX_Size() int { - return m.Size() + +func (x *SetDefaultRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetDefaultRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultRepoRequest.DiscardUnknown(m) + +func (*SetDefaultRepoRequest) ProtoMessage() {} + +func (x *SetDefaultRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[64] + 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) } -var xxx_messageInfo_SetDefaultRepoRequest proto.InternalMessageInfo +// Deprecated: Use SetDefaultRepoRequest.ProtoReflect.Descriptor instead. +func (*SetDefaultRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{64} +} -func (m *SetDefaultRepoRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *SetDefaultRepoRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type SetGlobalDefaultRevisionRequest struct { - Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *SetGlobalDefaultRevisionRequest) Reset() { *m = SetGlobalDefaultRevisionRequest{} } -func (m *SetGlobalDefaultRevisionRequest) String() string { return proto.CompactTextString(m) } -func (*SetGlobalDefaultRevisionRequest) ProtoMessage() {} -func (*SetGlobalDefaultRevisionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{65} -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetGlobalDefaultRevisionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetGlobalDefaultRevisionRequest) Reset() { + *x = SetGlobalDefaultRevisionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetGlobalDefaultRevisionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGlobalDefaultRevisionRequest.Merge(m, src) -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Size() int { - return m.Size() + +func (x *SetGlobalDefaultRevisionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetGlobalDefaultRevisionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetGlobalDefaultRevisionRequest.DiscardUnknown(m) + +func (*SetGlobalDefaultRevisionRequest) ProtoMessage() {} + +func (x *SetGlobalDefaultRevisionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetGlobalDefaultRevisionRequest proto.InternalMessageInfo +// Deprecated: Use SetGlobalDefaultRevisionRequest.ProtoReflect.Descriptor instead. +func (*SetGlobalDefaultRevisionRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{65} +} -func (m *SetGlobalDefaultRevisionRequest) GetRevision() string { - if m != nil { - return m.Revision +func (x *SetGlobalDefaultRevisionRequest) GetRevision() string { + if x != nil { + return x.Revision } return "" } type SetRepoDefaultRevisionRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *SetRepoDefaultRevisionRequest) Reset() { *m = SetRepoDefaultRevisionRequest{} } -func (m *SetRepoDefaultRevisionRequest) String() string { return proto.CompactTextString(m) } -func (*SetRepoDefaultRevisionRequest) ProtoMessage() {} -func (*SetRepoDefaultRevisionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{66} -} -func (m *SetRepoDefaultRevisionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetRepoDefaultRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetRepoDefaultRevisionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetRepoDefaultRevisionRequest) Reset() { + *x = SetRepoDefaultRevisionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetRepoDefaultRevisionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetRepoDefaultRevisionRequest.Merge(m, src) + +func (x *SetRepoDefaultRevisionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetRepoDefaultRevisionRequest) XXX_Size() int { - return m.Size() -} -func (m *SetRepoDefaultRevisionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetRepoDefaultRevisionRequest.DiscardUnknown(m) + +func (*SetRepoDefaultRevisionRequest) ProtoMessage() {} + +func (x *SetRepoDefaultRevisionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[66] + 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) } -var xxx_messageInfo_SetRepoDefaultRevisionRequest proto.InternalMessageInfo +// Deprecated: Use SetRepoDefaultRevisionRequest.ProtoReflect.Descriptor instead. +func (*SetRepoDefaultRevisionRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{66} +} -func (m *SetRepoDefaultRevisionRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *SetRepoDefaultRevisionRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } -func (m *SetRepoDefaultRevisionRequest) GetRevision() string { - if m != nil { - return m.Revision +func (x *SetRepoDefaultRevisionRequest) GetRevision() string { + if x != nil { + return x.Revision } return "" } type SetRepoDefaultRevisionReply struct { - Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` } -func (m *SetRepoDefaultRevisionReply) Reset() { *m = SetRepoDefaultRevisionReply{} } -func (m *SetRepoDefaultRevisionReply) String() string { return proto.CompactTextString(m) } -func (*SetRepoDefaultRevisionReply) ProtoMessage() {} -func (*SetRepoDefaultRevisionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{67} -} -func (m *SetRepoDefaultRevisionReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetRepoDefaultRevisionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetRepoDefaultRevisionReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetRepoDefaultRevisionReply) Reset() { + *x = SetRepoDefaultRevisionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetRepoDefaultRevisionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetRepoDefaultRevisionReply.Merge(m, src) -} -func (m *SetRepoDefaultRevisionReply) XXX_Size() int { - return m.Size() + +func (x *SetRepoDefaultRevisionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetRepoDefaultRevisionReply) XXX_DiscardUnknown() { - xxx_messageInfo_SetRepoDefaultRevisionReply.DiscardUnknown(m) + +func (*SetRepoDefaultRevisionReply) ProtoMessage() {} + +func (x *SetRepoDefaultRevisionReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[67] + 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) } -var xxx_messageInfo_SetRepoDefaultRevisionReply proto.InternalMessageInfo +// Deprecated: Use SetRepoDefaultRevisionReply.ProtoReflect.Descriptor instead. +func (*SetRepoDefaultRevisionReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{67} +} -func (m *SetRepoDefaultRevisionReply) GetInfo() string { - if m != nil { - return m.Info +func (x *SetRepoDefaultRevisionReply) GetInfo() string { + if x != nil { + return x.Info } return "" } type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -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_2aa6aa9a1f02efa9, []int{68} -} -func (m *Empty) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Empty) ProtoMessage() {} + +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil - } -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return m.Size() -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("o2control.StatusUpdate_Level", StatusUpdate_Level_name, StatusUpdate_Level_value) - proto.RegisterEnum("o2control.ControlEnvironmentRequest_Optype", ControlEnvironmentRequest_Optype_name, ControlEnvironmentRequest_Optype_value) - proto.RegisterEnum("o2control.EnvironmentOperation_Optype", EnvironmentOperation_Optype_name, EnvironmentOperation_Optype_value) - proto.RegisterType((*Event_MesosHeartbeat)(nil), "o2control.Event_MesosHeartbeat") - proto.RegisterType((*Ev_EnvironmentStateChanged)(nil), "o2control.Ev_EnvironmentStateChanged") - proto.RegisterType((*Ev_TaskStateChanged)(nil), "o2control.Ev_TaskStateChanged") - proto.RegisterType((*Ev_TaskStatusChanged)(nil), "o2control.Ev_TaskStatusChanged") - proto.RegisterType((*Ev_TaskLaunched)(nil), "o2control.Ev_TaskLaunched") - proto.RegisterType((*Ev_MesosTaskCreated)(nil), "o2control.Ev_MesosTaskCreated") - proto.RegisterType((*Ev_EnvironmentCreated)(nil), "o2control.Ev_EnvironmentCreated") - proto.RegisterType((*Ev_EnvironmentDestroyed)(nil), "o2control.Ev_EnvironmentDestroyed") - proto.RegisterType((*Ev_EnvironmentError)(nil), "o2control.Ev_EnvironmentError") - proto.RegisterType((*Ev_KillTasksMesos)(nil), "o2control.Ev_KillTasksMesos") - proto.RegisterType((*StatusRequest)(nil), "o2control.StatusRequest") - proto.RegisterType((*StatusReply)(nil), "o2control.StatusReply") - proto.RegisterType((*StatusUpdate)(nil), "o2control.StatusUpdate") - proto.RegisterType((*Event)(nil), "o2control.Event") - proto.RegisterType((*SubscribeRequest)(nil), "o2control.SubscribeRequest") - proto.RegisterType((*GetFrameworkInfoRequest)(nil), "o2control.GetFrameworkInfoRequest") - proto.RegisterType((*Version)(nil), "o2control.Version") - proto.RegisterType((*GetFrameworkInfoReply)(nil), "o2control.GetFrameworkInfoReply") - proto.RegisterType((*TeardownRequest)(nil), "o2control.TeardownRequest") - proto.RegisterType((*TeardownReply)(nil), "o2control.TeardownReply") - proto.RegisterType((*GetEnvironmentsRequest)(nil), "o2control.GetEnvironmentsRequest") - proto.RegisterType((*GetEnvironmentsReply)(nil), "o2control.GetEnvironmentsReply") - proto.RegisterType((*EnvironmentInfo)(nil), "o2control.EnvironmentInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.DefaultsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.UserVarsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.VarsEntry") - proto.RegisterType((*NewEnvironmentRequest)(nil), "o2control.NewEnvironmentRequest") - proto.RegisterMapType((map[string]string)(nil), "o2control.NewEnvironmentRequest.VarsEntry") - proto.RegisterType((*NewEnvironmentReply)(nil), "o2control.NewEnvironmentReply") - proto.RegisterType((*GetEnvironmentRequest)(nil), "o2control.GetEnvironmentRequest") - proto.RegisterType((*GetEnvironmentReply)(nil), "o2control.GetEnvironmentReply") - proto.RegisterType((*ControlEnvironmentRequest)(nil), "o2control.ControlEnvironmentRequest") - proto.RegisterType((*ControlEnvironmentReply)(nil), "o2control.ControlEnvironmentReply") - proto.RegisterType((*ModifyEnvironmentRequest)(nil), "o2control.ModifyEnvironmentRequest") - proto.RegisterType((*EnvironmentOperation)(nil), "o2control.EnvironmentOperation") - proto.RegisterType((*ModifyEnvironmentReply)(nil), "o2control.ModifyEnvironmentReply") - proto.RegisterType((*DestroyEnvironmentRequest)(nil), "o2control.DestroyEnvironmentRequest") - proto.RegisterType((*DestroyEnvironmentReply)(nil), "o2control.DestroyEnvironmentReply") - proto.RegisterType((*SetEnvironmentPropertiesRequest)(nil), "o2control.SetEnvironmentPropertiesRequest") - proto.RegisterMapType((map[string]string)(nil), "o2control.SetEnvironmentPropertiesRequest.PropertiesEntry") - proto.RegisterType((*SetEnvironmentPropertiesReply)(nil), "o2control.SetEnvironmentPropertiesReply") - proto.RegisterType((*GetEnvironmentPropertiesRequest)(nil), "o2control.GetEnvironmentPropertiesRequest") - proto.RegisterType((*GetEnvironmentPropertiesReply)(nil), "o2control.GetEnvironmentPropertiesReply") - proto.RegisterMapType((map[string]string)(nil), "o2control.GetEnvironmentPropertiesReply.PropertiesEntry") - proto.RegisterType((*ShortTaskInfo)(nil), "o2control.ShortTaskInfo") - proto.RegisterType((*TaskDeploymentInfo)(nil), "o2control.TaskDeploymentInfo") - proto.RegisterType((*GetTasksRequest)(nil), "o2control.GetTasksRequest") - proto.RegisterType((*GetTasksReply)(nil), "o2control.GetTasksReply") - proto.RegisterType((*GetTaskRequest)(nil), "o2control.GetTaskRequest") - proto.RegisterType((*GetTaskReply)(nil), "o2control.GetTaskReply") - proto.RegisterType((*TaskClassInfo)(nil), "o2control.TaskClassInfo") - proto.RegisterType((*CommandInfo)(nil), "o2control.CommandInfo") - proto.RegisterType((*ChannelInfo)(nil), "o2control.ChannelInfo") - proto.RegisterType((*TaskInfo)(nil), "o2control.TaskInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.TaskInfo.PropertiesEntry") - proto.RegisterType((*CleanupTasksRequest)(nil), "o2control.CleanupTasksRequest") - proto.RegisterType((*CleanupTasksReply)(nil), "o2control.CleanupTasksReply") - proto.RegisterType((*GetRolesRequest)(nil), "o2control.GetRolesRequest") - proto.RegisterType((*RoleInfo)(nil), "o2control.RoleInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.DefaultsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.UserVarsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.VarsEntry") - proto.RegisterType((*GetRolesReply)(nil), "o2control.GetRolesReply") - proto.RegisterType((*GetWorkflowTemplatesRequest)(nil), "o2control.GetWorkflowTemplatesRequest") - proto.RegisterType((*WorkflowTemplateInfo)(nil), "o2control.WorkflowTemplateInfo") - proto.RegisterType((*GetWorkflowTemplatesReply)(nil), "o2control.GetWorkflowTemplatesReply") - proto.RegisterType((*ListReposRequest)(nil), "o2control.ListReposRequest") - proto.RegisterType((*RepoInfo)(nil), "o2control.RepoInfo") - proto.RegisterType((*ListReposReply)(nil), "o2control.ListReposReply") - proto.RegisterType((*AddRepoRequest)(nil), "o2control.AddRepoRequest") - proto.RegisterType((*AddRepoReply)(nil), "o2control.AddRepoReply") - proto.RegisterType((*RemoveRepoRequest)(nil), "o2control.RemoveRepoRequest") - proto.RegisterType((*RemoveRepoReply)(nil), "o2control.RemoveRepoReply") - proto.RegisterType((*RefreshReposRequest)(nil), "o2control.RefreshReposRequest") - proto.RegisterType((*SetDefaultRepoRequest)(nil), "o2control.SetDefaultRepoRequest") - proto.RegisterType((*SetGlobalDefaultRevisionRequest)(nil), "o2control.SetGlobalDefaultRevisionRequest") - proto.RegisterType((*SetRepoDefaultRevisionRequest)(nil), "o2control.SetRepoDefaultRevisionRequest") - proto.RegisterType((*SetRepoDefaultRevisionReply)(nil), "o2control.SetRepoDefaultRevisionReply") - proto.RegisterType((*Empty)(nil), "o2control.Empty") -} - -func init() { proto.RegisterFile("protos/o2control.proto", fileDescriptor_2aa6aa9a1f02efa9) } - -var fileDescriptor_2aa6aa9a1f02efa9 = []byte{ - // 3048 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1a, 0x5d, 0x6f, 0x1b, 0xc7, - 0x91, 0x27, 0x91, 0x12, 0x39, 0x94, 0x28, 0x6a, 0x25, 0x4b, 0x34, 0x63, 0xcb, 0xca, 0xd6, 0x75, - 0x1c, 0x27, 0x55, 0x12, 0x25, 0x68, 0x5c, 0x27, 0x4e, 0x62, 0x49, 0xb4, 0xa4, 0xc6, 0x96, 0xdc, - 0x95, 0x6c, 0xa7, 0x06, 0x0a, 0xf5, 0x44, 0x2e, 0xc5, 0x8b, 0x8e, 0x77, 0xcc, 0xdd, 0x91, 0xb6, - 0x1e, 0xfa, 0x56, 0xf4, 0xa5, 0x28, 0x8a, 0xa0, 0x2f, 0x7d, 0x2d, 0x8a, 0xfe, 0x87, 0x3e, 0xf4, - 0x07, 0x14, 0x45, 0x8b, 0xf6, 0x27, 0x14, 0xe9, 0x1f, 0xe8, 0x63, 0x5f, 0x0a, 0x14, 0xfb, 0x75, - 0xb7, 0xf7, 0x45, 0xc9, 0x4d, 0xf3, 0xd2, 0x37, 0xce, 0xec, 0xcc, 0xec, 0xec, 0xcc, 0xec, 0xcc, - 0xec, 0x1c, 0x61, 0x69, 0xe0, 0xb9, 0x81, 0xeb, 0xbf, 0xe5, 0xae, 0xb7, 0x5d, 0x27, 0xf0, 0x5c, - 0x7b, 0x8d, 0x23, 0x50, 0x25, 0x44, 0xe0, 0x25, 0x58, 0x6c, 0x8d, 0xa8, 0x13, 0x1c, 0x3d, 0xa4, - 0xbe, 0xeb, 0xef, 0x50, 0xd3, 0x0b, 0x8e, 0xa9, 0x19, 0x60, 0x1b, 0x9a, 0xad, 0xd1, 0x51, 0xcb, - 0x19, 0x59, 0x9e, 0xeb, 0xf4, 0xa9, 0x13, 0x1c, 0x04, 0x66, 0x40, 0x37, 0x7b, 0xa6, 0x73, 0x42, - 0x3b, 0x68, 0x11, 0x4a, 0x94, 0x71, 0x35, 0x8c, 0x55, 0xe3, 0x66, 0x85, 0x08, 0x00, 0x2d, 0xc1, - 0x94, 0xef, 0x0e, 0xbd, 0x36, 0x6d, 0x4c, 0x70, 0xb4, 0x84, 0xd0, 0x2a, 0x54, 0x3b, 0xd4, 0x0f, - 0x2c, 0xc7, 0x0c, 0x2c, 0xd7, 0x69, 0x4c, 0xf2, 0x45, 0x1d, 0x85, 0x37, 0x61, 0xa1, 0x35, 0x3a, - 0x3a, 0x34, 0xfd, 0xd3, 0xd8, 0x36, 0x4b, 0x30, 0x15, 0x98, 0xfe, 0xa9, 0xd5, 0x91, 0xfb, 0x48, - 0x88, 0x6d, 0xef, 0x33, 0x3a, 0xb9, 0x8f, 0x00, 0xf0, 0x7d, 0x76, 0x94, 0x50, 0xc8, 0xd0, 0x3f, - 0x4f, 0x0a, 0x53, 0x97, 0x13, 0x86, 0xea, 0x72, 0x08, 0xbf, 0x0e, 0x73, 0x52, 0xce, 0x03, 0x73, - 0xe8, 0xb4, 0x7b, 0xf9, 0x22, 0xb0, 0xc5, 0xf5, 0xe6, 0xa6, 0x63, 0xf4, 0x9b, 0x1e, 0x35, 0x03, - 0xda, 0x41, 0xd7, 0x61, 0x96, 0x11, 0x78, 0x54, 0x18, 0xc0, 0x97, 0x5c, 0x71, 0x24, 0x7a, 0x13, - 0xe6, 0xe9, 0x0b, 0xda, 0x1e, 0x06, 0xae, 0x47, 0x42, 0x4a, 0xa1, 0x4a, 0x7a, 0x01, 0x3f, 0x86, - 0x4b, 0x71, 0x87, 0xa8, 0xcd, 0x3e, 0x84, 0x2a, 0x8d, 0xb0, 0x7c, 0xab, 0xea, 0x7a, 0x73, 0x2d, - 0xf2, 0xb9, 0xc6, 0xb3, 0xeb, 0x74, 0x5d, 0xa2, 0x93, 0xe3, 0x9f, 0x1b, 0xb0, 0x1c, 0x97, 0xbb, - 0x45, 0xfd, 0xc0, 0x73, 0xcf, 0x68, 0x07, 0x7d, 0x1f, 0xe6, 0xdb, 0x36, 0x35, 0x9d, 0xe1, 0x80, - 0x1d, 0xce, 0x27, 0x74, 0x60, 0x9f, 0x49, 0xf9, 0x57, 0x34, 0xf9, 0x9b, 0x49, 0x1a, 0x92, 0x66, - 0x63, 0x26, 0xd1, 0xb6, 0xb5, 0x3a, 0xf2, 0xa0, 0x71, 0x24, 0xbe, 0xc4, 0xed, 0xa9, 0x29, 0xd3, - 0xf2, 0x3c, 0xd7, 0xc3, 0x0b, 0x30, 0xdf, 0x1a, 0x1d, 0x7d, 0x6a, 0xd9, 0x36, 0x97, 0xc8, 0xed, - 0x8d, 0xe7, 0x60, 0x56, 0xf8, 0x99, 0xd0, 0x2f, 0x86, 0xd4, 0x0f, 0xf0, 0x31, 0x54, 0x15, 0x82, - 0xed, 0x18, 0x06, 0x89, 0xa1, 0x05, 0x09, 0xba, 0x0b, 0xb3, 0xc2, 0xcd, 0x8f, 0x07, 0x1d, 0x33, - 0xe0, 0x06, 0x9f, 0xbc, 0x59, 0x5d, 0x5f, 0xd6, 0xce, 0x73, 0xa0, 0xad, 0x93, 0x38, 0x35, 0xfe, - 0x8b, 0x01, 0x33, 0xfa, 0x3a, 0x7a, 0x17, 0x4a, 0x36, 0x1d, 0x51, 0x9b, 0xef, 0x52, 0x5b, 0xbf, - 0x9a, 0x23, 0x67, 0xed, 0x01, 0x23, 0x22, 0x82, 0x16, 0xed, 0x42, 0xad, 0x1f, 0xbb, 0x6e, 0xdc, - 0x1a, 0xd5, 0xf5, 0x6b, 0xba, 0xd7, 0x32, 0x6e, 0xe5, 0x4e, 0x81, 0x24, 0x18, 0xf1, 0x7b, 0x50, - 0xe2, 0xa2, 0x51, 0x05, 0x4a, 0x5b, 0xad, 0x8d, 0xc7, 0xdb, 0xf5, 0x02, 0x2a, 0x43, 0x71, 0x77, - 0xef, 0xfe, 0x7e, 0xdd, 0x40, 0x55, 0x98, 0x7e, 0x7a, 0x8f, 0xec, 0xed, 0xee, 0x6d, 0xd7, 0x27, - 0x18, 0x45, 0x8b, 0x90, 0x7d, 0x52, 0x9f, 0xdc, 0x98, 0x86, 0x12, 0x97, 0x8f, 0x7f, 0x36, 0x25, - 0x7f, 0xa1, 0x2b, 0x50, 0x09, 0xac, 0x3e, 0xf5, 0x03, 0xb3, 0x3f, 0x90, 0x26, 0x8b, 0x10, 0xc8, - 0x84, 0x65, 0x9a, 0x9d, 0x0b, 0xa4, 0xea, 0xdf, 0x8e, 0xa9, 0x9e, 0x97, 0x38, 0x76, 0x0a, 0x24, - 0x4f, 0x0e, 0x22, 0x80, 0x68, 0x2a, 0xba, 0x79, 0xb2, 0xa8, 0xae, 0xaf, 0xe6, 0x4a, 0x97, 0x74, - 0x3b, 0x05, 0x92, 0xc1, 0x8d, 0x1e, 0x40, 0x3d, 0x48, 0x24, 0x95, 0x46, 0x91, 0x4b, 0x5c, 0x89, - 0x4b, 0x4c, 0xa6, 0x9e, 0x9d, 0x02, 0x49, 0x71, 0xa2, 0x7d, 0x98, 0x0f, 0x92, 0xd9, 0xa5, 0x51, - 0xca, 0xf0, 0x5c, 0x3a, 0x09, 0xed, 0x14, 0x48, 0x9a, 0x17, 0x7d, 0x02, 0x33, 0x0c, 0x69, 0xcb, - 0x34, 0xd3, 0x98, 0x4a, 0xdf, 0xdd, 0x78, 0x22, 0xda, 0x29, 0x90, 0x18, 0x07, 0x3b, 0x60, 0x5f, - 0x65, 0x9f, 0xb6, 0x34, 0xd9, 0x74, 0xd6, 0x01, 0x93, 0x39, 0x8a, 0x1d, 0x30, 0xc9, 0x89, 0x3e, - 0x83, 0x45, 0x9a, 0x91, 0x08, 0x1a, 0x65, 0x2e, 0x11, 0xe7, 0x3a, 0x21, 0xa4, 0xdc, 0x29, 0x90, - 0x4c, 0x09, 0x4c, 0x4f, 0x9a, 0xb8, 0xd5, 0x8d, 0x4a, 0x96, 0x9e, 0xc9, 0xbb, 0xcf, 0xf4, 0x4c, - 0x72, 0xa2, 0xfb, 0x50, 0x3b, 0xb5, 0x6c, 0x3b, 0x08, 0x93, 0x41, 0x03, 0x52, 0x59, 0x29, 0x95, - 0x30, 0xd8, 0xe5, 0x89, 0x73, 0x6d, 0x54, 0x60, 0xfa, 0x91, 0x79, 0x66, 0xbb, 0x66, 0x07, 0x23, - 0xa8, 0x1f, 0x0c, 0x8f, 0xfd, 0xb6, 0x67, 0x1d, 0x53, 0x95, 0x50, 0x2e, 0xc3, 0xf2, 0x36, 0x0d, - 0xee, 0x7b, 0x66, 0x9f, 0x3e, 0x77, 0xbd, 0x53, 0x9e, 0x3c, 0xe5, 0xd2, 0x6f, 0x0d, 0x98, 0x7e, - 0x42, 0x3d, 0xdf, 0x72, 0x1d, 0x96, 0x68, 0xfa, 0xe6, 0xe7, 0xae, 0xc7, 0x6f, 0x4d, 0x89, 0x08, - 0x80, 0x63, 0x2d, 0xc7, 0xf5, 0xf8, 0xfd, 0x60, 0x58, 0x06, 0x30, 0xec, 0xc0, 0x0c, 0xda, 0x3d, - 0x1e, 0xd7, 0x25, 0x22, 0x00, 0x86, 0x3d, 0x1e, 0x5a, 0xb6, 0x88, 0xcd, 0x0a, 0x11, 0x00, 0x2b, - 0x9b, 0x03, 0xcf, 0xed, 0x0c, 0xdb, 0xc1, 0x9e, 0xd9, 0xa7, 0x3c, 0xd0, 0x2a, 0x44, 0x47, 0xa1, - 0x15, 0x80, 0x91, 0x50, 0xe2, 0x20, 0xf0, 0x78, 0xf4, 0x54, 0x88, 0x86, 0xc1, 0xbf, 0x9c, 0x80, - 0x4b, 0xe9, 0x13, 0xb0, 0xe4, 0xb8, 0x0a, 0xd5, 0x6e, 0x88, 0x55, 0x55, 0x4d, 0x47, 0xf1, 0xea, - 0x14, 0xd9, 0xdd, 0xdf, 0x74, 0x87, 0x4e, 0x20, 0xcf, 0x92, 0x5e, 0x60, 0x9a, 0x70, 0xbb, 0x0a, - 0x32, 0x71, 0x38, 0x0d, 0x13, 0x25, 0xe3, 0xa2, 0x9e, 0x8c, 0x57, 0x00, 0x7a, 0xae, 0xaf, 0x84, - 0x97, 0x04, 0x57, 0x84, 0x41, 0x18, 0x66, 0x2c, 0xc7, 0x0f, 0x4c, 0xa7, 0x4d, 0xb9, 0x09, 0xc4, - 0x09, 0x63, 0x38, 0xf4, 0x26, 0x4c, 0xcb, 0x13, 0xcb, 0xc0, 0x47, 0x5a, 0x10, 0x48, 0x17, 0x11, - 0x45, 0xc2, 0x6a, 0xfb, 0x21, 0x35, 0xbd, 0x8e, 0xfb, 0xdc, 0x91, 0xae, 0x64, 0xb5, 0xdd, 0xa3, - 0xa6, 0xef, 0x3a, 0xaa, 0xb6, 0x0b, 0x88, 0xd5, 0x97, 0x88, 0x74, 0x60, 0x9f, 0xe1, 0x06, 0x2c, - 0x6d, 0xd3, 0x40, 0x0b, 0xd0, 0xb0, 0xf2, 0xbc, 0x80, 0xc5, 0xd4, 0xca, 0xc5, 0xac, 0xfc, 0x11, - 0xcc, 0xe8, 0xc6, 0x94, 0xd5, 0x68, 0x5c, 0xf5, 0x8e, 0xd1, 0xe3, 0x3f, 0x15, 0x61, 0x2e, 0x41, - 0x81, 0x6a, 0x30, 0x11, 0x36, 0x2a, 0x13, 0x16, 0x8f, 0x23, 0x79, 0xc1, 0x9f, 0xf6, 0xa8, 0x23, - 0x0b, 0xaf, 0x8e, 0x8a, 0xbc, 0x33, 0xa9, 0x7b, 0x67, 0x0d, 0x4a, 0xdc, 0x83, 0x8d, 0x22, 0x57, - 0xaa, 0xa1, 0x97, 0xb6, 0x9e, 0xeb, 0x05, 0xec, 0x6a, 0x71, 0x95, 0x04, 0x19, 0x6a, 0x42, 0xd9, - 0x73, 0xdd, 0x80, 0xb8, 0xb6, 0x0a, 0xd6, 0x10, 0x46, 0xb7, 0xa0, 0xde, 0x1e, 0x7a, 0x1e, 0x75, - 0x02, 0x32, 0x74, 0xf6, 0x86, 0xfd, 0x63, 0x2a, 0xe2, 0x75, 0x96, 0xa4, 0xf0, 0x68, 0x0b, 0xca, - 0x1d, 0xda, 0x35, 0x87, 0x76, 0xe0, 0x37, 0xa6, 0xf9, 0xd6, 0x37, 0xf3, 0xed, 0xb1, 0xb6, 0x25, - 0x49, 0x5b, 0x4e, 0xe0, 0x9d, 0x91, 0x90, 0x13, 0xdd, 0x86, 0xe2, 0xc8, 0xf4, 0xfc, 0x46, 0x99, - 0x4b, 0xb8, 0x3e, 0x46, 0xc2, 0x13, 0xd3, 0x93, 0xdc, 0x9c, 0x83, 0xed, 0x3f, 0xf4, 0xa9, 0xc7, - 0xd0, 0x8d, 0xca, 0xb9, 0xfb, 0x3f, 0x96, 0xa4, 0x72, 0x7f, 0xc5, 0xd9, 0xfc, 0x00, 0x66, 0x63, - 0xaa, 0xa1, 0x3a, 0x4c, 0x9e, 0xd2, 0x33, 0xe9, 0x17, 0xf6, 0x93, 0x99, 0x7d, 0x64, 0xda, 0xc3, - 0xb0, 0x8d, 0xe5, 0xc0, 0x9d, 0x89, 0xdb, 0x46, 0xf3, 0x7d, 0xa8, 0x84, 0x32, 0x5f, 0x8a, 0xf1, - 0x03, 0x98, 0x8d, 0x29, 0xf4, 0x32, 0xcc, 0xf8, 0x0f, 0x06, 0x5c, 0xda, 0xa3, 0xcf, 0xb5, 0x13, - 0xaa, 0x3b, 0x72, 0x0b, 0xea, 0x2c, 0x60, 0xbb, 0xb6, 0xfb, 0xfc, 0x90, 0xf6, 0x07, 0x76, 0xd4, - 0x56, 0xa5, 0xf0, 0xe8, 0x23, 0x69, 0x78, 0x11, 0xca, 0xb7, 0x34, 0xd3, 0x65, 0xca, 0x4e, 0x9a, - 0xff, 0xbf, 0x3e, 0x3b, 0x3e, 0x80, 0x85, 0xe4, 0x0e, 0xec, 0x12, 0x7e, 0xbd, 0xfe, 0xf8, 0x35, - 0x9e, 0x41, 0x33, 0x4c, 0x92, 0xb8, 0x65, 0xf8, 0xa7, 0x06, 0x2c, 0x24, 0x29, 0xbf, 0xf6, 0xf6, - 0xe8, 0x2d, 0x28, 0x2b, 0x03, 0xcb, 0x46, 0x6b, 0x41, 0x63, 0x65, 0x57, 0x8b, 0xf3, 0x84, 0x44, - 0xf8, 0xaf, 0x06, 0x5c, 0xde, 0x14, 0xcb, 0xe7, 0x2b, 0x8d, 0x3e, 0x86, 0x62, 0x70, 0x36, 0x10, - 0xb6, 0xac, 0xad, 0xbf, 0xa1, 0x37, 0xf5, 0x79, 0x32, 0xd6, 0xf6, 0x07, 0x8c, 0x85, 0x70, 0x46, - 0x6c, 0xc2, 0x94, 0x80, 0x59, 0xd3, 0xb9, 0xb7, 0xbf, 0xff, 0xa8, 0x5e, 0x40, 0x08, 0x6a, 0x07, - 0x87, 0xf7, 0xc8, 0xe1, 0xd1, 0xbd, 0xcd, 0xc3, 0xdd, 0x27, 0xbb, 0x87, 0x3f, 0xac, 0x1b, 0x68, - 0x1e, 0x66, 0x0f, 0x0e, 0xf7, 0x1f, 0x45, 0xa8, 0x09, 0x34, 0x0b, 0x95, 0xcd, 0xfd, 0xbd, 0xfb, - 0xbb, 0xdb, 0x8f, 0x49, 0xab, 0x3e, 0xc9, 0xba, 0x53, 0xd2, 0x3a, 0x68, 0x1d, 0xd6, 0x8b, 0x68, - 0x06, 0xca, 0xdb, 0xfb, 0x47, 0xa2, 0x57, 0x2d, 0xe1, 0x53, 0x58, 0xce, 0x52, 0x86, 0xd9, 0x36, - 0x79, 0x9c, 0xcc, 0x77, 0x61, 0x66, 0xee, 0x99, 0xcc, 0xce, 0x3d, 0xf8, 0x57, 0x06, 0x34, 0x1e, - 0xba, 0x1d, 0xab, 0x7b, 0x76, 0x21, 0xeb, 0x81, 0x3b, 0xa0, 0x1e, 0x7f, 0xc2, 0xaa, 0x78, 0xbf, - 0x96, 0xed, 0xd9, 0x7d, 0x45, 0x47, 0x34, 0x16, 0x74, 0x03, 0x6a, 0x1e, 0x6d, 0xbb, 0x4e, 0xd7, - 0x3a, 0x19, 0x7a, 0xf4, 0x9e, 0x6d, 0x73, 0xbd, 0xca, 0x24, 0x81, 0xc5, 0xbf, 0x31, 0x60, 0x31, - 0x4b, 0x18, 0xba, 0x23, 0xfd, 0x27, 0x1e, 0x1f, 0x37, 0xce, 0xd9, 0x3b, 0xe6, 0x3a, 0x91, 0xae, - 0x6d, 0x51, 0x58, 0x27, 0x54, 0xba, 0x16, 0x30, 0x7e, 0x27, 0xc3, 0xad, 0x73, 0x50, 0x25, 0xad, - 0x87, 0xfb, 0x4f, 0x5a, 0x47, 0x64, 0xff, 0x01, 0xf3, 0xd8, 0x0c, 0x94, 0xef, 0x6d, 0x6d, 0x09, - 0xa8, 0xc8, 0x1e, 0x92, 0x4b, 0x19, 0x96, 0x63, 0x6e, 0xfa, 0x14, 0xea, 0x5d, 0xd3, 0xb2, 0x69, - 0x67, 0x3f, 0xb2, 0x96, 0x71, 0x31, 0x6b, 0xa5, 0x18, 0xa5, 0x13, 0x26, 0xd2, 0x3e, 0xd7, 0x6b, - 0x17, 0xfe, 0xd2, 0x80, 0xcb, 0xb2, 0xfb, 0xbc, 0x80, 0x23, 0xaf, 0x40, 0xe5, 0x94, 0x52, 0xf1, - 0x5c, 0xe5, 0xa2, 0xcb, 0x24, 0x42, 0xa0, 0xb7, 0x61, 0xc1, 0xb4, 0x6d, 0xf7, 0xf9, 0xae, 0x43, - 0x86, 0x8e, 0x63, 0x39, 0x27, 0x07, 0xe1, 0x7e, 0x65, 0x92, 0xb5, 0xc4, 0x74, 0xea, 0xba, 0x5e, - 0x5b, 0x74, 0x3b, 0x65, 0x22, 0x00, 0x4c, 0x61, 0x39, 0x4b, 0x25, 0x66, 0xa1, 0xff, 0xe1, 0x4b, - 0x1b, 0xff, 0xd9, 0x80, 0x6b, 0x07, 0xb1, 0x44, 0xf4, 0xc8, 0x63, 0x31, 0x17, 0x58, 0xd4, 0xcf, - 0x33, 0xc0, 0x33, 0x80, 0x41, 0x48, 0x24, 0x23, 0xf9, 0x8e, 0x5e, 0xef, 0xc7, 0xcb, 0x5b, 0x8b, - 0x30, 0x22, 0x93, 0x6b, 0xd2, 0x9a, 0x77, 0x61, 0x2e, 0xb1, 0xfc, 0x52, 0x59, 0xfd, 0x1a, 0x5c, - 0xcd, 0xdf, 0x9d, 0x9d, 0xd7, 0x87, 0x6b, 0xdb, 0x2f, 0x79, 0xdc, 0x06, 0x4c, 0x7f, 0x31, 0xa4, - 0x9e, 0x3a, 0x6b, 0x85, 0x28, 0x90, 0xdd, 0x48, 0xfa, 0xa2, 0x6d, 0x0f, 0x3b, 0x74, 0xdb, 0x76, - 0x8f, 0x4d, 0xdb, 0x57, 0x37, 0x32, 0x8e, 0xc5, 0xbf, 0x37, 0xe0, 0xea, 0xf6, 0x38, 0xb5, 0xd0, - 0x67, 0x31, 0x93, 0x8a, 0x70, 0xbf, 0xad, 0x99, 0x74, 0x2c, 0xf7, 0x37, 0x69, 0xd0, 0x7f, 0x19, - 0x30, 0x1b, 0xeb, 0xdf, 0x10, 0x82, 0xa2, 0xc3, 0xb2, 0x80, 0x60, 0xe7, 0xbf, 0x59, 0x57, 0x6c, - 0xbb, 0xed, 0x53, 0xf9, 0xbe, 0x2f, 0x13, 0x09, 0xa9, 0x49, 0xd8, 0x6e, 0x47, 0xde, 0x37, 0x09, - 0x69, 0xc3, 0xb4, 0xa2, 0x3e, 0x4c, 0x8b, 0xae, 0x67, 0x49, 0x4f, 0xc9, 0x57, 0xa0, 0xd2, 0xb6, - 0x4d, 0xdf, 0xd7, 0xba, 0xfa, 0x08, 0x81, 0x5a, 0x50, 0xeb, 0xd0, 0x81, 0xed, 0x9e, 0xa9, 0x9a, - 0x28, 0x3b, 0x7b, 0x7d, 0xb8, 0xc2, 0x94, 0xdf, 0x8a, 0x11, 0x91, 0x04, 0x13, 0x33, 0xca, 0xc0, - 0x12, 0x8f, 0xd7, 0x0a, 0x61, 0x3f, 0x59, 0x8d, 0x46, 0x69, 0x46, 0x96, 0x09, 0xd9, 0xa3, 0x43, - 0xb3, 0x41, 0x08, 0xb3, 0x50, 0x31, 0x4f, 0x18, 0xa1, 0xca, 0x39, 0x0a, 0x64, 0x2b, 0x6e, 0xb7, - 0x4b, 0xbd, 0xd0, 0x14, 0x0a, 0x64, 0xcf, 0x1a, 0x35, 0xbf, 0xdb, 0x55, 0x6f, 0x3a, 0x0d, 0x83, - 0xe7, 0x61, 0x6e, 0x9b, 0x06, 0xf2, 0xca, 0x8a, 0x17, 0xc4, 0xc7, 0x30, 0x1b, 0xa1, 0x58, 0xf8, - 0x84, 0xcd, 0xb7, 0x71, 0xa1, 0xe6, 0x1b, 0xdf, 0x84, 0x9a, 0x14, 0xa0, 0xbd, 0x6b, 0xa4, 0xa7, - 0x0c, 0xdd, 0x53, 0xf8, 0x7d, 0x98, 0x09, 0x29, 0xd9, 0x4e, 0xaf, 0x41, 0x91, 0xad, 0xc8, 0x74, - 0xb3, 0x90, 0xb0, 0x31, 0xdf, 0x83, 0x13, 0xe0, 0x16, 0xcc, 0xf2, 0x01, 0x02, 0xf3, 0x53, 0x6e, - 0xdc, 0xb0, 0xc7, 0x86, 0x60, 0x7f, 0xe8, 0x76, 0x68, 0xf8, 0xd8, 0x88, 0x50, 0xf8, 0x27, 0x50, - 0xdd, 0x74, 0xfb, 0x7d, 0xd3, 0xe9, 0x28, 0x2f, 0x51, 0x67, 0xc4, 0x8f, 0x59, 0x21, 0xec, 0x27, - 0x0f, 0x99, 0x1e, 0xb5, 0x6d, 0x19, 0x79, 0x02, 0x88, 0x02, 0x7a, 0x52, 0x0b, 0x68, 0x16, 0x48, - 0xa6, 0x77, 0x32, 0x14, 0x8f, 0xa7, 0x22, 0x97, 0x11, 0x21, 0x98, 0x82, 0xac, 0x1f, 0x97, 0xb1, - 0xc7, 0x7f, 0xe3, 0x87, 0x50, 0xdd, 0xec, 0x99, 0x8e, 0x43, 0xed, 0xdc, 0x33, 0x20, 0xad, 0x2b, - 0xaa, 0xc8, 0x6a, 0xc9, 0xad, 0xe9, 0x9d, 0xd0, 0x20, 0x8a, 0x7b, 0x06, 0xe1, 0x7f, 0x4e, 0x42, - 0x39, 0xbc, 0x48, 0xdf, 0x85, 0x8a, 0xcf, 0x9c, 0xc3, 0x63, 0x56, 0xd8, 0x33, 0xdf, 0x71, 0x11, - 0x29, 0xe3, 0x6b, 0x2b, 0xab, 0xca, 0x36, 0xaf, 0x91, 0xf0, 0x43, 0x68, 0x75, 0x12, 0x91, 0xa2, - 0x4f, 0x60, 0xce, 0x72, 0x8e, 0xdd, 0xa1, 0xd3, 0x91, 0x47, 0x62, 0xe9, 0x8a, 0x85, 0xcb, 0x92, - 0x5e, 0x34, 0xa2, 0xd3, 0x92, 0x24, 0x39, 0xda, 0x80, 0xba, 0x3b, 0x0c, 0xe2, 0x22, 0x8a, 0x63, - 0x45, 0xa4, 0xe8, 0xd1, 0x6d, 0xe6, 0xf2, 0xd0, 0xa1, 0x72, 0x20, 0x16, 0x63, 0x8f, 0x56, 0x89, - 0x4e, 0xca, 0x2e, 0x1e, 0x8b, 0xac, 0x47, 0x66, 0xd0, 0x93, 0x59, 0x20, 0x84, 0xf9, 0x27, 0x06, - 0x67, 0xb4, 0x2b, 0xc6, 0x59, 0x15, 0x22, 0x00, 0xb4, 0x19, 0xcb, 0xaa, 0xe2, 0x75, 0xf6, 0xad, - 0x8c, 0x90, 0xfd, 0x26, 0x13, 0xe8, 0x5b, 0xb0, 0x10, 0x2f, 0xc4, 0xe2, 0xbe, 0x35, 0x60, 0x5a, - 0xdc, 0x30, 0x5f, 0x06, 0xb3, 0x02, 0xf1, 0x2f, 0x0c, 0x98, 0x4f, 0x95, 0x6e, 0x74, 0x07, 0xaa, - 0xa7, 0x96, 0x6d, 0xd3, 0xce, 0xe1, 0x85, 0xee, 0xb9, 0x4e, 0x8c, 0x3e, 0x84, 0x19, 0x4f, 0x34, - 0x1c, 0xaa, 0x67, 0x19, 0xcf, 0x1c, 0xa3, 0xc6, 0x9b, 0x3c, 0xff, 0xb0, 0xc7, 0x43, 0xa8, 0x7c, - 0x68, 0x6d, 0x43, 0xb7, 0x76, 0x13, 0xca, 0x03, 0x33, 0xe8, 0x1d, 0x0c, 0x68, 0x5b, 0xb5, 0x88, - 0x0a, 0xc6, 0x5f, 0x16, 0xa1, 0xac, 0xde, 0x1f, 0x79, 0x15, 0x24, 0xeb, 0xf3, 0x4a, 0xce, 0xb0, - 0xa1, 0x09, 0xe5, 0xee, 0xd0, 0xb6, 0x79, 0x28, 0x88, 0x8c, 0x19, 0xc2, 0xba, 0x65, 0x4b, 0x31, - 0xcb, 0xa2, 0xd7, 0xa1, 0xc4, 0x7a, 0x56, 0xbf, 0x31, 0xc5, 0x0d, 0x90, 0xf9, 0x36, 0x12, 0x14, - 0xe8, 0x6e, 0x6a, 0xaa, 0xf0, 0x6a, 0x06, 0x75, 0xee, 0x38, 0xe1, 0x9d, 0xd8, 0x38, 0xe1, 0x6a, - 0x16, 0x6b, 0x72, 0x8e, 0x70, 0x37, 0x35, 0x47, 0xc8, 0xdc, 0xf1, 0xff, 0x68, 0x80, 0x70, 0x87, - 0x57, 0x31, 0x19, 0x58, 0x2c, 0xc6, 0x43, 0xff, 0x18, 0xe7, 0xf9, 0x07, 0xff, 0xce, 0x80, 0x57, - 0xb6, 0x69, 0xf0, 0x34, 0x31, 0x4e, 0x08, 0x23, 0x74, 0x15, 0xaa, 0x1e, 0x1d, 0xb8, 0x8f, 0xcc, - 0x20, 0xa0, 0x9e, 0x9a, 0xd5, 0xe9, 0x28, 0x74, 0x13, 0xe6, 0x3c, 0x3a, 0xb2, 0x7c, 0xcb, 0x75, - 0x14, 0x95, 0xd0, 0x30, 0x89, 0x66, 0xb2, 0x4c, 0xdb, 0xde, 0xf0, 0x4c, 0xa7, 0xdd, 0xa3, 0xaa, - 0xc5, 0xd3, 0x51, 0xbc, 0xec, 0xdb, 0xf6, 0xa1, 0x79, 0xe2, 0xcb, 0x1e, 0x5e, 0x81, 0xf8, 0x18, - 0x16, 0x93, 0x3a, 0xaa, 0x2b, 0xc0, 0x94, 0x51, 0x57, 0x80, 0xfd, 0xe6, 0xf9, 0x4d, 0x8d, 0x4b, - 0xe4, 0xfd, 0x51, 0x30, 0x7f, 0x7e, 0x49, 0xb5, 0xe4, 0x4d, 0x08, 0x61, 0xfc, 0x39, 0x5c, 0xce, - 0x36, 0x05, 0xb3, 0xe9, 0x43, 0x98, 0x4f, 0xce, 0x5c, 0xb2, 0x9e, 0x53, 0x59, 0x4a, 0x92, 0x34, - 0x27, 0x46, 0x50, 0x7f, 0x60, 0xf9, 0xec, 0x1d, 0xe2, 0x6a, 0x5f, 0xd2, 0xca, 0x0c, 0xce, 0xbd, - 0xda, 0x0d, 0x98, 0x96, 0x17, 0x43, 0xd6, 0x68, 0x05, 0x32, 0x1f, 0xc8, 0x9f, 0x24, 0x7e, 0xb8, - 0x24, 0x1a, 0x7f, 0x01, 0x35, 0x6d, 0x5f, 0x15, 0x2c, 0x0c, 0xca, 0x0a, 0x16, 0xa9, 0x0d, 0x11, - 0x14, 0xe8, 0x3d, 0xb8, 0x74, 0xc2, 0x3b, 0xf1, 0xad, 0xc4, 0x66, 0xc2, 0xca, 0xd9, 0x8b, 0x78, - 0x0f, 0x6a, 0xf7, 0x3a, 0x1d, 0x26, 0x4b, 0x05, 0x55, 0xd6, 0xe1, 0x32, 0x8e, 0x30, 0x91, 0x7d, - 0x04, 0x02, 0x33, 0xa1, 0x3c, 0xd1, 0xb3, 0x21, 0x87, 0x3e, 0x4f, 0xaa, 0x24, 0x64, 0x67, 0xac, - 0xb0, 0xdd, 0x2d, 0x55, 0xf1, 0x2b, 0x84, 0xff, 0xc6, 0xaf, 0xc3, 0x3c, 0xa1, 0x7d, 0x77, 0x44, - 0x75, 0x35, 0x17, 0xa1, 0x64, 0x39, 0x1d, 0xfa, 0x42, 0x7d, 0x61, 0xe0, 0x00, 0xfe, 0x1e, 0xcc, - 0xe9, 0xa4, 0x4c, 0x83, 0x1b, 0x50, 0xd3, 0xf7, 0x09, 0xc3, 0x31, 0x81, 0xc5, 0x6f, 0xc0, 0x02, - 0xa1, 0x5d, 0x8f, 0xfa, 0x3d, 0xdd, 0xef, 0x39, 0xfb, 0x7c, 0x07, 0x2e, 0x1d, 0xd0, 0x40, 0x63, - 0x1f, 0x4f, 0x7e, 0x97, 0x3f, 0x3f, 0xb7, 0xb3, 0x3c, 0xa0, 0x18, 0xf5, 0xd8, 0x37, 0x12, 0xb1, - 0xff, 0x03, 0xfe, 0xde, 0x63, 0xdb, 0xe4, 0x30, 0x67, 0xee, 0x1a, 0x13, 0x39, 0x91, 0x10, 0xf9, - 0x0e, 0xbc, 0x92, 0x27, 0x92, 0x19, 0x4d, 0xb9, 0xc1, 0xd0, 0xdc, 0x30, 0x0d, 0xa5, 0x56, 0x7f, - 0x10, 0x9c, 0xad, 0xff, 0x7b, 0x16, 0xa6, 0xe5, 0xf8, 0x09, 0x6d, 0x42, 0xf5, 0xd0, 0x33, 0xdb, - 0xf2, 0x23, 0x1e, 0x6a, 0xa4, 0xbe, 0xf5, 0x4a, 0x15, 0x9b, 0x4b, 0x19, 0x2b, 0xec, 0xa9, 0x5a, - 0x78, 0xdb, 0x40, 0xcf, 0xa0, 0x9e, 0xfc, 0x24, 0x83, 0x70, 0xfc, 0x5d, 0x98, 0xf5, 0xc5, 0xa9, - 0xb9, 0x3a, 0x96, 0x86, 0x4b, 0x47, 0x1b, 0x50, 0x56, 0x9f, 0x2c, 0x90, 0x3e, 0x62, 0x4c, 0x7c, - 0xf2, 0x68, 0x36, 0x32, 0xd7, 0x84, 0x8c, 0xa7, 0xbc, 0x39, 0xd0, 0xbf, 0x65, 0xa0, 0x57, 0x73, - 0x9f, 0xad, 0xe1, 0x89, 0xaf, 0x8d, 0x23, 0x11, 0x82, 0x0f, 0xa1, 0x16, 0x1f, 0xcf, 0xa2, 0xd5, - 0xf3, 0x66, 0xc3, 0xcd, 0x95, 0x31, 0x14, 0xa1, 0xd4, 0xf8, 0x7e, 0x68, 0x35, 0x57, 0x95, 0x2c, - 0xa9, 0x19, 0x23, 0x5b, 0x5c, 0x40, 0x3f, 0x06, 0x94, 0x9e, 0x39, 0xa2, 0xeb, 0x17, 0x99, 0x8f, - 0x36, 0xf1, 0x39, 0x54, 0x62, 0x87, 0x1f, 0xc1, 0x7c, 0x6a, 0x5a, 0x86, 0xf4, 0x4e, 0x36, 0x6f, - 0x0a, 0xd9, 0x7c, 0x75, 0x3c, 0x51, 0x78, 0x80, 0xf4, 0xac, 0x29, 0x76, 0x80, 0xdc, 0xe9, 0x58, - 0xec, 0x00, 0x39, 0x03, 0x2b, 0x11, 0x6b, 0xea, 0xc5, 0x1a, 0x8b, 0xb5, 0xc4, 0xcb, 0x36, 0x16, - 0x6b, 0xb1, 0x27, 0x2e, 0x2e, 0xa0, 0x8f, 0x61, 0x5a, 0xa2, 0xd0, 0xe5, 0x34, 0x99, 0x92, 0xb0, - 0x9c, 0xb5, 0x24, 0x04, 0xec, 0xc1, 0x8c, 0xde, 0x58, 0xa3, 0x95, 0xdc, 0x61, 0x99, 0x10, 0x35, - 0x76, 0x98, 0x16, 0x1e, 0x8a, 0x37, 0x30, 0xc9, 0x43, 0xe9, 0xed, 0x72, 0xf2, 0x50, 0x51, 0xc7, - 0x83, 0x0b, 0xa8, 0xcb, 0x3f, 0x06, 0xa6, 0x8a, 0x37, 0xba, 0x11, 0xe7, 0xc9, 0x6b, 0x74, 0x9a, - 0xd7, 0xcf, 0xa5, 0x13, 0xfb, 0xb4, 0xa0, 0x12, 0x16, 0x50, 0xf4, 0x8a, 0xc6, 0x94, 0x2c, 0xe7, - 0xcd, 0xcb, 0xd9, 0x8b, 0xa1, 0x0f, 0x64, 0x11, 0x8b, 0xf9, 0x20, 0x5e, 0x28, 0x63, 0x3e, 0xd0, - 0x6b, 0x1e, 0x2e, 0xa0, 0x1d, 0x80, 0xa8, 0x0c, 0xa1, 0x2b, 0xb1, 0xaa, 0x9d, 0x28, 0x64, 0xcd, - 0x66, 0xce, 0xaa, 0xb2, 0xfe, 0x8c, 0x5e, 0x95, 0x62, 0xde, 0xcc, 0x28, 0x57, 0xcd, 0xba, 0x3e, - 0x3d, 0x66, 0xd9, 0x1a, 0x17, 0xd0, 0x7d, 0xa8, 0xc5, 0x8b, 0x55, 0x2c, 0x1f, 0x64, 0xd6, 0xb1, - 0x4c, 0x39, 0xcf, 0xa0, 0x91, 0x57, 0xc5, 0xd0, 0xad, 0xb8, 0xc4, 0x71, 0xa5, 0x2e, 0x53, 0xb6, - 0x0d, 0x4b, 0xd9, 0xf5, 0x08, 0xdd, 0x8c, 0x4b, 0xce, 0xaf, 0x82, 0xcd, 0x1b, 0x17, 0xa0, 0x14, - 0x56, 0xfd, 0x10, 0x2a, 0xe1, 0x3f, 0x1b, 0x62, 0x71, 0x92, 0xfc, 0xbf, 0x43, 0x5c, 0xd7, 0x11, - 0x75, 0x82, 0xb7, 0x8d, 0x8d, 0xdb, 0x7f, 0xfc, 0x6a, 0xc5, 0xf8, 0xdb, 0x57, 0x2b, 0xc6, 0xdf, - 0xbf, 0x5a, 0x31, 0x7e, 0xfd, 0x8f, 0x95, 0x02, 0xe0, 0x76, 0x6f, 0xad, 0x4d, 0x3d, 0x67, 0xcd, - 0xb4, 0xad, 0x36, 0x5d, 0x73, 0xd7, 0xd7, 0x14, 0x8f, 0x37, 0x68, 0xfb, 0xd4, 0x1b, 0x51, 0xef, - 0xd9, 0xc4, 0xe0, 0xf8, 0x78, 0x8a, 0xff, 0xd7, 0xf0, 0xdd, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, - 0x94, 0x33, 0x95, 0x63, 0x85, 0x28, 0x00, 0x00, + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{68} +} + +var File_protos_o2control_proto protoreflect.FileDescriptor + +var file_protos_o2control_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x4d, 0x65, 0x73, + 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, 0x6c, 0x0a, 0x1a, 0x45, + 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x13, 0x45, 0x76, 0x5f, + 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x46, + 0x0a, 0x14, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x0f, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, + 0x6b, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, + 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, + 0x64, 0x22, 0x69, 0x0a, 0x13, 0x45, 0x76, 0x5f, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, + 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2c, + 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x55, 0x0a, 0x15, + 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x17, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, + 0x4a, 0x0a, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x69, + 0x64, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x45, 0x76, 0x5f, 0x4b, + 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x22, 0x0f, 0x0a, + 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, + 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x49, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x6f, + 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, + 0x65, 0x61, 0x74, 0x22, 0x34, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, + 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, + 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x42, 0x07, 0x0a, 0x05, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x22, 0x86, 0x06, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x61, 0x0a, 0x17, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x17, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x52, 0x0a, + 0x12, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, 0x74, + 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, + 0x4f, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x74, + 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x12, 0x40, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x4d, 0x65, 0x73, 0x6f, + 0x73, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, + 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x58, 0x0a, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x10, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, + 0x4b, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x00, + 0x52, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, + 0x42, 0x09, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x07, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, + 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, + 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, + 0x22, 0x8f, 0x02, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, + 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x0f, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x0f, 0x0a, + 0x0d, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x78, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x22, 0xca, 0x04, 0x0a, 0x0f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x57, 0x68, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, + 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, + 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x04, + 0x76, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, + 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xbc, 0x01, 0x0a, 0x15, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x76, 0x61, 0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x53, + 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 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, 0x84, 0x01, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x22, 0xcf, 0x01, 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2b, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x22, 0x61, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, + 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, + 0x4f, 0x50, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x0d, 0x0a, + 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, + 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x4f, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0x05, 0x22, 0x6b, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x22, 0x93, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x3f, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, + 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, 0x6c, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x26, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x06, 0x4f, 0x70, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x0f, 0x0a, + 0x0b, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x04, 0x22, 0x8b, 0x01, 0x0a, + 0x16, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4b, 0x0a, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, + 0x6e, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x52, 0x75, 0x6e, 0x6e, + 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x65, + 0x0a, 0x17, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x6c, 0x65, + 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x52, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0xcc, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1f, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x73, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, 0x78, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x58, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf8, 0x01, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6c, 0x6f, 0x63, + 0x6b, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, + 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, + 0x22, 0x84, 0x01, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x28, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, + 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0x45, + 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x7d, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x22, 0x4d, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0xf0, 0x03, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x36, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, + 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x40, 0x0a, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x6e, 0x76, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x76, + 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x13, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, + 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x11, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, + 0x0b, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6b, 0x69, + 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x75, 0x6e, + 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x6e, 0x69, + 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x43, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, + 0x76, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x76, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x22, 0x91, 0x04, 0x0a, + 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, + 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, + 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, + 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x73, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x08, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x76, + 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x56, + 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x3d, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x3b, 0x0a, + 0x0d, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x3a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0xa5, 0x01, 0x0a, + 0x1b, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x72, 0x65, 0x70, 0x6f, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x28, + 0x0a, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, + 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, + 0x6c, 0x54, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, + 0x54, 0x61, 0x67, 0x73, 0x22, 0x62, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, + 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, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4d, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, 0x0a, 0x08, 0x52, 0x65, 0x70, 0x6f, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x0e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, + 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x67, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x4e, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x52, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, + 0x2e, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x39, + 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x2d, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3d, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x51, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x32, 0xfd, 0x0d, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, + 0x43, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, + 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, + 0x12, 0x42, 0x0a, 0x08, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1a, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, + 0x0e, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x77, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, + 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x12, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x11, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x23, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x12, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x73, + 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, + 0x12, 0x3f, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x4e, 0x0a, 0x0c, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, + 0x73, 0x12, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, + 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, + 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x42, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x45, 0x0a, + 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x12, + 0x19, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, + 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x12, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, + 0x42, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, + 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x18, 0x53, + 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x62, 0x65, 0x12, 0x1b, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x30, 0x01, 0x42, 0x2f, 0x0a, 0x22, 0x63, 0x68, 0x2e, 0x63, 0x65, 0x72, 0x6e, 0x2e, 0x61, + 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x6f, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x72, 0x70, 0x63, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x73, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_protos_o2control_proto_rawDescOnce sync.Once + file_protos_o2control_proto_rawDescData = file_protos_o2control_proto_rawDesc +) + +func file_protos_o2control_proto_rawDescGZIP() []byte { + file_protos_o2control_proto_rawDescOnce.Do(func() { + file_protos_o2control_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_o2control_proto_rawDescData) + }) + return file_protos_o2control_proto_rawDescData +} + +var file_protos_o2control_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_protos_o2control_proto_msgTypes = make([]protoimpl.MessageInfo, 79) +var file_protos_o2control_proto_goTypes = []interface{}{ + (StatusUpdate_Level)(0), // 0: o2control.StatusUpdate.Level + (ControlEnvironmentRequest_Optype)(0), // 1: o2control.ControlEnvironmentRequest.Optype + (EnvironmentOperation_Optype)(0), // 2: o2control.EnvironmentOperation.Optype + (*Event_MesosHeartbeat)(nil), // 3: o2control.Event_MesosHeartbeat + (*Ev_EnvironmentStateChanged)(nil), // 4: o2control.Ev_EnvironmentStateChanged + (*Ev_TaskStateChanged)(nil), // 5: o2control.Ev_TaskStateChanged + (*Ev_TaskStatusChanged)(nil), // 6: o2control.Ev_TaskStatusChanged + (*Ev_TaskLaunched)(nil), // 7: o2control.Ev_TaskLaunched + (*Ev_MesosTaskCreated)(nil), // 8: o2control.Ev_MesosTaskCreated + (*Ev_EnvironmentCreated)(nil), // 9: o2control.Ev_EnvironmentCreated + (*Ev_EnvironmentDestroyed)(nil), // 10: o2control.Ev_EnvironmentDestroyed + (*Ev_EnvironmentError)(nil), // 11: o2control.Ev_EnvironmentError + (*Ev_KillTasksMesos)(nil), // 12: o2control.Ev_KillTasksMesos + (*StatusRequest)(nil), // 13: o2control.StatusRequest + (*StatusReply)(nil), // 14: o2control.StatusReply + (*StatusUpdate)(nil), // 15: o2control.StatusUpdate + (*Event)(nil), // 16: o2control.Event + (*SubscribeRequest)(nil), // 17: o2control.SubscribeRequest + (*GetFrameworkInfoRequest)(nil), // 18: o2control.GetFrameworkInfoRequest + (*Version)(nil), // 19: o2control.Version + (*GetFrameworkInfoReply)(nil), // 20: o2control.GetFrameworkInfoReply + (*TeardownRequest)(nil), // 21: o2control.TeardownRequest + (*TeardownReply)(nil), // 22: o2control.TeardownReply + (*GetEnvironmentsRequest)(nil), // 23: o2control.GetEnvironmentsRequest + (*GetEnvironmentsReply)(nil), // 24: o2control.GetEnvironmentsReply + (*EnvironmentInfo)(nil), // 25: o2control.EnvironmentInfo + (*NewEnvironmentRequest)(nil), // 26: o2control.NewEnvironmentRequest + (*NewEnvironmentReply)(nil), // 27: o2control.NewEnvironmentReply + (*GetEnvironmentRequest)(nil), // 28: o2control.GetEnvironmentRequest + (*GetEnvironmentReply)(nil), // 29: o2control.GetEnvironmentReply + (*ControlEnvironmentRequest)(nil), // 30: o2control.ControlEnvironmentRequest + (*ControlEnvironmentReply)(nil), // 31: o2control.ControlEnvironmentReply + (*ModifyEnvironmentRequest)(nil), // 32: o2control.ModifyEnvironmentRequest + (*EnvironmentOperation)(nil), // 33: o2control.EnvironmentOperation + (*ModifyEnvironmentReply)(nil), // 34: o2control.ModifyEnvironmentReply + (*DestroyEnvironmentRequest)(nil), // 35: o2control.DestroyEnvironmentRequest + (*DestroyEnvironmentReply)(nil), // 36: o2control.DestroyEnvironmentReply + (*SetEnvironmentPropertiesRequest)(nil), // 37: o2control.SetEnvironmentPropertiesRequest + (*SetEnvironmentPropertiesReply)(nil), // 38: o2control.SetEnvironmentPropertiesReply + (*GetEnvironmentPropertiesRequest)(nil), // 39: o2control.GetEnvironmentPropertiesRequest + (*GetEnvironmentPropertiesReply)(nil), // 40: o2control.GetEnvironmentPropertiesReply + (*ShortTaskInfo)(nil), // 41: o2control.ShortTaskInfo + (*TaskDeploymentInfo)(nil), // 42: o2control.TaskDeploymentInfo + (*GetTasksRequest)(nil), // 43: o2control.GetTasksRequest + (*GetTasksReply)(nil), // 44: o2control.GetTasksReply + (*GetTaskRequest)(nil), // 45: o2control.GetTaskRequest + (*GetTaskReply)(nil), // 46: o2control.GetTaskReply + (*TaskClassInfo)(nil), // 47: o2control.TaskClassInfo + (*CommandInfo)(nil), // 48: o2control.CommandInfo + (*ChannelInfo)(nil), // 49: o2control.ChannelInfo + (*TaskInfo)(nil), // 50: o2control.TaskInfo + (*CleanupTasksRequest)(nil), // 51: o2control.CleanupTasksRequest + (*CleanupTasksReply)(nil), // 52: o2control.CleanupTasksReply + (*GetRolesRequest)(nil), // 53: o2control.GetRolesRequest + (*RoleInfo)(nil), // 54: o2control.RoleInfo + (*GetRolesReply)(nil), // 55: o2control.GetRolesReply + (*GetWorkflowTemplatesRequest)(nil), // 56: o2control.GetWorkflowTemplatesRequest + (*WorkflowTemplateInfo)(nil), // 57: o2control.WorkflowTemplateInfo + (*GetWorkflowTemplatesReply)(nil), // 58: o2control.GetWorkflowTemplatesReply + (*ListReposRequest)(nil), // 59: o2control.ListReposRequest + (*RepoInfo)(nil), // 60: o2control.RepoInfo + (*ListReposReply)(nil), // 61: o2control.ListReposReply + (*AddRepoRequest)(nil), // 62: o2control.AddRepoRequest + (*AddRepoReply)(nil), // 63: o2control.AddRepoReply + (*RemoveRepoRequest)(nil), // 64: o2control.RemoveRepoRequest + (*RemoveRepoReply)(nil), // 65: o2control.RemoveRepoReply + (*RefreshReposRequest)(nil), // 66: o2control.RefreshReposRequest + (*SetDefaultRepoRequest)(nil), // 67: o2control.SetDefaultRepoRequest + (*SetGlobalDefaultRevisionRequest)(nil), // 68: o2control.SetGlobalDefaultRevisionRequest + (*SetRepoDefaultRevisionRequest)(nil), // 69: o2control.SetRepoDefaultRevisionRequest + (*SetRepoDefaultRevisionReply)(nil), // 70: o2control.SetRepoDefaultRevisionReply + (*Empty)(nil), // 71: o2control.Empty + nil, // 72: o2control.EnvironmentInfo.DefaultsEntry + nil, // 73: o2control.EnvironmentInfo.VarsEntry + nil, // 74: o2control.EnvironmentInfo.UserVarsEntry + nil, // 75: o2control.NewEnvironmentRequest.VarsEntry + nil, // 76: o2control.SetEnvironmentPropertiesRequest.PropertiesEntry + nil, // 77: o2control.GetEnvironmentPropertiesReply.PropertiesEntry + nil, // 78: o2control.TaskInfo.PropertiesEntry + nil, // 79: o2control.RoleInfo.DefaultsEntry + nil, // 80: o2control.RoleInfo.VarsEntry + nil, // 81: o2control.RoleInfo.UserVarsEntry +} +var file_protos_o2control_proto_depIdxs = []int32{ + 25, // 0: o2control.Ev_EnvironmentCreated.environment:type_name -> o2control.EnvironmentInfo + 52, // 1: o2control.Ev_EnvironmentDestroyed.cleanupTasksReply:type_name -> o2control.CleanupTasksReply + 15, // 2: o2control.StatusReply.statusUpdates:type_name -> o2control.StatusUpdate + 0, // 3: o2control.StatusUpdate.level:type_name -> o2control.StatusUpdate.Level + 3, // 4: o2control.StatusUpdate.mesosHeartbeat:type_name -> o2control.Event_MesosHeartbeat + 4, // 5: o2control.Event.environmentStateChanged:type_name -> o2control.Ev_EnvironmentStateChanged + 9, // 6: o2control.Event.environmentCreated:type_name -> o2control.Ev_EnvironmentCreated + 5, // 7: o2control.Event.taskStateChanged:type_name -> o2control.Ev_TaskStateChanged + 6, // 8: o2control.Event.taskStatusChanged:type_name -> o2control.Ev_TaskStatusChanged + 7, // 9: o2control.Event.tasklaunched:type_name -> o2control.Ev_TaskLaunched + 8, // 10: o2control.Event.mesosTaskcreated:type_name -> o2control.Ev_MesosTaskCreated + 10, // 11: o2control.Event.environmentDestroyed:type_name -> o2control.Ev_EnvironmentDestroyed + 11, // 12: o2control.Event.environmentError:type_name -> o2control.Ev_EnvironmentError + 12, // 13: o2control.Event.killtasksMesos:type_name -> o2control.Ev_KillTasksMesos + 19, // 14: o2control.GetFrameworkInfoReply.version:type_name -> o2control.Version + 25, // 15: o2control.GetEnvironmentsReply.environments:type_name -> o2control.EnvironmentInfo + 41, // 16: o2control.EnvironmentInfo.tasks:type_name -> o2control.ShortTaskInfo + 72, // 17: o2control.EnvironmentInfo.defaults:type_name -> o2control.EnvironmentInfo.DefaultsEntry + 73, // 18: o2control.EnvironmentInfo.vars:type_name -> o2control.EnvironmentInfo.VarsEntry + 74, // 19: o2control.EnvironmentInfo.userVars:type_name -> o2control.EnvironmentInfo.UserVarsEntry + 75, // 20: o2control.NewEnvironmentRequest.vars:type_name -> o2control.NewEnvironmentRequest.VarsEntry + 25, // 21: o2control.NewEnvironmentReply.environment:type_name -> o2control.EnvironmentInfo + 25, // 22: o2control.GetEnvironmentReply.environment:type_name -> o2control.EnvironmentInfo + 54, // 23: o2control.GetEnvironmentReply.workflow:type_name -> o2control.RoleInfo + 1, // 24: o2control.ControlEnvironmentRequest.type:type_name -> o2control.ControlEnvironmentRequest.Optype + 33, // 25: o2control.ModifyEnvironmentRequest.operations:type_name -> o2control.EnvironmentOperation + 2, // 26: o2control.EnvironmentOperation.type:type_name -> o2control.EnvironmentOperation.Optype + 33, // 27: o2control.ModifyEnvironmentReply.failedOperations:type_name -> o2control.EnvironmentOperation + 52, // 28: o2control.DestroyEnvironmentReply.cleanupTasksReply:type_name -> o2control.CleanupTasksReply + 76, // 29: o2control.SetEnvironmentPropertiesRequest.properties:type_name -> o2control.SetEnvironmentPropertiesRequest.PropertiesEntry + 77, // 30: o2control.GetEnvironmentPropertiesReply.properties:type_name -> o2control.GetEnvironmentPropertiesReply.PropertiesEntry + 42, // 31: o2control.ShortTaskInfo.deploymentInfo:type_name -> o2control.TaskDeploymentInfo + 41, // 32: o2control.GetTasksReply.tasks:type_name -> o2control.ShortTaskInfo + 50, // 33: o2control.GetTaskReply.task:type_name -> o2control.TaskInfo + 41, // 34: o2control.TaskInfo.shortInfo:type_name -> o2control.ShortTaskInfo + 47, // 35: o2control.TaskInfo.classInfo:type_name -> o2control.TaskClassInfo + 49, // 36: o2control.TaskInfo.inboundChannels:type_name -> o2control.ChannelInfo + 49, // 37: o2control.TaskInfo.outboundChannels:type_name -> o2control.ChannelInfo + 48, // 38: o2control.TaskInfo.commandInfo:type_name -> o2control.CommandInfo + 78, // 39: o2control.TaskInfo.properties:type_name -> o2control.TaskInfo.PropertiesEntry + 41, // 40: o2control.CleanupTasksReply.killedTasks:type_name -> o2control.ShortTaskInfo + 41, // 41: o2control.CleanupTasksReply.runningTasks:type_name -> o2control.ShortTaskInfo + 54, // 42: o2control.RoleInfo.roles:type_name -> o2control.RoleInfo + 79, // 43: o2control.RoleInfo.defaults:type_name -> o2control.RoleInfo.DefaultsEntry + 80, // 44: o2control.RoleInfo.vars:type_name -> o2control.RoleInfo.VarsEntry + 81, // 45: o2control.RoleInfo.userVars:type_name -> o2control.RoleInfo.UserVarsEntry + 54, // 46: o2control.GetRolesReply.roles:type_name -> o2control.RoleInfo + 57, // 47: o2control.GetWorkflowTemplatesReply.workflowTemplates:type_name -> o2control.WorkflowTemplateInfo + 60, // 48: o2control.ListReposReply.repos:type_name -> o2control.RepoInfo + 13, // 49: o2control.Control.TrackStatus:input_type -> o2control.StatusRequest + 18, // 50: o2control.Control.GetFrameworkInfo:input_type -> o2control.GetFrameworkInfoRequest + 21, // 51: o2control.Control.Teardown:input_type -> o2control.TeardownRequest + 23, // 52: o2control.Control.GetEnvironments:input_type -> o2control.GetEnvironmentsRequest + 26, // 53: o2control.Control.NewEnvironment:input_type -> o2control.NewEnvironmentRequest + 28, // 54: o2control.Control.GetEnvironment:input_type -> o2control.GetEnvironmentRequest + 30, // 55: o2control.Control.ControlEnvironment:input_type -> o2control.ControlEnvironmentRequest + 32, // 56: o2control.Control.ModifyEnvironment:input_type -> o2control.ModifyEnvironmentRequest + 35, // 57: o2control.Control.DestroyEnvironment:input_type -> o2control.DestroyEnvironmentRequest + 43, // 58: o2control.Control.GetTasks:input_type -> o2control.GetTasksRequest + 45, // 59: o2control.Control.GetTask:input_type -> o2control.GetTaskRequest + 51, // 60: o2control.Control.CleanupTasks:input_type -> o2control.CleanupTasksRequest + 53, // 61: o2control.Control.GetRoles:input_type -> o2control.GetRolesRequest + 56, // 62: o2control.Control.GetWorkflowTemplates:input_type -> o2control.GetWorkflowTemplatesRequest + 59, // 63: o2control.Control.ListRepos:input_type -> o2control.ListReposRequest + 62, // 64: o2control.Control.AddRepo:input_type -> o2control.AddRepoRequest + 64, // 65: o2control.Control.RemoveRepo:input_type -> o2control.RemoveRepoRequest + 66, // 66: o2control.Control.RefreshRepos:input_type -> o2control.RefreshReposRequest + 67, // 67: o2control.Control.SetDefaultRepo:input_type -> o2control.SetDefaultRepoRequest + 68, // 68: o2control.Control.SetGlobalDefaultRevision:input_type -> o2control.SetGlobalDefaultRevisionRequest + 69, // 69: o2control.Control.SetRepoDefaultRevision:input_type -> o2control.SetRepoDefaultRevisionRequest + 17, // 70: o2control.Control.Subscribe:input_type -> o2control.SubscribeRequest + 14, // 71: o2control.Control.TrackStatus:output_type -> o2control.StatusReply + 20, // 72: o2control.Control.GetFrameworkInfo:output_type -> o2control.GetFrameworkInfoReply + 22, // 73: o2control.Control.Teardown:output_type -> o2control.TeardownReply + 24, // 74: o2control.Control.GetEnvironments:output_type -> o2control.GetEnvironmentsReply + 27, // 75: o2control.Control.NewEnvironment:output_type -> o2control.NewEnvironmentReply + 29, // 76: o2control.Control.GetEnvironment:output_type -> o2control.GetEnvironmentReply + 31, // 77: o2control.Control.ControlEnvironment:output_type -> o2control.ControlEnvironmentReply + 34, // 78: o2control.Control.ModifyEnvironment:output_type -> o2control.ModifyEnvironmentReply + 36, // 79: o2control.Control.DestroyEnvironment:output_type -> o2control.DestroyEnvironmentReply + 44, // 80: o2control.Control.GetTasks:output_type -> o2control.GetTasksReply + 46, // 81: o2control.Control.GetTask:output_type -> o2control.GetTaskReply + 52, // 82: o2control.Control.CleanupTasks:output_type -> o2control.CleanupTasksReply + 55, // 83: o2control.Control.GetRoles:output_type -> o2control.GetRolesReply + 58, // 84: o2control.Control.GetWorkflowTemplates:output_type -> o2control.GetWorkflowTemplatesReply + 61, // 85: o2control.Control.ListRepos:output_type -> o2control.ListReposReply + 63, // 86: o2control.Control.AddRepo:output_type -> o2control.AddRepoReply + 65, // 87: o2control.Control.RemoveRepo:output_type -> o2control.RemoveRepoReply + 71, // 88: o2control.Control.RefreshRepos:output_type -> o2control.Empty + 71, // 89: o2control.Control.SetDefaultRepo:output_type -> o2control.Empty + 71, // 90: o2control.Control.SetGlobalDefaultRevision:output_type -> o2control.Empty + 70, // 91: o2control.Control.SetRepoDefaultRevision:output_type -> o2control.SetRepoDefaultRevisionReply + 16, // 92: o2control.Control.Subscribe:output_type -> o2control.Event + 71, // [71:93] is the sub-list for method output_type + 49, // [49:71] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_protos_o2control_proto_init() } +func file_protos_o2control_proto_init() { + if File_protos_o2control_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protos_o2control_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event_MesosHeartbeat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentStateChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskStateChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskStatusChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskLaunched); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_MesosTaskCreated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentCreated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentDestroyed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_KillTasksMesos); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFrameworkInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFrameworkInfoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeardownRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeardownReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentsReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvironmentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ControlEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ControlEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvironmentOperation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEnvironmentPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEnvironmentPropertiesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentPropertiesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShortTaskInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskDeploymentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTasksReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskClassInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommandInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupTasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupTasksReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkflowTemplatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowTemplateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkflowTemplatesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepoInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReposReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRepoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDefaultRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetGlobalDefaultRevisionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRepoDefaultRevisionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRepoDefaultRevisionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[68].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_protos_o2control_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*StatusUpdate_MesosHeartbeat)(nil), + } + file_protos_o2control_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*Event_EnvironmentStateChanged)(nil), + (*Event_EnvironmentCreated)(nil), + (*Event_TaskStateChanged)(nil), + (*Event_TaskStatusChanged)(nil), + (*Event_Tasklaunched)(nil), + (*Event_MesosTaskcreated)(nil), + (*Event_EnvironmentDestroyed)(nil), + (*Event_EnvironmentError)(nil), + (*Event_KilltasksMesos)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_protos_o2control_proto_rawDesc, + NumEnums: 3, + NumMessages: 79, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_protos_o2control_proto_goTypes, + DependencyIndexes: file_protos_o2control_proto_depIdxs, + EnumInfos: file_protos_o2control_proto_enumTypes, + MessageInfos: file_protos_o2control_proto_msgTypes, + }.Build() + File_protos_o2control_proto = out.File + file_protos_o2control_proto_rawDesc = nil + file_protos_o2control_proto_goTypes = nil + file_protos_o2control_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // ControlClient is the client API for Control service. // @@ -4492,10 +5999,10 @@ type ControlClient interface { } type controlClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewControlClient(cc *grpc.ClientConn) ControlClient { +func NewControlClient(cc grpc.ClientConnInterface) ControlClient { return &controlClient{cc} } @@ -4773,70 +6280,70 @@ type ControlServer interface { type UnimplementedControlServer struct { } -func (*UnimplementedControlServer) TrackStatus(req *StatusRequest, srv Control_TrackStatusServer) error { +func (*UnimplementedControlServer) TrackStatus(*StatusRequest, Control_TrackStatusServer) error { return status.Errorf(codes.Unimplemented, "method TrackStatus not implemented") } -func (*UnimplementedControlServer) GetFrameworkInfo(ctx context.Context, req *GetFrameworkInfoRequest) (*GetFrameworkInfoReply, error) { +func (*UnimplementedControlServer) GetFrameworkInfo(context.Context, *GetFrameworkInfoRequest) (*GetFrameworkInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFrameworkInfo not implemented") } -func (*UnimplementedControlServer) Teardown(ctx context.Context, req *TeardownRequest) (*TeardownReply, error) { +func (*UnimplementedControlServer) Teardown(context.Context, *TeardownRequest) (*TeardownReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Teardown not implemented") } -func (*UnimplementedControlServer) GetEnvironments(ctx context.Context, req *GetEnvironmentsRequest) (*GetEnvironmentsReply, error) { +func (*UnimplementedControlServer) GetEnvironments(context.Context, *GetEnvironmentsRequest) (*GetEnvironmentsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEnvironments not implemented") } -func (*UnimplementedControlServer) NewEnvironment(ctx context.Context, req *NewEnvironmentRequest) (*NewEnvironmentReply, error) { +func (*UnimplementedControlServer) NewEnvironment(context.Context, *NewEnvironmentRequest) (*NewEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method NewEnvironment not implemented") } -func (*UnimplementedControlServer) GetEnvironment(ctx context.Context, req *GetEnvironmentRequest) (*GetEnvironmentReply, error) { +func (*UnimplementedControlServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*GetEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEnvironment not implemented") } -func (*UnimplementedControlServer) ControlEnvironment(ctx context.Context, req *ControlEnvironmentRequest) (*ControlEnvironmentReply, error) { +func (*UnimplementedControlServer) ControlEnvironment(context.Context, *ControlEnvironmentRequest) (*ControlEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ControlEnvironment not implemented") } -func (*UnimplementedControlServer) ModifyEnvironment(ctx context.Context, req *ModifyEnvironmentRequest) (*ModifyEnvironmentReply, error) { +func (*UnimplementedControlServer) ModifyEnvironment(context.Context, *ModifyEnvironmentRequest) (*ModifyEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ModifyEnvironment not implemented") } -func (*UnimplementedControlServer) DestroyEnvironment(ctx context.Context, req *DestroyEnvironmentRequest) (*DestroyEnvironmentReply, error) { +func (*UnimplementedControlServer) DestroyEnvironment(context.Context, *DestroyEnvironmentRequest) (*DestroyEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DestroyEnvironment not implemented") } -func (*UnimplementedControlServer) GetTasks(ctx context.Context, req *GetTasksRequest) (*GetTasksReply, error) { +func (*UnimplementedControlServer) GetTasks(context.Context, *GetTasksRequest) (*GetTasksReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTasks not implemented") } -func (*UnimplementedControlServer) GetTask(ctx context.Context, req *GetTaskRequest) (*GetTaskReply, error) { +func (*UnimplementedControlServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") } -func (*UnimplementedControlServer) CleanupTasks(ctx context.Context, req *CleanupTasksRequest) (*CleanupTasksReply, error) { +func (*UnimplementedControlServer) CleanupTasks(context.Context, *CleanupTasksRequest) (*CleanupTasksReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CleanupTasks not implemented") } -func (*UnimplementedControlServer) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesReply, error) { +func (*UnimplementedControlServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") } -func (*UnimplementedControlServer) GetWorkflowTemplates(ctx context.Context, req *GetWorkflowTemplatesRequest) (*GetWorkflowTemplatesReply, error) { +func (*UnimplementedControlServer) GetWorkflowTemplates(context.Context, *GetWorkflowTemplatesRequest) (*GetWorkflowTemplatesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplates not implemented") } -func (*UnimplementedControlServer) ListRepos(ctx context.Context, req *ListReposRequest) (*ListReposReply, error) { +func (*UnimplementedControlServer) ListRepos(context.Context, *ListReposRequest) (*ListReposReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ListRepos not implemented") } -func (*UnimplementedControlServer) AddRepo(ctx context.Context, req *AddRepoRequest) (*AddRepoReply, error) { +func (*UnimplementedControlServer) AddRepo(context.Context, *AddRepoRequest) (*AddRepoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AddRepo not implemented") } -func (*UnimplementedControlServer) RemoveRepo(ctx context.Context, req *RemoveRepoRequest) (*RemoveRepoReply, error) { +func (*UnimplementedControlServer) RemoveRepo(context.Context, *RemoveRepoRequest) (*RemoveRepoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveRepo not implemented") } -func (*UnimplementedControlServer) RefreshRepos(ctx context.Context, req *RefreshReposRequest) (*Empty, error) { +func (*UnimplementedControlServer) RefreshRepos(context.Context, *RefreshReposRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RefreshRepos not implemented") } -func (*UnimplementedControlServer) SetDefaultRepo(ctx context.Context, req *SetDefaultRepoRequest) (*Empty, error) { +func (*UnimplementedControlServer) SetDefaultRepo(context.Context, *SetDefaultRepoRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetDefaultRepo not implemented") } -func (*UnimplementedControlServer) SetGlobalDefaultRevision(ctx context.Context, req *SetGlobalDefaultRevisionRequest) (*Empty, error) { +func (*UnimplementedControlServer) SetGlobalDefaultRevision(context.Context, *SetGlobalDefaultRevisionRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetGlobalDefaultRevision not implemented") } -func (*UnimplementedControlServer) SetRepoDefaultRevision(ctx context.Context, req *SetRepoDefaultRevisionRequest) (*SetRepoDefaultRevisionReply, error) { +func (*UnimplementedControlServer) SetRepoDefaultRevision(context.Context, *SetRepoDefaultRevisionRequest) (*SetRepoDefaultRevisionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetRepoDefaultRevision not implemented") } -func (*UnimplementedControlServer) Subscribe(req *SubscribeRequest, srv Control_SubscribeServer) error { +func (*UnimplementedControlServer) Subscribe(*SubscribeRequest, Control_SubscribeServer) error { return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") } @@ -5345,14513 +6852,3 @@ var _Control_serviceDesc = grpc.ServiceDesc{ }, Metadata: "protos/o2control.proto", } - -func (m *Event_MesosHeartbeat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Event_MesosHeartbeat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_MesosHeartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentStateChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Destination) > 0 { - i -= len(m.Destination) - copy(dAtA[i:], m.Destination) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Destination))) - i-- - dAtA[i] = 0x1a - } - if len(m.Source) > 0 { - i -= len(m.Source) - copy(dAtA[i:], m.Source) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Source))) - i-- - dAtA[i] = 0x12 - } - if len(m.Event) > 0 { - i -= len(m.Event) - copy(dAtA[i:], m.Event) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Event))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskStateChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskStatusChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskStatusChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskStatusChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskLaunched) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskLaunched) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskLaunched) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_MesosTaskCreated) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_MesosTaskCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_MesosTaskCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExecutorResources) > 0 { - i -= len(m.ExecutorResources) - copy(dAtA[i:], m.ExecutorResources) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ExecutorResources))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskresources) > 0 { - i -= len(m.Taskresources) - copy(dAtA[i:], m.Taskresources) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskresources))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentCreated) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentDestroyed) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentDestroyed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentDestroyed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Environmentid) > 0 { - i -= len(m.Environmentid) - copy(dAtA[i:], m.Environmentid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Environmentid))) - i-- - dAtA[i] = 0x12 - } - if m.CleanupTasksReply != nil { - { - size, err := m.CleanupTasksReply.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentError) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentError) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentError) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Ev_KillTasksMesos) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_KillTasksMesos) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_KillTasksMesos) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StatusReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.StatusUpdates) > 0 { - for iNdEx := len(m.StatusUpdates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StatusUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StatusUpdate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusUpdate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Event != nil { - { - size := m.Event.Size() - i -= size - if _, err := m.Event.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if m.Level != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Level)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StatusUpdate_MesosHeartbeat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusUpdate_MesosHeartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.MesosHeartbeat != nil { - { - size, err := m.MesosHeartbeat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Event) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Event) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Payload != nil { - { - size := m.Payload.Size() - i -= size - if _, err := m.Payload.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if len(m.Timestamp) > 0 { - i -= len(m.Timestamp) - copy(dAtA[i:], m.Timestamp) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Timestamp))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Event_EnvironmentStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentStateChanged != nil { - { - size, err := m.EnvironmentStateChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentCreated != nil { - { - size, err := m.EnvironmentCreated.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *Event_TaskStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_TaskStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.TaskStateChanged != nil { - { - size, err := m.TaskStateChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *Event_TaskStatusChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_TaskStatusChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.TaskStatusChanged != nil { - { - size, err := m.TaskStatusChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - return len(dAtA) - i, nil -} -func (m *Event_Tasklaunched) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_Tasklaunched) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Tasklaunched != nil { - { - size, err := m.Tasklaunched.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - return len(dAtA) - i, nil -} -func (m *Event_MesosTaskcreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_MesosTaskcreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.MesosTaskcreated != nil { - { - size, err := m.MesosTaskcreated.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentDestroyed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentDestroyed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentDestroyed != nil { - { - size, err := m.EnvironmentDestroyed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentError) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentError) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentError != nil { - { - size, err := m.EnvironmentError.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - return len(dAtA) - i, nil -} -func (m *Event_KilltasksMesos) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_KilltasksMesos) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.KilltasksMesos != nil { - { - size, err := m.KilltasksMesos.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - return len(dAtA) - i, nil -} -func (m *SubscribeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SubscribeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SubscribeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetFrameworkInfoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetFrameworkInfoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetFrameworkInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Version) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Version) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.VersionStr) > 0 { - i -= len(m.VersionStr) - copy(dAtA[i:], m.VersionStr) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.VersionStr))) - i-- - dAtA[i] = 0x32 - } - if len(m.ProductName) > 0 { - i -= len(m.ProductName) - copy(dAtA[i:], m.ProductName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ProductName))) - i-- - dAtA[i] = 0x2a - } - if len(m.Build) > 0 { - i -= len(m.Build) - copy(dAtA[i:], m.Build) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Build))) - i-- - dAtA[i] = 0x22 - } - if m.Patch != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Patch)) - i-- - dAtA[i] = 0x18 - } - if m.Minor != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Minor)) - i-- - dAtA[i] = 0x10 - } - if m.Major != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Major)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetFrameworkInfoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetFrameworkInfoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetFrameworkInfoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Version != nil { - { - size, err := m.Version.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.InstanceName) > 0 { - i -= len(m.InstanceName) - copy(dAtA[i:], m.InstanceName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.InstanceName))) - i-- - dAtA[i] = 0x32 - } - if m.HostsCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.HostsCount)) - i-- - dAtA[i] = 0x28 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x22 - } - if m.TasksCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.TasksCount)) - i-- - dAtA[i] = 0x18 - } - if m.EnvironmentsCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.EnvironmentsCount)) - i-- - dAtA[i] = 0x10 - } - if len(m.FrameworkId) > 0 { - i -= len(m.FrameworkId) - copy(dAtA[i:], m.FrameworkId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FrameworkId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TeardownRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TeardownRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TeardownRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TeardownReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TeardownReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TeardownReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentsReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentsReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentsReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Environments) > 0 { - for iNdEx := len(m.Environments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Environments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.FrameworkId) > 0 { - i -= len(m.FrameworkId) - copy(dAtA[i:], m.FrameworkId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FrameworkId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *EnvironmentInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EnvironmentInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EnvironmentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.UserVars) > 0 { - for k := range m.UserVars { - v := m.UserVars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Defaults) > 0 { - for k := range m.Defaults { - v := m.Defaults[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - if m.CurrentRunNumber != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.CurrentRunNumber)) - i-- - dAtA[i] = 0x30 - } - if len(m.RootRole) > 0 { - i -= len(m.RootRole) - copy(dAtA[i:], m.RootRole) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RootRole))) - i-- - dAtA[i] = 0x2a - } - if len(m.Tasks) > 0 { - for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.CreatedWhen) > 0 { - i -= len(m.CreatedWhen) - copy(dAtA[i:], m.CreatedWhen) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.CreatedWhen))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NewEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NewEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NewEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.WorkflowTemplate) > 0 { - i -= len(m.WorkflowTemplate) - copy(dAtA[i:], m.WorkflowTemplate) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.WorkflowTemplate))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NewEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NewEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NewEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Workflow != nil { - { - size, err := m.Workflow.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ControlEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ControlEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ControlEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Type != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ControlEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ControlEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ControlEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CurrentRunNumber != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.CurrentRunNumber)) - i-- - dAtA[i] = 0x18 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ModifyEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ModifyEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ModifyEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ReconfigureAll { - i-- - if m.ReconfigureAll { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Operations) > 0 { - for iNdEx := len(m.Operations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Operations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *EnvironmentOperation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EnvironmentOperation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EnvironmentOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.RoleName) > 0 { - i -= len(m.RoleName) - copy(dAtA[i:], m.RoleName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RoleName))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ModifyEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ModifyEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ModifyEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0x12 - } - if len(m.FailedOperations) > 0 { - for iNdEx := len(m.FailedOperations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FailedOperations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DestroyEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DestroyEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DestroyEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Force { - i-- - if m.Force { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.AllowInRunningState { - i-- - if m.AllowInRunningState { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.KeepTasks { - i-- - if m.KeepTasks { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DestroyEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DestroyEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DestroyEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CleanupTasksReply != nil { - { - size, err := m.CleanupTasksReply.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetEnvironmentPropertiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetEnvironmentPropertiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetEnvironmentPropertiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetEnvironmentPropertiesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetEnvironmentPropertiesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetEnvironmentPropertiesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentPropertiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentPropertiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentPropertiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ExcludeGlobals { - i-- - if m.ExcludeGlobals { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Queries) > 0 { - for iNdEx := len(m.Queries) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Queries[iNdEx]) - copy(dAtA[i:], m.Queries[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Queries[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentPropertiesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentPropertiesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentPropertiesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ShortTaskInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ShortTaskInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShortTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Pid) > 0 { - i -= len(m.Pid) - copy(dAtA[i:], m.Pid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Pid))) - i-- - dAtA[i] = 0x42 - } - if m.DeploymentInfo != nil { - { - size, err := m.DeploymentInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.ClassName) > 0 { - i -= len(m.ClassName) - copy(dAtA[i:], m.ClassName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ClassName))) - i-- - dAtA[i] = 0x32 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x2a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x22 - } - if len(m.TaskId) > 0 { - i -= len(m.TaskId) - copy(dAtA[i:], m.TaskId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskId))) - i-- - dAtA[i] = 0x1a - } - if m.Locked { - i-- - if m.Locked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskDeploymentInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskDeploymentInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskDeploymentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExecutorId) > 0 { - i -= len(m.ExecutorId) - copy(dAtA[i:], m.ExecutorId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ExecutorId))) - i-- - dAtA[i] = 0x22 - } - if len(m.OfferId) > 0 { - i -= len(m.OfferId) - copy(dAtA[i:], m.OfferId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.OfferId))) - i-- - dAtA[i] = 0x1a - } - if len(m.AgentId) > 0 { - i -= len(m.AgentId) - copy(dAtA[i:], m.AgentId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.AgentId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Hostname) > 0 { - i -= len(m.Hostname) - copy(dAtA[i:], m.Hostname) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Hostname))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTasksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTasksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetTasksReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTasksReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTasksReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Tasks) > 0 { - for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetTaskRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTaskRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.TaskId) > 0 { - i -= len(m.TaskId) - copy(dAtA[i:], m.TaskId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTaskReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTaskReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTaskReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Task != nil { - { - size, err := m.Task.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskClassInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskClassInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskClassInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ControlMode) > 0 { - i -= len(m.ControlMode) - copy(dAtA[i:], m.ControlMode) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ControlMode))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CommandInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CommandInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CommandInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.User))) - i-- - dAtA[i] = 0x2a - } - if len(m.Arguments) > 0 { - for iNdEx := len(m.Arguments) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Arguments[iNdEx]) - copy(dAtA[i:], m.Arguments[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Arguments[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x1a - } - if m.Shell { - i-- - if m.Shell { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Env) > 0 { - for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Env[iNdEx]) - copy(dAtA[i:], m.Env[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Env[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ChannelInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChannelInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Target) > 0 { - i -= len(m.Target) - copy(dAtA[i:], m.Target) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Target))) - i-- - dAtA[i] = 0x1a - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.EnvId) > 0 { - i -= len(m.EnvId) - copy(dAtA[i:], m.EnvId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.EnvId))) - i-- - dAtA[i] = 0x3a - } - if len(m.TaskPath) > 0 { - i -= len(m.TaskPath) - copy(dAtA[i:], m.TaskPath) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskPath))) - i-- - dAtA[i] = 0x32 - } - if m.CommandInfo != nil { - { - size, err := m.CommandInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.OutboundChannels) > 0 { - for iNdEx := len(m.OutboundChannels) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.OutboundChannels[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.InboundChannels) > 0 { - for iNdEx := len(m.InboundChannels) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.InboundChannels[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.ClassInfo != nil { - { - size, err := m.ClassInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.ShortInfo != nil { - { - size, err := m.ShortInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CleanupTasksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CleanupTasksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CleanupTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.TaskIds) > 0 { - for iNdEx := len(m.TaskIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TaskIds[iNdEx]) - copy(dAtA[i:], m.TaskIds[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskIds[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *CleanupTasksReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CleanupTasksReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CleanupTasksReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.RunningTasks) > 0 { - for iNdEx := len(m.RunningTasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RunningTasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.KilledTasks) > 0 { - for iNdEx := len(m.KilledTasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.KilledTasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetRolesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PathSpec) > 0 { - i -= len(m.PathSpec) - copy(dAtA[i:], m.PathSpec) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.PathSpec))) - i-- - dAtA[i] = 0x12 - } - if len(m.EnvId) > 0 { - i -= len(m.EnvId) - copy(dAtA[i:], m.EnvId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.EnvId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RoleInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RoleInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RoleInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.UserVars) > 0 { - for k := range m.UserVars { - v := m.UserVars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Defaults) > 0 { - for k := range m.Defaults { - v := m.Defaults[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.TaskIds) > 0 { - for iNdEx := len(m.TaskIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TaskIds[iNdEx]) - copy(dAtA[i:], m.TaskIds[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskIds[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.FullPath) > 0 { - i -= len(m.FullPath) - copy(dAtA[i:], m.FullPath) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FullPath))) - i-- - dAtA[i] = 0x22 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetRolesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetWorkflowTemplatesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetWorkflowTemplatesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetWorkflowTemplatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.AllTags { - i-- - if m.AllTags { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.AllBranches { - i-- - if m.AllBranches { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.RevisionPattern) > 0 { - i -= len(m.RevisionPattern) - copy(dAtA[i:], m.RevisionPattern) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RevisionPattern))) - i-- - dAtA[i] = 0x12 - } - if len(m.RepoPattern) > 0 { - i -= len(m.RepoPattern) - copy(dAtA[i:], m.RepoPattern) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RepoPattern))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *WorkflowTemplateInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *WorkflowTemplateInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WorkflowTemplateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0x1a - } - if len(m.Template) > 0 { - i -= len(m.Template) - copy(dAtA[i:], m.Template) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Template))) - i-- - dAtA[i] = 0x12 - } - if len(m.Repo) > 0 { - i -= len(m.Repo) - copy(dAtA[i:], m.Repo) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Repo))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetWorkflowTemplatesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetWorkflowTemplatesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetWorkflowTemplatesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.WorkflowTemplates) > 0 { - for iNdEx := len(m.WorkflowTemplates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.WorkflowTemplates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ListReposRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReposRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReposRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *RepoInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RepoInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RepoInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DefaultRevision) > 0 { - i -= len(m.DefaultRevision) - copy(dAtA[i:], m.DefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.DefaultRevision))) - i-- - dAtA[i] = 0x1a - } - if m.Default { - i-- - if m.Default { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListReposReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReposReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReposReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.GlobalDefaultRevision) > 0 { - i -= len(m.GlobalDefaultRevision) - copy(dAtA[i:], m.GlobalDefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.GlobalDefaultRevision))) - i-- - dAtA[i] = 0x12 - } - if len(m.Repos) > 0 { - for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Repos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *AddRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DefaultRevision) > 0 { - i -= len(m.DefaultRevision) - copy(dAtA[i:], m.DefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.DefaultRevision))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddRepoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddRepoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddRepoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Info) > 0 { - i -= len(m.Info) - copy(dAtA[i:], m.Info) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Info))) - i-- - dAtA[i] = 0x12 - } - if len(m.NewDefaultRevision) > 0 { - i -= len(m.NewDefaultRevision) - copy(dAtA[i:], m.NewDefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.NewDefaultRevision))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RemoveRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *RemoveRepoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveRepoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveRepoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.NewDefaultRepo) > 0 { - i -= len(m.NewDefaultRepo) - copy(dAtA[i:], m.NewDefaultRepo) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.NewDefaultRepo))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RefreshReposRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RefreshReposRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RefreshReposRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetDefaultRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetDefaultRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetDefaultRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetGlobalDefaultRevisionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetGlobalDefaultRevisionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetGlobalDefaultRevisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetRepoDefaultRevisionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetRepoDefaultRevisionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetRepoDefaultRevisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0x12 - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetRepoDefaultRevisionReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetRepoDefaultRevisionReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetRepoDefaultRevisionReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Info) > 0 { - i -= len(m.Info) - copy(dAtA[i:], m.Info) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Info))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Empty) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Empty) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func encodeVarintO2Control(dAtA []byte, offset int, v uint64) int { - offset -= sovO2Control(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Event_MesosHeartbeat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Event) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Source) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Destination) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskStatusChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskLaunched) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_MesosTaskCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskresources) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ExecutorResources) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentDestroyed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CleanupTasksReply != nil { - l = m.CleanupTasksReply.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Environmentid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentError) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_KillTasksMesos) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.StatusUpdates) > 0 { - for _, e := range m.StatusUpdates { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusUpdate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Level != 0 { - n += 1 + sovO2Control(uint64(m.Level)) - } - if m.Event != nil { - n += m.Event.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusUpdate_MesosHeartbeat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MesosHeartbeat != nil { - l = m.MesosHeartbeat.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Timestamp) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Payload != nil { - n += m.Payload.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Event_EnvironmentStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentStateChanged != nil { - l = m.EnvironmentStateChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentCreated != nil { - l = m.EnvironmentCreated.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_TaskStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TaskStateChanged != nil { - l = m.TaskStateChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_TaskStatusChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TaskStatusChanged != nil { - l = m.TaskStatusChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_Tasklaunched) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Tasklaunched != nil { - l = m.Tasklaunched.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_MesosTaskcreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MesosTaskcreated != nil { - l = m.MesosTaskcreated.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentDestroyed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentDestroyed != nil { - l = m.EnvironmentDestroyed.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentError) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentError != nil { - l = m.EnvironmentError.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_KilltasksMesos) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.KilltasksMesos != nil { - l = m.KilltasksMesos.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *SubscribeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetFrameworkInfoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Version) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Major != 0 { - n += 1 + sovO2Control(uint64(m.Major)) - } - if m.Minor != 0 { - n += 1 + sovO2Control(uint64(m.Minor)) - } - if m.Patch != 0 { - n += 1 + sovO2Control(uint64(m.Patch)) - } - l = len(m.Build) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ProductName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.VersionStr) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetFrameworkInfoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FrameworkId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.EnvironmentsCount != 0 { - n += 1 + sovO2Control(uint64(m.EnvironmentsCount)) - } - if m.TasksCount != 0 { - n += 1 + sovO2Control(uint64(m.TasksCount)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.HostsCount != 0 { - n += 1 + sovO2Control(uint64(m.HostsCount)) - } - l = len(m.InstanceName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Version != nil { - l = m.Version.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TeardownRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TeardownReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentsReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FrameworkId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Environments) > 0 { - for _, e := range m.Environments { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EnvironmentInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.CreatedWhen) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Tasks) > 0 { - for _, e := range m.Tasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.RootRole) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.CurrentRunNumber != 0 { - n += 1 + sovO2Control(uint64(m.CurrentRunNumber)) - } - if len(m.Defaults) > 0 { - for k, v := range m.Defaults { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.UserVars) > 0 { - for k, v := range m.UserVars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *NewEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.WorkflowTemplate) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *NewEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Workflow != nil { - l = m.Workflow.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ControlEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Type != 0 { - n += 1 + sovO2Control(uint64(m.Type)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ControlEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.CurrentRunNumber != 0 { - n += 1 + sovO2Control(uint64(m.CurrentRunNumber)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ModifyEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Operations) > 0 { - for _, e := range m.Operations { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.ReconfigureAll { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EnvironmentOperation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovO2Control(uint64(m.Type)) - } - l = len(m.RoleName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ModifyEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.FailedOperations) > 0 { - for _, e := range m.FailedOperations { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DestroyEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.KeepTasks { - n += 2 - } - if m.AllowInRunningState { - n += 2 - } - if m.Force { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DestroyEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CleanupTasksReply != nil { - l = m.CleanupTasksReply.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetEnvironmentPropertiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetEnvironmentPropertiesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentPropertiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Queries) > 0 { - for _, s := range m.Queries { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.ExcludeGlobals { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentPropertiesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ShortTaskInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Locked { - n += 2 - } - l = len(m.TaskId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ClassName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.DeploymentInfo != nil { - l = m.DeploymentInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Pid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskDeploymentInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.AgentId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.OfferId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ExecutorId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTasksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTasksReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Tasks) > 0 { - for _, e := range m.Tasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTaskRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.TaskId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTaskReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Task != nil { - l = m.Task.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskClassInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ControlMode) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CommandInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Env) > 0 { - for _, s := range m.Env { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.Shell { - n += 2 - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Arguments) > 0 { - for _, s := range m.Arguments { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.User) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChannelInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Type) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Target) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ShortInfo != nil { - l = m.ShortInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.ClassInfo != nil { - l = m.ClassInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.InboundChannels) > 0 { - for _, e := range m.InboundChannels { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.OutboundChannels) > 0 { - for _, e := range m.OutboundChannels { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.CommandInfo != nil { - l = m.CommandInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.TaskPath) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.EnvId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CleanupTasksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.TaskIds) > 0 { - for _, s := range m.TaskIds { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CleanupTasksReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.KilledTasks) > 0 { - for _, e := range m.KilledTasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.RunningTasks) > 0 { - for _, e := range m.RunningTasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetRolesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EnvId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.PathSpec) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RoleInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.FullPath) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.TaskIds) > 0 { - for _, s := range m.TaskIds { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.Defaults) > 0 { - for k, v := range m.Defaults { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.UserVars) > 0 { - for k, v := range m.UserVars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetRolesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetWorkflowTemplatesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RepoPattern) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.RevisionPattern) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.AllBranches { - n += 2 - } - if m.AllTags { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *WorkflowTemplateInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Repo) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Template) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetWorkflowTemplatesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.WorkflowTemplates) > 0 { - for _, e := range m.WorkflowTemplates { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListReposRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RepoInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Default { - n += 2 - } - l = len(m.DefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListReposReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Repos) > 0 { - for _, e := range m.Repos { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.GlobalDefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AddRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.DefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AddRepoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NewDefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Info) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RemoveRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RemoveRepoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NewDefaultRepo) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RefreshReposRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetDefaultRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetGlobalDefaultRevisionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetRepoDefaultRevisionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetRepoDefaultRevisionReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Info) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Empty) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovO2Control(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozO2Control(x uint64) (n int) { - return sovO2Control(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Event_MesosHeartbeat) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Event_MesosHeartbeat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Event_MesosHeartbeat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentStateChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentStateChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentStateChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Event = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Source = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Destination = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskStateChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskStateChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskStateChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskStatusChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskStatusChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskStatusChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskLaunched) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskLaunched: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskLaunched: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_MesosTaskCreated) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_MesosTaskCreated: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_MesosTaskCreated: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskresources", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskresources = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutorResources", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExecutorResources = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentCreated) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentCreated: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentCreated: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentDestroyed) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentDestroyed: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentDestroyed: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CleanupTasksReply", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CleanupTasksReply == nil { - m.CleanupTasksReply = &CleanupTasksReply{} - } - if err := m.CleanupTasksReply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environmentid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Environmentid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentError) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentError: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentError: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_KillTasksMesos) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_KillTasksMesos: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_KillTasksMesos: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusUpdates", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StatusUpdates = append(m.StatusUpdates, &StatusUpdate{}) - if err := m.StatusUpdates[len(m.StatusUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusUpdate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusUpdate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusUpdate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType) - } - m.Level = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Level |= StatusUpdate_Level(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MesosHeartbeat", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Event_MesosHeartbeat{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Event = &StatusUpdate_MesosHeartbeat{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Event) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Event: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Timestamp = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentStateChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentStateChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentStateChanged{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentCreated", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentCreated{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentCreated{v} - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskStateChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskStateChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_TaskStateChanged{v} - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskStatusChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskStatusChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_TaskStatusChanged{v} - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasklaunched", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskLaunched{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_Tasklaunched{v} - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MesosTaskcreated", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_MesosTaskCreated{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_MesosTaskcreated{v} - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentDestroyed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentDestroyed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentDestroyed{v} - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentError", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentError{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentError{v} - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KilltasksMesos", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_KillTasksMesos{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_KilltasksMesos{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SubscribeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SubscribeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SubscribeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetFrameworkInfoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetFrameworkInfoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetFrameworkInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Version) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Version: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Major", wireType) - } - m.Major = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Major |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Minor", wireType) - } - m.Minor = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Minor |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) - } - m.Patch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Patch |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Build = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProductName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProductName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VersionStr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VersionStr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetFrameworkInfoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetFrameworkInfoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetFrameworkInfoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FrameworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FrameworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentsCount", wireType) - } - m.EnvironmentsCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EnvironmentsCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TasksCount", wireType) - } - m.TasksCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TasksCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostsCount", wireType) - } - m.HostsCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostsCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InstanceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InstanceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Version == nil { - m.Version = &Version{} - } - if err := m.Version.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TeardownRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TeardownRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TeardownRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TeardownReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TeardownReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TeardownReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentsReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentsReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentsReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FrameworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FrameworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Environments = append(m.Environments, &EnvironmentInfo{}) - if err := m.Environments[len(m.Environments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EnvironmentInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvironmentInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvironmentInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedWhen", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CreatedWhen = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tasks = append(m.Tasks, &ShortTaskInfo{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootRole", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RootRole = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentRunNumber", wireType) - } - m.CurrentRunNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentRunNumber |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Defaults", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Defaults == nil { - m.Defaults = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Defaults[mapkey] = mapvalue - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserVars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UserVars == nil { - m.UserVars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.UserVars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NewEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NewEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NewEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTemplate", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WorkflowTemplate = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NewEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NewEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NewEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Workflow == nil { - m.Workflow = &RoleInfo{} - } - if err := m.Workflow.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ControlEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ControlEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ControlEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ControlEnvironmentRequest_Optype(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ControlEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ControlEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ControlEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentRunNumber", wireType) - } - m.CurrentRunNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentRunNumber |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ModifyEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ModifyEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ModifyEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operations = append(m.Operations, &EnvironmentOperation{}) - if err := m.Operations[len(m.Operations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReconfigureAll", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReconfigureAll = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EnvironmentOperation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvironmentOperation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvironmentOperation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= EnvironmentOperation_Optype(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ModifyEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ModifyEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ModifyEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailedOperations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailedOperations = append(m.FailedOperations, &EnvironmentOperation{}) - if err := m.FailedOperations[len(m.FailedOperations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DestroyEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DestroyEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DestroyEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeepTasks", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.KeepTasks = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowInRunningState", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowInRunningState = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Force = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DestroyEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DestroyEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DestroyEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CleanupTasksReply", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CleanupTasksReply == nil { - m.CleanupTasksReply = &CleanupTasksReply{} - } - if err := m.CleanupTasksReply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetEnvironmentPropertiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetEnvironmentPropertiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetEnvironmentPropertiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetEnvironmentPropertiesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetEnvironmentPropertiesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetEnvironmentPropertiesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentPropertiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentPropertiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentPropertiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Queries", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Queries = append(m.Queries, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExcludeGlobals", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExcludeGlobals = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentPropertiesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentPropertiesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentPropertiesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShortTaskInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ShortTaskInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShortTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Locked", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Locked = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClassName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClassName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DeploymentInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DeploymentInfo == nil { - m.DeploymentInfo = &TaskDeploymentInfo{} - } - if err := m.DeploymentInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Pid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskDeploymentInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskDeploymentInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskDeploymentInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hostname = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AgentId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OfferId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OfferId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutorId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExecutorId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTasksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTasksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTasksReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTasksReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTasksReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tasks = append(m.Tasks, &ShortTaskInfo{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTaskRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTaskReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTaskReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTaskReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Task", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Task == nil { - m.Task = &TaskInfo{} - } - if err := m.Task.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskClassInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskClassInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskClassInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControlMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ControlMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CommandInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommandInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommandInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Env = append(m.Env, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Shell", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Shell = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arguments", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Arguments = append(m.Arguments, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.User = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChannelInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChannelInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChannelInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Target = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShortInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ShortInfo == nil { - m.ShortInfo = &ShortTaskInfo{} - } - if err := m.ShortInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClassInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ClassInfo == nil { - m.ClassInfo = &TaskClassInfo{} - } - if err := m.ClassInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InboundChannels", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InboundChannels = append(m.InboundChannels, &ChannelInfo{}) - if err := m.InboundChannels[len(m.InboundChannels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundChannels", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OutboundChannels = append(m.OutboundChannels, &ChannelInfo{}) - if err := m.OutboundChannels[len(m.OutboundChannels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CommandInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CommandInfo == nil { - m.CommandInfo = &CommandInfo{} - } - if err := m.CommandInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskPath", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EnvId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CleanupTasksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CleanupTasksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskIds = append(m.TaskIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CleanupTasksReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CleanupTasksReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupTasksReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KilledTasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KilledTasks = append(m.KilledTasks, &ShortTaskInfo{}) - if err := m.KilledTasks[len(m.KilledTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RunningTasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RunningTasks = append(m.RunningTasks, &ShortTaskInfo{}) - if err := m.RunningTasks[len(m.RunningTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EnvId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathSpec", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PathSpec = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RoleInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RoleInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RoleInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FullPath", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FullPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskIds = append(m.TaskIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &RoleInfo{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Defaults", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Defaults == nil { - m.Defaults = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Defaults[mapkey] = mapvalue - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserVars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UserVars == nil { - m.UserVars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.UserVars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &RoleInfo{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetWorkflowTemplatesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowTemplatesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowTemplatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RepoPattern", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RepoPattern = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RevisionPattern", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RevisionPattern = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllBranches = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllTags", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllTags = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WorkflowTemplateInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WorkflowTemplateInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WorkflowTemplateInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Repo = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Template = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetWorkflowTemplatesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowTemplatesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowTemplatesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTemplates", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WorkflowTemplates = append(m.WorkflowTemplates, &WorkflowTemplateInfo{}) - if err := m.WorkflowTemplates[len(m.WorkflowTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReposRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReposRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReposRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RepoInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RepoInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RepoInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Default = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReposReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReposReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReposReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Repos = append(m.Repos, &RepoInfo{}) - if err := m.Repos[len(m.Repos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GlobalDefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GlobalDefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddRepoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddRepoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddRepoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewDefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewDefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveRepoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveRepoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveRepoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewDefaultRepo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewDefaultRepo = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RefreshReposRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RefreshReposRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshReposRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetDefaultRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetDefaultRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetDefaultRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetGlobalDefaultRevisionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetGlobalDefaultRevisionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetGlobalDefaultRevisionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetRepoDefaultRevisionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetRepoDefaultRevisionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetRepoDefaultRevisionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetRepoDefaultRevisionReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetRepoDefaultRevisionReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetRepoDefaultRevisionReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Empty) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Empty: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Empty: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipO2Control(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthO2Control - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupO2Control - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthO2Control - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthO2Control = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowO2Control = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupO2Control = fmt.Errorf("proto: unexpected end of group") -) diff --git a/core/protos/o2control.pb.go b/core/protos/o2control.pb.go index 91254d084..9b49a124d 100644 --- a/core/protos/o2control.pb.go +++ b/core/protos/o2control.pb.go @@ -1,30 +1,56 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// +// === This file is part of ALICE O² === +// +// Copyright 2018 CERN and copyright holders of ALICE O². +// Author: Teo Mrnjavac +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// In applying this license CERN does not waive the privileges and +// immunities granted to it by virtue of its status as an +// Intergovernmental Organization or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.4 // source: protos/o2control.proto package pb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type StatusUpdate_Level int32 @@ -35,26 +61,47 @@ const ( StatusUpdate_ERROR StatusUpdate_Level = 3 ) -var StatusUpdate_Level_name = map[int32]string{ - 0: "DEBUG", - 1: "INFO", - 2: "WARNING", - 3: "ERROR", -} +// Enum value maps for StatusUpdate_Level. +var ( + StatusUpdate_Level_name = map[int32]string{ + 0: "DEBUG", + 1: "INFO", + 2: "WARNING", + 3: "ERROR", + } + StatusUpdate_Level_value = map[string]int32{ + "DEBUG": 0, + "INFO": 1, + "WARNING": 2, + "ERROR": 3, + } +) -var StatusUpdate_Level_value = map[string]int32{ - "DEBUG": 0, - "INFO": 1, - "WARNING": 2, - "ERROR": 3, +func (x StatusUpdate_Level) Enum() *StatusUpdate_Level { + p := new(StatusUpdate_Level) + *p = x + return p } func (x StatusUpdate_Level) String() string { - return proto.EnumName(StatusUpdate_Level_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StatusUpdate_Level) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[0].Descriptor() } +func (StatusUpdate_Level) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[0] +} + +func (x StatusUpdate_Level) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StatusUpdate_Level.Descriptor instead. func (StatusUpdate_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{12, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{12, 0} } type ControlEnvironmentRequest_Optype int32 @@ -68,30 +115,51 @@ const ( ControlEnvironmentRequest_GO_ERROR ControlEnvironmentRequest_Optype = 5 ) -var ControlEnvironmentRequest_Optype_name = map[int32]string{ - 0: "NOOP", - 1: "START_ACTIVITY", - 2: "STOP_ACTIVITY", - 3: "CONFIGURE", - 4: "RESET", - 5: "GO_ERROR", -} +// Enum value maps for ControlEnvironmentRequest_Optype. +var ( + ControlEnvironmentRequest_Optype_name = map[int32]string{ + 0: "NOOP", + 1: "START_ACTIVITY", + 2: "STOP_ACTIVITY", + 3: "CONFIGURE", + 4: "RESET", + 5: "GO_ERROR", + } + ControlEnvironmentRequest_Optype_value = map[string]int32{ + "NOOP": 0, + "START_ACTIVITY": 1, + "STOP_ACTIVITY": 2, + "CONFIGURE": 3, + "RESET": 4, + "GO_ERROR": 5, + } +) -var ControlEnvironmentRequest_Optype_value = map[string]int32{ - "NOOP": 0, - "START_ACTIVITY": 1, - "STOP_ACTIVITY": 2, - "CONFIGURE": 3, - "RESET": 4, - "GO_ERROR": 5, +func (x ControlEnvironmentRequest_Optype) Enum() *ControlEnvironmentRequest_Optype { + p := new(ControlEnvironmentRequest_Optype) + *p = x + return p } func (x ControlEnvironmentRequest_Optype) String() string { - return proto.EnumName(ControlEnvironmentRequest_Optype_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ControlEnvironmentRequest_Optype) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[1].Descriptor() +} + +func (ControlEnvironmentRequest_Optype) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[1] +} + +func (x ControlEnvironmentRequest_Optype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ControlEnvironmentRequest_Optype.Descriptor instead. func (ControlEnvironmentRequest_Optype) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{27, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{27, 0} } type EnvironmentOperation_Optype int32 @@ -102,671 +170,683 @@ const ( EnvironmentOperation_ADD_ROLE EnvironmentOperation_Optype = 4 ) -var EnvironmentOperation_Optype_name = map[int32]string{ - 0: "NOOP", - 3: "REMOVE_ROLE", - 4: "ADD_ROLE", -} +// Enum value maps for EnvironmentOperation_Optype. +var ( + EnvironmentOperation_Optype_name = map[int32]string{ + 0: "NOOP", + 3: "REMOVE_ROLE", + 4: "ADD_ROLE", + } + EnvironmentOperation_Optype_value = map[string]int32{ + "NOOP": 0, + "REMOVE_ROLE": 3, + "ADD_ROLE": 4, + } +) -var EnvironmentOperation_Optype_value = map[string]int32{ - "NOOP": 0, - "REMOVE_ROLE": 3, - "ADD_ROLE": 4, +func (x EnvironmentOperation_Optype) Enum() *EnvironmentOperation_Optype { + p := new(EnvironmentOperation_Optype) + *p = x + return p } func (x EnvironmentOperation_Optype) String() string { - return proto.EnumName(EnvironmentOperation_Optype_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EnvironmentOperation_Optype) Descriptor() protoreflect.EnumDescriptor { + return file_protos_o2control_proto_enumTypes[2].Descriptor() +} + +func (EnvironmentOperation_Optype) Type() protoreflect.EnumType { + return &file_protos_o2control_proto_enumTypes[2] +} + +func (x EnvironmentOperation_Optype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use EnvironmentOperation_Optype.Descriptor instead. func (EnvironmentOperation_Optype) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{30, 0} + return file_protos_o2control_proto_rawDescGZIP(), []int{30, 0} } type Event_MesosHeartbeat struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Event_MesosHeartbeat) Reset() { *m = Event_MesosHeartbeat{} } -func (m *Event_MesosHeartbeat) String() string { return proto.CompactTextString(m) } -func (*Event_MesosHeartbeat) ProtoMessage() {} -func (*Event_MesosHeartbeat) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{0} -} -func (m *Event_MesosHeartbeat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Event_MesosHeartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Event_MesosHeartbeat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Event_MesosHeartbeat) Reset() { + *x = Event_MesosHeartbeat{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Event_MesosHeartbeat) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event_MesosHeartbeat.Merge(m, src) -} -func (m *Event_MesosHeartbeat) XXX_Size() int { - return m.Size() + +func (x *Event_MesosHeartbeat) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Event_MesosHeartbeat) XXX_DiscardUnknown() { - xxx_messageInfo_Event_MesosHeartbeat.DiscardUnknown(m) + +func (*Event_MesosHeartbeat) ProtoMessage() {} + +func (x *Event_MesosHeartbeat) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Event_MesosHeartbeat proto.InternalMessageInfo +// Deprecated: Use Event_MesosHeartbeat.ProtoReflect.Descriptor instead. +func (*Event_MesosHeartbeat) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{0} +} type Ev_EnvironmentStateChanged struct { - Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` - Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` + Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *Ev_EnvironmentStateChanged) Reset() { *m = Ev_EnvironmentStateChanged{} } -func (m *Ev_EnvironmentStateChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentStateChanged) ProtoMessage() {} -func (*Ev_EnvironmentStateChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{1} -} -func (m *Ev_EnvironmentStateChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentStateChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentStateChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentStateChanged) Reset() { + *x = Ev_EnvironmentStateChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentStateChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentStateChanged.Merge(m, src) -} -func (m *Ev_EnvironmentStateChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentStateChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentStateChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentStateChanged.DiscardUnknown(m) + +func (*Ev_EnvironmentStateChanged) ProtoMessage() {} + +func (x *Ev_EnvironmentStateChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentStateChanged proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentStateChanged.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentStateChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{1} +} -func (m *Ev_EnvironmentStateChanged) GetEvent() string { - if m != nil { - return m.Event +func (x *Ev_EnvironmentStateChanged) GetEvent() string { + if x != nil { + return x.Event } return "" } -func (m *Ev_EnvironmentStateChanged) GetSource() string { - if m != nil { - return m.Source +func (x *Ev_EnvironmentStateChanged) GetSource() string { + if x != nil { + return x.Source } return "" } -func (m *Ev_EnvironmentStateChanged) GetDestination() string { - if m != nil { - return m.Destination +func (x *Ev_EnvironmentStateChanged) GetDestination() string { + if x != nil { + return x.Destination } return "" } type Ev_TaskStateChanged struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } -func (m *Ev_TaskStateChanged) Reset() { *m = Ev_TaskStateChanged{} } -func (m *Ev_TaskStateChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskStateChanged) ProtoMessage() {} -func (*Ev_TaskStateChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{2} -} -func (m *Ev_TaskStateChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskStateChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskStateChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskStateChanged) Reset() { + *x = Ev_TaskStateChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskStateChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskStateChanged.Merge(m, src) -} -func (m *Ev_TaskStateChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskStateChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskStateChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskStateChanged.DiscardUnknown(m) + +func (*Ev_TaskStateChanged) ProtoMessage() {} + +func (x *Ev_TaskStateChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskStateChanged proto.InternalMessageInfo +// Deprecated: Use Ev_TaskStateChanged.ProtoReflect.Descriptor instead. +func (*Ev_TaskStateChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{2} +} -func (m *Ev_TaskStateChanged) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskStateChanged) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } -func (m *Ev_TaskStateChanged) GetState() string { - if m != nil { - return m.State +func (x *Ev_TaskStateChanged) GetState() string { + if x != nil { + return x.State } return "" } type Ev_TaskStatusChanged struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } -func (m *Ev_TaskStatusChanged) Reset() { *m = Ev_TaskStatusChanged{} } -func (m *Ev_TaskStatusChanged) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskStatusChanged) ProtoMessage() {} -func (*Ev_TaskStatusChanged) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{3} -} -func (m *Ev_TaskStatusChanged) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskStatusChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskStatusChanged.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskStatusChanged) Reset() { + *x = Ev_TaskStatusChanged{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskStatusChanged) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskStatusChanged.Merge(m, src) -} -func (m *Ev_TaskStatusChanged) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskStatusChanged) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskStatusChanged) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskStatusChanged.DiscardUnknown(m) + +func (*Ev_TaskStatusChanged) ProtoMessage() {} + +func (x *Ev_TaskStatusChanged) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskStatusChanged proto.InternalMessageInfo +// Deprecated: Use Ev_TaskStatusChanged.ProtoReflect.Descriptor instead. +func (*Ev_TaskStatusChanged) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{3} +} -func (m *Ev_TaskStatusChanged) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskStatusChanged) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } -func (m *Ev_TaskStatusChanged) GetStatus() string { - if m != nil { - return m.Status +func (x *Ev_TaskStatusChanged) GetStatus() string { + if x != nil { + return x.Status } return "" } type Ev_TaskLaunched struct { - Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"` } -func (m *Ev_TaskLaunched) Reset() { *m = Ev_TaskLaunched{} } -func (m *Ev_TaskLaunched) String() string { return proto.CompactTextString(m) } -func (*Ev_TaskLaunched) ProtoMessage() {} -func (*Ev_TaskLaunched) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{4} -} -func (m *Ev_TaskLaunched) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_TaskLaunched) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_TaskLaunched.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_TaskLaunched) Reset() { + *x = Ev_TaskLaunched{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_TaskLaunched) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_TaskLaunched.Merge(m, src) -} -func (m *Ev_TaskLaunched) XXX_Size() int { - return m.Size() + +func (x *Ev_TaskLaunched) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_TaskLaunched) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_TaskLaunched.DiscardUnknown(m) + +func (*Ev_TaskLaunched) ProtoMessage() {} + +func (x *Ev_TaskLaunched) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_TaskLaunched proto.InternalMessageInfo +// Deprecated: Use Ev_TaskLaunched.ProtoReflect.Descriptor instead. +func (*Ev_TaskLaunched) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{4} +} -func (m *Ev_TaskLaunched) GetTaskid() string { - if m != nil { - return m.Taskid +func (x *Ev_TaskLaunched) GetTaskid() string { + if x != nil { + return x.Taskid } return "" } type Ev_MesosTaskCreated struct { - Taskresources string `protobuf:"bytes,1,opt,name=taskresources,proto3" json:"taskresources,omitempty"` - ExecutorResources string `protobuf:"bytes,2,opt,name=executorResources,proto3" json:"executorResources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Taskresources string `protobuf:"bytes,1,opt,name=taskresources,proto3" json:"taskresources,omitempty"` + ExecutorResources string `protobuf:"bytes,2,opt,name=executorResources,proto3" json:"executorResources,omitempty"` } -func (m *Ev_MesosTaskCreated) Reset() { *m = Ev_MesosTaskCreated{} } -func (m *Ev_MesosTaskCreated) String() string { return proto.CompactTextString(m) } -func (*Ev_MesosTaskCreated) ProtoMessage() {} -func (*Ev_MesosTaskCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{5} -} -func (m *Ev_MesosTaskCreated) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_MesosTaskCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_MesosTaskCreated.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_MesosTaskCreated) Reset() { + *x = Ev_MesosTaskCreated{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_MesosTaskCreated) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_MesosTaskCreated.Merge(m, src) -} -func (m *Ev_MesosTaskCreated) XXX_Size() int { - return m.Size() + +func (x *Ev_MesosTaskCreated) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_MesosTaskCreated) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_MesosTaskCreated.DiscardUnknown(m) + +func (*Ev_MesosTaskCreated) ProtoMessage() {} + +func (x *Ev_MesosTaskCreated) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_MesosTaskCreated proto.InternalMessageInfo +// Deprecated: Use Ev_MesosTaskCreated.ProtoReflect.Descriptor instead. +func (*Ev_MesosTaskCreated) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{5} +} -func (m *Ev_MesosTaskCreated) GetTaskresources() string { - if m != nil { - return m.Taskresources +func (x *Ev_MesosTaskCreated) GetTaskresources() string { + if x != nil { + return x.Taskresources } return "" } -func (m *Ev_MesosTaskCreated) GetExecutorResources() string { - if m != nil { - return m.ExecutorResources +func (x *Ev_MesosTaskCreated) GetExecutorResources() string { + if x != nil { + return x.ExecutorResources } return "" } type Ev_EnvironmentCreated struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` } -func (m *Ev_EnvironmentCreated) Reset() { *m = Ev_EnvironmentCreated{} } -func (m *Ev_EnvironmentCreated) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentCreated) ProtoMessage() {} -func (*Ev_EnvironmentCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{6} -} -func (m *Ev_EnvironmentCreated) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentCreated.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentCreated) Reset() { + *x = Ev_EnvironmentCreated{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentCreated) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentCreated.Merge(m, src) -} -func (m *Ev_EnvironmentCreated) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentCreated) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentCreated) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentCreated.DiscardUnknown(m) + +func (*Ev_EnvironmentCreated) ProtoMessage() {} + +func (x *Ev_EnvironmentCreated) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentCreated proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentCreated.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentCreated) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{6} +} -func (m *Ev_EnvironmentCreated) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *Ev_EnvironmentCreated) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } type Ev_EnvironmentDestroyed struct { - CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` - Environmentid string `protobuf:"bytes,2,opt,name=environmentid,proto3" json:"environmentid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` + Environmentid string `protobuf:"bytes,2,opt,name=environmentid,proto3" json:"environmentid,omitempty"` } -func (m *Ev_EnvironmentDestroyed) Reset() { *m = Ev_EnvironmentDestroyed{} } -func (m *Ev_EnvironmentDestroyed) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentDestroyed) ProtoMessage() {} -func (*Ev_EnvironmentDestroyed) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{7} -} -func (m *Ev_EnvironmentDestroyed) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentDestroyed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentDestroyed.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentDestroyed) Reset() { + *x = Ev_EnvironmentDestroyed{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentDestroyed) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentDestroyed.Merge(m, src) -} -func (m *Ev_EnvironmentDestroyed) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentDestroyed) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentDestroyed) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentDestroyed.DiscardUnknown(m) + +func (*Ev_EnvironmentDestroyed) ProtoMessage() {} + +func (x *Ev_EnvironmentDestroyed) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentDestroyed proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentDestroyed.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentDestroyed) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{7} +} -func (m *Ev_EnvironmentDestroyed) GetCleanupTasksReply() *CleanupTasksReply { - if m != nil { - return m.CleanupTasksReply +func (x *Ev_EnvironmentDestroyed) GetCleanupTasksReply() *CleanupTasksReply { + if x != nil { + return x.CleanupTasksReply } return nil } -func (m *Ev_EnvironmentDestroyed) GetEnvironmentid() string { - if m != nil { - return m.Environmentid +func (x *Ev_EnvironmentDestroyed) GetEnvironmentid() string { + if x != nil { + return x.Environmentid } return "" } type Ev_EnvironmentError struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Ev_EnvironmentError) Reset() { *m = Ev_EnvironmentError{} } -func (m *Ev_EnvironmentError) String() string { return proto.CompactTextString(m) } -func (*Ev_EnvironmentError) ProtoMessage() {} -func (*Ev_EnvironmentError) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{8} -} -func (m *Ev_EnvironmentError) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_EnvironmentError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_EnvironmentError.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_EnvironmentError) Reset() { + *x = Ev_EnvironmentError{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_EnvironmentError) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_EnvironmentError.Merge(m, src) -} -func (m *Ev_EnvironmentError) XXX_Size() int { - return m.Size() + +func (x *Ev_EnvironmentError) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_EnvironmentError) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_EnvironmentError.DiscardUnknown(m) + +func (*Ev_EnvironmentError) ProtoMessage() {} + +func (x *Ev_EnvironmentError) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_EnvironmentError proto.InternalMessageInfo +// Deprecated: Use Ev_EnvironmentError.ProtoReflect.Descriptor instead. +func (*Ev_EnvironmentError) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{8} +} type Ev_KillTasksMesos struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Ev_KillTasksMesos) Reset() { *m = Ev_KillTasksMesos{} } -func (m *Ev_KillTasksMesos) String() string { return proto.CompactTextString(m) } -func (*Ev_KillTasksMesos) ProtoMessage() {} -func (*Ev_KillTasksMesos) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{9} -} -func (m *Ev_KillTasksMesos) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Ev_KillTasksMesos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Ev_KillTasksMesos.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Ev_KillTasksMesos) Reset() { + *x = Ev_KillTasksMesos{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Ev_KillTasksMesos) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ev_KillTasksMesos.Merge(m, src) -} -func (m *Ev_KillTasksMesos) XXX_Size() int { - return m.Size() + +func (x *Ev_KillTasksMesos) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Ev_KillTasksMesos) XXX_DiscardUnknown() { - xxx_messageInfo_Ev_KillTasksMesos.DiscardUnknown(m) + +func (*Ev_KillTasksMesos) ProtoMessage() {} + +func (x *Ev_KillTasksMesos) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_Ev_KillTasksMesos proto.InternalMessageInfo +// Deprecated: Use Ev_KillTasksMesos.ProtoReflect.Descriptor instead. +func (*Ev_KillTasksMesos) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{9} +} //////////////////////////////////////// // Global status //////////////////////////////////////// type StatusRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StatusRequest) Reset() { *m = StatusRequest{} } -func (m *StatusRequest) String() string { return proto.CompactTextString(m) } -func (*StatusRequest) ProtoMessage() {} -func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{10} -} -func (m *StatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusRequest) Reset() { + *x = StatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusRequest.Merge(m, src) -} -func (m *StatusRequest) XXX_Size() int { - return m.Size() + +func (x *StatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatusRequest.DiscardUnknown(m) + +func (*StatusRequest) ProtoMessage() {} + +func (x *StatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_StatusRequest proto.InternalMessageInfo +// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead. +func (*StatusRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{10} +} type StatusReply struct { - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - StatusUpdates []*StatusUpdate `protobuf:"bytes,2,rep,name=statusUpdates,proto3" json:"statusUpdates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + StatusUpdates []*StatusUpdate `protobuf:"bytes,2,rep,name=statusUpdates,proto3" json:"statusUpdates,omitempty"` } -func (m *StatusReply) Reset() { *m = StatusReply{} } -func (m *StatusReply) String() string { return proto.CompactTextString(m) } -func (*StatusReply) ProtoMessage() {} -func (*StatusReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{11} -} -func (m *StatusReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusReply) Reset() { + *x = StatusReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusReply.Merge(m, src) -} -func (m *StatusReply) XXX_Size() int { - return m.Size() + +func (x *StatusReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusReply) XXX_DiscardUnknown() { - xxx_messageInfo_StatusReply.DiscardUnknown(m) + +func (*StatusReply) ProtoMessage() {} + +func (x *StatusReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_StatusReply proto.InternalMessageInfo +// Deprecated: Use StatusReply.ProtoReflect.Descriptor instead. +func (*StatusReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{11} +} -func (m *StatusReply) GetState() string { - if m != nil { - return m.State +func (x *StatusReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *StatusReply) GetStatusUpdates() []*StatusUpdate { - if m != nil { - return m.StatusUpdates +func (x *StatusReply) GetStatusUpdates() []*StatusUpdate { + if x != nil { + return x.StatusUpdates } return nil } type StatusUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Level StatusUpdate_Level `protobuf:"varint,1,opt,name=level,proto3,enum=o2control.StatusUpdate_Level" json:"level,omitempty"` - // Types that are valid to be assigned to Event: + // Types that are assignable to Event: // *StatusUpdate_MesosHeartbeat - Event isStatusUpdate_Event `protobuf_oneof:"Event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event isStatusUpdate_Event `protobuf_oneof:"Event"` } -func (m *StatusUpdate) Reset() { *m = StatusUpdate{} } -func (m *StatusUpdate) String() string { return proto.CompactTextString(m) } -func (*StatusUpdate) ProtoMessage() {} -func (*StatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{12} -} -func (m *StatusUpdate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StatusUpdate.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StatusUpdate) Reset() { + *x = StatusUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StatusUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusUpdate.Merge(m, src) -} -func (m *StatusUpdate) XXX_Size() int { - return m.Size() -} -func (m *StatusUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_StatusUpdate.DiscardUnknown(m) + +func (x *StatusUpdate) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_StatusUpdate proto.InternalMessageInfo +func (*StatusUpdate) ProtoMessage() {} -type isStatusUpdate_Event interface { - isStatusUpdate_Event() - MarshalTo([]byte) (int, error) - Size() int +func (x *StatusUpdate) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -type StatusUpdate_MesosHeartbeat struct { - MesosHeartbeat *Event_MesosHeartbeat `protobuf:"bytes,2,opt,name=mesosHeartbeat,proto3,oneof" json:"mesosHeartbeat,omitempty"` +// Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead. +func (*StatusUpdate) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{12} } -func (*StatusUpdate_MesosHeartbeat) isStatusUpdate_Event() {} +func (x *StatusUpdate) GetLevel() StatusUpdate_Level { + if x != nil { + return x.Level + } + return StatusUpdate_DEBUG +} func (m *StatusUpdate) GetEvent() isStatusUpdate_Event { if m != nil { @@ -775,30 +855,30 @@ func (m *StatusUpdate) GetEvent() isStatusUpdate_Event { return nil } -func (m *StatusUpdate) GetLevel() StatusUpdate_Level { - if m != nil { - return m.Level - } - return StatusUpdate_DEBUG -} - -func (m *StatusUpdate) GetMesosHeartbeat() *Event_MesosHeartbeat { - if x, ok := m.GetEvent().(*StatusUpdate_MesosHeartbeat); ok { +func (x *StatusUpdate) GetMesosHeartbeat() *Event_MesosHeartbeat { + if x, ok := x.GetEvent().(*StatusUpdate_MesosHeartbeat); ok { return x.MesosHeartbeat } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StatusUpdate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StatusUpdate_MesosHeartbeat)(nil), - } +type isStatusUpdate_Event interface { + isStatusUpdate_Event() +} + +type StatusUpdate_MesosHeartbeat struct { + MesosHeartbeat *Event_MesosHeartbeat `protobuf:"bytes,2,opt,name=mesosHeartbeat,proto3,oneof"` //TODO add other events here and in events.proto } +func (*StatusUpdate_MesosHeartbeat) isStatusUpdate_Event() {} + type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Types that are valid to be assigned to Payload: + // Types that are assignable to Payload: // *Event_EnvironmentStateChanged // *Event_EnvironmentCreated // *Event_TaskStateChanged @@ -808,88 +888,47 @@ type Event struct { // *Event_EnvironmentDestroyed // *Event_EnvironmentError // *Event_KilltasksMesos - Payload isEvent_Payload `protobuf_oneof:"Payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Payload isEvent_Payload `protobuf_oneof:"Payload"` } -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{13} -} -func (m *Event) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) -} -func (m *Event) XXX_Size() int { - return m.Size() -} -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Event proto.InternalMessageInfo +func (*Event) ProtoMessage() {} -type isEvent_Payload interface { - isEvent_Payload() - MarshalTo([]byte) (int, error) - Size() int +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -type Event_EnvironmentStateChanged struct { - EnvironmentStateChanged *Ev_EnvironmentStateChanged `protobuf:"bytes,2,opt,name=environmentStateChanged,proto3,oneof" json:"environmentStateChanged,omitempty"` -} -type Event_EnvironmentCreated struct { - EnvironmentCreated *Ev_EnvironmentCreated `protobuf:"bytes,3,opt,name=environmentCreated,proto3,oneof" json:"environmentCreated,omitempty"` -} -type Event_TaskStateChanged struct { - TaskStateChanged *Ev_TaskStateChanged `protobuf:"bytes,4,opt,name=taskStateChanged,proto3,oneof" json:"taskStateChanged,omitempty"` -} -type Event_TaskStatusChanged struct { - TaskStatusChanged *Ev_TaskStatusChanged `protobuf:"bytes,5,opt,name=taskStatusChanged,proto3,oneof" json:"taskStatusChanged,omitempty"` -} -type Event_Tasklaunched struct { - Tasklaunched *Ev_TaskLaunched `protobuf:"bytes,6,opt,name=tasklaunched,proto3,oneof" json:"tasklaunched,omitempty"` -} -type Event_MesosTaskcreated struct { - MesosTaskcreated *Ev_MesosTaskCreated `protobuf:"bytes,7,opt,name=mesosTaskcreated,proto3,oneof" json:"mesosTaskcreated,omitempty"` -} -type Event_EnvironmentDestroyed struct { - EnvironmentDestroyed *Ev_EnvironmentDestroyed `protobuf:"bytes,8,opt,name=environmentDestroyed,proto3,oneof" json:"environmentDestroyed,omitempty"` -} -type Event_EnvironmentError struct { - EnvironmentError *Ev_EnvironmentError `protobuf:"bytes,9,opt,name=environmentError,proto3,oneof" json:"environmentError,omitempty"` -} -type Event_KilltasksMesos struct { - KilltasksMesos *Ev_KillTasksMesos `protobuf:"bytes,10,opt,name=killtasksMesos,proto3,oneof" json:"killtasksMesos,omitempty"` +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{13} } -func (*Event_EnvironmentStateChanged) isEvent_Payload() {} -func (*Event_EnvironmentCreated) isEvent_Payload() {} -func (*Event_TaskStateChanged) isEvent_Payload() {} -func (*Event_TaskStatusChanged) isEvent_Payload() {} -func (*Event_Tasklaunched) isEvent_Payload() {} -func (*Event_MesosTaskcreated) isEvent_Payload() {} -func (*Event_EnvironmentDestroyed) isEvent_Payload() {} -func (*Event_EnvironmentError) isEvent_Payload() {} -func (*Event_KilltasksMesos) isEvent_Payload() {} +func (x *Event) GetTimestamp() string { + if x != nil { + return x.Timestamp + } + return "" +} func (m *Event) GetPayload() isEvent_Payload { if m != nil { @@ -898,1266 +937,1298 @@ func (m *Event) GetPayload() isEvent_Payload { return nil } -func (m *Event) GetTimestamp() string { - if m != nil { - return m.Timestamp - } - return "" -} - -func (m *Event) GetEnvironmentStateChanged() *Ev_EnvironmentStateChanged { - if x, ok := m.GetPayload().(*Event_EnvironmentStateChanged); ok { +func (x *Event) GetEnvironmentStateChanged() *Ev_EnvironmentStateChanged { + if x, ok := x.GetPayload().(*Event_EnvironmentStateChanged); ok { return x.EnvironmentStateChanged } return nil } -func (m *Event) GetEnvironmentCreated() *Ev_EnvironmentCreated { - if x, ok := m.GetPayload().(*Event_EnvironmentCreated); ok { +func (x *Event) GetEnvironmentCreated() *Ev_EnvironmentCreated { + if x, ok := x.GetPayload().(*Event_EnvironmentCreated); ok { return x.EnvironmentCreated } return nil } -func (m *Event) GetTaskStateChanged() *Ev_TaskStateChanged { - if x, ok := m.GetPayload().(*Event_TaskStateChanged); ok { +func (x *Event) GetTaskStateChanged() *Ev_TaskStateChanged { + if x, ok := x.GetPayload().(*Event_TaskStateChanged); ok { return x.TaskStateChanged } return nil } -func (m *Event) GetTaskStatusChanged() *Ev_TaskStatusChanged { - if x, ok := m.GetPayload().(*Event_TaskStatusChanged); ok { +func (x *Event) GetTaskStatusChanged() *Ev_TaskStatusChanged { + if x, ok := x.GetPayload().(*Event_TaskStatusChanged); ok { return x.TaskStatusChanged } return nil } -func (m *Event) GetTasklaunched() *Ev_TaskLaunched { - if x, ok := m.GetPayload().(*Event_Tasklaunched); ok { +func (x *Event) GetTasklaunched() *Ev_TaskLaunched { + if x, ok := x.GetPayload().(*Event_Tasklaunched); ok { return x.Tasklaunched } return nil } -func (m *Event) GetMesosTaskcreated() *Ev_MesosTaskCreated { - if x, ok := m.GetPayload().(*Event_MesosTaskcreated); ok { +func (x *Event) GetMesosTaskcreated() *Ev_MesosTaskCreated { + if x, ok := x.GetPayload().(*Event_MesosTaskcreated); ok { return x.MesosTaskcreated } return nil } -func (m *Event) GetEnvironmentDestroyed() *Ev_EnvironmentDestroyed { - if x, ok := m.GetPayload().(*Event_EnvironmentDestroyed); ok { +func (x *Event) GetEnvironmentDestroyed() *Ev_EnvironmentDestroyed { + if x, ok := x.GetPayload().(*Event_EnvironmentDestroyed); ok { return x.EnvironmentDestroyed } return nil } -func (m *Event) GetEnvironmentError() *Ev_EnvironmentError { - if x, ok := m.GetPayload().(*Event_EnvironmentError); ok { +func (x *Event) GetEnvironmentError() *Ev_EnvironmentError { + if x, ok := x.GetPayload().(*Event_EnvironmentError); ok { return x.EnvironmentError } return nil } -func (m *Event) GetKilltasksMesos() *Ev_KillTasksMesos { - if x, ok := m.GetPayload().(*Event_KilltasksMesos); ok { +func (x *Event) GetKilltasksMesos() *Ev_KillTasksMesos { + if x, ok := x.GetPayload().(*Event_KilltasksMesos); ok { return x.KilltasksMesos } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Event) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Event_EnvironmentStateChanged)(nil), - (*Event_EnvironmentCreated)(nil), - (*Event_TaskStateChanged)(nil), - (*Event_TaskStatusChanged)(nil), - (*Event_Tasklaunched)(nil), - (*Event_MesosTaskcreated)(nil), - (*Event_EnvironmentDestroyed)(nil), - (*Event_EnvironmentError)(nil), - (*Event_KilltasksMesos)(nil), - } +type isEvent_Payload interface { + isEvent_Payload() +} + +type Event_EnvironmentStateChanged struct { + EnvironmentStateChanged *Ev_EnvironmentStateChanged `protobuf:"bytes,2,opt,name=environmentStateChanged,proto3,oneof"` +} + +type Event_EnvironmentCreated struct { + EnvironmentCreated *Ev_EnvironmentCreated `protobuf:"bytes,3,opt,name=environmentCreated,proto3,oneof"` +} + +type Event_TaskStateChanged struct { + TaskStateChanged *Ev_TaskStateChanged `protobuf:"bytes,4,opt,name=taskStateChanged,proto3,oneof"` +} + +type Event_TaskStatusChanged struct { + TaskStatusChanged *Ev_TaskStatusChanged `protobuf:"bytes,5,opt,name=taskStatusChanged,proto3,oneof"` +} + +type Event_Tasklaunched struct { + Tasklaunched *Ev_TaskLaunched `protobuf:"bytes,6,opt,name=tasklaunched,proto3,oneof"` +} + +type Event_MesosTaskcreated struct { + MesosTaskcreated *Ev_MesosTaskCreated `protobuf:"bytes,7,opt,name=mesosTaskcreated,proto3,oneof"` +} + +type Event_EnvironmentDestroyed struct { + EnvironmentDestroyed *Ev_EnvironmentDestroyed `protobuf:"bytes,8,opt,name=environmentDestroyed,proto3,oneof"` +} + +type Event_EnvironmentError struct { + EnvironmentError *Ev_EnvironmentError `protobuf:"bytes,9,opt,name=environmentError,proto3,oneof"` } +type Event_KilltasksMesos struct { + KilltasksMesos *Ev_KillTasksMesos `protobuf:"bytes,10,opt,name=killtasksMesos,proto3,oneof"` +} + +func (*Event_EnvironmentStateChanged) isEvent_Payload() {} + +func (*Event_EnvironmentCreated) isEvent_Payload() {} + +func (*Event_TaskStateChanged) isEvent_Payload() {} + +func (*Event_TaskStatusChanged) isEvent_Payload() {} + +func (*Event_Tasklaunched) isEvent_Payload() {} + +func (*Event_MesosTaskcreated) isEvent_Payload() {} + +func (*Event_EnvironmentDestroyed) isEvent_Payload() {} + +func (*Event_EnvironmentError) isEvent_Payload() {} + +func (*Event_KilltasksMesos) isEvent_Payload() {} + type SubscribeRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SubscribeRequest) Reset() { *m = SubscribeRequest{} } -func (m *SubscribeRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeRequest) ProtoMessage() {} -func (*SubscribeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{14} -} -func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SubscribeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SubscribeRequest) Reset() { + *x = SubscribeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SubscribeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeRequest.Merge(m, src) -} -func (m *SubscribeRequest) XXX_Size() int { - return m.Size() + +func (x *SubscribeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeRequest.DiscardUnknown(m) + +func (*SubscribeRequest) ProtoMessage() {} + +func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_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) } -var xxx_messageInfo_SubscribeRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. +func (*SubscribeRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{14} +} //////////////////////////////////////// // Framework //////////////////////////////////////// type GetFrameworkInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetFrameworkInfoRequest) Reset() { *m = GetFrameworkInfoRequest{} } -func (m *GetFrameworkInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetFrameworkInfoRequest) ProtoMessage() {} -func (*GetFrameworkInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{15} -} -func (m *GetFrameworkInfoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetFrameworkInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetFrameworkInfoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetFrameworkInfoRequest) Reset() { + *x = GetFrameworkInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetFrameworkInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFrameworkInfoRequest.Merge(m, src) -} -func (m *GetFrameworkInfoRequest) XXX_Size() int { - return m.Size() -} -func (m *GetFrameworkInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFrameworkInfoRequest.DiscardUnknown(m) + +func (x *GetFrameworkInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetFrameworkInfoRequest proto.InternalMessageInfo +func (*GetFrameworkInfoRequest) ProtoMessage() {} -type Version struct { - Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` - Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` - Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` - Build string `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"` - ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"` - VersionStr string `protobuf:"bytes,6,opt,name=versionStr,proto3" json:"versionStr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{16} -} -func (m *Version) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *GetFrameworkInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFrameworkInfoRequest.ProtoReflect.Descriptor instead. +func (*GetFrameworkInfoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{15} } -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) + +type Version struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` + Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` + Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` + Build string `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"` + ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"` + VersionStr string `protobuf:"bytes,6,opt,name=versionStr,proto3" json:"versionStr,omitempty"` } -func (m *Version) XXX_Size() int { - return m.Size() + +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Version proto.InternalMessageInfo +func (*Version) ProtoMessage() {} -func (m *Version) GetMajor() int32 { - if m != nil { - return m.Major +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Version.ProtoReflect.Descriptor instead. +func (*Version) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{16} +} + +func (x *Version) GetMajor() int32 { + if x != nil { + return x.Major } return 0 } -func (m *Version) GetMinor() int32 { - if m != nil { - return m.Minor +func (x *Version) GetMinor() int32 { + if x != nil { + return x.Minor } return 0 } -func (m *Version) GetPatch() int32 { - if m != nil { - return m.Patch +func (x *Version) GetPatch() int32 { + if x != nil { + return x.Patch } return 0 } -func (m *Version) GetBuild() string { - if m != nil { - return m.Build +func (x *Version) GetBuild() string { + if x != nil { + return x.Build } return "" } -func (m *Version) GetProductName() string { - if m != nil { - return m.ProductName +func (x *Version) GetProductName() string { + if x != nil { + return x.ProductName } return "" } -func (m *Version) GetVersionStr() string { - if m != nil { - return m.VersionStr +func (x *Version) GetVersionStr() string { + if x != nil { + return x.VersionStr } return "" } type GetFrameworkInfoReply struct { - FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` - EnvironmentsCount int32 `protobuf:"varint,2,opt,name=environmentsCount,proto3" json:"environmentsCount,omitempty"` - TasksCount int32 `protobuf:"varint,3,opt,name=tasksCount,proto3" json:"tasksCount,omitempty"` - State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - HostsCount int32 `protobuf:"varint,5,opt,name=hostsCount,proto3" json:"hostsCount,omitempty"` - InstanceName string `protobuf:"bytes,6,opt,name=instanceName,proto3" json:"instanceName,omitempty"` - Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetFrameworkInfoReply) Reset() { *m = GetFrameworkInfoReply{} } -func (m *GetFrameworkInfoReply) String() string { return proto.CompactTextString(m) } -func (*GetFrameworkInfoReply) ProtoMessage() {} -func (*GetFrameworkInfoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{17} -} -func (m *GetFrameworkInfoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetFrameworkInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetFrameworkInfoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` + EnvironmentsCount int32 `protobuf:"varint,2,opt,name=environmentsCount,proto3" json:"environmentsCount,omitempty"` + TasksCount int32 `protobuf:"varint,3,opt,name=tasksCount,proto3" json:"tasksCount,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + HostsCount int32 `protobuf:"varint,5,opt,name=hostsCount,proto3" json:"hostsCount,omitempty"` + InstanceName string `protobuf:"bytes,6,opt,name=instanceName,proto3" json:"instanceName,omitempty"` + Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` } -func (m *GetFrameworkInfoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFrameworkInfoReply.Merge(m, src) + +func (x *GetFrameworkInfoReply) Reset() { + *x = GetFrameworkInfoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetFrameworkInfoReply) XXX_Size() int { - return m.Size() + +func (x *GetFrameworkInfoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetFrameworkInfoReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetFrameworkInfoReply.DiscardUnknown(m) + +func (*GetFrameworkInfoReply) ProtoMessage() {} + +func (x *GetFrameworkInfoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[17] + 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) } -var xxx_messageInfo_GetFrameworkInfoReply proto.InternalMessageInfo +// Deprecated: Use GetFrameworkInfoReply.ProtoReflect.Descriptor instead. +func (*GetFrameworkInfoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{17} +} -func (m *GetFrameworkInfoReply) GetFrameworkId() string { - if m != nil { - return m.FrameworkId +func (x *GetFrameworkInfoReply) GetFrameworkId() string { + if x != nil { + return x.FrameworkId } return "" } -func (m *GetFrameworkInfoReply) GetEnvironmentsCount() int32 { - if m != nil { - return m.EnvironmentsCount +func (x *GetFrameworkInfoReply) GetEnvironmentsCount() int32 { + if x != nil { + return x.EnvironmentsCount } return 0 } -func (m *GetFrameworkInfoReply) GetTasksCount() int32 { - if m != nil { - return m.TasksCount +func (x *GetFrameworkInfoReply) GetTasksCount() int32 { + if x != nil { + return x.TasksCount } return 0 } -func (m *GetFrameworkInfoReply) GetState() string { - if m != nil { - return m.State +func (x *GetFrameworkInfoReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *GetFrameworkInfoReply) GetHostsCount() int32 { - if m != nil { - return m.HostsCount +func (x *GetFrameworkInfoReply) GetHostsCount() int32 { + if x != nil { + return x.HostsCount } return 0 } -func (m *GetFrameworkInfoReply) GetInstanceName() string { - if m != nil { - return m.InstanceName +func (x *GetFrameworkInfoReply) GetInstanceName() string { + if x != nil { + return x.InstanceName } return "" } -func (m *GetFrameworkInfoReply) GetVersion() *Version { - if m != nil { - return m.Version +func (x *GetFrameworkInfoReply) GetVersion() *Version { + if x != nil { + return x.Version } return nil } // Not implemented yet type TeardownRequest struct { - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` } -func (m *TeardownRequest) Reset() { *m = TeardownRequest{} } -func (m *TeardownRequest) String() string { return proto.CompactTextString(m) } -func (*TeardownRequest) ProtoMessage() {} -func (*TeardownRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{18} -} -func (m *TeardownRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TeardownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TeardownRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TeardownRequest) Reset() { + *x = TeardownRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TeardownRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TeardownRequest.Merge(m, src) -} -func (m *TeardownRequest) XXX_Size() int { - return m.Size() + +func (x *TeardownRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TeardownRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TeardownRequest.DiscardUnknown(m) + +func (*TeardownRequest) ProtoMessage() {} + +func (x *TeardownRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[18] + 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) } -var xxx_messageInfo_TeardownRequest proto.InternalMessageInfo +// Deprecated: Use TeardownRequest.ProtoReflect.Descriptor instead. +func (*TeardownRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{18} +} -func (m *TeardownRequest) GetReason() string { - if m != nil { - return m.Reason +func (x *TeardownRequest) GetReason() string { + if x != nil { + return x.Reason } return "" } type TeardownReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TeardownReply) Reset() { *m = TeardownReply{} } -func (m *TeardownReply) String() string { return proto.CompactTextString(m) } -func (*TeardownReply) ProtoMessage() {} -func (*TeardownReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{19} -} -func (m *TeardownReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TeardownReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TeardownReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TeardownReply) Reset() { + *x = TeardownReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TeardownReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_TeardownReply.Merge(m, src) -} -func (m *TeardownReply) XXX_Size() int { - return m.Size() + +func (x *TeardownReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TeardownReply) XXX_DiscardUnknown() { - xxx_messageInfo_TeardownReply.DiscardUnknown(m) + +func (*TeardownReply) ProtoMessage() {} + +func (x *TeardownReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[19] + 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) } -var xxx_messageInfo_TeardownReply proto.InternalMessageInfo +// Deprecated: Use TeardownReply.ProtoReflect.Descriptor instead. +func (*TeardownReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{19} +} //////////////////////////////////////// // Environment //////////////////////////////////////// type GetEnvironmentsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetEnvironmentsRequest) Reset() { *m = GetEnvironmentsRequest{} } -func (m *GetEnvironmentsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentsRequest) ProtoMessage() {} -func (*GetEnvironmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{20} -} -func (m *GetEnvironmentsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentsRequest) Reset() { + *x = GetEnvironmentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentsRequest.Merge(m, src) -} -func (m *GetEnvironmentsRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentsRequest.DiscardUnknown(m) + +func (*GetEnvironmentsRequest) ProtoMessage() {} + +func (x *GetEnvironmentsRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[20] + 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) } -var xxx_messageInfo_GetEnvironmentsRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentsRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentsRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{20} +} type GetEnvironmentsReply struct { - FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` - Environments []*EnvironmentInfo `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrameworkId string `protobuf:"bytes,1,opt,name=frameworkId,proto3" json:"frameworkId,omitempty"` + Environments []*EnvironmentInfo `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"` } -func (m *GetEnvironmentsReply) Reset() { *m = GetEnvironmentsReply{} } -func (m *GetEnvironmentsReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentsReply) ProtoMessage() {} -func (*GetEnvironmentsReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{21} -} -func (m *GetEnvironmentsReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentsReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentsReply) Reset() { + *x = GetEnvironmentsReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentsReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentsReply.Merge(m, src) -} -func (m *GetEnvironmentsReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentsReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentsReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentsReply.DiscardUnknown(m) + +func (*GetEnvironmentsReply) ProtoMessage() {} + +func (x *GetEnvironmentsReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[21] + 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) } -var xxx_messageInfo_GetEnvironmentsReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentsReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentsReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{21} +} -func (m *GetEnvironmentsReply) GetFrameworkId() string { - if m != nil { - return m.FrameworkId +func (x *GetEnvironmentsReply) GetFrameworkId() string { + if x != nil { + return x.FrameworkId } return "" } -func (m *GetEnvironmentsReply) GetEnvironments() []*EnvironmentInfo { - if m != nil { - return m.Environments +func (x *GetEnvironmentsReply) GetEnvironments() []*EnvironmentInfo { + if x != nil { + return x.Environments } return nil } type EnvironmentInfo struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedWhen string `protobuf:"bytes,2,opt,name=createdWhen,proto3" json:"createdWhen,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - Tasks []*ShortTaskInfo `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` - RootRole string `protobuf:"bytes,5,opt,name=rootRole,proto3" json:"rootRole,omitempty"` - CurrentRunNumber uint32 `protobuf:"varint,6,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` - Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnvironmentInfo) Reset() { *m = EnvironmentInfo{} } -func (m *EnvironmentInfo) String() string { return proto.CompactTextString(m) } -func (*EnvironmentInfo) ProtoMessage() {} -func (*EnvironmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{22} -} -func (m *EnvironmentInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EnvironmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EnvironmentInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreatedWhen string `protobuf:"bytes,2,opt,name=createdWhen,proto3" json:"createdWhen,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + Tasks []*ShortTaskInfo `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` + RootRole string `protobuf:"bytes,5,opt,name=rootRole,proto3" json:"rootRole,omitempty"` + CurrentRunNumber uint32 `protobuf:"varint,6,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` + Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *EnvironmentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnvironmentInfo.Merge(m, src) + +func (x *EnvironmentInfo) Reset() { + *x = EnvironmentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EnvironmentInfo) XXX_Size() int { - return m.Size() + +func (x *EnvironmentInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnvironmentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_EnvironmentInfo.DiscardUnknown(m) + +func (*EnvironmentInfo) ProtoMessage() {} + +func (x *EnvironmentInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[22] + 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) } -var xxx_messageInfo_EnvironmentInfo proto.InternalMessageInfo +// Deprecated: Use EnvironmentInfo.ProtoReflect.Descriptor instead. +func (*EnvironmentInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{22} +} -func (m *EnvironmentInfo) GetId() string { - if m != nil { - return m.Id +func (x *EnvironmentInfo) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *EnvironmentInfo) GetCreatedWhen() string { - if m != nil { - return m.CreatedWhen +func (x *EnvironmentInfo) GetCreatedWhen() string { + if x != nil { + return x.CreatedWhen } return "" } -func (m *EnvironmentInfo) GetState() string { - if m != nil { - return m.State +func (x *EnvironmentInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *EnvironmentInfo) GetTasks() []*ShortTaskInfo { - if m != nil { - return m.Tasks +func (x *EnvironmentInfo) GetTasks() []*ShortTaskInfo { + if x != nil { + return x.Tasks } return nil } -func (m *EnvironmentInfo) GetRootRole() string { - if m != nil { - return m.RootRole +func (x *EnvironmentInfo) GetRootRole() string { + if x != nil { + return x.RootRole } return "" } -func (m *EnvironmentInfo) GetCurrentRunNumber() uint32 { - if m != nil { - return m.CurrentRunNumber +func (x *EnvironmentInfo) GetCurrentRunNumber() uint32 { + if x != nil { + return x.CurrentRunNumber } return 0 } -func (m *EnvironmentInfo) GetDefaults() map[string]string { - if m != nil { - return m.Defaults +func (x *EnvironmentInfo) GetDefaults() map[string]string { + if x != nil { + return x.Defaults } return nil } -func (m *EnvironmentInfo) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *EnvironmentInfo) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } -func (m *EnvironmentInfo) GetUserVars() map[string]string { - if m != nil { - return m.UserVars +func (x *EnvironmentInfo) GetUserVars() map[string]string { + if x != nil { + return x.UserVars } return nil } type NewEnvironmentRequest struct { - WorkflowTemplate string `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` - Vars map[string]string `protobuf:"bytes,2,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkflowTemplate string `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + Vars map[string]string `protobuf:"bytes,2,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NewEnvironmentRequest) Reset() { *m = NewEnvironmentRequest{} } -func (m *NewEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*NewEnvironmentRequest) ProtoMessage() {} -func (*NewEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{23} -} -func (m *NewEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NewEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NewEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NewEnvironmentRequest) Reset() { + *x = NewEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NewEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewEnvironmentRequest.Merge(m, src) -} -func (m *NewEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *NewEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewEnvironmentRequest.DiscardUnknown(m) + +func (*NewEnvironmentRequest) ProtoMessage() {} + +func (x *NewEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[23] + 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) } -var xxx_messageInfo_NewEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use NewEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*NewEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{23} +} -func (m *NewEnvironmentRequest) GetWorkflowTemplate() string { - if m != nil { - return m.WorkflowTemplate +func (x *NewEnvironmentRequest) GetWorkflowTemplate() string { + if x != nil { + return x.WorkflowTemplate } return "" } -func (m *NewEnvironmentRequest) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *NewEnvironmentRequest) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } type NewEnvironmentReply struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` } -func (m *NewEnvironmentReply) Reset() { *m = NewEnvironmentReply{} } -func (m *NewEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*NewEnvironmentReply) ProtoMessage() {} -func (*NewEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{24} -} -func (m *NewEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NewEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NewEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NewEnvironmentReply) Reset() { + *x = NewEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NewEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewEnvironmentReply.Merge(m, src) -} -func (m *NewEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *NewEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_NewEnvironmentReply.DiscardUnknown(m) + +func (*NewEnvironmentReply) ProtoMessage() {} + +func (x *NewEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[24] + 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) } -var xxx_messageInfo_NewEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use NewEnvironmentReply.ProtoReflect.Descriptor instead. +func (*NewEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{24} +} -func (m *NewEnvironmentReply) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *NewEnvironmentReply) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } type GetEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *GetEnvironmentRequest) Reset() { *m = GetEnvironmentRequest{} } -func (m *GetEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentRequest) ProtoMessage() {} -func (*GetEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{25} -} -func (m *GetEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentRequest) Reset() { + *x = GetEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentRequest.Merge(m, src) -} -func (m *GetEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentRequest.DiscardUnknown(m) + +func (*GetEnvironmentRequest) ProtoMessage() {} + +func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[25] + 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) } -var xxx_messageInfo_GetEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{25} +} -func (m *GetEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *GetEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } type GetEnvironmentReply struct { - Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - Workflow *RoleInfo `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Environment *EnvironmentInfo `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` + Workflow *RoleInfo `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` } -func (m *GetEnvironmentReply) Reset() { *m = GetEnvironmentReply{} } -func (m *GetEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentReply) ProtoMessage() {} -func (*GetEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{26} -} -func (m *GetEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentReply) Reset() { + *x = GetEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentReply.Merge(m, src) -} -func (m *GetEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentReply.DiscardUnknown(m) + +func (*GetEnvironmentReply) ProtoMessage() {} + +func (x *GetEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[26] + 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) } -var xxx_messageInfo_GetEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{26} +} -func (m *GetEnvironmentReply) GetEnvironment() *EnvironmentInfo { - if m != nil { - return m.Environment +func (x *GetEnvironmentReply) GetEnvironment() *EnvironmentInfo { + if x != nil { + return x.Environment } return nil } -func (m *GetEnvironmentReply) GetWorkflow() *RoleInfo { - if m != nil { - return m.Workflow +func (x *GetEnvironmentReply) GetWorkflow() *RoleInfo { + if x != nil { + return x.Workflow } return nil } type ControlEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type ControlEnvironmentRequest_Optype `protobuf:"varint,2,opt,name=type,proto3,enum=o2control.ControlEnvironmentRequest_Optype" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Type ControlEnvironmentRequest_Optype `protobuf:"varint,2,opt,name=type,proto3,enum=o2control.ControlEnvironmentRequest_Optype" json:"type,omitempty"` } -func (m *ControlEnvironmentRequest) Reset() { *m = ControlEnvironmentRequest{} } -func (m *ControlEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*ControlEnvironmentRequest) ProtoMessage() {} -func (*ControlEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{27} -} -func (m *ControlEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ControlEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ControlEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ControlEnvironmentRequest) Reset() { + *x = ControlEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ControlEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlEnvironmentRequest.Merge(m, src) -} -func (m *ControlEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *ControlEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ControlEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ControlEnvironmentRequest.DiscardUnknown(m) + +func (*ControlEnvironmentRequest) ProtoMessage() {} + +func (x *ControlEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[27] + 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) } -var xxx_messageInfo_ControlEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use ControlEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*ControlEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{27} +} -func (m *ControlEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *ControlEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ControlEnvironmentRequest) GetType() ControlEnvironmentRequest_Optype { - if m != nil { - return m.Type +func (x *ControlEnvironmentRequest) GetType() ControlEnvironmentRequest_Optype { + if x != nil { + return x.Type } return ControlEnvironmentRequest_NOOP } type ControlEnvironmentReply struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - CurrentRunNumber uint32 `protobuf:"varint,3,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + CurrentRunNumber uint32 `protobuf:"varint,3,opt,name=currentRunNumber,proto3" json:"currentRunNumber,omitempty"` } -func (m *ControlEnvironmentReply) Reset() { *m = ControlEnvironmentReply{} } -func (m *ControlEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*ControlEnvironmentReply) ProtoMessage() {} -func (*ControlEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{28} -} -func (m *ControlEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ControlEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ControlEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ControlEnvironmentReply) Reset() { + *x = ControlEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ControlEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlEnvironmentReply.Merge(m, src) -} -func (m *ControlEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *ControlEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ControlEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_ControlEnvironmentReply.DiscardUnknown(m) + +func (*ControlEnvironmentReply) ProtoMessage() {} + +func (x *ControlEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[28] + 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) } -var xxx_messageInfo_ControlEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use ControlEnvironmentReply.ProtoReflect.Descriptor instead. +func (*ControlEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{28} +} -func (m *ControlEnvironmentReply) GetId() string { - if m != nil { - return m.Id +func (x *ControlEnvironmentReply) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ControlEnvironmentReply) GetState() string { - if m != nil { - return m.State +func (x *ControlEnvironmentReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ControlEnvironmentReply) GetCurrentRunNumber() uint32 { - if m != nil { - return m.CurrentRunNumber +func (x *ControlEnvironmentReply) GetCurrentRunNumber() uint32 { + if x != nil { + return x.CurrentRunNumber } return 0 } type ModifyEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Operations []*EnvironmentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - ReconfigureAll bool `protobuf:"varint,3,opt,name=reconfigureAll,proto3" json:"reconfigureAll,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Operations []*EnvironmentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` + ReconfigureAll bool `protobuf:"varint,3,opt,name=reconfigureAll,proto3" json:"reconfigureAll,omitempty"` } -func (m *ModifyEnvironmentRequest) Reset() { *m = ModifyEnvironmentRequest{} } -func (m *ModifyEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyEnvironmentRequest) ProtoMessage() {} -func (*ModifyEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{29} -} -func (m *ModifyEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ModifyEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ModifyEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ModifyEnvironmentRequest) Reset() { + *x = ModifyEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ModifyEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyEnvironmentRequest.Merge(m, src) -} -func (m *ModifyEnvironmentRequest) XXX_Size() int { - return m.Size() -} -func (m *ModifyEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyEnvironmentRequest.DiscardUnknown(m) + +func (x *ModifyEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ModifyEnvironmentRequest proto.InternalMessageInfo +func (*ModifyEnvironmentRequest) ProtoMessage() {} -func (m *ModifyEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *ModifyEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ModifyEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*ModifyEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{29} +} + +func (x *ModifyEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ModifyEnvironmentRequest) GetOperations() []*EnvironmentOperation { - if m != nil { - return m.Operations +func (x *ModifyEnvironmentRequest) GetOperations() []*EnvironmentOperation { + if x != nil { + return x.Operations } return nil } -func (m *ModifyEnvironmentRequest) GetReconfigureAll() bool { - if m != nil { - return m.ReconfigureAll +func (x *ModifyEnvironmentRequest) GetReconfigureAll() bool { + if x != nil { + return x.ReconfigureAll } return false } type EnvironmentOperation struct { - Type EnvironmentOperation_Optype `protobuf:"varint,1,opt,name=type,proto3,enum=o2control.EnvironmentOperation_Optype" json:"type,omitempty"` - RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type EnvironmentOperation_Optype `protobuf:"varint,1,opt,name=type,proto3,enum=o2control.EnvironmentOperation_Optype" json:"type,omitempty"` + RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,omitempty"` } -func (m *EnvironmentOperation) Reset() { *m = EnvironmentOperation{} } -func (m *EnvironmentOperation) String() string { return proto.CompactTextString(m) } -func (*EnvironmentOperation) ProtoMessage() {} -func (*EnvironmentOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{30} -} -func (m *EnvironmentOperation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EnvironmentOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EnvironmentOperation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EnvironmentOperation) Reset() { + *x = EnvironmentOperation{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EnvironmentOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnvironmentOperation.Merge(m, src) -} -func (m *EnvironmentOperation) XXX_Size() int { - return m.Size() + +func (x *EnvironmentOperation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnvironmentOperation) XXX_DiscardUnknown() { - xxx_messageInfo_EnvironmentOperation.DiscardUnknown(m) + +func (*EnvironmentOperation) ProtoMessage() {} + +func (x *EnvironmentOperation) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[30] + 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) } -var xxx_messageInfo_EnvironmentOperation proto.InternalMessageInfo +// Deprecated: Use EnvironmentOperation.ProtoReflect.Descriptor instead. +func (*EnvironmentOperation) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{30} +} -func (m *EnvironmentOperation) GetType() EnvironmentOperation_Optype { - if m != nil { - return m.Type +func (x *EnvironmentOperation) GetType() EnvironmentOperation_Optype { + if x != nil { + return x.Type } return EnvironmentOperation_NOOP } -func (m *EnvironmentOperation) GetRoleName() string { - if m != nil { - return m.RoleName +func (x *EnvironmentOperation) GetRoleName() string { + if x != nil { + return x.RoleName } return "" } type ModifyEnvironmentReply struct { - FailedOperations []*EnvironmentOperation `protobuf:"bytes,1,rep,name=failedOperations,proto3" json:"failedOperations,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FailedOperations []*EnvironmentOperation `protobuf:"bytes,1,rep,name=failedOperations,proto3" json:"failedOperations,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` } -func (m *ModifyEnvironmentReply) Reset() { *m = ModifyEnvironmentReply{} } -func (m *ModifyEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*ModifyEnvironmentReply) ProtoMessage() {} -func (*ModifyEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{31} -} -func (m *ModifyEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ModifyEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ModifyEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ModifyEnvironmentReply) Reset() { + *x = ModifyEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ModifyEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyEnvironmentReply.Merge(m, src) -} -func (m *ModifyEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *ModifyEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ModifyEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyEnvironmentReply.DiscardUnknown(m) + +func (*ModifyEnvironmentReply) ProtoMessage() {} + +func (x *ModifyEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[31] + 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) } -var xxx_messageInfo_ModifyEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use ModifyEnvironmentReply.ProtoReflect.Descriptor instead. +func (*ModifyEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{31} +} -func (m *ModifyEnvironmentReply) GetFailedOperations() []*EnvironmentOperation { - if m != nil { - return m.FailedOperations +func (x *ModifyEnvironmentReply) GetFailedOperations() []*EnvironmentOperation { + if x != nil { + return x.FailedOperations } return nil } -func (m *ModifyEnvironmentReply) GetId() string { - if m != nil { - return m.Id +func (x *ModifyEnvironmentReply) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ModifyEnvironmentReply) GetState() string { - if m != nil { - return m.State +func (x *ModifyEnvironmentReply) GetState() string { + if x != nil { + return x.State } return "" } type DestroyEnvironmentRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - KeepTasks bool `protobuf:"varint,2,opt,name=keepTasks,proto3" json:"keepTasks,omitempty"` - AllowInRunningState bool `protobuf:"varint,3,opt,name=allowInRunningState,proto3" json:"allowInRunningState,omitempty"` - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DestroyEnvironmentRequest) Reset() { *m = DestroyEnvironmentRequest{} } -func (m *DestroyEnvironmentRequest) String() string { return proto.CompactTextString(m) } -func (*DestroyEnvironmentRequest) ProtoMessage() {} -func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{32} -} -func (m *DestroyEnvironmentRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DestroyEnvironmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DestroyEnvironmentRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + KeepTasks bool `protobuf:"varint,2,opt,name=keepTasks,proto3" json:"keepTasks,omitempty"` + AllowInRunningState bool `protobuf:"varint,3,opt,name=allowInRunningState,proto3" json:"allowInRunningState,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` } -func (m *DestroyEnvironmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyEnvironmentRequest.Merge(m, src) + +func (x *DestroyEnvironmentRequest) Reset() { + *x = DestroyEnvironmentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DestroyEnvironmentRequest) XXX_Size() int { - return m.Size() + +func (x *DestroyEnvironmentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyEnvironmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyEnvironmentRequest.DiscardUnknown(m) + +func (*DestroyEnvironmentRequest) ProtoMessage() {} + +func (x *DestroyEnvironmentRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[32] + 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) } -var xxx_messageInfo_DestroyEnvironmentRequest proto.InternalMessageInfo +// Deprecated: Use DestroyEnvironmentRequest.ProtoReflect.Descriptor instead. +func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{32} +} -func (m *DestroyEnvironmentRequest) GetId() string { - if m != nil { - return m.Id +func (x *DestroyEnvironmentRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *DestroyEnvironmentRequest) GetKeepTasks() bool { - if m != nil { - return m.KeepTasks +func (x *DestroyEnvironmentRequest) GetKeepTasks() bool { + if x != nil { + return x.KeepTasks } return false } -func (m *DestroyEnvironmentRequest) GetAllowInRunningState() bool { - if m != nil { - return m.AllowInRunningState +func (x *DestroyEnvironmentRequest) GetAllowInRunningState() bool { + if x != nil { + return x.AllowInRunningState } return false } -func (m *DestroyEnvironmentRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *DestroyEnvironmentRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type DestroyEnvironmentReply struct { - CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CleanupTasksReply *CleanupTasksReply `protobuf:"bytes,1,opt,name=cleanupTasksReply,proto3" json:"cleanupTasksReply,omitempty"` } -func (m *DestroyEnvironmentReply) Reset() { *m = DestroyEnvironmentReply{} } -func (m *DestroyEnvironmentReply) String() string { return proto.CompactTextString(m) } -func (*DestroyEnvironmentReply) ProtoMessage() {} -func (*DestroyEnvironmentReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{33} -} -func (m *DestroyEnvironmentReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DestroyEnvironmentReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DestroyEnvironmentReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DestroyEnvironmentReply) Reset() { + *x = DestroyEnvironmentReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DestroyEnvironmentReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyEnvironmentReply.Merge(m, src) -} -func (m *DestroyEnvironmentReply) XXX_Size() int { - return m.Size() + +func (x *DestroyEnvironmentReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyEnvironmentReply) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyEnvironmentReply.DiscardUnknown(m) + +func (*DestroyEnvironmentReply) ProtoMessage() {} + +func (x *DestroyEnvironmentReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[33] + 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) } -var xxx_messageInfo_DestroyEnvironmentReply proto.InternalMessageInfo +// Deprecated: Use DestroyEnvironmentReply.ProtoReflect.Descriptor instead. +func (*DestroyEnvironmentReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{33} +} -func (m *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { - if m != nil { - return m.CleanupTasksReply +func (x *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { + if x != nil { + return x.CleanupTasksReply } return nil } @@ -2166,210 +2237,209 @@ func (m *DestroyEnvironmentReply) GetCleanupTasksReply() *CleanupTasksReply { // Environment, GET/SET properties //////////////////////////////////////// type SetEnvironmentPropertiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If properties == nil, the core sets nothing // and reply ok - Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *SetEnvironmentPropertiesRequest) Reset() { *m = SetEnvironmentPropertiesRequest{} } -func (m *SetEnvironmentPropertiesRequest) String() string { return proto.CompactTextString(m) } -func (*SetEnvironmentPropertiesRequest) ProtoMessage() {} -func (*SetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{34} -} -func (m *SetEnvironmentPropertiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetEnvironmentPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetEnvironmentPropertiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetEnvironmentPropertiesRequest) Reset() { + *x = SetEnvironmentPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetEnvironmentPropertiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetEnvironmentPropertiesRequest.Merge(m, src) -} -func (m *SetEnvironmentPropertiesRequest) XXX_Size() int { - return m.Size() + +func (x *SetEnvironmentPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetEnvironmentPropertiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetEnvironmentPropertiesRequest.DiscardUnknown(m) + +func (*SetEnvironmentPropertiesRequest) ProtoMessage() {} + +func (x *SetEnvironmentPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[34] + 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) } -var xxx_messageInfo_SetEnvironmentPropertiesRequest proto.InternalMessageInfo +// Deprecated: Use SetEnvironmentPropertiesRequest.ProtoReflect.Descriptor instead. +func (*SetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{34} +} -func (m *SetEnvironmentPropertiesRequest) GetId() string { - if m != nil { - return m.Id +func (x *SetEnvironmentPropertiesRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *SetEnvironmentPropertiesRequest) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *SetEnvironmentPropertiesRequest) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } type SetEnvironmentPropertiesReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetEnvironmentPropertiesReply) Reset() { *m = SetEnvironmentPropertiesReply{} } -func (m *SetEnvironmentPropertiesReply) String() string { return proto.CompactTextString(m) } -func (*SetEnvironmentPropertiesReply) ProtoMessage() {} -func (*SetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{35} -} -func (m *SetEnvironmentPropertiesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetEnvironmentPropertiesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetEnvironmentPropertiesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetEnvironmentPropertiesReply) Reset() { + *x = SetEnvironmentPropertiesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetEnvironmentPropertiesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetEnvironmentPropertiesReply.Merge(m, src) -} -func (m *SetEnvironmentPropertiesReply) XXX_Size() int { - return m.Size() + +func (x *SetEnvironmentPropertiesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetEnvironmentPropertiesReply) XXX_DiscardUnknown() { - xxx_messageInfo_SetEnvironmentPropertiesReply.DiscardUnknown(m) + +func (*SetEnvironmentPropertiesReply) ProtoMessage() {} + +func (x *SetEnvironmentPropertiesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[35] + 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) } -var xxx_messageInfo_SetEnvironmentPropertiesReply proto.InternalMessageInfo +// Deprecated: Use SetEnvironmentPropertiesReply.ProtoReflect.Descriptor instead. +func (*SetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{35} +} type GetEnvironmentPropertiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If len(queries) == 0, we return an // empty map. // To retrieve all KVs, use query '*' - Queries []string `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` - ExcludeGlobals bool `protobuf:"varint,3,opt,name=excludeGlobals,proto3" json:"excludeGlobals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Queries []string `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` + ExcludeGlobals bool `protobuf:"varint,3,opt,name=excludeGlobals,proto3" json:"excludeGlobals,omitempty"` } -func (m *GetEnvironmentPropertiesRequest) Reset() { *m = GetEnvironmentPropertiesRequest{} } -func (m *GetEnvironmentPropertiesRequest) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentPropertiesRequest) ProtoMessage() {} -func (*GetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{36} -} -func (m *GetEnvironmentPropertiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentPropertiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentPropertiesRequest) Reset() { + *x = GetEnvironmentPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentPropertiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentPropertiesRequest.Merge(m, src) -} -func (m *GetEnvironmentPropertiesRequest) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentPropertiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentPropertiesRequest.DiscardUnknown(m) + +func (*GetEnvironmentPropertiesRequest) ProtoMessage() {} + +func (x *GetEnvironmentPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[36] + 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) } -var xxx_messageInfo_GetEnvironmentPropertiesRequest proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentPropertiesRequest.ProtoReflect.Descriptor instead. +func (*GetEnvironmentPropertiesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{36} +} -func (m *GetEnvironmentPropertiesRequest) GetId() string { - if m != nil { - return m.Id +func (x *GetEnvironmentPropertiesRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *GetEnvironmentPropertiesRequest) GetQueries() []string { - if m != nil { - return m.Queries +func (x *GetEnvironmentPropertiesRequest) GetQueries() []string { + if x != nil { + return x.Queries } return nil } -func (m *GetEnvironmentPropertiesRequest) GetExcludeGlobals() bool { - if m != nil { - return m.ExcludeGlobals +func (x *GetEnvironmentPropertiesRequest) GetExcludeGlobals() bool { + if x != nil { + return x.ExcludeGlobals } return false } type GetEnvironmentPropertiesReply struct { - Properties map[string]string `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Properties map[string]string `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *GetEnvironmentPropertiesReply) Reset() { *m = GetEnvironmentPropertiesReply{} } -func (m *GetEnvironmentPropertiesReply) String() string { return proto.CompactTextString(m) } -func (*GetEnvironmentPropertiesReply) ProtoMessage() {} -func (*GetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{37} -} -func (m *GetEnvironmentPropertiesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetEnvironmentPropertiesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetEnvironmentPropertiesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetEnvironmentPropertiesReply) Reset() { + *x = GetEnvironmentPropertiesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetEnvironmentPropertiesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEnvironmentPropertiesReply.Merge(m, src) -} -func (m *GetEnvironmentPropertiesReply) XXX_Size() int { - return m.Size() + +func (x *GetEnvironmentPropertiesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEnvironmentPropertiesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetEnvironmentPropertiesReply.DiscardUnknown(m) + +func (*GetEnvironmentPropertiesReply) ProtoMessage() {} + +func (x *GetEnvironmentPropertiesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[37] + 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) } -var xxx_messageInfo_GetEnvironmentPropertiesReply proto.InternalMessageInfo +// Deprecated: Use GetEnvironmentPropertiesReply.ProtoReflect.Descriptor instead. +func (*GetEnvironmentPropertiesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{37} +} -func (m *GetEnvironmentPropertiesReply) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *GetEnvironmentPropertiesReply) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } @@ -2378,757 +2448,756 @@ func (m *GetEnvironmentPropertiesReply) GetProperties() map[string]string { // Tasks //////////////////////////////////////// type ShortTaskInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` - TaskId string `protobuf:"bytes,3,opt,name=taskId,proto3" json:"taskId,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` - ClassName string `protobuf:"bytes,6,opt,name=className,proto3" json:"className,omitempty"` - DeploymentInfo *TaskDeploymentInfo `protobuf:"bytes,7,opt,name=deploymentInfo,proto3" json:"deploymentInfo,omitempty"` - Pid string `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ShortTaskInfo) Reset() { *m = ShortTaskInfo{} } -func (m *ShortTaskInfo) String() string { return proto.CompactTextString(m) } -func (*ShortTaskInfo) ProtoMessage() {} -func (*ShortTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{38} -} -func (m *ShortTaskInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShortTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShortTaskInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` + TaskId string `protobuf:"bytes,3,opt,name=taskId,proto3" json:"taskId,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` + State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + ClassName string `protobuf:"bytes,6,opt,name=className,proto3" json:"className,omitempty"` + DeploymentInfo *TaskDeploymentInfo `protobuf:"bytes,7,opt,name=deploymentInfo,proto3" json:"deploymentInfo,omitempty"` + Pid string `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid,omitempty"` } -func (m *ShortTaskInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShortTaskInfo.Merge(m, src) + +func (x *ShortTaskInfo) Reset() { + *x = ShortTaskInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShortTaskInfo) XXX_Size() int { - return m.Size() + +func (x *ShortTaskInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShortTaskInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShortTaskInfo.DiscardUnknown(m) + +func (*ShortTaskInfo) ProtoMessage() {} + +func (x *ShortTaskInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[38] + 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) } -var xxx_messageInfo_ShortTaskInfo proto.InternalMessageInfo +// Deprecated: Use ShortTaskInfo.ProtoReflect.Descriptor instead. +func (*ShortTaskInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{38} +} -func (m *ShortTaskInfo) GetName() string { - if m != nil { - return m.Name +func (x *ShortTaskInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ShortTaskInfo) GetLocked() bool { - if m != nil { - return m.Locked +func (x *ShortTaskInfo) GetLocked() bool { + if x != nil { + return x.Locked } return false } -func (m *ShortTaskInfo) GetTaskId() string { - if m != nil { - return m.TaskId +func (x *ShortTaskInfo) GetTaskId() string { + if x != nil { + return x.TaskId } return "" } -func (m *ShortTaskInfo) GetStatus() string { - if m != nil { - return m.Status +func (x *ShortTaskInfo) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *ShortTaskInfo) GetState() string { - if m != nil { - return m.State +func (x *ShortTaskInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ShortTaskInfo) GetClassName() string { - if m != nil { - return m.ClassName +func (x *ShortTaskInfo) GetClassName() string { + if x != nil { + return x.ClassName } return "" } -func (m *ShortTaskInfo) GetDeploymentInfo() *TaskDeploymentInfo { - if m != nil { - return m.DeploymentInfo +func (x *ShortTaskInfo) GetDeploymentInfo() *TaskDeploymentInfo { + if x != nil { + return x.DeploymentInfo } return nil } -func (m *ShortTaskInfo) GetPid() string { - if m != nil { - return m.Pid +func (x *ShortTaskInfo) GetPid() string { + if x != nil { + return x.Pid } return "" } type TaskDeploymentInfo struct { - Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` - AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId,omitempty"` - OfferId string `protobuf:"bytes,3,opt,name=offerId,proto3" json:"offerId,omitempty"` - ExecutorId string `protobuf:"bytes,4,opt,name=executorId,proto3" json:"executorId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskDeploymentInfo) Reset() { *m = TaskDeploymentInfo{} } -func (m *TaskDeploymentInfo) String() string { return proto.CompactTextString(m) } -func (*TaskDeploymentInfo) ProtoMessage() {} -func (*TaskDeploymentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{39} -} -func (m *TaskDeploymentInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskDeploymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskDeploymentInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` + AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId,omitempty"` + OfferId string `protobuf:"bytes,3,opt,name=offerId,proto3" json:"offerId,omitempty"` + ExecutorId string `protobuf:"bytes,4,opt,name=executorId,proto3" json:"executorId,omitempty"` } -func (m *TaskDeploymentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskDeploymentInfo.Merge(m, src) + +func (x *TaskDeploymentInfo) Reset() { + *x = TaskDeploymentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskDeploymentInfo) XXX_Size() int { - return m.Size() + +func (x *TaskDeploymentInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskDeploymentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskDeploymentInfo.DiscardUnknown(m) + +func (*TaskDeploymentInfo) ProtoMessage() {} + +func (x *TaskDeploymentInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[39] + 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) } -var xxx_messageInfo_TaskDeploymentInfo proto.InternalMessageInfo +// Deprecated: Use TaskDeploymentInfo.ProtoReflect.Descriptor instead. +func (*TaskDeploymentInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{39} +} -func (m *TaskDeploymentInfo) GetHostname() string { - if m != nil { - return m.Hostname +func (x *TaskDeploymentInfo) GetHostname() string { + if x != nil { + return x.Hostname } return "" } -func (m *TaskDeploymentInfo) GetAgentId() string { - if m != nil { - return m.AgentId +func (x *TaskDeploymentInfo) GetAgentId() string { + if x != nil { + return x.AgentId } return "" } -func (m *TaskDeploymentInfo) GetOfferId() string { - if m != nil { - return m.OfferId +func (x *TaskDeploymentInfo) GetOfferId() string { + if x != nil { + return x.OfferId } return "" } -func (m *TaskDeploymentInfo) GetExecutorId() string { - if m != nil { - return m.ExecutorId +func (x *TaskDeploymentInfo) GetExecutorId() string { + if x != nil { + return x.ExecutorId } return "" } type GetTasksRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetTasksRequest) Reset() { *m = GetTasksRequest{} } -func (m *GetTasksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTasksRequest) ProtoMessage() {} -func (*GetTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{40} -} -func (m *GetTasksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTasksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTasksRequest) Reset() { + *x = GetTasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTasksRequest.Merge(m, src) -} -func (m *GetTasksRequest) XXX_Size() int { - return m.Size() + +func (x *GetTasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTasksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTasksRequest.DiscardUnknown(m) + +func (*GetTasksRequest) ProtoMessage() {} + +func (x *GetTasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[40] + 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) } -var xxx_messageInfo_GetTasksRequest proto.InternalMessageInfo +// Deprecated: Use GetTasksRequest.ProtoReflect.Descriptor instead. +func (*GetTasksRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{40} +} type GetTasksReply struct { - Tasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *GetTasksReply) Reset() { *m = GetTasksReply{} } -func (m *GetTasksReply) String() string { return proto.CompactTextString(m) } -func (*GetTasksReply) ProtoMessage() {} -func (*GetTasksReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{41} -} -func (m *GetTasksReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTasksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTasksReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTasksReply) Reset() { + *x = GetTasksReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTasksReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTasksReply.Merge(m, src) -} -func (m *GetTasksReply) XXX_Size() int { - return m.Size() + +func (x *GetTasksReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTasksReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetTasksReply.DiscardUnknown(m) + +func (*GetTasksReply) ProtoMessage() {} + +func (x *GetTasksReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[41] + 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) } -var xxx_messageInfo_GetTasksReply proto.InternalMessageInfo +// Deprecated: Use GetTasksReply.ProtoReflect.Descriptor instead. +func (*GetTasksReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{41} +} -func (m *GetTasksReply) GetTasks() []*ShortTaskInfo { - if m != nil { - return m.Tasks +func (x *GetTasksReply) GetTasks() []*ShortTaskInfo { + if x != nil { + return x.Tasks } return nil } type GetTaskRequest struct { - TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"` } -func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{42} -} -func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTaskRequest) Reset() { + *x = GetTaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, src) -} -func (m *GetTaskRequest) XXX_Size() int { - return m.Size() + +func (x *GetTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) + +func (*GetTaskRequest) ProtoMessage() {} + +func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[42] + 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) } -var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo +// Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead. +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{42} +} -func (m *GetTaskRequest) GetTaskId() string { - if m != nil { - return m.TaskId +func (x *GetTaskRequest) GetTaskId() string { + if x != nil { + return x.TaskId } return "" } type GetTaskReply struct { - Task *TaskInfo `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Task *TaskInfo `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` } -func (m *GetTaskReply) Reset() { *m = GetTaskReply{} } -func (m *GetTaskReply) String() string { return proto.CompactTextString(m) } -func (*GetTaskReply) ProtoMessage() {} -func (*GetTaskReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{43} -} -func (m *GetTaskReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTaskReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTaskReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetTaskReply) Reset() { + *x = GetTaskReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTaskReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskReply.Merge(m, src) -} -func (m *GetTaskReply) XXX_Size() int { - return m.Size() + +func (x *GetTaskReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskReply.DiscardUnknown(m) + +func (*GetTaskReply) ProtoMessage() {} + +func (x *GetTaskReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[43] + 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) } -var xxx_messageInfo_GetTaskReply proto.InternalMessageInfo +// Deprecated: Use GetTaskReply.ProtoReflect.Descriptor instead. +func (*GetTaskReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{43} +} -func (m *GetTaskReply) GetTask() *TaskInfo { - if m != nil { - return m.Task +func (x *GetTaskReply) GetTask() *TaskInfo { + if x != nil { + return x.Task } return nil } type TaskClassInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ControlMode string `protobuf:"bytes,2,opt,name=controlMode,proto3" json:"controlMode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ControlMode string `protobuf:"bytes,2,opt,name=controlMode,proto3" json:"controlMode,omitempty"` } -func (m *TaskClassInfo) Reset() { *m = TaskClassInfo{} } -func (m *TaskClassInfo) String() string { return proto.CompactTextString(m) } -func (*TaskClassInfo) ProtoMessage() {} -func (*TaskClassInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{44} -} -func (m *TaskClassInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskClassInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TaskClassInfo) Reset() { + *x = TaskClassInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TaskClassInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskClassInfo.Merge(m, src) -} -func (m *TaskClassInfo) XXX_Size() int { - return m.Size() + +func (x *TaskClassInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskClassInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskClassInfo.DiscardUnknown(m) + +func (*TaskClassInfo) ProtoMessage() {} + +func (x *TaskClassInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[44] + 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) } -var xxx_messageInfo_TaskClassInfo proto.InternalMessageInfo +// Deprecated: Use TaskClassInfo.ProtoReflect.Descriptor instead. +func (*TaskClassInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{44} +} -func (m *TaskClassInfo) GetName() string { - if m != nil { - return m.Name +func (x *TaskClassInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *TaskClassInfo) GetControlMode() string { - if m != nil { - return m.ControlMode +func (x *TaskClassInfo) GetControlMode() string { + if x != nil { + return x.ControlMode } return "" } type CommandInfo struct { - Env []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"` - Shell bool `protobuf:"varint,2,opt,name=shell,proto3" json:"shell,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` - User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommandInfo) Reset() { *m = CommandInfo{} } -func (m *CommandInfo) String() string { return proto.CompactTextString(m) } -func (*CommandInfo) ProtoMessage() {} -func (*CommandInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{45} -} -func (m *CommandInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CommandInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CommandInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Env []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"` + Shell bool `protobuf:"varint,2,opt,name=shell,proto3" json:"shell,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` + User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` } -func (m *CommandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandInfo.Merge(m, src) + +func (x *CommandInfo) Reset() { + *x = CommandInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommandInfo) XXX_Size() int { - return m.Size() + +func (x *CommandInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommandInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CommandInfo.DiscardUnknown(m) + +func (*CommandInfo) ProtoMessage() {} + +func (x *CommandInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[45] + 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) } -var xxx_messageInfo_CommandInfo proto.InternalMessageInfo +// Deprecated: Use CommandInfo.ProtoReflect.Descriptor instead. +func (*CommandInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{45} +} -func (m *CommandInfo) GetEnv() []string { - if m != nil { - return m.Env +func (x *CommandInfo) GetEnv() []string { + if x != nil { + return x.Env } return nil } -func (m *CommandInfo) GetShell() bool { - if m != nil { - return m.Shell +func (x *CommandInfo) GetShell() bool { + if x != nil { + return x.Shell } return false } -func (m *CommandInfo) GetValue() string { - if m != nil { - return m.Value +func (x *CommandInfo) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *CommandInfo) GetArguments() []string { - if m != nil { - return m.Arguments +func (x *CommandInfo) GetArguments() []string { + if x != nil { + return x.Arguments } return nil } -func (m *CommandInfo) GetUser() string { - if m != nil { - return m.User +func (x *CommandInfo) GetUser() string { + if x != nil { + return x.User } return "" } type ChannelInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ChannelInfo) Reset() { *m = ChannelInfo{} } -func (m *ChannelInfo) String() string { return proto.CompactTextString(m) } -func (*ChannelInfo) ProtoMessage() {} -func (*ChannelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{46} -} -func (m *ChannelInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChannelInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ChannelInfo) Reset() { + *x = ChannelInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelInfo.Merge(m, src) -} -func (m *ChannelInfo) XXX_Size() int { - return m.Size() + +func (x *ChannelInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChannelInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelInfo.DiscardUnknown(m) + +func (*ChannelInfo) ProtoMessage() {} + +func (x *ChannelInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[46] + 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) } -var xxx_messageInfo_ChannelInfo proto.InternalMessageInfo +// Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead. +func (*ChannelInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{46} +} -func (m *ChannelInfo) GetName() string { - if m != nil { - return m.Name +func (x *ChannelInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ChannelInfo) GetType() string { - if m != nil { - return m.Type +func (x *ChannelInfo) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ChannelInfo) GetTarget() string { - if m != nil { - return m.Target +func (x *ChannelInfo) GetTarget() string { + if x != nil { + return x.Target } return "" } type TaskInfo struct { - ShortInfo *ShortTaskInfo `protobuf:"bytes,1,opt,name=shortInfo,proto3" json:"shortInfo,omitempty"` - ClassInfo *TaskClassInfo `protobuf:"bytes,2,opt,name=classInfo,proto3" json:"classInfo,omitempty"` - InboundChannels []*ChannelInfo `protobuf:"bytes,3,rep,name=inboundChannels,proto3" json:"inboundChannels,omitempty"` - OutboundChannels []*ChannelInfo `protobuf:"bytes,4,rep,name=outboundChannels,proto3" json:"outboundChannels,omitempty"` - CommandInfo *CommandInfo `protobuf:"bytes,5,opt,name=commandInfo,proto3" json:"commandInfo,omitempty"` - TaskPath string `protobuf:"bytes,6,opt,name=taskPath,proto3" json:"taskPath,omitempty"` - EnvId string `protobuf:"bytes,7,opt,name=envId,proto3" json:"envId,omitempty"` - Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskInfo) Reset() { *m = TaskInfo{} } -func (m *TaskInfo) String() string { return proto.CompactTextString(m) } -func (*TaskInfo) ProtoMessage() {} -func (*TaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{47} -} -func (m *TaskInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TaskInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *TaskInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskInfo.Merge(m, src) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShortInfo *ShortTaskInfo `protobuf:"bytes,1,opt,name=shortInfo,proto3" json:"shortInfo,omitempty"` + ClassInfo *TaskClassInfo `protobuf:"bytes,2,opt,name=classInfo,proto3" json:"classInfo,omitempty"` + InboundChannels []*ChannelInfo `protobuf:"bytes,3,rep,name=inboundChannels,proto3" json:"inboundChannels,omitempty"` + OutboundChannels []*ChannelInfo `protobuf:"bytes,4,rep,name=outboundChannels,proto3" json:"outboundChannels,omitempty"` + CommandInfo *CommandInfo `protobuf:"bytes,5,opt,name=commandInfo,proto3" json:"commandInfo,omitempty"` + TaskPath string `protobuf:"bytes,6,opt,name=taskPath,proto3" json:"taskPath,omitempty"` + EnvId string `protobuf:"bytes,7,opt,name=envId,proto3" json:"envId,omitempty"` + Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *TaskInfo) XXX_Size() int { - return m.Size() + +func (x *TaskInfo) Reset() { + *x = TaskInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TaskInfo.DiscardUnknown(m) + +func (x *TaskInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TaskInfo proto.InternalMessageInfo +func (*TaskInfo) ProtoMessage() {} -func (m *TaskInfo) GetShortInfo() *ShortTaskInfo { - if m != nil { - return m.ShortInfo +func (x *TaskInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *TaskInfo) GetClassInfo() *TaskClassInfo { - if m != nil { - return m.ClassInfo - } +// Deprecated: Use TaskInfo.ProtoReflect.Descriptor instead. +func (*TaskInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{47} +} + +func (x *TaskInfo) GetShortInfo() *ShortTaskInfo { + if x != nil { + return x.ShortInfo + } return nil } -func (m *TaskInfo) GetInboundChannels() []*ChannelInfo { - if m != nil { - return m.InboundChannels +func (x *TaskInfo) GetClassInfo() *TaskClassInfo { + if x != nil { + return x.ClassInfo } return nil } -func (m *TaskInfo) GetOutboundChannels() []*ChannelInfo { - if m != nil { - return m.OutboundChannels +func (x *TaskInfo) GetInboundChannels() []*ChannelInfo { + if x != nil { + return x.InboundChannels } return nil } -func (m *TaskInfo) GetCommandInfo() *CommandInfo { - if m != nil { - return m.CommandInfo +func (x *TaskInfo) GetOutboundChannels() []*ChannelInfo { + if x != nil { + return x.OutboundChannels } return nil } -func (m *TaskInfo) GetTaskPath() string { - if m != nil { - return m.TaskPath +func (x *TaskInfo) GetCommandInfo() *CommandInfo { + if x != nil { + return x.CommandInfo + } + return nil +} + +func (x *TaskInfo) GetTaskPath() string { + if x != nil { + return x.TaskPath } return "" } -func (m *TaskInfo) GetEnvId() string { - if m != nil { - return m.EnvId +func (x *TaskInfo) GetEnvId() string { + if x != nil { + return x.EnvId } return "" } -func (m *TaskInfo) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *TaskInfo) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } type CleanupTasksRequest struct { - TaskIds []string `protobuf:"bytes,1,rep,name=taskIds,proto3" json:"taskIds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TaskIds []string `protobuf:"bytes,1,rep,name=taskIds,proto3" json:"taskIds,omitempty"` } -func (m *CleanupTasksRequest) Reset() { *m = CleanupTasksRequest{} } -func (m *CleanupTasksRequest) String() string { return proto.CompactTextString(m) } -func (*CleanupTasksRequest) ProtoMessage() {} -func (*CleanupTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{48} -} -func (m *CleanupTasksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CleanupTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CleanupTasksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CleanupTasksRequest) Reset() { + *x = CleanupTasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CleanupTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupTasksRequest.Merge(m, src) -} -func (m *CleanupTasksRequest) XXX_Size() int { - return m.Size() + +func (x *CleanupTasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CleanupTasksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupTasksRequest.DiscardUnknown(m) + +func (*CleanupTasksRequest) ProtoMessage() {} + +func (x *CleanupTasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[48] + 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) } -var xxx_messageInfo_CleanupTasksRequest proto.InternalMessageInfo +// Deprecated: Use CleanupTasksRequest.ProtoReflect.Descriptor instead. +func (*CleanupTasksRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{48} +} -func (m *CleanupTasksRequest) GetTaskIds() []string { - if m != nil { - return m.TaskIds +func (x *CleanupTasksRequest) GetTaskIds() []string { + if x != nil { + return x.TaskIds } return nil } type CleanupTasksReply struct { - KilledTasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=killedTasks,proto3" json:"killedTasks,omitempty"` - RunningTasks []*ShortTaskInfo `protobuf:"bytes,2,rep,name=runningTasks,proto3" json:"runningTasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KilledTasks []*ShortTaskInfo `protobuf:"bytes,1,rep,name=killedTasks,proto3" json:"killedTasks,omitempty"` + RunningTasks []*ShortTaskInfo `protobuf:"bytes,2,rep,name=runningTasks,proto3" json:"runningTasks,omitempty"` } -func (m *CleanupTasksReply) Reset() { *m = CleanupTasksReply{} } -func (m *CleanupTasksReply) String() string { return proto.CompactTextString(m) } -func (*CleanupTasksReply) ProtoMessage() {} -func (*CleanupTasksReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{49} -} -func (m *CleanupTasksReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CleanupTasksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CleanupTasksReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CleanupTasksReply) Reset() { + *x = CleanupTasksReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CleanupTasksReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupTasksReply.Merge(m, src) -} -func (m *CleanupTasksReply) XXX_Size() int { - return m.Size() + +func (x *CleanupTasksReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CleanupTasksReply) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupTasksReply.DiscardUnknown(m) + +func (*CleanupTasksReply) ProtoMessage() {} + +func (x *CleanupTasksReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[49] + 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) } -var xxx_messageInfo_CleanupTasksReply proto.InternalMessageInfo +// Deprecated: Use CleanupTasksReply.ProtoReflect.Descriptor instead. +func (*CleanupTasksReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{49} +} -func (m *CleanupTasksReply) GetKilledTasks() []*ShortTaskInfo { - if m != nil { - return m.KilledTasks +func (x *CleanupTasksReply) GetKilledTasks() []*ShortTaskInfo { + if x != nil { + return x.KilledTasks } return nil } -func (m *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { - if m != nil { - return m.RunningTasks +func (x *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { + if x != nil { + return x.RunningTasks } return nil } @@ -3137,1331 +3206,2769 @@ func (m *CleanupTasksReply) GetRunningTasks() []*ShortTaskInfo { // Roles //////////////////////////////////////// type GetRolesRequest struct { - EnvId string `protobuf:"bytes,1,opt,name=envId,proto3" json:"envId,omitempty"` - PathSpec string `protobuf:"bytes,2,opt,name=pathSpec,proto3" json:"pathSpec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnvId string `protobuf:"bytes,1,opt,name=envId,proto3" json:"envId,omitempty"` + PathSpec string `protobuf:"bytes,2,opt,name=pathSpec,proto3" json:"pathSpec,omitempty"` } -func (m *GetRolesRequest) Reset() { *m = GetRolesRequest{} } -func (m *GetRolesRequest) String() string { return proto.CompactTextString(m) } -func (*GetRolesRequest) ProtoMessage() {} -func (*GetRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{50} -} -func (m *GetRolesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesRequest) Reset() { + *x = GetRolesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesRequest.Merge(m, src) -} -func (m *GetRolesRequest) XXX_Size() int { - return m.Size() + +func (x *GetRolesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesRequest.DiscardUnknown(m) + +func (*GetRolesRequest) ProtoMessage() {} + +func (x *GetRolesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[50] + 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) } -var xxx_messageInfo_GetRolesRequest proto.InternalMessageInfo +// Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead. +func (*GetRolesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{50} +} -func (m *GetRolesRequest) GetEnvId() string { - if m != nil { - return m.EnvId +func (x *GetRolesRequest) GetEnvId() string { + if x != nil { + return x.EnvId } return "" } -func (m *GetRolesRequest) GetPathSpec() string { - if m != nil { - return m.PathSpec +func (x *GetRolesRequest) GetPathSpec() string { + if x != nil { + return x.PathSpec } return "" } type RoleInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - FullPath string `protobuf:"bytes,4,opt,name=fullPath,proto3" json:"fullPath,omitempty"` - TaskIds []string `protobuf:"bytes,5,rep,name=taskIds,proto3" json:"taskIds,omitempty"` - Roles []*RoleInfo `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` - Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RoleInfo) Reset() { *m = RoleInfo{} } -func (m *RoleInfo) String() string { return proto.CompactTextString(m) } -func (*RoleInfo) ProtoMessage() {} -func (*RoleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{51} -} -func (m *RoleInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RoleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RoleInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + FullPath string `protobuf:"bytes,4,opt,name=fullPath,proto3" json:"fullPath,omitempty"` + TaskIds []string `protobuf:"bytes,5,rep,name=taskIds,proto3" json:"taskIds,omitempty"` + Roles []*RoleInfo `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` + Defaults map[string]string `protobuf:"bytes,7,rep,name=defaults,proto3" json:"defaults,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Vars map[string]string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserVars map[string]string `protobuf:"bytes,9,rep,name=userVars,proto3" json:"userVars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *RoleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoleInfo.Merge(m, src) + +func (x *RoleInfo) Reset() { + *x = RoleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RoleInfo) XXX_Size() int { - return m.Size() + +func (x *RoleInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RoleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RoleInfo.DiscardUnknown(m) + +func (*RoleInfo) ProtoMessage() {} + +func (x *RoleInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[51] + 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) } -var xxx_messageInfo_RoleInfo proto.InternalMessageInfo +// Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead. +func (*RoleInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{51} +} -func (m *RoleInfo) GetName() string { - if m != nil { - return m.Name +func (x *RoleInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *RoleInfo) GetStatus() string { - if m != nil { - return m.Status +func (x *RoleInfo) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *RoleInfo) GetState() string { - if m != nil { - return m.State +func (x *RoleInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *RoleInfo) GetFullPath() string { - if m != nil { - return m.FullPath +func (x *RoleInfo) GetFullPath() string { + if x != nil { + return x.FullPath } return "" } -func (m *RoleInfo) GetTaskIds() []string { - if m != nil { - return m.TaskIds +func (x *RoleInfo) GetTaskIds() []string { + if x != nil { + return x.TaskIds } return nil } -func (m *RoleInfo) GetRoles() []*RoleInfo { - if m != nil { - return m.Roles +func (x *RoleInfo) GetRoles() []*RoleInfo { + if x != nil { + return x.Roles } return nil } -func (m *RoleInfo) GetDefaults() map[string]string { - if m != nil { - return m.Defaults +func (x *RoleInfo) GetDefaults() map[string]string { + if x != nil { + return x.Defaults } return nil } -func (m *RoleInfo) GetVars() map[string]string { - if m != nil { - return m.Vars +func (x *RoleInfo) GetVars() map[string]string { + if x != nil { + return x.Vars } return nil } -func (m *RoleInfo) GetUserVars() map[string]string { - if m != nil { - return m.UserVars +func (x *RoleInfo) GetUserVars() map[string]string { + if x != nil { + return x.UserVars } return nil } type GetRolesReply struct { - Roles []*RoleInfo `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Roles []*RoleInfo `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` } -func (m *GetRolesReply) Reset() { *m = GetRolesReply{} } -func (m *GetRolesReply) String() string { return proto.CompactTextString(m) } -func (*GetRolesReply) ProtoMessage() {} -func (*GetRolesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{52} -} -func (m *GetRolesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesReply) Reset() { + *x = GetRolesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesReply.Merge(m, src) -} -func (m *GetRolesReply) XXX_Size() int { - return m.Size() + +func (x *GetRolesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesReply.DiscardUnknown(m) + +func (*GetRolesReply) ProtoMessage() {} + +func (x *GetRolesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[52] + 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) } -var xxx_messageInfo_GetRolesReply proto.InternalMessageInfo +// Deprecated: Use GetRolesReply.ProtoReflect.Descriptor instead. +func (*GetRolesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{52} +} -func (m *GetRolesReply) GetRoles() []*RoleInfo { - if m != nil { - return m.Roles +func (x *GetRolesReply) GetRoles() []*RoleInfo { + if x != nil { + return x.Roles } return nil } type GetWorkflowTemplatesRequest struct { - RepoPattern string `protobuf:"bytes,1,opt,name=repoPattern,proto3" json:"repoPattern,omitempty"` - RevisionPattern string `protobuf:"bytes,2,opt,name=revisionPattern,proto3" json:"revisionPattern,omitempty"` - AllBranches bool `protobuf:"varint,3,opt,name=allBranches,proto3" json:"allBranches,omitempty"` - AllTags bool `protobuf:"varint,4,opt,name=allTags,proto3" json:"allTags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetWorkflowTemplatesRequest) Reset() { *m = GetWorkflowTemplatesRequest{} } -func (m *GetWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*GetWorkflowTemplatesRequest) ProtoMessage() {} -func (*GetWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{53} -} -func (m *GetWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetWorkflowTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetWorkflowTemplatesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoPattern string `protobuf:"bytes,1,opt,name=repoPattern,proto3" json:"repoPattern,omitempty"` + RevisionPattern string `protobuf:"bytes,2,opt,name=revisionPattern,proto3" json:"revisionPattern,omitempty"` + AllBranches bool `protobuf:"varint,3,opt,name=allBranches,proto3" json:"allBranches,omitempty"` + AllTags bool `protobuf:"varint,4,opt,name=allTags,proto3" json:"allTags,omitempty"` } -func (m *GetWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplatesRequest.Merge(m, src) + +func (x *GetWorkflowTemplatesRequest) Reset() { + *x = GetWorkflowTemplatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetWorkflowTemplatesRequest) XXX_Size() int { - return m.Size() + +func (x *GetWorkflowTemplatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetWorkflowTemplatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetWorkflowTemplatesRequest.DiscardUnknown(m) + +func (*GetWorkflowTemplatesRequest) ProtoMessage() {} + +func (x *GetWorkflowTemplatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[53] + 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) } -var xxx_messageInfo_GetWorkflowTemplatesRequest proto.InternalMessageInfo +// Deprecated: Use GetWorkflowTemplatesRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{53} +} -func (m *GetWorkflowTemplatesRequest) GetRepoPattern() string { - if m != nil { - return m.RepoPattern +func (x *GetWorkflowTemplatesRequest) GetRepoPattern() string { + if x != nil { + return x.RepoPattern } return "" } -func (m *GetWorkflowTemplatesRequest) GetRevisionPattern() string { - if m != nil { - return m.RevisionPattern +func (x *GetWorkflowTemplatesRequest) GetRevisionPattern() string { + if x != nil { + return x.RevisionPattern } return "" } -func (m *GetWorkflowTemplatesRequest) GetAllBranches() bool { - if m != nil { - return m.AllBranches +func (x *GetWorkflowTemplatesRequest) GetAllBranches() bool { + if x != nil { + return x.AllBranches } return false } -func (m *GetWorkflowTemplatesRequest) GetAllTags() bool { - if m != nil { - return m.AllTags +func (x *GetWorkflowTemplatesRequest) GetAllTags() bool { + if x != nil { + return x.AllTags } return false } type WorkflowTemplateInfo struct { - Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` - Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` - Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` + Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *WorkflowTemplateInfo) Reset() { *m = WorkflowTemplateInfo{} } -func (m *WorkflowTemplateInfo) String() string { return proto.CompactTextString(m) } -func (*WorkflowTemplateInfo) ProtoMessage() {} -func (*WorkflowTemplateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{54} -} -func (m *WorkflowTemplateInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *WorkflowTemplateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WorkflowTemplateInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *WorkflowTemplateInfo) Reset() { + *x = WorkflowTemplateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *WorkflowTemplateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplateInfo.Merge(m, src) -} -func (m *WorkflowTemplateInfo) XXX_Size() int { - return m.Size() + +func (x *WorkflowTemplateInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowTemplateInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowTemplateInfo.DiscardUnknown(m) + +func (*WorkflowTemplateInfo) ProtoMessage() {} + +func (x *WorkflowTemplateInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[54] + 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) } -var xxx_messageInfo_WorkflowTemplateInfo proto.InternalMessageInfo +// Deprecated: Use WorkflowTemplateInfo.ProtoReflect.Descriptor instead. +func (*WorkflowTemplateInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{54} +} -func (m *WorkflowTemplateInfo) GetRepo() string { - if m != nil { - return m.Repo +func (x *WorkflowTemplateInfo) GetRepo() string { + if x != nil { + return x.Repo } return "" } -func (m *WorkflowTemplateInfo) GetTemplate() string { - if m != nil { - return m.Template +func (x *WorkflowTemplateInfo) GetTemplate() string { + if x != nil { + return x.Template } return "" } -func (m *WorkflowTemplateInfo) GetRevision() string { - if m != nil { - return m.Revision +func (x *WorkflowTemplateInfo) GetRevision() string { + if x != nil { + return x.Revision } return "" } type GetWorkflowTemplatesReply struct { - WorkflowTemplates []*WorkflowTemplateInfo `protobuf:"bytes,1,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkflowTemplates []*WorkflowTemplateInfo `protobuf:"bytes,1,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` } -func (m *GetWorkflowTemplatesReply) Reset() { *m = GetWorkflowTemplatesReply{} } -func (m *GetWorkflowTemplatesReply) String() string { return proto.CompactTextString(m) } -func (*GetWorkflowTemplatesReply) ProtoMessage() {} -func (*GetWorkflowTemplatesReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{55} -} -func (m *GetWorkflowTemplatesReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetWorkflowTemplatesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetWorkflowTemplatesReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetWorkflowTemplatesReply) Reset() { + *x = GetWorkflowTemplatesReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetWorkflowTemplatesReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplatesReply.Merge(m, src) -} -func (m *GetWorkflowTemplatesReply) XXX_Size() int { - return m.Size() + +func (x *GetWorkflowTemplatesReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetWorkflowTemplatesReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetWorkflowTemplatesReply.DiscardUnknown(m) + +func (*GetWorkflowTemplatesReply) ProtoMessage() {} + +func (x *GetWorkflowTemplatesReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[55] + 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) } -var xxx_messageInfo_GetWorkflowTemplatesReply proto.InternalMessageInfo +// Deprecated: Use GetWorkflowTemplatesReply.ProtoReflect.Descriptor instead. +func (*GetWorkflowTemplatesReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{55} +} -func (m *GetWorkflowTemplatesReply) GetWorkflowTemplates() []*WorkflowTemplateInfo { - if m != nil { - return m.WorkflowTemplates +func (x *GetWorkflowTemplatesReply) GetWorkflowTemplates() []*WorkflowTemplateInfo { + if x != nil { + return x.WorkflowTemplates } return nil } type ListReposRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListReposRequest) Reset() { *m = ListReposRequest{} } -func (m *ListReposRequest) String() string { return proto.CompactTextString(m) } -func (*ListReposRequest) ProtoMessage() {} -func (*ListReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{56} -} -func (m *ListReposRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReposRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListReposRequest) Reset() { + *x = ListReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposRequest.Merge(m, src) -} -func (m *ListReposRequest) XXX_Size() int { - return m.Size() + +func (x *ListReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposRequest.DiscardUnknown(m) + +func (*ListReposRequest) ProtoMessage() {} + +func (x *ListReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[56] + 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) } -var xxx_messageInfo_ListReposRequest proto.InternalMessageInfo +// Deprecated: Use ListReposRequest.ProtoReflect.Descriptor instead. +func (*ListReposRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{56} +} type RepoInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` - DefaultRevision string `protobuf:"bytes,3,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` + DefaultRevision string `protobuf:"bytes,3,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` } -func (m *RepoInfo) Reset() { *m = RepoInfo{} } -func (m *RepoInfo) String() string { return proto.CompactTextString(m) } -func (*RepoInfo) ProtoMessage() {} -func (*RepoInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{57} -} -func (m *RepoInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RepoInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RepoInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RepoInfo) Reset() { + *x = RepoInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RepoInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoInfo.Merge(m, src) -} -func (m *RepoInfo) XXX_Size() int { - return m.Size() + +func (x *RepoInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepoInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RepoInfo.DiscardUnknown(m) + +func (*RepoInfo) ProtoMessage() {} + +func (x *RepoInfo) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[57] + 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) } -var xxx_messageInfo_RepoInfo proto.InternalMessageInfo +// Deprecated: Use RepoInfo.ProtoReflect.Descriptor instead. +func (*RepoInfo) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{57} +} -func (m *RepoInfo) GetName() string { - if m != nil { - return m.Name +func (x *RepoInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *RepoInfo) GetDefault() bool { - if m != nil { - return m.Default +func (x *RepoInfo) GetDefault() bool { + if x != nil { + return x.Default } return false } -func (m *RepoInfo) GetDefaultRevision() string { - if m != nil { - return m.DefaultRevision +func (x *RepoInfo) GetDefaultRevision() string { + if x != nil { + return x.DefaultRevision } return "" } type ListReposReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repos []*RepoInfo `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"` GlobalDefaultRevision string `protobuf:"bytes,2,opt,name=globalDefaultRevision,proto3" json:"globalDefaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ListReposReply) Reset() { *m = ListReposReply{} } -func (m *ListReposReply) String() string { return proto.CompactTextString(m) } -func (*ListReposReply) ProtoMessage() {} -func (*ListReposReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{58} -} -func (m *ListReposReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReposReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReposReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListReposReply) Reset() { + *x = ListReposReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListReposReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposReply.Merge(m, src) -} -func (m *ListReposReply) XXX_Size() int { - return m.Size() + +func (x *ListReposReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReposReply) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposReply.DiscardUnknown(m) + +func (*ListReposReply) ProtoMessage() {} + +func (x *ListReposReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[58] + 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) } -var xxx_messageInfo_ListReposReply proto.InternalMessageInfo +// Deprecated: Use ListReposReply.ProtoReflect.Descriptor instead. +func (*ListReposReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{58} +} -func (m *ListReposReply) GetRepos() []*RepoInfo { - if m != nil { - return m.Repos +func (x *ListReposReply) GetRepos() []*RepoInfo { + if x != nil { + return x.Repos } return nil } -func (m *ListReposReply) GetGlobalDefaultRevision() string { - if m != nil { - return m.GlobalDefaultRevision +func (x *ListReposReply) GetGlobalDefaultRevision() string { + if x != nil { + return x.GlobalDefaultRevision } return "" } type AddRepoRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - DefaultRevision string `protobuf:"bytes,2,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + DefaultRevision string `protobuf:"bytes,2,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` } -func (m *AddRepoRequest) Reset() { *m = AddRepoRequest{} } -func (m *AddRepoRequest) String() string { return proto.CompactTextString(m) } -func (*AddRepoRequest) ProtoMessage() {} -func (*AddRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{59} -} -func (m *AddRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AddRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AddRepoRequest) Reset() { + *x = AddRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AddRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddRepoRequest.Merge(m, src) -} -func (m *AddRepoRequest) XXX_Size() int { - return m.Size() + +func (x *AddRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddRepoRequest.DiscardUnknown(m) + +func (*AddRepoRequest) ProtoMessage() {} + +func (x *AddRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[59] + 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) } -var xxx_messageInfo_AddRepoRequest proto.InternalMessageInfo +// Deprecated: Use AddRepoRequest.ProtoReflect.Descriptor instead. +func (*AddRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{59} +} -func (m *AddRepoRequest) GetName() string { - if m != nil { - return m.Name +func (x *AddRepoRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *AddRepoRequest) GetDefaultRevision() string { - if m != nil { - return m.DefaultRevision +func (x *AddRepoRequest) GetDefaultRevision() string { + if x != nil { + return x.DefaultRevision } return "" } type AddRepoReply struct { - NewDefaultRevision string `protobuf:"bytes,1,opt,name=newDefaultRevision,proto3" json:"newDefaultRevision,omitempty"` - Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewDefaultRevision string `protobuf:"bytes,1,opt,name=newDefaultRevision,proto3" json:"newDefaultRevision,omitempty"` + Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } -func (m *AddRepoReply) Reset() { *m = AddRepoReply{} } -func (m *AddRepoReply) String() string { return proto.CompactTextString(m) } -func (*AddRepoReply) ProtoMessage() {} -func (*AddRepoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{60} -} -func (m *AddRepoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AddRepoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddRepoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AddRepoReply) Reset() { + *x = AddRepoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AddRepoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddRepoReply.Merge(m, src) -} -func (m *AddRepoReply) XXX_Size() int { - return m.Size() + +func (x *AddRepoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddRepoReply) XXX_DiscardUnknown() { - xxx_messageInfo_AddRepoReply.DiscardUnknown(m) + +func (*AddRepoReply) ProtoMessage() {} + +func (x *AddRepoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[60] + 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) } -var xxx_messageInfo_AddRepoReply proto.InternalMessageInfo +// Deprecated: Use AddRepoReply.ProtoReflect.Descriptor instead. +func (*AddRepoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{60} +} -func (m *AddRepoReply) GetNewDefaultRevision() string { - if m != nil { - return m.NewDefaultRevision +func (x *AddRepoReply) GetNewDefaultRevision() string { + if x != nil { + return x.NewDefaultRevision } return "" } -func (m *AddRepoReply) GetInfo() string { - if m != nil { - return m.Info +func (x *AddRepoReply) GetInfo() string { + if x != nil { + return x.Info } return "" } type RemoveRepoRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *RemoveRepoRequest) Reset() { *m = RemoveRepoRequest{} } -func (m *RemoveRepoRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveRepoRequest) ProtoMessage() {} -func (*RemoveRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{61} -} -func (m *RemoveRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RemoveRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RemoveRepoRequest) Reset() { + *x = RemoveRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RemoveRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepoRequest.Merge(m, src) -} -func (m *RemoveRepoRequest) XXX_Size() int { - return m.Size() + +func (x *RemoveRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepoRequest.DiscardUnknown(m) + +func (*RemoveRepoRequest) ProtoMessage() {} + +func (x *RemoveRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveRepoRequest proto.InternalMessageInfo +// Deprecated: Use RemoveRepoRequest.ProtoReflect.Descriptor instead. +func (*RemoveRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{61} +} -func (m *RemoveRepoRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *RemoveRepoRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type RemoveRepoReply struct { - NewDefaultRepo string `protobuf:"bytes,1,opt,name=newDefaultRepo,proto3" json:"newDefaultRepo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewDefaultRepo string `protobuf:"bytes,1,opt,name=newDefaultRepo,proto3" json:"newDefaultRepo,omitempty"` } -func (m *RemoveRepoReply) Reset() { *m = RemoveRepoReply{} } -func (m *RemoveRepoReply) String() string { return proto.CompactTextString(m) } -func (*RemoveRepoReply) ProtoMessage() {} -func (*RemoveRepoReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{62} -} -func (m *RemoveRepoReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RemoveRepoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveRepoReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RemoveRepoReply) Reset() { + *x = RemoveRepoReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RemoveRepoReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepoReply.Merge(m, src) -} -func (m *RemoveRepoReply) XXX_Size() int { - return m.Size() + +func (x *RemoveRepoReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveRepoReply) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepoReply.DiscardUnknown(m) + +func (*RemoveRepoReply) ProtoMessage() {} + +func (x *RemoveRepoReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[62] + 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) } -var xxx_messageInfo_RemoveRepoReply proto.InternalMessageInfo +// Deprecated: Use RemoveRepoReply.ProtoReflect.Descriptor instead. +func (*RemoveRepoReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{62} +} -func (m *RemoveRepoReply) GetNewDefaultRepo() string { - if m != nil { - return m.NewDefaultRepo +func (x *RemoveRepoReply) GetNewDefaultRepo() string { + if x != nil { + return x.NewDefaultRepo } return "" } type RefreshReposRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *RefreshReposRequest) Reset() { *m = RefreshReposRequest{} } -func (m *RefreshReposRequest) String() string { return proto.CompactTextString(m) } -func (*RefreshReposRequest) ProtoMessage() {} -func (*RefreshReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{63} -} -func (m *RefreshReposRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RefreshReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RefreshReposRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RefreshReposRequest) Reset() { + *x = RefreshReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RefreshReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshReposRequest.Merge(m, src) -} -func (m *RefreshReposRequest) XXX_Size() int { - return m.Size() + +func (x *RefreshReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefreshReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RefreshReposRequest.DiscardUnknown(m) + +func (*RefreshReposRequest) ProtoMessage() {} + +func (x *RefreshReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[63] + 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) } -var xxx_messageInfo_RefreshReposRequest proto.InternalMessageInfo +// Deprecated: Use RefreshReposRequest.ProtoReflect.Descriptor instead. +func (*RefreshReposRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{63} +} -func (m *RefreshReposRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *RefreshReposRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type SetDefaultRepoRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *SetDefaultRepoRequest) Reset() { *m = SetDefaultRepoRequest{} } -func (m *SetDefaultRepoRequest) String() string { return proto.CompactTextString(m) } -func (*SetDefaultRepoRequest) ProtoMessage() {} -func (*SetDefaultRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{64} -} -func (m *SetDefaultRepoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetDefaultRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetDefaultRepoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetDefaultRepoRequest) Reset() { + *x = SetDefaultRepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetDefaultRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultRepoRequest.Merge(m, src) -} -func (m *SetDefaultRepoRequest) XXX_Size() int { - return m.Size() + +func (x *SetDefaultRepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetDefaultRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultRepoRequest.DiscardUnknown(m) + +func (*SetDefaultRepoRequest) ProtoMessage() {} + +func (x *SetDefaultRepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[64] + 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) } -var xxx_messageInfo_SetDefaultRepoRequest proto.InternalMessageInfo +// Deprecated: Use SetDefaultRepoRequest.ProtoReflect.Descriptor instead. +func (*SetDefaultRepoRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{64} +} -func (m *SetDefaultRepoRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *SetDefaultRepoRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type SetGlobalDefaultRevisionRequest struct { - Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *SetGlobalDefaultRevisionRequest) Reset() { *m = SetGlobalDefaultRevisionRequest{} } -func (m *SetGlobalDefaultRevisionRequest) String() string { return proto.CompactTextString(m) } -func (*SetGlobalDefaultRevisionRequest) ProtoMessage() {} -func (*SetGlobalDefaultRevisionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{65} -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetGlobalDefaultRevisionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetGlobalDefaultRevisionRequest) Reset() { + *x = SetGlobalDefaultRevisionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetGlobalDefaultRevisionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGlobalDefaultRevisionRequest.Merge(m, src) -} -func (m *SetGlobalDefaultRevisionRequest) XXX_Size() int { - return m.Size() + +func (x *SetGlobalDefaultRevisionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetGlobalDefaultRevisionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetGlobalDefaultRevisionRequest.DiscardUnknown(m) + +func (*SetGlobalDefaultRevisionRequest) ProtoMessage() {} + +func (x *SetGlobalDefaultRevisionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetGlobalDefaultRevisionRequest proto.InternalMessageInfo +// Deprecated: Use SetGlobalDefaultRevisionRequest.ProtoReflect.Descriptor instead. +func (*SetGlobalDefaultRevisionRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{65} +} -func (m *SetGlobalDefaultRevisionRequest) GetRevision() string { - if m != nil { - return m.Revision +func (x *SetGlobalDefaultRevisionRequest) GetRevision() string { + if x != nil { + return x.Revision } return "" } type SetRepoDefaultRevisionRequest struct { - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *SetRepoDefaultRevisionRequest) Reset() { *m = SetRepoDefaultRevisionRequest{} } -func (m *SetRepoDefaultRevisionRequest) String() string { return proto.CompactTextString(m) } -func (*SetRepoDefaultRevisionRequest) ProtoMessage() {} -func (*SetRepoDefaultRevisionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{66} -} -func (m *SetRepoDefaultRevisionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetRepoDefaultRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetRepoDefaultRevisionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetRepoDefaultRevisionRequest) Reset() { + *x = SetRepoDefaultRevisionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetRepoDefaultRevisionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetRepoDefaultRevisionRequest.Merge(m, src) + +func (x *SetRepoDefaultRevisionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetRepoDefaultRevisionRequest) XXX_Size() int { - return m.Size() -} -func (m *SetRepoDefaultRevisionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetRepoDefaultRevisionRequest.DiscardUnknown(m) + +func (*SetRepoDefaultRevisionRequest) ProtoMessage() {} + +func (x *SetRepoDefaultRevisionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[66] + 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) } -var xxx_messageInfo_SetRepoDefaultRevisionRequest proto.InternalMessageInfo +// Deprecated: Use SetRepoDefaultRevisionRequest.ProtoReflect.Descriptor instead. +func (*SetRepoDefaultRevisionRequest) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{66} +} -func (m *SetRepoDefaultRevisionRequest) GetIndex() int32 { - if m != nil { - return m.Index +func (x *SetRepoDefaultRevisionRequest) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } -func (m *SetRepoDefaultRevisionRequest) GetRevision() string { - if m != nil { - return m.Revision +func (x *SetRepoDefaultRevisionRequest) GetRevision() string { + if x != nil { + return x.Revision } return "" } type SetRepoDefaultRevisionReply struct { - Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` } -func (m *SetRepoDefaultRevisionReply) Reset() { *m = SetRepoDefaultRevisionReply{} } -func (m *SetRepoDefaultRevisionReply) String() string { return proto.CompactTextString(m) } -func (*SetRepoDefaultRevisionReply) ProtoMessage() {} -func (*SetRepoDefaultRevisionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2aa6aa9a1f02efa9, []int{67} -} -func (m *SetRepoDefaultRevisionReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetRepoDefaultRevisionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetRepoDefaultRevisionReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetRepoDefaultRevisionReply) Reset() { + *x = SetRepoDefaultRevisionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetRepoDefaultRevisionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetRepoDefaultRevisionReply.Merge(m, src) -} -func (m *SetRepoDefaultRevisionReply) XXX_Size() int { - return m.Size() + +func (x *SetRepoDefaultRevisionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetRepoDefaultRevisionReply) XXX_DiscardUnknown() { - xxx_messageInfo_SetRepoDefaultRevisionReply.DiscardUnknown(m) + +func (*SetRepoDefaultRevisionReply) ProtoMessage() {} + +func (x *SetRepoDefaultRevisionReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[67] + 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) } -var xxx_messageInfo_SetRepoDefaultRevisionReply proto.InternalMessageInfo +// Deprecated: Use SetRepoDefaultRevisionReply.ProtoReflect.Descriptor instead. +func (*SetRepoDefaultRevisionReply) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{67} +} -func (m *SetRepoDefaultRevisionReply) GetInfo() string { - if m != nil { - return m.Info +func (x *SetRepoDefaultRevisionReply) GetInfo() string { + if x != nil { + return x.Info } return "" } type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -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_2aa6aa9a1f02efa9, []int{68} -} -func (m *Empty) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_o2control_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Empty) ProtoMessage() {} + +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_protos_o2control_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil - } -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return m.Size() -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("o2control.StatusUpdate_Level", StatusUpdate_Level_name, StatusUpdate_Level_value) - proto.RegisterEnum("o2control.ControlEnvironmentRequest_Optype", ControlEnvironmentRequest_Optype_name, ControlEnvironmentRequest_Optype_value) - proto.RegisterEnum("o2control.EnvironmentOperation_Optype", EnvironmentOperation_Optype_name, EnvironmentOperation_Optype_value) - proto.RegisterType((*Event_MesosHeartbeat)(nil), "o2control.Event_MesosHeartbeat") - proto.RegisterType((*Ev_EnvironmentStateChanged)(nil), "o2control.Ev_EnvironmentStateChanged") - proto.RegisterType((*Ev_TaskStateChanged)(nil), "o2control.Ev_TaskStateChanged") - proto.RegisterType((*Ev_TaskStatusChanged)(nil), "o2control.Ev_TaskStatusChanged") - proto.RegisterType((*Ev_TaskLaunched)(nil), "o2control.Ev_TaskLaunched") - proto.RegisterType((*Ev_MesosTaskCreated)(nil), "o2control.Ev_MesosTaskCreated") - proto.RegisterType((*Ev_EnvironmentCreated)(nil), "o2control.Ev_EnvironmentCreated") - proto.RegisterType((*Ev_EnvironmentDestroyed)(nil), "o2control.Ev_EnvironmentDestroyed") - proto.RegisterType((*Ev_EnvironmentError)(nil), "o2control.Ev_EnvironmentError") - proto.RegisterType((*Ev_KillTasksMesos)(nil), "o2control.Ev_KillTasksMesos") - proto.RegisterType((*StatusRequest)(nil), "o2control.StatusRequest") - proto.RegisterType((*StatusReply)(nil), "o2control.StatusReply") - proto.RegisterType((*StatusUpdate)(nil), "o2control.StatusUpdate") - proto.RegisterType((*Event)(nil), "o2control.Event") - proto.RegisterType((*SubscribeRequest)(nil), "o2control.SubscribeRequest") - proto.RegisterType((*GetFrameworkInfoRequest)(nil), "o2control.GetFrameworkInfoRequest") - proto.RegisterType((*Version)(nil), "o2control.Version") - proto.RegisterType((*GetFrameworkInfoReply)(nil), "o2control.GetFrameworkInfoReply") - proto.RegisterType((*TeardownRequest)(nil), "o2control.TeardownRequest") - proto.RegisterType((*TeardownReply)(nil), "o2control.TeardownReply") - proto.RegisterType((*GetEnvironmentsRequest)(nil), "o2control.GetEnvironmentsRequest") - proto.RegisterType((*GetEnvironmentsReply)(nil), "o2control.GetEnvironmentsReply") - proto.RegisterType((*EnvironmentInfo)(nil), "o2control.EnvironmentInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.DefaultsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.UserVarsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.EnvironmentInfo.VarsEntry") - proto.RegisterType((*NewEnvironmentRequest)(nil), "o2control.NewEnvironmentRequest") - proto.RegisterMapType((map[string]string)(nil), "o2control.NewEnvironmentRequest.VarsEntry") - proto.RegisterType((*NewEnvironmentReply)(nil), "o2control.NewEnvironmentReply") - proto.RegisterType((*GetEnvironmentRequest)(nil), "o2control.GetEnvironmentRequest") - proto.RegisterType((*GetEnvironmentReply)(nil), "o2control.GetEnvironmentReply") - proto.RegisterType((*ControlEnvironmentRequest)(nil), "o2control.ControlEnvironmentRequest") - proto.RegisterType((*ControlEnvironmentReply)(nil), "o2control.ControlEnvironmentReply") - proto.RegisterType((*ModifyEnvironmentRequest)(nil), "o2control.ModifyEnvironmentRequest") - proto.RegisterType((*EnvironmentOperation)(nil), "o2control.EnvironmentOperation") - proto.RegisterType((*ModifyEnvironmentReply)(nil), "o2control.ModifyEnvironmentReply") - proto.RegisterType((*DestroyEnvironmentRequest)(nil), "o2control.DestroyEnvironmentRequest") - proto.RegisterType((*DestroyEnvironmentReply)(nil), "o2control.DestroyEnvironmentReply") - proto.RegisterType((*SetEnvironmentPropertiesRequest)(nil), "o2control.SetEnvironmentPropertiesRequest") - proto.RegisterMapType((map[string]string)(nil), "o2control.SetEnvironmentPropertiesRequest.PropertiesEntry") - proto.RegisterType((*SetEnvironmentPropertiesReply)(nil), "o2control.SetEnvironmentPropertiesReply") - proto.RegisterType((*GetEnvironmentPropertiesRequest)(nil), "o2control.GetEnvironmentPropertiesRequest") - proto.RegisterType((*GetEnvironmentPropertiesReply)(nil), "o2control.GetEnvironmentPropertiesReply") - proto.RegisterMapType((map[string]string)(nil), "o2control.GetEnvironmentPropertiesReply.PropertiesEntry") - proto.RegisterType((*ShortTaskInfo)(nil), "o2control.ShortTaskInfo") - proto.RegisterType((*TaskDeploymentInfo)(nil), "o2control.TaskDeploymentInfo") - proto.RegisterType((*GetTasksRequest)(nil), "o2control.GetTasksRequest") - proto.RegisterType((*GetTasksReply)(nil), "o2control.GetTasksReply") - proto.RegisterType((*GetTaskRequest)(nil), "o2control.GetTaskRequest") - proto.RegisterType((*GetTaskReply)(nil), "o2control.GetTaskReply") - proto.RegisterType((*TaskClassInfo)(nil), "o2control.TaskClassInfo") - proto.RegisterType((*CommandInfo)(nil), "o2control.CommandInfo") - proto.RegisterType((*ChannelInfo)(nil), "o2control.ChannelInfo") - proto.RegisterType((*TaskInfo)(nil), "o2control.TaskInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.TaskInfo.PropertiesEntry") - proto.RegisterType((*CleanupTasksRequest)(nil), "o2control.CleanupTasksRequest") - proto.RegisterType((*CleanupTasksReply)(nil), "o2control.CleanupTasksReply") - proto.RegisterType((*GetRolesRequest)(nil), "o2control.GetRolesRequest") - proto.RegisterType((*RoleInfo)(nil), "o2control.RoleInfo") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.DefaultsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.UserVarsEntry") - proto.RegisterMapType((map[string]string)(nil), "o2control.RoleInfo.VarsEntry") - proto.RegisterType((*GetRolesReply)(nil), "o2control.GetRolesReply") - proto.RegisterType((*GetWorkflowTemplatesRequest)(nil), "o2control.GetWorkflowTemplatesRequest") - proto.RegisterType((*WorkflowTemplateInfo)(nil), "o2control.WorkflowTemplateInfo") - proto.RegisterType((*GetWorkflowTemplatesReply)(nil), "o2control.GetWorkflowTemplatesReply") - proto.RegisterType((*ListReposRequest)(nil), "o2control.ListReposRequest") - proto.RegisterType((*RepoInfo)(nil), "o2control.RepoInfo") - proto.RegisterType((*ListReposReply)(nil), "o2control.ListReposReply") - proto.RegisterType((*AddRepoRequest)(nil), "o2control.AddRepoRequest") - proto.RegisterType((*AddRepoReply)(nil), "o2control.AddRepoReply") - proto.RegisterType((*RemoveRepoRequest)(nil), "o2control.RemoveRepoRequest") - proto.RegisterType((*RemoveRepoReply)(nil), "o2control.RemoveRepoReply") - proto.RegisterType((*RefreshReposRequest)(nil), "o2control.RefreshReposRequest") - proto.RegisterType((*SetDefaultRepoRequest)(nil), "o2control.SetDefaultRepoRequest") - proto.RegisterType((*SetGlobalDefaultRevisionRequest)(nil), "o2control.SetGlobalDefaultRevisionRequest") - proto.RegisterType((*SetRepoDefaultRevisionRequest)(nil), "o2control.SetRepoDefaultRevisionRequest") - proto.RegisterType((*SetRepoDefaultRevisionReply)(nil), "o2control.SetRepoDefaultRevisionReply") - proto.RegisterType((*Empty)(nil), "o2control.Empty") -} - -func init() { proto.RegisterFile("protos/o2control.proto", fileDescriptor_2aa6aa9a1f02efa9) } - -var fileDescriptor_2aa6aa9a1f02efa9 = []byte{ - // 3048 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1a, 0x5d, 0x6f, 0x1b, 0xc7, - 0x91, 0x27, 0x91, 0x12, 0x39, 0x94, 0x28, 0x6a, 0x25, 0x4b, 0x34, 0x63, 0xcb, 0xca, 0xd6, 0x75, - 0x1c, 0x27, 0x55, 0x12, 0x25, 0x68, 0x5c, 0x27, 0x4e, 0x62, 0x49, 0xb4, 0xa4, 0xc6, 0x96, 0xdc, - 0x95, 0x6c, 0xa7, 0x06, 0x0a, 0xf5, 0x44, 0x2e, 0xc5, 0x8b, 0x8e, 0x77, 0xcc, 0xdd, 0x91, 0xb6, - 0x1e, 0xfa, 0x56, 0xf4, 0xa5, 0x28, 0x8a, 0xa0, 0x2f, 0x7d, 0x2d, 0x8a, 0xfe, 0x87, 0x3e, 0xf4, - 0x07, 0x14, 0x45, 0x8b, 0xf6, 0x27, 0x14, 0xe9, 0x1f, 0xe8, 0x63, 0x5f, 0x0a, 0x14, 0xfb, 0x75, - 0xb7, 0xf7, 0x45, 0xc9, 0x4d, 0xf3, 0xd2, 0x37, 0xce, 0xec, 0xcc, 0xec, 0xec, 0xcc, 0xec, 0xcc, - 0xec, 0x1c, 0x61, 0x69, 0xe0, 0xb9, 0x81, 0xeb, 0xbf, 0xe5, 0xae, 0xb7, 0x5d, 0x27, 0xf0, 0x5c, - 0x7b, 0x8d, 0x23, 0x50, 0x25, 0x44, 0xe0, 0x25, 0x58, 0x6c, 0x8d, 0xa8, 0x13, 0x1c, 0x3d, 0xa4, - 0xbe, 0xeb, 0xef, 0x50, 0xd3, 0x0b, 0x8e, 0xa9, 0x19, 0x60, 0x1b, 0x9a, 0xad, 0xd1, 0x51, 0xcb, - 0x19, 0x59, 0x9e, 0xeb, 0xf4, 0xa9, 0x13, 0x1c, 0x04, 0x66, 0x40, 0x37, 0x7b, 0xa6, 0x73, 0x42, - 0x3b, 0x68, 0x11, 0x4a, 0x94, 0x71, 0x35, 0x8c, 0x55, 0xe3, 0x66, 0x85, 0x08, 0x00, 0x2d, 0xc1, - 0x94, 0xef, 0x0e, 0xbd, 0x36, 0x6d, 0x4c, 0x70, 0xb4, 0x84, 0xd0, 0x2a, 0x54, 0x3b, 0xd4, 0x0f, - 0x2c, 0xc7, 0x0c, 0x2c, 0xd7, 0x69, 0x4c, 0xf2, 0x45, 0x1d, 0x85, 0x37, 0x61, 0xa1, 0x35, 0x3a, - 0x3a, 0x34, 0xfd, 0xd3, 0xd8, 0x36, 0x4b, 0x30, 0x15, 0x98, 0xfe, 0xa9, 0xd5, 0x91, 0xfb, 0x48, - 0x88, 0x6d, 0xef, 0x33, 0x3a, 0xb9, 0x8f, 0x00, 0xf0, 0x7d, 0x76, 0x94, 0x50, 0xc8, 0xd0, 0x3f, - 0x4f, 0x0a, 0x53, 0x97, 0x13, 0x86, 0xea, 0x72, 0x08, 0xbf, 0x0e, 0x73, 0x52, 0xce, 0x03, 0x73, - 0xe8, 0xb4, 0x7b, 0xf9, 0x22, 0xb0, 0xc5, 0xf5, 0xe6, 0xa6, 0x63, 0xf4, 0x9b, 0x1e, 0x35, 0x03, - 0xda, 0x41, 0xd7, 0x61, 0x96, 0x11, 0x78, 0x54, 0x18, 0xc0, 0x97, 0x5c, 0x71, 0x24, 0x7a, 0x13, - 0xe6, 0xe9, 0x0b, 0xda, 0x1e, 0x06, 0xae, 0x47, 0x42, 0x4a, 0xa1, 0x4a, 0x7a, 0x01, 0x3f, 0x86, - 0x4b, 0x71, 0x87, 0xa8, 0xcd, 0x3e, 0x84, 0x2a, 0x8d, 0xb0, 0x7c, 0xab, 0xea, 0x7a, 0x73, 0x2d, - 0xf2, 0xb9, 0xc6, 0xb3, 0xeb, 0x74, 0x5d, 0xa2, 0x93, 0xe3, 0x9f, 0x1b, 0xb0, 0x1c, 0x97, 0xbb, - 0x45, 0xfd, 0xc0, 0x73, 0xcf, 0x68, 0x07, 0x7d, 0x1f, 0xe6, 0xdb, 0x36, 0x35, 0x9d, 0xe1, 0x80, - 0x1d, 0xce, 0x27, 0x74, 0x60, 0x9f, 0x49, 0xf9, 0x57, 0x34, 0xf9, 0x9b, 0x49, 0x1a, 0x92, 0x66, - 0x63, 0x26, 0xd1, 0xb6, 0xb5, 0x3a, 0xf2, 0xa0, 0x71, 0x24, 0xbe, 0xc4, 0xed, 0xa9, 0x29, 0xd3, - 0xf2, 0x3c, 0xd7, 0xc3, 0x0b, 0x30, 0xdf, 0x1a, 0x1d, 0x7d, 0x6a, 0xd9, 0x36, 0x97, 0xc8, 0xed, - 0x8d, 0xe7, 0x60, 0x56, 0xf8, 0x99, 0xd0, 0x2f, 0x86, 0xd4, 0x0f, 0xf0, 0x31, 0x54, 0x15, 0x82, - 0xed, 0x18, 0x06, 0x89, 0xa1, 0x05, 0x09, 0xba, 0x0b, 0xb3, 0xc2, 0xcd, 0x8f, 0x07, 0x1d, 0x33, - 0xe0, 0x06, 0x9f, 0xbc, 0x59, 0x5d, 0x5f, 0xd6, 0xce, 0x73, 0xa0, 0xad, 0x93, 0x38, 0x35, 0xfe, - 0x8b, 0x01, 0x33, 0xfa, 0x3a, 0x7a, 0x17, 0x4a, 0x36, 0x1d, 0x51, 0x9b, 0xef, 0x52, 0x5b, 0xbf, - 0x9a, 0x23, 0x67, 0xed, 0x01, 0x23, 0x22, 0x82, 0x16, 0xed, 0x42, 0xad, 0x1f, 0xbb, 0x6e, 0xdc, - 0x1a, 0xd5, 0xf5, 0x6b, 0xba, 0xd7, 0x32, 0x6e, 0xe5, 0x4e, 0x81, 0x24, 0x18, 0xf1, 0x7b, 0x50, - 0xe2, 0xa2, 0x51, 0x05, 0x4a, 0x5b, 0xad, 0x8d, 0xc7, 0xdb, 0xf5, 0x02, 0x2a, 0x43, 0x71, 0x77, - 0xef, 0xfe, 0x7e, 0xdd, 0x40, 0x55, 0x98, 0x7e, 0x7a, 0x8f, 0xec, 0xed, 0xee, 0x6d, 0xd7, 0x27, - 0x18, 0x45, 0x8b, 0x90, 0x7d, 0x52, 0x9f, 0xdc, 0x98, 0x86, 0x12, 0x97, 0x8f, 0x7f, 0x36, 0x25, - 0x7f, 0xa1, 0x2b, 0x50, 0x09, 0xac, 0x3e, 0xf5, 0x03, 0xb3, 0x3f, 0x90, 0x26, 0x8b, 0x10, 0xc8, - 0x84, 0x65, 0x9a, 0x9d, 0x0b, 0xa4, 0xea, 0xdf, 0x8e, 0xa9, 0x9e, 0x97, 0x38, 0x76, 0x0a, 0x24, - 0x4f, 0x0e, 0x22, 0x80, 0x68, 0x2a, 0xba, 0x79, 0xb2, 0xa8, 0xae, 0xaf, 0xe6, 0x4a, 0x97, 0x74, - 0x3b, 0x05, 0x92, 0xc1, 0x8d, 0x1e, 0x40, 0x3d, 0x48, 0x24, 0x95, 0x46, 0x91, 0x4b, 0x5c, 0x89, - 0x4b, 0x4c, 0xa6, 0x9e, 0x9d, 0x02, 0x49, 0x71, 0xa2, 0x7d, 0x98, 0x0f, 0x92, 0xd9, 0xa5, 0x51, - 0xca, 0xf0, 0x5c, 0x3a, 0x09, 0xed, 0x14, 0x48, 0x9a, 0x17, 0x7d, 0x02, 0x33, 0x0c, 0x69, 0xcb, - 0x34, 0xd3, 0x98, 0x4a, 0xdf, 0xdd, 0x78, 0x22, 0xda, 0x29, 0x90, 0x18, 0x07, 0x3b, 0x60, 0x5f, - 0x65, 0x9f, 0xb6, 0x34, 0xd9, 0x74, 0xd6, 0x01, 0x93, 0x39, 0x8a, 0x1d, 0x30, 0xc9, 0x89, 0x3e, - 0x83, 0x45, 0x9a, 0x91, 0x08, 0x1a, 0x65, 0x2e, 0x11, 0xe7, 0x3a, 0x21, 0xa4, 0xdc, 0x29, 0x90, - 0x4c, 0x09, 0x4c, 0x4f, 0x9a, 0xb8, 0xd5, 0x8d, 0x4a, 0x96, 0x9e, 0xc9, 0xbb, 0xcf, 0xf4, 0x4c, - 0x72, 0xa2, 0xfb, 0x50, 0x3b, 0xb5, 0x6c, 0x3b, 0x08, 0x93, 0x41, 0x03, 0x52, 0x59, 0x29, 0x95, - 0x30, 0xd8, 0xe5, 0x89, 0x73, 0x6d, 0x54, 0x60, 0xfa, 0x91, 0x79, 0x66, 0xbb, 0x66, 0x07, 0x23, - 0xa8, 0x1f, 0x0c, 0x8f, 0xfd, 0xb6, 0x67, 0x1d, 0x53, 0x95, 0x50, 0x2e, 0xc3, 0xf2, 0x36, 0x0d, - 0xee, 0x7b, 0x66, 0x9f, 0x3e, 0x77, 0xbd, 0x53, 0x9e, 0x3c, 0xe5, 0xd2, 0x6f, 0x0d, 0x98, 0x7e, - 0x42, 0x3d, 0xdf, 0x72, 0x1d, 0x96, 0x68, 0xfa, 0xe6, 0xe7, 0xae, 0xc7, 0x6f, 0x4d, 0x89, 0x08, - 0x80, 0x63, 0x2d, 0xc7, 0xf5, 0xf8, 0xfd, 0x60, 0x58, 0x06, 0x30, 0xec, 0xc0, 0x0c, 0xda, 0x3d, - 0x1e, 0xd7, 0x25, 0x22, 0x00, 0x86, 0x3d, 0x1e, 0x5a, 0xb6, 0x88, 0xcd, 0x0a, 0x11, 0x00, 0x2b, - 0x9b, 0x03, 0xcf, 0xed, 0x0c, 0xdb, 0xc1, 0x9e, 0xd9, 0xa7, 0x3c, 0xd0, 0x2a, 0x44, 0x47, 0xa1, - 0x15, 0x80, 0x91, 0x50, 0xe2, 0x20, 0xf0, 0x78, 0xf4, 0x54, 0x88, 0x86, 0xc1, 0xbf, 0x9c, 0x80, - 0x4b, 0xe9, 0x13, 0xb0, 0xe4, 0xb8, 0x0a, 0xd5, 0x6e, 0x88, 0x55, 0x55, 0x4d, 0x47, 0xf1, 0xea, - 0x14, 0xd9, 0xdd, 0xdf, 0x74, 0x87, 0x4e, 0x20, 0xcf, 0x92, 0x5e, 0x60, 0x9a, 0x70, 0xbb, 0x0a, - 0x32, 0x71, 0x38, 0x0d, 0x13, 0x25, 0xe3, 0xa2, 0x9e, 0x8c, 0x57, 0x00, 0x7a, 0xae, 0xaf, 0x84, - 0x97, 0x04, 0x57, 0x84, 0x41, 0x18, 0x66, 0x2c, 0xc7, 0x0f, 0x4c, 0xa7, 0x4d, 0xb9, 0x09, 0xc4, - 0x09, 0x63, 0x38, 0xf4, 0x26, 0x4c, 0xcb, 0x13, 0xcb, 0xc0, 0x47, 0x5a, 0x10, 0x48, 0x17, 0x11, - 0x45, 0xc2, 0x6a, 0xfb, 0x21, 0x35, 0xbd, 0x8e, 0xfb, 0xdc, 0x91, 0xae, 0x64, 0xb5, 0xdd, 0xa3, - 0xa6, 0xef, 0x3a, 0xaa, 0xb6, 0x0b, 0x88, 0xd5, 0x97, 0x88, 0x74, 0x60, 0x9f, 0xe1, 0x06, 0x2c, - 0x6d, 0xd3, 0x40, 0x0b, 0xd0, 0xb0, 0xf2, 0xbc, 0x80, 0xc5, 0xd4, 0xca, 0xc5, 0xac, 0xfc, 0x11, - 0xcc, 0xe8, 0xc6, 0x94, 0xd5, 0x68, 0x5c, 0xf5, 0x8e, 0xd1, 0xe3, 0x3f, 0x15, 0x61, 0x2e, 0x41, - 0x81, 0x6a, 0x30, 0x11, 0x36, 0x2a, 0x13, 0x16, 0x8f, 0x23, 0x79, 0xc1, 0x9f, 0xf6, 0xa8, 0x23, - 0x0b, 0xaf, 0x8e, 0x8a, 0xbc, 0x33, 0xa9, 0x7b, 0x67, 0x0d, 0x4a, 0xdc, 0x83, 0x8d, 0x22, 0x57, - 0xaa, 0xa1, 0x97, 0xb6, 0x9e, 0xeb, 0x05, 0xec, 0x6a, 0x71, 0x95, 0x04, 0x19, 0x6a, 0x42, 0xd9, - 0x73, 0xdd, 0x80, 0xb8, 0xb6, 0x0a, 0xd6, 0x10, 0x46, 0xb7, 0xa0, 0xde, 0x1e, 0x7a, 0x1e, 0x75, - 0x02, 0x32, 0x74, 0xf6, 0x86, 0xfd, 0x63, 0x2a, 0xe2, 0x75, 0x96, 0xa4, 0xf0, 0x68, 0x0b, 0xca, - 0x1d, 0xda, 0x35, 0x87, 0x76, 0xe0, 0x37, 0xa6, 0xf9, 0xd6, 0x37, 0xf3, 0xed, 0xb1, 0xb6, 0x25, - 0x49, 0x5b, 0x4e, 0xe0, 0x9d, 0x91, 0x90, 0x13, 0xdd, 0x86, 0xe2, 0xc8, 0xf4, 0xfc, 0x46, 0x99, - 0x4b, 0xb8, 0x3e, 0x46, 0xc2, 0x13, 0xd3, 0x93, 0xdc, 0x9c, 0x83, 0xed, 0x3f, 0xf4, 0xa9, 0xc7, - 0xd0, 0x8d, 0xca, 0xb9, 0xfb, 0x3f, 0x96, 0xa4, 0x72, 0x7f, 0xc5, 0xd9, 0xfc, 0x00, 0x66, 0x63, - 0xaa, 0xa1, 0x3a, 0x4c, 0x9e, 0xd2, 0x33, 0xe9, 0x17, 0xf6, 0x93, 0x99, 0x7d, 0x64, 0xda, 0xc3, - 0xb0, 0x8d, 0xe5, 0xc0, 0x9d, 0x89, 0xdb, 0x46, 0xf3, 0x7d, 0xa8, 0x84, 0x32, 0x5f, 0x8a, 0xf1, - 0x03, 0x98, 0x8d, 0x29, 0xf4, 0x32, 0xcc, 0xf8, 0x0f, 0x06, 0x5c, 0xda, 0xa3, 0xcf, 0xb5, 0x13, - 0xaa, 0x3b, 0x72, 0x0b, 0xea, 0x2c, 0x60, 0xbb, 0xb6, 0xfb, 0xfc, 0x90, 0xf6, 0x07, 0x76, 0xd4, - 0x56, 0xa5, 0xf0, 0xe8, 0x23, 0x69, 0x78, 0x11, 0xca, 0xb7, 0x34, 0xd3, 0x65, 0xca, 0x4e, 0x9a, - 0xff, 0xbf, 0x3e, 0x3b, 0x3e, 0x80, 0x85, 0xe4, 0x0e, 0xec, 0x12, 0x7e, 0xbd, 0xfe, 0xf8, 0x35, - 0x9e, 0x41, 0x33, 0x4c, 0x92, 0xb8, 0x65, 0xf8, 0xa7, 0x06, 0x2c, 0x24, 0x29, 0xbf, 0xf6, 0xf6, - 0xe8, 0x2d, 0x28, 0x2b, 0x03, 0xcb, 0x46, 0x6b, 0x41, 0x63, 0x65, 0x57, 0x8b, 0xf3, 0x84, 0x44, - 0xf8, 0xaf, 0x06, 0x5c, 0xde, 0x14, 0xcb, 0xe7, 0x2b, 0x8d, 0x3e, 0x86, 0x62, 0x70, 0x36, 0x10, - 0xb6, 0xac, 0xad, 0xbf, 0xa1, 0x37, 0xf5, 0x79, 0x32, 0xd6, 0xf6, 0x07, 0x8c, 0x85, 0x70, 0x46, - 0x6c, 0xc2, 0x94, 0x80, 0x59, 0xd3, 0xb9, 0xb7, 0xbf, 0xff, 0xa8, 0x5e, 0x40, 0x08, 0x6a, 0x07, - 0x87, 0xf7, 0xc8, 0xe1, 0xd1, 0xbd, 0xcd, 0xc3, 0xdd, 0x27, 0xbb, 0x87, 0x3f, 0xac, 0x1b, 0x68, - 0x1e, 0x66, 0x0f, 0x0e, 0xf7, 0x1f, 0x45, 0xa8, 0x09, 0x34, 0x0b, 0x95, 0xcd, 0xfd, 0xbd, 0xfb, - 0xbb, 0xdb, 0x8f, 0x49, 0xab, 0x3e, 0xc9, 0xba, 0x53, 0xd2, 0x3a, 0x68, 0x1d, 0xd6, 0x8b, 0x68, - 0x06, 0xca, 0xdb, 0xfb, 0x47, 0xa2, 0x57, 0x2d, 0xe1, 0x53, 0x58, 0xce, 0x52, 0x86, 0xd9, 0x36, - 0x79, 0x9c, 0xcc, 0x77, 0x61, 0x66, 0xee, 0x99, 0xcc, 0xce, 0x3d, 0xf8, 0x57, 0x06, 0x34, 0x1e, - 0xba, 0x1d, 0xab, 0x7b, 0x76, 0x21, 0xeb, 0x81, 0x3b, 0xa0, 0x1e, 0x7f, 0xc2, 0xaa, 0x78, 0xbf, - 0x96, 0xed, 0xd9, 0x7d, 0x45, 0x47, 0x34, 0x16, 0x74, 0x03, 0x6a, 0x1e, 0x6d, 0xbb, 0x4e, 0xd7, - 0x3a, 0x19, 0x7a, 0xf4, 0x9e, 0x6d, 0x73, 0xbd, 0xca, 0x24, 0x81, 0xc5, 0xbf, 0x31, 0x60, 0x31, - 0x4b, 0x18, 0xba, 0x23, 0xfd, 0x27, 0x1e, 0x1f, 0x37, 0xce, 0xd9, 0x3b, 0xe6, 0x3a, 0x91, 0xae, - 0x6d, 0x51, 0x58, 0x27, 0x54, 0xba, 0x16, 0x30, 0x7e, 0x27, 0xc3, 0xad, 0x73, 0x50, 0x25, 0xad, - 0x87, 0xfb, 0x4f, 0x5a, 0x47, 0x64, 0xff, 0x01, 0xf3, 0xd8, 0x0c, 0x94, 0xef, 0x6d, 0x6d, 0x09, - 0xa8, 0xc8, 0x1e, 0x92, 0x4b, 0x19, 0x96, 0x63, 0x6e, 0xfa, 0x14, 0xea, 0x5d, 0xd3, 0xb2, 0x69, - 0x67, 0x3f, 0xb2, 0x96, 0x71, 0x31, 0x6b, 0xa5, 0x18, 0xa5, 0x13, 0x26, 0xd2, 0x3e, 0xd7, 0x6b, - 0x17, 0xfe, 0xd2, 0x80, 0xcb, 0xb2, 0xfb, 0xbc, 0x80, 0x23, 0xaf, 0x40, 0xe5, 0x94, 0x52, 0xf1, - 0x5c, 0xe5, 0xa2, 0xcb, 0x24, 0x42, 0xa0, 0xb7, 0x61, 0xc1, 0xb4, 0x6d, 0xf7, 0xf9, 0xae, 0x43, - 0x86, 0x8e, 0x63, 0x39, 0x27, 0x07, 0xe1, 0x7e, 0x65, 0x92, 0xb5, 0xc4, 0x74, 0xea, 0xba, 0x5e, - 0x5b, 0x74, 0x3b, 0x65, 0x22, 0x00, 0x4c, 0x61, 0x39, 0x4b, 0x25, 0x66, 0xa1, 0xff, 0xe1, 0x4b, - 0x1b, 0xff, 0xd9, 0x80, 0x6b, 0x07, 0xb1, 0x44, 0xf4, 0xc8, 0x63, 0x31, 0x17, 0x58, 0xd4, 0xcf, - 0x33, 0xc0, 0x33, 0x80, 0x41, 0x48, 0x24, 0x23, 0xf9, 0x8e, 0x5e, 0xef, 0xc7, 0xcb, 0x5b, 0x8b, - 0x30, 0x22, 0x93, 0x6b, 0xd2, 0x9a, 0x77, 0x61, 0x2e, 0xb1, 0xfc, 0x52, 0x59, 0xfd, 0x1a, 0x5c, - 0xcd, 0xdf, 0x9d, 0x9d, 0xd7, 0x87, 0x6b, 0xdb, 0x2f, 0x79, 0xdc, 0x06, 0x4c, 0x7f, 0x31, 0xa4, - 0x9e, 0x3a, 0x6b, 0x85, 0x28, 0x90, 0xdd, 0x48, 0xfa, 0xa2, 0x6d, 0x0f, 0x3b, 0x74, 0xdb, 0x76, - 0x8f, 0x4d, 0xdb, 0x57, 0x37, 0x32, 0x8e, 0xc5, 0xbf, 0x37, 0xe0, 0xea, 0xf6, 0x38, 0xb5, 0xd0, - 0x67, 0x31, 0x93, 0x8a, 0x70, 0xbf, 0xad, 0x99, 0x74, 0x2c, 0xf7, 0x37, 0x69, 0xd0, 0x7f, 0x19, - 0x30, 0x1b, 0xeb, 0xdf, 0x10, 0x82, 0xa2, 0xc3, 0xb2, 0x80, 0x60, 0xe7, 0xbf, 0x59, 0x57, 0x6c, - 0xbb, 0xed, 0x53, 0xf9, 0xbe, 0x2f, 0x13, 0x09, 0xa9, 0x49, 0xd8, 0x6e, 0x47, 0xde, 0x37, 0x09, - 0x69, 0xc3, 0xb4, 0xa2, 0x3e, 0x4c, 0x8b, 0xae, 0x67, 0x49, 0x4f, 0xc9, 0x57, 0xa0, 0xd2, 0xb6, - 0x4d, 0xdf, 0xd7, 0xba, 0xfa, 0x08, 0x81, 0x5a, 0x50, 0xeb, 0xd0, 0x81, 0xed, 0x9e, 0xa9, 0x9a, - 0x28, 0x3b, 0x7b, 0x7d, 0xb8, 0xc2, 0x94, 0xdf, 0x8a, 0x11, 0x91, 0x04, 0x13, 0x33, 0xca, 0xc0, - 0x12, 0x8f, 0xd7, 0x0a, 0x61, 0x3f, 0x59, 0x8d, 0x46, 0x69, 0x46, 0x96, 0x09, 0xd9, 0xa3, 0x43, - 0xb3, 0x41, 0x08, 0xb3, 0x50, 0x31, 0x4f, 0x18, 0xa1, 0xca, 0x39, 0x0a, 0x64, 0x2b, 0x6e, 0xb7, - 0x4b, 0xbd, 0xd0, 0x14, 0x0a, 0x64, 0xcf, 0x1a, 0x35, 0xbf, 0xdb, 0x55, 0x6f, 0x3a, 0x0d, 0x83, - 0xe7, 0x61, 0x6e, 0x9b, 0x06, 0xf2, 0xca, 0x8a, 0x17, 0xc4, 0xc7, 0x30, 0x1b, 0xa1, 0x58, 0xf8, - 0x84, 0xcd, 0xb7, 0x71, 0xa1, 0xe6, 0x1b, 0xdf, 0x84, 0x9a, 0x14, 0xa0, 0xbd, 0x6b, 0xa4, 0xa7, - 0x0c, 0xdd, 0x53, 0xf8, 0x7d, 0x98, 0x09, 0x29, 0xd9, 0x4e, 0xaf, 0x41, 0x91, 0xad, 0xc8, 0x74, - 0xb3, 0x90, 0xb0, 0x31, 0xdf, 0x83, 0x13, 0xe0, 0x16, 0xcc, 0xf2, 0x01, 0x02, 0xf3, 0x53, 0x6e, - 0xdc, 0xb0, 0xc7, 0x86, 0x60, 0x7f, 0xe8, 0x76, 0x68, 0xf8, 0xd8, 0x88, 0x50, 0xf8, 0x27, 0x50, - 0xdd, 0x74, 0xfb, 0x7d, 0xd3, 0xe9, 0x28, 0x2f, 0x51, 0x67, 0xc4, 0x8f, 0x59, 0x21, 0xec, 0x27, - 0x0f, 0x99, 0x1e, 0xb5, 0x6d, 0x19, 0x79, 0x02, 0x88, 0x02, 0x7a, 0x52, 0x0b, 0x68, 0x16, 0x48, - 0xa6, 0x77, 0x32, 0x14, 0x8f, 0xa7, 0x22, 0x97, 0x11, 0x21, 0x98, 0x82, 0xac, 0x1f, 0x97, 0xb1, - 0xc7, 0x7f, 0xe3, 0x87, 0x50, 0xdd, 0xec, 0x99, 0x8e, 0x43, 0xed, 0xdc, 0x33, 0x20, 0xad, 0x2b, - 0xaa, 0xc8, 0x6a, 0xc9, 0xad, 0xe9, 0x9d, 0xd0, 0x20, 0x8a, 0x7b, 0x06, 0xe1, 0x7f, 0x4e, 0x42, - 0x39, 0xbc, 0x48, 0xdf, 0x85, 0x8a, 0xcf, 0x9c, 0xc3, 0x63, 0x56, 0xd8, 0x33, 0xdf, 0x71, 0x11, - 0x29, 0xe3, 0x6b, 0x2b, 0xab, 0xca, 0x36, 0xaf, 0x91, 0xf0, 0x43, 0x68, 0x75, 0x12, 0x91, 0xa2, - 0x4f, 0x60, 0xce, 0x72, 0x8e, 0xdd, 0xa1, 0xd3, 0x91, 0x47, 0x62, 0xe9, 0x8a, 0x85, 0xcb, 0x92, - 0x5e, 0x34, 0xa2, 0xd3, 0x92, 0x24, 0x39, 0xda, 0x80, 0xba, 0x3b, 0x0c, 0xe2, 0x22, 0x8a, 0x63, - 0x45, 0xa4, 0xe8, 0xd1, 0x6d, 0xe6, 0xf2, 0xd0, 0xa1, 0x72, 0x20, 0x16, 0x63, 0x8f, 0x56, 0x89, - 0x4e, 0xca, 0x2e, 0x1e, 0x8b, 0xac, 0x47, 0x66, 0xd0, 0x93, 0x59, 0x20, 0x84, 0xf9, 0x27, 0x06, - 0x67, 0xb4, 0x2b, 0xc6, 0x59, 0x15, 0x22, 0x00, 0xb4, 0x19, 0xcb, 0xaa, 0xe2, 0x75, 0xf6, 0xad, - 0x8c, 0x90, 0xfd, 0x26, 0x13, 0xe8, 0x5b, 0xb0, 0x10, 0x2f, 0xc4, 0xe2, 0xbe, 0x35, 0x60, 0x5a, - 0xdc, 0x30, 0x5f, 0x06, 0xb3, 0x02, 0xf1, 0x2f, 0x0c, 0x98, 0x4f, 0x95, 0x6e, 0x74, 0x07, 0xaa, - 0xa7, 0x96, 0x6d, 0xd3, 0xce, 0xe1, 0x85, 0xee, 0xb9, 0x4e, 0x8c, 0x3e, 0x84, 0x19, 0x4f, 0x34, - 0x1c, 0xaa, 0x67, 0x19, 0xcf, 0x1c, 0xa3, 0xc6, 0x9b, 0x3c, 0xff, 0xb0, 0xc7, 0x43, 0xa8, 0x7c, - 0x68, 0x6d, 0x43, 0xb7, 0x76, 0x13, 0xca, 0x03, 0x33, 0xe8, 0x1d, 0x0c, 0x68, 0x5b, 0xb5, 0x88, - 0x0a, 0xc6, 0x5f, 0x16, 0xa1, 0xac, 0xde, 0x1f, 0x79, 0x15, 0x24, 0xeb, 0xf3, 0x4a, 0xce, 0xb0, - 0xa1, 0x09, 0xe5, 0xee, 0xd0, 0xb6, 0x79, 0x28, 0x88, 0x8c, 0x19, 0xc2, 0xba, 0x65, 0x4b, 0x31, - 0xcb, 0xa2, 0xd7, 0xa1, 0xc4, 0x7a, 0x56, 0xbf, 0x31, 0xc5, 0x0d, 0x90, 0xf9, 0x36, 0x12, 0x14, - 0xe8, 0x6e, 0x6a, 0xaa, 0xf0, 0x6a, 0x06, 0x75, 0xee, 0x38, 0xe1, 0x9d, 0xd8, 0x38, 0xe1, 0x6a, - 0x16, 0x6b, 0x72, 0x8e, 0x70, 0x37, 0x35, 0x47, 0xc8, 0xdc, 0xf1, 0xff, 0x68, 0x80, 0x70, 0x87, - 0x57, 0x31, 0x19, 0x58, 0x2c, 0xc6, 0x43, 0xff, 0x18, 0xe7, 0xf9, 0x07, 0xff, 0xce, 0x80, 0x57, - 0xb6, 0x69, 0xf0, 0x34, 0x31, 0x4e, 0x08, 0x23, 0x74, 0x15, 0xaa, 0x1e, 0x1d, 0xb8, 0x8f, 0xcc, - 0x20, 0xa0, 0x9e, 0x9a, 0xd5, 0xe9, 0x28, 0x74, 0x13, 0xe6, 0x3c, 0x3a, 0xb2, 0x7c, 0xcb, 0x75, - 0x14, 0x95, 0xd0, 0x30, 0x89, 0x66, 0xb2, 0x4c, 0xdb, 0xde, 0xf0, 0x4c, 0xa7, 0xdd, 0xa3, 0xaa, - 0xc5, 0xd3, 0x51, 0xbc, 0xec, 0xdb, 0xf6, 0xa1, 0x79, 0xe2, 0xcb, 0x1e, 0x5e, 0x81, 0xf8, 0x18, - 0x16, 0x93, 0x3a, 0xaa, 0x2b, 0xc0, 0x94, 0x51, 0x57, 0x80, 0xfd, 0xe6, 0xf9, 0x4d, 0x8d, 0x4b, - 0xe4, 0xfd, 0x51, 0x30, 0x7f, 0x7e, 0x49, 0xb5, 0xe4, 0x4d, 0x08, 0x61, 0xfc, 0x39, 0x5c, 0xce, - 0x36, 0x05, 0xb3, 0xe9, 0x43, 0x98, 0x4f, 0xce, 0x5c, 0xb2, 0x9e, 0x53, 0x59, 0x4a, 0x92, 0x34, - 0x27, 0x46, 0x50, 0x7f, 0x60, 0xf9, 0xec, 0x1d, 0xe2, 0x6a, 0x5f, 0xd2, 0xca, 0x0c, 0xce, 0xbd, - 0xda, 0x0d, 0x98, 0x96, 0x17, 0x43, 0xd6, 0x68, 0x05, 0x32, 0x1f, 0xc8, 0x9f, 0x24, 0x7e, 0xb8, - 0x24, 0x1a, 0x7f, 0x01, 0x35, 0x6d, 0x5f, 0x15, 0x2c, 0x0c, 0xca, 0x0a, 0x16, 0xa9, 0x0d, 0x11, - 0x14, 0xe8, 0x3d, 0xb8, 0x74, 0xc2, 0x3b, 0xf1, 0xad, 0xc4, 0x66, 0xc2, 0xca, 0xd9, 0x8b, 0x78, - 0x0f, 0x6a, 0xf7, 0x3a, 0x1d, 0x26, 0x4b, 0x05, 0x55, 0xd6, 0xe1, 0x32, 0x8e, 0x30, 0x91, 0x7d, - 0x04, 0x02, 0x33, 0xa1, 0x3c, 0xd1, 0xb3, 0x21, 0x87, 0x3e, 0x4f, 0xaa, 0x24, 0x64, 0x67, 0xac, - 0xb0, 0xdd, 0x2d, 0x55, 0xf1, 0x2b, 0x84, 0xff, 0xc6, 0xaf, 0xc3, 0x3c, 0xa1, 0x7d, 0x77, 0x44, - 0x75, 0x35, 0x17, 0xa1, 0x64, 0x39, 0x1d, 0xfa, 0x42, 0x7d, 0x61, 0xe0, 0x00, 0xfe, 0x1e, 0xcc, - 0xe9, 0xa4, 0x4c, 0x83, 0x1b, 0x50, 0xd3, 0xf7, 0x09, 0xc3, 0x31, 0x81, 0xc5, 0x6f, 0xc0, 0x02, - 0xa1, 0x5d, 0x8f, 0xfa, 0x3d, 0xdd, 0xef, 0x39, 0xfb, 0x7c, 0x07, 0x2e, 0x1d, 0xd0, 0x40, 0x63, - 0x1f, 0x4f, 0x7e, 0x97, 0x3f, 0x3f, 0xb7, 0xb3, 0x3c, 0xa0, 0x18, 0xf5, 0xd8, 0x37, 0x12, 0xb1, - 0xff, 0x03, 0xfe, 0xde, 0x63, 0xdb, 0xe4, 0x30, 0x67, 0xee, 0x1a, 0x13, 0x39, 0x91, 0x10, 0xf9, - 0x0e, 0xbc, 0x92, 0x27, 0x92, 0x19, 0x4d, 0xb9, 0xc1, 0xd0, 0xdc, 0x30, 0x0d, 0xa5, 0x56, 0x7f, - 0x10, 0x9c, 0xad, 0xff, 0x7b, 0x16, 0xa6, 0xe5, 0xf8, 0x09, 0x6d, 0x42, 0xf5, 0xd0, 0x33, 0xdb, - 0xf2, 0x23, 0x1e, 0x6a, 0xa4, 0xbe, 0xf5, 0x4a, 0x15, 0x9b, 0x4b, 0x19, 0x2b, 0xec, 0xa9, 0x5a, - 0x78, 0xdb, 0x40, 0xcf, 0xa0, 0x9e, 0xfc, 0x24, 0x83, 0x70, 0xfc, 0x5d, 0x98, 0xf5, 0xc5, 0xa9, - 0xb9, 0x3a, 0x96, 0x86, 0x4b, 0x47, 0x1b, 0x50, 0x56, 0x9f, 0x2c, 0x90, 0x3e, 0x62, 0x4c, 0x7c, - 0xf2, 0x68, 0x36, 0x32, 0xd7, 0x84, 0x8c, 0xa7, 0xbc, 0x39, 0xd0, 0xbf, 0x65, 0xa0, 0x57, 0x73, - 0x9f, 0xad, 0xe1, 0x89, 0xaf, 0x8d, 0x23, 0x11, 0x82, 0x0f, 0xa1, 0x16, 0x1f, 0xcf, 0xa2, 0xd5, - 0xf3, 0x66, 0xc3, 0xcd, 0x95, 0x31, 0x14, 0xa1, 0xd4, 0xf8, 0x7e, 0x68, 0x35, 0x57, 0x95, 0x2c, - 0xa9, 0x19, 0x23, 0x5b, 0x5c, 0x40, 0x3f, 0x06, 0x94, 0x9e, 0x39, 0xa2, 0xeb, 0x17, 0x99, 0x8f, - 0x36, 0xf1, 0x39, 0x54, 0x62, 0x87, 0x1f, 0xc1, 0x7c, 0x6a, 0x5a, 0x86, 0xf4, 0x4e, 0x36, 0x6f, - 0x0a, 0xd9, 0x7c, 0x75, 0x3c, 0x51, 0x78, 0x80, 0xf4, 0xac, 0x29, 0x76, 0x80, 0xdc, 0xe9, 0x58, - 0xec, 0x00, 0x39, 0x03, 0x2b, 0x11, 0x6b, 0xea, 0xc5, 0x1a, 0x8b, 0xb5, 0xc4, 0xcb, 0x36, 0x16, - 0x6b, 0xb1, 0x27, 0x2e, 0x2e, 0xa0, 0x8f, 0x61, 0x5a, 0xa2, 0xd0, 0xe5, 0x34, 0x99, 0x92, 0xb0, - 0x9c, 0xb5, 0x24, 0x04, 0xec, 0xc1, 0x8c, 0xde, 0x58, 0xa3, 0x95, 0xdc, 0x61, 0x99, 0x10, 0x35, - 0x76, 0x98, 0x16, 0x1e, 0x8a, 0x37, 0x30, 0xc9, 0x43, 0xe9, 0xed, 0x72, 0xf2, 0x50, 0x51, 0xc7, - 0x83, 0x0b, 0xa8, 0xcb, 0x3f, 0x06, 0xa6, 0x8a, 0x37, 0xba, 0x11, 0xe7, 0xc9, 0x6b, 0x74, 0x9a, - 0xd7, 0xcf, 0xa5, 0x13, 0xfb, 0xb4, 0xa0, 0x12, 0x16, 0x50, 0xf4, 0x8a, 0xc6, 0x94, 0x2c, 0xe7, - 0xcd, 0xcb, 0xd9, 0x8b, 0xa1, 0x0f, 0x64, 0x11, 0x8b, 0xf9, 0x20, 0x5e, 0x28, 0x63, 0x3e, 0xd0, - 0x6b, 0x1e, 0x2e, 0xa0, 0x1d, 0x80, 0xa8, 0x0c, 0xa1, 0x2b, 0xb1, 0xaa, 0x9d, 0x28, 0x64, 0xcd, - 0x66, 0xce, 0xaa, 0xb2, 0xfe, 0x8c, 0x5e, 0x95, 0x62, 0xde, 0xcc, 0x28, 0x57, 0xcd, 0xba, 0x3e, - 0x3d, 0x66, 0xd9, 0x1a, 0x17, 0xd0, 0x7d, 0xa8, 0xc5, 0x8b, 0x55, 0x2c, 0x1f, 0x64, 0xd6, 0xb1, - 0x4c, 0x39, 0xcf, 0xa0, 0x91, 0x57, 0xc5, 0xd0, 0xad, 0xb8, 0xc4, 0x71, 0xa5, 0x2e, 0x53, 0xb6, - 0x0d, 0x4b, 0xd9, 0xf5, 0x08, 0xdd, 0x8c, 0x4b, 0xce, 0xaf, 0x82, 0xcd, 0x1b, 0x17, 0xa0, 0x14, - 0x56, 0xfd, 0x10, 0x2a, 0xe1, 0x3f, 0x1b, 0x62, 0x71, 0x92, 0xfc, 0xbf, 0x43, 0x5c, 0xd7, 0x11, - 0x75, 0x82, 0xb7, 0x8d, 0x8d, 0xdb, 0x7f, 0xfc, 0x6a, 0xc5, 0xf8, 0xdb, 0x57, 0x2b, 0xc6, 0xdf, - 0xbf, 0x5a, 0x31, 0x7e, 0xfd, 0x8f, 0x95, 0x02, 0xe0, 0x76, 0x6f, 0xad, 0x4d, 0x3d, 0x67, 0xcd, - 0xb4, 0xad, 0x36, 0x5d, 0x73, 0xd7, 0xd7, 0x14, 0x8f, 0x37, 0x68, 0xfb, 0xd4, 0x1b, 0x51, 0xef, - 0xd9, 0xc4, 0xe0, 0xf8, 0x78, 0x8a, 0xff, 0xd7, 0xf0, 0xdd, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, - 0x94, 0x33, 0x95, 0x63, 0x85, 0x28, 0x00, 0x00, + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_protos_o2control_proto_rawDescGZIP(), []int{68} +} + +var File_protos_o2control_proto protoreflect.FileDescriptor + +var file_protos_o2control_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x4d, 0x65, 0x73, + 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, 0x6c, 0x0a, 0x1a, 0x45, + 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x13, 0x45, 0x76, 0x5f, + 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x46, + 0x0a, 0x14, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x0f, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, + 0x6b, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, + 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x69, + 0x64, 0x22, 0x69, 0x0a, 0x13, 0x45, 0x76, 0x5f, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, + 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2c, + 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x55, 0x0a, 0x15, + 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x17, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, + 0x4a, 0x0a, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x69, + 0x64, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x45, 0x76, 0x5f, 0x4b, + 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x22, 0x0f, 0x0a, + 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, + 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x49, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x6f, + 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, + 0x65, 0x61, 0x74, 0x22, 0x34, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, + 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, + 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x42, 0x07, 0x0a, 0x05, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x22, 0x86, 0x06, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x61, 0x0a, 0x17, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x17, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x52, 0x0a, + 0x12, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, 0x74, + 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, + 0x4f, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x74, + 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x12, 0x40, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x4d, 0x65, 0x73, 0x6f, + 0x73, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, + 0x6d, 0x65, 0x73, 0x6f, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x58, 0x0a, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x45, 0x76, 0x5f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x10, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x5f, + 0x4b, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, 0x48, 0x00, + 0x52, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x4d, 0x65, 0x73, 0x6f, 0x73, + 0x42, 0x09, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x07, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, + 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, + 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, + 0x22, 0x8f, 0x02, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, + 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x0f, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x0f, 0x0a, + 0x0d, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x78, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x22, 0xca, 0x04, 0x0a, 0x0f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x57, 0x68, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, + 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, + 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x04, + 0x76, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, + 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xbc, 0x01, 0x0a, 0x15, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x76, 0x61, 0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x53, + 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 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, 0x84, 0x01, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x22, 0xcf, 0x01, 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2b, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x22, 0x61, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, + 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, + 0x4f, 0x50, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x0d, 0x0a, + 0x09, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, + 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x4f, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0x05, 0x22, 0x6b, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x22, 0x93, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x3f, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, + 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, 0x6c, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x26, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x4f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x06, 0x4f, 0x70, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x0f, 0x0a, + 0x0b, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x04, 0x22, 0x8b, 0x01, 0x0a, + 0x16, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4b, 0x0a, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, + 0x6e, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x52, 0x75, 0x6e, 0x6e, + 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x65, + 0x0a, 0x17, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x6c, 0x65, + 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x52, 0x11, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0xcc, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, + 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1f, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x73, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, 0x78, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x58, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, + 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf8, 0x01, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6c, 0x6f, 0x63, + 0x6b, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, + 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, + 0x22, 0x84, 0x01, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x28, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, + 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0x45, + 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4d, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x7d, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x22, 0x4d, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0xf0, 0x03, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x36, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x53, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, + 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x40, 0x0a, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x6e, 0x76, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x76, + 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x13, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, + 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x11, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, + 0x0b, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x68, 0x6f, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6b, 0x69, + 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x75, 0x6e, + 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x6f, 0x72, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x6e, 0x69, + 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x43, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, + 0x76, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x76, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x22, 0x91, 0x04, 0x0a, + 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, + 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, + 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, + 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x73, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x08, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x76, + 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x56, + 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x3d, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x3b, 0x0a, + 0x0d, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x3a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x6f, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0xa5, 0x01, 0x0a, + 0x1b, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x72, 0x65, 0x70, 0x6f, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x28, + 0x0a, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, + 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, + 0x6c, 0x54, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, + 0x54, 0x61, 0x67, 0x73, 0x22, 0x62, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, + 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, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x4d, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, 0x0a, 0x08, 0x52, 0x65, 0x70, 0x6f, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x0e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, + 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x67, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x4e, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x52, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, + 0x2e, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x39, + 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x2d, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3d, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x51, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x32, 0xfd, 0x0d, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, + 0x43, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, + 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, + 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, + 0x12, 0x42, 0x0a, 0x08, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1a, 0x2e, 0x6f, + 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, + 0x0e, 0x4e, 0x65, 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x77, 0x45, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, + 0x77, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x12, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x11, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x23, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x12, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x73, + 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, + 0x12, 0x3f, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x4e, 0x0a, 0x0c, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, + 0x73, 0x12, 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, + 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, + 0x65, 0x61, 0x6e, 0x75, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x42, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x32, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x2e, + 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x45, 0x0a, + 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x12, + 0x19, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, + 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, 0x32, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x12, 0x1c, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, + 0x42, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, + 0x1e, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x20, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x18, 0x53, + 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x28, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6f, 0x32, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x62, 0x65, 0x12, 0x1b, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x10, 0x2e, 0x6f, 0x32, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x30, 0x01, 0x42, 0x2f, 0x0a, 0x22, 0x63, 0x68, 0x2e, 0x63, 0x65, 0x72, 0x6e, 0x2e, 0x61, + 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x6f, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x72, 0x70, 0x63, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x73, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_protos_o2control_proto_rawDescOnce sync.Once + file_protos_o2control_proto_rawDescData = file_protos_o2control_proto_rawDesc +) + +func file_protos_o2control_proto_rawDescGZIP() []byte { + file_protos_o2control_proto_rawDescOnce.Do(func() { + file_protos_o2control_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_o2control_proto_rawDescData) + }) + return file_protos_o2control_proto_rawDescData +} + +var file_protos_o2control_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_protos_o2control_proto_msgTypes = make([]protoimpl.MessageInfo, 79) +var file_protos_o2control_proto_goTypes = []interface{}{ + (StatusUpdate_Level)(0), // 0: o2control.StatusUpdate.Level + (ControlEnvironmentRequest_Optype)(0), // 1: o2control.ControlEnvironmentRequest.Optype + (EnvironmentOperation_Optype)(0), // 2: o2control.EnvironmentOperation.Optype + (*Event_MesosHeartbeat)(nil), // 3: o2control.Event_MesosHeartbeat + (*Ev_EnvironmentStateChanged)(nil), // 4: o2control.Ev_EnvironmentStateChanged + (*Ev_TaskStateChanged)(nil), // 5: o2control.Ev_TaskStateChanged + (*Ev_TaskStatusChanged)(nil), // 6: o2control.Ev_TaskStatusChanged + (*Ev_TaskLaunched)(nil), // 7: o2control.Ev_TaskLaunched + (*Ev_MesosTaskCreated)(nil), // 8: o2control.Ev_MesosTaskCreated + (*Ev_EnvironmentCreated)(nil), // 9: o2control.Ev_EnvironmentCreated + (*Ev_EnvironmentDestroyed)(nil), // 10: o2control.Ev_EnvironmentDestroyed + (*Ev_EnvironmentError)(nil), // 11: o2control.Ev_EnvironmentError + (*Ev_KillTasksMesos)(nil), // 12: o2control.Ev_KillTasksMesos + (*StatusRequest)(nil), // 13: o2control.StatusRequest + (*StatusReply)(nil), // 14: o2control.StatusReply + (*StatusUpdate)(nil), // 15: o2control.StatusUpdate + (*Event)(nil), // 16: o2control.Event + (*SubscribeRequest)(nil), // 17: o2control.SubscribeRequest + (*GetFrameworkInfoRequest)(nil), // 18: o2control.GetFrameworkInfoRequest + (*Version)(nil), // 19: o2control.Version + (*GetFrameworkInfoReply)(nil), // 20: o2control.GetFrameworkInfoReply + (*TeardownRequest)(nil), // 21: o2control.TeardownRequest + (*TeardownReply)(nil), // 22: o2control.TeardownReply + (*GetEnvironmentsRequest)(nil), // 23: o2control.GetEnvironmentsRequest + (*GetEnvironmentsReply)(nil), // 24: o2control.GetEnvironmentsReply + (*EnvironmentInfo)(nil), // 25: o2control.EnvironmentInfo + (*NewEnvironmentRequest)(nil), // 26: o2control.NewEnvironmentRequest + (*NewEnvironmentReply)(nil), // 27: o2control.NewEnvironmentReply + (*GetEnvironmentRequest)(nil), // 28: o2control.GetEnvironmentRequest + (*GetEnvironmentReply)(nil), // 29: o2control.GetEnvironmentReply + (*ControlEnvironmentRequest)(nil), // 30: o2control.ControlEnvironmentRequest + (*ControlEnvironmentReply)(nil), // 31: o2control.ControlEnvironmentReply + (*ModifyEnvironmentRequest)(nil), // 32: o2control.ModifyEnvironmentRequest + (*EnvironmentOperation)(nil), // 33: o2control.EnvironmentOperation + (*ModifyEnvironmentReply)(nil), // 34: o2control.ModifyEnvironmentReply + (*DestroyEnvironmentRequest)(nil), // 35: o2control.DestroyEnvironmentRequest + (*DestroyEnvironmentReply)(nil), // 36: o2control.DestroyEnvironmentReply + (*SetEnvironmentPropertiesRequest)(nil), // 37: o2control.SetEnvironmentPropertiesRequest + (*SetEnvironmentPropertiesReply)(nil), // 38: o2control.SetEnvironmentPropertiesReply + (*GetEnvironmentPropertiesRequest)(nil), // 39: o2control.GetEnvironmentPropertiesRequest + (*GetEnvironmentPropertiesReply)(nil), // 40: o2control.GetEnvironmentPropertiesReply + (*ShortTaskInfo)(nil), // 41: o2control.ShortTaskInfo + (*TaskDeploymentInfo)(nil), // 42: o2control.TaskDeploymentInfo + (*GetTasksRequest)(nil), // 43: o2control.GetTasksRequest + (*GetTasksReply)(nil), // 44: o2control.GetTasksReply + (*GetTaskRequest)(nil), // 45: o2control.GetTaskRequest + (*GetTaskReply)(nil), // 46: o2control.GetTaskReply + (*TaskClassInfo)(nil), // 47: o2control.TaskClassInfo + (*CommandInfo)(nil), // 48: o2control.CommandInfo + (*ChannelInfo)(nil), // 49: o2control.ChannelInfo + (*TaskInfo)(nil), // 50: o2control.TaskInfo + (*CleanupTasksRequest)(nil), // 51: o2control.CleanupTasksRequest + (*CleanupTasksReply)(nil), // 52: o2control.CleanupTasksReply + (*GetRolesRequest)(nil), // 53: o2control.GetRolesRequest + (*RoleInfo)(nil), // 54: o2control.RoleInfo + (*GetRolesReply)(nil), // 55: o2control.GetRolesReply + (*GetWorkflowTemplatesRequest)(nil), // 56: o2control.GetWorkflowTemplatesRequest + (*WorkflowTemplateInfo)(nil), // 57: o2control.WorkflowTemplateInfo + (*GetWorkflowTemplatesReply)(nil), // 58: o2control.GetWorkflowTemplatesReply + (*ListReposRequest)(nil), // 59: o2control.ListReposRequest + (*RepoInfo)(nil), // 60: o2control.RepoInfo + (*ListReposReply)(nil), // 61: o2control.ListReposReply + (*AddRepoRequest)(nil), // 62: o2control.AddRepoRequest + (*AddRepoReply)(nil), // 63: o2control.AddRepoReply + (*RemoveRepoRequest)(nil), // 64: o2control.RemoveRepoRequest + (*RemoveRepoReply)(nil), // 65: o2control.RemoveRepoReply + (*RefreshReposRequest)(nil), // 66: o2control.RefreshReposRequest + (*SetDefaultRepoRequest)(nil), // 67: o2control.SetDefaultRepoRequest + (*SetGlobalDefaultRevisionRequest)(nil), // 68: o2control.SetGlobalDefaultRevisionRequest + (*SetRepoDefaultRevisionRequest)(nil), // 69: o2control.SetRepoDefaultRevisionRequest + (*SetRepoDefaultRevisionReply)(nil), // 70: o2control.SetRepoDefaultRevisionReply + (*Empty)(nil), // 71: o2control.Empty + nil, // 72: o2control.EnvironmentInfo.DefaultsEntry + nil, // 73: o2control.EnvironmentInfo.VarsEntry + nil, // 74: o2control.EnvironmentInfo.UserVarsEntry + nil, // 75: o2control.NewEnvironmentRequest.VarsEntry + nil, // 76: o2control.SetEnvironmentPropertiesRequest.PropertiesEntry + nil, // 77: o2control.GetEnvironmentPropertiesReply.PropertiesEntry + nil, // 78: o2control.TaskInfo.PropertiesEntry + nil, // 79: o2control.RoleInfo.DefaultsEntry + nil, // 80: o2control.RoleInfo.VarsEntry + nil, // 81: o2control.RoleInfo.UserVarsEntry +} +var file_protos_o2control_proto_depIdxs = []int32{ + 25, // 0: o2control.Ev_EnvironmentCreated.environment:type_name -> o2control.EnvironmentInfo + 52, // 1: o2control.Ev_EnvironmentDestroyed.cleanupTasksReply:type_name -> o2control.CleanupTasksReply + 15, // 2: o2control.StatusReply.statusUpdates:type_name -> o2control.StatusUpdate + 0, // 3: o2control.StatusUpdate.level:type_name -> o2control.StatusUpdate.Level + 3, // 4: o2control.StatusUpdate.mesosHeartbeat:type_name -> o2control.Event_MesosHeartbeat + 4, // 5: o2control.Event.environmentStateChanged:type_name -> o2control.Ev_EnvironmentStateChanged + 9, // 6: o2control.Event.environmentCreated:type_name -> o2control.Ev_EnvironmentCreated + 5, // 7: o2control.Event.taskStateChanged:type_name -> o2control.Ev_TaskStateChanged + 6, // 8: o2control.Event.taskStatusChanged:type_name -> o2control.Ev_TaskStatusChanged + 7, // 9: o2control.Event.tasklaunched:type_name -> o2control.Ev_TaskLaunched + 8, // 10: o2control.Event.mesosTaskcreated:type_name -> o2control.Ev_MesosTaskCreated + 10, // 11: o2control.Event.environmentDestroyed:type_name -> o2control.Ev_EnvironmentDestroyed + 11, // 12: o2control.Event.environmentError:type_name -> o2control.Ev_EnvironmentError + 12, // 13: o2control.Event.killtasksMesos:type_name -> o2control.Ev_KillTasksMesos + 19, // 14: o2control.GetFrameworkInfoReply.version:type_name -> o2control.Version + 25, // 15: o2control.GetEnvironmentsReply.environments:type_name -> o2control.EnvironmentInfo + 41, // 16: o2control.EnvironmentInfo.tasks:type_name -> o2control.ShortTaskInfo + 72, // 17: o2control.EnvironmentInfo.defaults:type_name -> o2control.EnvironmentInfo.DefaultsEntry + 73, // 18: o2control.EnvironmentInfo.vars:type_name -> o2control.EnvironmentInfo.VarsEntry + 74, // 19: o2control.EnvironmentInfo.userVars:type_name -> o2control.EnvironmentInfo.UserVarsEntry + 75, // 20: o2control.NewEnvironmentRequest.vars:type_name -> o2control.NewEnvironmentRequest.VarsEntry + 25, // 21: o2control.NewEnvironmentReply.environment:type_name -> o2control.EnvironmentInfo + 25, // 22: o2control.GetEnvironmentReply.environment:type_name -> o2control.EnvironmentInfo + 54, // 23: o2control.GetEnvironmentReply.workflow:type_name -> o2control.RoleInfo + 1, // 24: o2control.ControlEnvironmentRequest.type:type_name -> o2control.ControlEnvironmentRequest.Optype + 33, // 25: o2control.ModifyEnvironmentRequest.operations:type_name -> o2control.EnvironmentOperation + 2, // 26: o2control.EnvironmentOperation.type:type_name -> o2control.EnvironmentOperation.Optype + 33, // 27: o2control.ModifyEnvironmentReply.failedOperations:type_name -> o2control.EnvironmentOperation + 52, // 28: o2control.DestroyEnvironmentReply.cleanupTasksReply:type_name -> o2control.CleanupTasksReply + 76, // 29: o2control.SetEnvironmentPropertiesRequest.properties:type_name -> o2control.SetEnvironmentPropertiesRequest.PropertiesEntry + 77, // 30: o2control.GetEnvironmentPropertiesReply.properties:type_name -> o2control.GetEnvironmentPropertiesReply.PropertiesEntry + 42, // 31: o2control.ShortTaskInfo.deploymentInfo:type_name -> o2control.TaskDeploymentInfo + 41, // 32: o2control.GetTasksReply.tasks:type_name -> o2control.ShortTaskInfo + 50, // 33: o2control.GetTaskReply.task:type_name -> o2control.TaskInfo + 41, // 34: o2control.TaskInfo.shortInfo:type_name -> o2control.ShortTaskInfo + 47, // 35: o2control.TaskInfo.classInfo:type_name -> o2control.TaskClassInfo + 49, // 36: o2control.TaskInfo.inboundChannels:type_name -> o2control.ChannelInfo + 49, // 37: o2control.TaskInfo.outboundChannels:type_name -> o2control.ChannelInfo + 48, // 38: o2control.TaskInfo.commandInfo:type_name -> o2control.CommandInfo + 78, // 39: o2control.TaskInfo.properties:type_name -> o2control.TaskInfo.PropertiesEntry + 41, // 40: o2control.CleanupTasksReply.killedTasks:type_name -> o2control.ShortTaskInfo + 41, // 41: o2control.CleanupTasksReply.runningTasks:type_name -> o2control.ShortTaskInfo + 54, // 42: o2control.RoleInfo.roles:type_name -> o2control.RoleInfo + 79, // 43: o2control.RoleInfo.defaults:type_name -> o2control.RoleInfo.DefaultsEntry + 80, // 44: o2control.RoleInfo.vars:type_name -> o2control.RoleInfo.VarsEntry + 81, // 45: o2control.RoleInfo.userVars:type_name -> o2control.RoleInfo.UserVarsEntry + 54, // 46: o2control.GetRolesReply.roles:type_name -> o2control.RoleInfo + 57, // 47: o2control.GetWorkflowTemplatesReply.workflowTemplates:type_name -> o2control.WorkflowTemplateInfo + 60, // 48: o2control.ListReposReply.repos:type_name -> o2control.RepoInfo + 13, // 49: o2control.Control.TrackStatus:input_type -> o2control.StatusRequest + 18, // 50: o2control.Control.GetFrameworkInfo:input_type -> o2control.GetFrameworkInfoRequest + 21, // 51: o2control.Control.Teardown:input_type -> o2control.TeardownRequest + 23, // 52: o2control.Control.GetEnvironments:input_type -> o2control.GetEnvironmentsRequest + 26, // 53: o2control.Control.NewEnvironment:input_type -> o2control.NewEnvironmentRequest + 28, // 54: o2control.Control.GetEnvironment:input_type -> o2control.GetEnvironmentRequest + 30, // 55: o2control.Control.ControlEnvironment:input_type -> o2control.ControlEnvironmentRequest + 32, // 56: o2control.Control.ModifyEnvironment:input_type -> o2control.ModifyEnvironmentRequest + 35, // 57: o2control.Control.DestroyEnvironment:input_type -> o2control.DestroyEnvironmentRequest + 43, // 58: o2control.Control.GetTasks:input_type -> o2control.GetTasksRequest + 45, // 59: o2control.Control.GetTask:input_type -> o2control.GetTaskRequest + 51, // 60: o2control.Control.CleanupTasks:input_type -> o2control.CleanupTasksRequest + 53, // 61: o2control.Control.GetRoles:input_type -> o2control.GetRolesRequest + 56, // 62: o2control.Control.GetWorkflowTemplates:input_type -> o2control.GetWorkflowTemplatesRequest + 59, // 63: o2control.Control.ListRepos:input_type -> o2control.ListReposRequest + 62, // 64: o2control.Control.AddRepo:input_type -> o2control.AddRepoRequest + 64, // 65: o2control.Control.RemoveRepo:input_type -> o2control.RemoveRepoRequest + 66, // 66: o2control.Control.RefreshRepos:input_type -> o2control.RefreshReposRequest + 67, // 67: o2control.Control.SetDefaultRepo:input_type -> o2control.SetDefaultRepoRequest + 68, // 68: o2control.Control.SetGlobalDefaultRevision:input_type -> o2control.SetGlobalDefaultRevisionRequest + 69, // 69: o2control.Control.SetRepoDefaultRevision:input_type -> o2control.SetRepoDefaultRevisionRequest + 17, // 70: o2control.Control.Subscribe:input_type -> o2control.SubscribeRequest + 14, // 71: o2control.Control.TrackStatus:output_type -> o2control.StatusReply + 20, // 72: o2control.Control.GetFrameworkInfo:output_type -> o2control.GetFrameworkInfoReply + 22, // 73: o2control.Control.Teardown:output_type -> o2control.TeardownReply + 24, // 74: o2control.Control.GetEnvironments:output_type -> o2control.GetEnvironmentsReply + 27, // 75: o2control.Control.NewEnvironment:output_type -> o2control.NewEnvironmentReply + 29, // 76: o2control.Control.GetEnvironment:output_type -> o2control.GetEnvironmentReply + 31, // 77: o2control.Control.ControlEnvironment:output_type -> o2control.ControlEnvironmentReply + 34, // 78: o2control.Control.ModifyEnvironment:output_type -> o2control.ModifyEnvironmentReply + 36, // 79: o2control.Control.DestroyEnvironment:output_type -> o2control.DestroyEnvironmentReply + 44, // 80: o2control.Control.GetTasks:output_type -> o2control.GetTasksReply + 46, // 81: o2control.Control.GetTask:output_type -> o2control.GetTaskReply + 52, // 82: o2control.Control.CleanupTasks:output_type -> o2control.CleanupTasksReply + 55, // 83: o2control.Control.GetRoles:output_type -> o2control.GetRolesReply + 58, // 84: o2control.Control.GetWorkflowTemplates:output_type -> o2control.GetWorkflowTemplatesReply + 61, // 85: o2control.Control.ListRepos:output_type -> o2control.ListReposReply + 63, // 86: o2control.Control.AddRepo:output_type -> o2control.AddRepoReply + 65, // 87: o2control.Control.RemoveRepo:output_type -> o2control.RemoveRepoReply + 71, // 88: o2control.Control.RefreshRepos:output_type -> o2control.Empty + 71, // 89: o2control.Control.SetDefaultRepo:output_type -> o2control.Empty + 71, // 90: o2control.Control.SetGlobalDefaultRevision:output_type -> o2control.Empty + 70, // 91: o2control.Control.SetRepoDefaultRevision:output_type -> o2control.SetRepoDefaultRevisionReply + 16, // 92: o2control.Control.Subscribe:output_type -> o2control.Event + 71, // [71:93] is the sub-list for method output_type + 49, // [49:71] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_protos_o2control_proto_init() } +func file_protos_o2control_proto_init() { + if File_protos_o2control_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protos_o2control_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event_MesosHeartbeat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentStateChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskStateChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskStatusChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_TaskLaunched); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_MesosTaskCreated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentCreated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentDestroyed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_EnvironmentError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ev_KillTasksMesos); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFrameworkInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFrameworkInfoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeardownRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeardownReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentsReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvironmentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ControlEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ControlEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvironmentOperation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyEnvironmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyEnvironmentReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEnvironmentPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEnvironmentPropertiesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEnvironmentPropertiesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShortTaskInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskDeploymentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTasksReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskClassInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommandInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupTasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupTasksReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkflowTemplatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowTemplateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkflowTemplatesReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepoInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReposReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRepoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepoReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDefaultRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetGlobalDefaultRevisionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRepoDefaultRevisionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRepoDefaultRevisionReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_o2control_proto_msgTypes[68].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_protos_o2control_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*StatusUpdate_MesosHeartbeat)(nil), + } + file_protos_o2control_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*Event_EnvironmentStateChanged)(nil), + (*Event_EnvironmentCreated)(nil), + (*Event_TaskStateChanged)(nil), + (*Event_TaskStatusChanged)(nil), + (*Event_Tasklaunched)(nil), + (*Event_MesosTaskcreated)(nil), + (*Event_EnvironmentDestroyed)(nil), + (*Event_EnvironmentError)(nil), + (*Event_KilltasksMesos)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_protos_o2control_proto_rawDesc, + NumEnums: 3, + NumMessages: 79, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_protos_o2control_proto_goTypes, + DependencyIndexes: file_protos_o2control_proto_depIdxs, + EnumInfos: file_protos_o2control_proto_enumTypes, + MessageInfos: file_protos_o2control_proto_msgTypes, + }.Build() + File_protos_o2control_proto = out.File + file_protos_o2control_proto_rawDesc = nil + file_protos_o2control_proto_goTypes = nil + file_protos_o2control_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // ControlClient is the client API for Control service. // @@ -4492,10 +5999,10 @@ type ControlClient interface { } type controlClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewControlClient(cc *grpc.ClientConn) ControlClient { +func NewControlClient(cc grpc.ClientConnInterface) ControlClient { return &controlClient{cc} } @@ -4773,70 +6280,70 @@ type ControlServer interface { type UnimplementedControlServer struct { } -func (*UnimplementedControlServer) TrackStatus(req *StatusRequest, srv Control_TrackStatusServer) error { +func (*UnimplementedControlServer) TrackStatus(*StatusRequest, Control_TrackStatusServer) error { return status.Errorf(codes.Unimplemented, "method TrackStatus not implemented") } -func (*UnimplementedControlServer) GetFrameworkInfo(ctx context.Context, req *GetFrameworkInfoRequest) (*GetFrameworkInfoReply, error) { +func (*UnimplementedControlServer) GetFrameworkInfo(context.Context, *GetFrameworkInfoRequest) (*GetFrameworkInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFrameworkInfo not implemented") } -func (*UnimplementedControlServer) Teardown(ctx context.Context, req *TeardownRequest) (*TeardownReply, error) { +func (*UnimplementedControlServer) Teardown(context.Context, *TeardownRequest) (*TeardownReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Teardown not implemented") } -func (*UnimplementedControlServer) GetEnvironments(ctx context.Context, req *GetEnvironmentsRequest) (*GetEnvironmentsReply, error) { +func (*UnimplementedControlServer) GetEnvironments(context.Context, *GetEnvironmentsRequest) (*GetEnvironmentsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEnvironments not implemented") } -func (*UnimplementedControlServer) NewEnvironment(ctx context.Context, req *NewEnvironmentRequest) (*NewEnvironmentReply, error) { +func (*UnimplementedControlServer) NewEnvironment(context.Context, *NewEnvironmentRequest) (*NewEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method NewEnvironment not implemented") } -func (*UnimplementedControlServer) GetEnvironment(ctx context.Context, req *GetEnvironmentRequest) (*GetEnvironmentReply, error) { +func (*UnimplementedControlServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*GetEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEnvironment not implemented") } -func (*UnimplementedControlServer) ControlEnvironment(ctx context.Context, req *ControlEnvironmentRequest) (*ControlEnvironmentReply, error) { +func (*UnimplementedControlServer) ControlEnvironment(context.Context, *ControlEnvironmentRequest) (*ControlEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ControlEnvironment not implemented") } -func (*UnimplementedControlServer) ModifyEnvironment(ctx context.Context, req *ModifyEnvironmentRequest) (*ModifyEnvironmentReply, error) { +func (*UnimplementedControlServer) ModifyEnvironment(context.Context, *ModifyEnvironmentRequest) (*ModifyEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ModifyEnvironment not implemented") } -func (*UnimplementedControlServer) DestroyEnvironment(ctx context.Context, req *DestroyEnvironmentRequest) (*DestroyEnvironmentReply, error) { +func (*UnimplementedControlServer) DestroyEnvironment(context.Context, *DestroyEnvironmentRequest) (*DestroyEnvironmentReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DestroyEnvironment not implemented") } -func (*UnimplementedControlServer) GetTasks(ctx context.Context, req *GetTasksRequest) (*GetTasksReply, error) { +func (*UnimplementedControlServer) GetTasks(context.Context, *GetTasksRequest) (*GetTasksReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTasks not implemented") } -func (*UnimplementedControlServer) GetTask(ctx context.Context, req *GetTaskRequest) (*GetTaskReply, error) { +func (*UnimplementedControlServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") } -func (*UnimplementedControlServer) CleanupTasks(ctx context.Context, req *CleanupTasksRequest) (*CleanupTasksReply, error) { +func (*UnimplementedControlServer) CleanupTasks(context.Context, *CleanupTasksRequest) (*CleanupTasksReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CleanupTasks not implemented") } -func (*UnimplementedControlServer) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesReply, error) { +func (*UnimplementedControlServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") } -func (*UnimplementedControlServer) GetWorkflowTemplates(ctx context.Context, req *GetWorkflowTemplatesRequest) (*GetWorkflowTemplatesReply, error) { +func (*UnimplementedControlServer) GetWorkflowTemplates(context.Context, *GetWorkflowTemplatesRequest) (*GetWorkflowTemplatesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplates not implemented") } -func (*UnimplementedControlServer) ListRepos(ctx context.Context, req *ListReposRequest) (*ListReposReply, error) { +func (*UnimplementedControlServer) ListRepos(context.Context, *ListReposRequest) (*ListReposReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ListRepos not implemented") } -func (*UnimplementedControlServer) AddRepo(ctx context.Context, req *AddRepoRequest) (*AddRepoReply, error) { +func (*UnimplementedControlServer) AddRepo(context.Context, *AddRepoRequest) (*AddRepoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AddRepo not implemented") } -func (*UnimplementedControlServer) RemoveRepo(ctx context.Context, req *RemoveRepoRequest) (*RemoveRepoReply, error) { +func (*UnimplementedControlServer) RemoveRepo(context.Context, *RemoveRepoRequest) (*RemoveRepoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveRepo not implemented") } -func (*UnimplementedControlServer) RefreshRepos(ctx context.Context, req *RefreshReposRequest) (*Empty, error) { +func (*UnimplementedControlServer) RefreshRepos(context.Context, *RefreshReposRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RefreshRepos not implemented") } -func (*UnimplementedControlServer) SetDefaultRepo(ctx context.Context, req *SetDefaultRepoRequest) (*Empty, error) { +func (*UnimplementedControlServer) SetDefaultRepo(context.Context, *SetDefaultRepoRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetDefaultRepo not implemented") } -func (*UnimplementedControlServer) SetGlobalDefaultRevision(ctx context.Context, req *SetGlobalDefaultRevisionRequest) (*Empty, error) { +func (*UnimplementedControlServer) SetGlobalDefaultRevision(context.Context, *SetGlobalDefaultRevisionRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetGlobalDefaultRevision not implemented") } -func (*UnimplementedControlServer) SetRepoDefaultRevision(ctx context.Context, req *SetRepoDefaultRevisionRequest) (*SetRepoDefaultRevisionReply, error) { +func (*UnimplementedControlServer) SetRepoDefaultRevision(context.Context, *SetRepoDefaultRevisionRequest) (*SetRepoDefaultRevisionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetRepoDefaultRevision not implemented") } -func (*UnimplementedControlServer) Subscribe(req *SubscribeRequest, srv Control_SubscribeServer) error { +func (*UnimplementedControlServer) Subscribe(*SubscribeRequest, Control_SubscribeServer) error { return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") } @@ -5345,14513 +6852,3 @@ var _Control_serviceDesc = grpc.ServiceDesc{ }, Metadata: "protos/o2control.proto", } - -func (m *Event_MesosHeartbeat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Event_MesosHeartbeat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_MesosHeartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentStateChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Destination) > 0 { - i -= len(m.Destination) - copy(dAtA[i:], m.Destination) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Destination))) - i-- - dAtA[i] = 0x1a - } - if len(m.Source) > 0 { - i -= len(m.Source) - copy(dAtA[i:], m.Source) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Source))) - i-- - dAtA[i] = 0x12 - } - if len(m.Event) > 0 { - i -= len(m.Event) - copy(dAtA[i:], m.Event) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Event))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskStateChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskStatusChanged) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskStatusChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskStatusChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_TaskLaunched) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_TaskLaunched) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_TaskLaunched) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Taskid) > 0 { - i -= len(m.Taskid) - copy(dAtA[i:], m.Taskid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_MesosTaskCreated) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_MesosTaskCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_MesosTaskCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExecutorResources) > 0 { - i -= len(m.ExecutorResources) - copy(dAtA[i:], m.ExecutorResources) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ExecutorResources))) - i-- - dAtA[i] = 0x12 - } - if len(m.Taskresources) > 0 { - i -= len(m.Taskresources) - copy(dAtA[i:], m.Taskresources) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Taskresources))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentCreated) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentDestroyed) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentDestroyed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentDestroyed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Environmentid) > 0 { - i -= len(m.Environmentid) - copy(dAtA[i:], m.Environmentid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Environmentid))) - i-- - dAtA[i] = 0x12 - } - if m.CleanupTasksReply != nil { - { - size, err := m.CleanupTasksReply.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Ev_EnvironmentError) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_EnvironmentError) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_EnvironmentError) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Ev_KillTasksMesos) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Ev_KillTasksMesos) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Ev_KillTasksMesos) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StatusReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.StatusUpdates) > 0 { - for iNdEx := len(m.StatusUpdates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StatusUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StatusUpdate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatusUpdate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Event != nil { - { - size := m.Event.Size() - i -= size - if _, err := m.Event.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if m.Level != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Level)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StatusUpdate_MesosHeartbeat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatusUpdate_MesosHeartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.MesosHeartbeat != nil { - { - size, err := m.MesosHeartbeat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Event) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Event) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Payload != nil { - { - size := m.Payload.Size() - i -= size - if _, err := m.Payload.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if len(m.Timestamp) > 0 { - i -= len(m.Timestamp) - copy(dAtA[i:], m.Timestamp) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Timestamp))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Event_EnvironmentStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentStateChanged != nil { - { - size, err := m.EnvironmentStateChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentCreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentCreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentCreated != nil { - { - size, err := m.EnvironmentCreated.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *Event_TaskStateChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_TaskStateChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.TaskStateChanged != nil { - { - size, err := m.TaskStateChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *Event_TaskStatusChanged) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_TaskStatusChanged) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.TaskStatusChanged != nil { - { - size, err := m.TaskStatusChanged.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - return len(dAtA) - i, nil -} -func (m *Event_Tasklaunched) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_Tasklaunched) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Tasklaunched != nil { - { - size, err := m.Tasklaunched.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - return len(dAtA) - i, nil -} -func (m *Event_MesosTaskcreated) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_MesosTaskcreated) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.MesosTaskcreated != nil { - { - size, err := m.MesosTaskcreated.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentDestroyed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentDestroyed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentDestroyed != nil { - { - size, err := m.EnvironmentDestroyed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - return len(dAtA) - i, nil -} -func (m *Event_EnvironmentError) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_EnvironmentError) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvironmentError != nil { - { - size, err := m.EnvironmentError.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - return len(dAtA) - i, nil -} -func (m *Event_KilltasksMesos) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Event_KilltasksMesos) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.KilltasksMesos != nil { - { - size, err := m.KilltasksMesos.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - return len(dAtA) - i, nil -} -func (m *SubscribeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SubscribeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SubscribeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetFrameworkInfoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetFrameworkInfoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetFrameworkInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *Version) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Version) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.VersionStr) > 0 { - i -= len(m.VersionStr) - copy(dAtA[i:], m.VersionStr) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.VersionStr))) - i-- - dAtA[i] = 0x32 - } - if len(m.ProductName) > 0 { - i -= len(m.ProductName) - copy(dAtA[i:], m.ProductName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ProductName))) - i-- - dAtA[i] = 0x2a - } - if len(m.Build) > 0 { - i -= len(m.Build) - copy(dAtA[i:], m.Build) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Build))) - i-- - dAtA[i] = 0x22 - } - if m.Patch != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Patch)) - i-- - dAtA[i] = 0x18 - } - if m.Minor != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Minor)) - i-- - dAtA[i] = 0x10 - } - if m.Major != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Major)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetFrameworkInfoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetFrameworkInfoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetFrameworkInfoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Version != nil { - { - size, err := m.Version.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.InstanceName) > 0 { - i -= len(m.InstanceName) - copy(dAtA[i:], m.InstanceName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.InstanceName))) - i-- - dAtA[i] = 0x32 - } - if m.HostsCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.HostsCount)) - i-- - dAtA[i] = 0x28 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x22 - } - if m.TasksCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.TasksCount)) - i-- - dAtA[i] = 0x18 - } - if m.EnvironmentsCount != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.EnvironmentsCount)) - i-- - dAtA[i] = 0x10 - } - if len(m.FrameworkId) > 0 { - i -= len(m.FrameworkId) - copy(dAtA[i:], m.FrameworkId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FrameworkId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TeardownRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TeardownRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TeardownRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TeardownReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TeardownReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TeardownReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentsReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentsReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentsReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Environments) > 0 { - for iNdEx := len(m.Environments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Environments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.FrameworkId) > 0 { - i -= len(m.FrameworkId) - copy(dAtA[i:], m.FrameworkId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FrameworkId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *EnvironmentInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EnvironmentInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EnvironmentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.UserVars) > 0 { - for k := range m.UserVars { - v := m.UserVars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Defaults) > 0 { - for k := range m.Defaults { - v := m.Defaults[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - if m.CurrentRunNumber != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.CurrentRunNumber)) - i-- - dAtA[i] = 0x30 - } - if len(m.RootRole) > 0 { - i -= len(m.RootRole) - copy(dAtA[i:], m.RootRole) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RootRole))) - i-- - dAtA[i] = 0x2a - } - if len(m.Tasks) > 0 { - for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.CreatedWhen) > 0 { - i -= len(m.CreatedWhen) - copy(dAtA[i:], m.CreatedWhen) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.CreatedWhen))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NewEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NewEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NewEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.WorkflowTemplate) > 0 { - i -= len(m.WorkflowTemplate) - copy(dAtA[i:], m.WorkflowTemplate) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.WorkflowTemplate))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NewEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NewEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NewEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Workflow != nil { - { - size, err := m.Workflow.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Environment != nil { - { - size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ControlEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ControlEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ControlEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Type != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ControlEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ControlEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ControlEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CurrentRunNumber != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.CurrentRunNumber)) - i-- - dAtA[i] = 0x18 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ModifyEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ModifyEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ModifyEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ReconfigureAll { - i-- - if m.ReconfigureAll { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Operations) > 0 { - for iNdEx := len(m.Operations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Operations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *EnvironmentOperation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EnvironmentOperation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EnvironmentOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.RoleName) > 0 { - i -= len(m.RoleName) - copy(dAtA[i:], m.RoleName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RoleName))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ModifyEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ModifyEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ModifyEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0x12 - } - if len(m.FailedOperations) > 0 { - for iNdEx := len(m.FailedOperations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FailedOperations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DestroyEnvironmentRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DestroyEnvironmentRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DestroyEnvironmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Force { - i-- - if m.Force { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.AllowInRunningState { - i-- - if m.AllowInRunningState { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.KeepTasks { - i-- - if m.KeepTasks { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DestroyEnvironmentReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DestroyEnvironmentReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DestroyEnvironmentReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CleanupTasksReply != nil { - { - size, err := m.CleanupTasksReply.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetEnvironmentPropertiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetEnvironmentPropertiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetEnvironmentPropertiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetEnvironmentPropertiesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetEnvironmentPropertiesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetEnvironmentPropertiesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentPropertiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentPropertiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentPropertiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ExcludeGlobals { - i-- - if m.ExcludeGlobals { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Queries) > 0 { - for iNdEx := len(m.Queries) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Queries[iNdEx]) - copy(dAtA[i:], m.Queries[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Queries[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetEnvironmentPropertiesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetEnvironmentPropertiesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetEnvironmentPropertiesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ShortTaskInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ShortTaskInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShortTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Pid) > 0 { - i -= len(m.Pid) - copy(dAtA[i:], m.Pid) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Pid))) - i-- - dAtA[i] = 0x42 - } - if m.DeploymentInfo != nil { - { - size, err := m.DeploymentInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.ClassName) > 0 { - i -= len(m.ClassName) - copy(dAtA[i:], m.ClassName) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ClassName))) - i-- - dAtA[i] = 0x32 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x2a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x22 - } - if len(m.TaskId) > 0 { - i -= len(m.TaskId) - copy(dAtA[i:], m.TaskId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskId))) - i-- - dAtA[i] = 0x1a - } - if m.Locked { - i-- - if m.Locked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskDeploymentInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskDeploymentInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskDeploymentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExecutorId) > 0 { - i -= len(m.ExecutorId) - copy(dAtA[i:], m.ExecutorId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ExecutorId))) - i-- - dAtA[i] = 0x22 - } - if len(m.OfferId) > 0 { - i -= len(m.OfferId) - copy(dAtA[i:], m.OfferId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.OfferId))) - i-- - dAtA[i] = 0x1a - } - if len(m.AgentId) > 0 { - i -= len(m.AgentId) - copy(dAtA[i:], m.AgentId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.AgentId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Hostname) > 0 { - i -= len(m.Hostname) - copy(dAtA[i:], m.Hostname) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Hostname))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTasksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTasksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetTasksReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTasksReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTasksReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Tasks) > 0 { - for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetTaskRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTaskRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.TaskId) > 0 { - i -= len(m.TaskId) - copy(dAtA[i:], m.TaskId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTaskReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTaskReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTaskReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Task != nil { - { - size, err := m.Task.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskClassInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskClassInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskClassInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ControlMode) > 0 { - i -= len(m.ControlMode) - copy(dAtA[i:], m.ControlMode) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.ControlMode))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CommandInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CommandInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CommandInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.User))) - i-- - dAtA[i] = 0x2a - } - if len(m.Arguments) > 0 { - for iNdEx := len(m.Arguments) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Arguments[iNdEx]) - copy(dAtA[i:], m.Arguments[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Arguments[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x1a - } - if m.Shell { - i-- - if m.Shell { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Env) > 0 { - for iNdEx := len(m.Env) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Env[iNdEx]) - copy(dAtA[i:], m.Env[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Env[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ChannelInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChannelInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Target) > 0 { - i -= len(m.Target) - copy(dAtA[i:], m.Target) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Target))) - i-- - dAtA[i] = 0x1a - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TaskInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for k := range m.Properties { - v := m.Properties[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.EnvId) > 0 { - i -= len(m.EnvId) - copy(dAtA[i:], m.EnvId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.EnvId))) - i-- - dAtA[i] = 0x3a - } - if len(m.TaskPath) > 0 { - i -= len(m.TaskPath) - copy(dAtA[i:], m.TaskPath) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskPath))) - i-- - dAtA[i] = 0x32 - } - if m.CommandInfo != nil { - { - size, err := m.CommandInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.OutboundChannels) > 0 { - for iNdEx := len(m.OutboundChannels) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.OutboundChannels[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.InboundChannels) > 0 { - for iNdEx := len(m.InboundChannels) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.InboundChannels[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.ClassInfo != nil { - { - size, err := m.ClassInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.ShortInfo != nil { - { - size, err := m.ShortInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CleanupTasksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CleanupTasksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CleanupTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.TaskIds) > 0 { - for iNdEx := len(m.TaskIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TaskIds[iNdEx]) - copy(dAtA[i:], m.TaskIds[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskIds[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *CleanupTasksReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CleanupTasksReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CleanupTasksReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.RunningTasks) > 0 { - for iNdEx := len(m.RunningTasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RunningTasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.KilledTasks) > 0 { - for iNdEx := len(m.KilledTasks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.KilledTasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetRolesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PathSpec) > 0 { - i -= len(m.PathSpec) - copy(dAtA[i:], m.PathSpec) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.PathSpec))) - i-- - dAtA[i] = 0x12 - } - if len(m.EnvId) > 0 { - i -= len(m.EnvId) - copy(dAtA[i:], m.EnvId) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.EnvId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RoleInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RoleInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RoleInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.UserVars) > 0 { - for k := range m.UserVars { - v := m.UserVars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Vars) > 0 { - for k := range m.Vars { - v := m.Vars[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Defaults) > 0 { - for k := range m.Defaults { - v := m.Defaults[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintO2Control(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintO2Control(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintO2Control(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.TaskIds) > 0 { - for iNdEx := len(m.TaskIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TaskIds[iNdEx]) - copy(dAtA[i:], m.TaskIds[iNdEx]) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.TaskIds[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.FullPath) > 0 { - i -= len(m.FullPath) - copy(dAtA[i:], m.FullPath) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.FullPath))) - i-- - dAtA[i] = 0x22 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x1a - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetRolesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetWorkflowTemplatesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetWorkflowTemplatesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetWorkflowTemplatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.AllTags { - i-- - if m.AllTags { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.AllBranches { - i-- - if m.AllBranches { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.RevisionPattern) > 0 { - i -= len(m.RevisionPattern) - copy(dAtA[i:], m.RevisionPattern) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RevisionPattern))) - i-- - dAtA[i] = 0x12 - } - if len(m.RepoPattern) > 0 { - i -= len(m.RepoPattern) - copy(dAtA[i:], m.RepoPattern) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.RepoPattern))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *WorkflowTemplateInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *WorkflowTemplateInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WorkflowTemplateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0x1a - } - if len(m.Template) > 0 { - i -= len(m.Template) - copy(dAtA[i:], m.Template) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Template))) - i-- - dAtA[i] = 0x12 - } - if len(m.Repo) > 0 { - i -= len(m.Repo) - copy(dAtA[i:], m.Repo) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Repo))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetWorkflowTemplatesReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetWorkflowTemplatesReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetWorkflowTemplatesReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.WorkflowTemplates) > 0 { - for iNdEx := len(m.WorkflowTemplates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.WorkflowTemplates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ListReposRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReposRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReposRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *RepoInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RepoInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RepoInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DefaultRevision) > 0 { - i -= len(m.DefaultRevision) - copy(dAtA[i:], m.DefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.DefaultRevision))) - i-- - dAtA[i] = 0x1a - } - if m.Default { - i-- - if m.Default { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListReposReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReposReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReposReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.GlobalDefaultRevision) > 0 { - i -= len(m.GlobalDefaultRevision) - copy(dAtA[i:], m.GlobalDefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.GlobalDefaultRevision))) - i-- - dAtA[i] = 0x12 - } - if len(m.Repos) > 0 { - for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Repos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintO2Control(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *AddRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DefaultRevision) > 0 { - i -= len(m.DefaultRevision) - copy(dAtA[i:], m.DefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.DefaultRevision))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddRepoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddRepoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddRepoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Info) > 0 { - i -= len(m.Info) - copy(dAtA[i:], m.Info) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Info))) - i-- - dAtA[i] = 0x12 - } - if len(m.NewDefaultRevision) > 0 { - i -= len(m.NewDefaultRevision) - copy(dAtA[i:], m.NewDefaultRevision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.NewDefaultRevision))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RemoveRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *RemoveRepoReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveRepoReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveRepoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.NewDefaultRepo) > 0 { - i -= len(m.NewDefaultRepo) - copy(dAtA[i:], m.NewDefaultRepo) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.NewDefaultRepo))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RefreshReposRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RefreshReposRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RefreshReposRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetDefaultRepoRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetDefaultRepoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetDefaultRepoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetGlobalDefaultRevisionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetGlobalDefaultRevisionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetGlobalDefaultRevisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetRepoDefaultRevisionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetRepoDefaultRevisionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetRepoDefaultRevisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Revision) > 0 { - i -= len(m.Revision) - copy(dAtA[i:], m.Revision) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Revision))) - i-- - dAtA[i] = 0x12 - } - if m.Index != 0 { - i = encodeVarintO2Control(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SetRepoDefaultRevisionReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetRepoDefaultRevisionReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetRepoDefaultRevisionReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Info) > 0 { - i -= len(m.Info) - copy(dAtA[i:], m.Info) - i = encodeVarintO2Control(dAtA, i, uint64(len(m.Info))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Empty) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Empty) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func encodeVarintO2Control(dAtA []byte, offset int, v uint64) int { - offset -= sovO2Control(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Event_MesosHeartbeat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Event) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Source) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Destination) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskStatusChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_TaskLaunched) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_MesosTaskCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Taskresources) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ExecutorResources) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentDestroyed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CleanupTasksReply != nil { - l = m.CleanupTasksReply.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Environmentid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_EnvironmentError) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Ev_KillTasksMesos) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.StatusUpdates) > 0 { - for _, e := range m.StatusUpdates { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusUpdate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Level != 0 { - n += 1 + sovO2Control(uint64(m.Level)) - } - if m.Event != nil { - n += m.Event.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StatusUpdate_MesosHeartbeat) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MesosHeartbeat != nil { - l = m.MesosHeartbeat.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Timestamp) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Payload != nil { - n += m.Payload.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Event_EnvironmentStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentStateChanged != nil { - l = m.EnvironmentStateChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentCreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentCreated != nil { - l = m.EnvironmentCreated.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_TaskStateChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TaskStateChanged != nil { - l = m.TaskStateChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_TaskStatusChanged) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TaskStatusChanged != nil { - l = m.TaskStatusChanged.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_Tasklaunched) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Tasklaunched != nil { - l = m.Tasklaunched.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_MesosTaskcreated) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MesosTaskcreated != nil { - l = m.MesosTaskcreated.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentDestroyed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentDestroyed != nil { - l = m.EnvironmentDestroyed.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_EnvironmentError) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvironmentError != nil { - l = m.EnvironmentError.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *Event_KilltasksMesos) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.KilltasksMesos != nil { - l = m.KilltasksMesos.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - return n -} -func (m *SubscribeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetFrameworkInfoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Version) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Major != 0 { - n += 1 + sovO2Control(uint64(m.Major)) - } - if m.Minor != 0 { - n += 1 + sovO2Control(uint64(m.Minor)) - } - if m.Patch != 0 { - n += 1 + sovO2Control(uint64(m.Patch)) - } - l = len(m.Build) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ProductName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.VersionStr) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetFrameworkInfoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FrameworkId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.EnvironmentsCount != 0 { - n += 1 + sovO2Control(uint64(m.EnvironmentsCount)) - } - if m.TasksCount != 0 { - n += 1 + sovO2Control(uint64(m.TasksCount)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.HostsCount != 0 { - n += 1 + sovO2Control(uint64(m.HostsCount)) - } - l = len(m.InstanceName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Version != nil { - l = m.Version.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TeardownRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TeardownReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentsReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FrameworkId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Environments) > 0 { - for _, e := range m.Environments { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EnvironmentInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.CreatedWhen) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Tasks) > 0 { - for _, e := range m.Tasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.RootRole) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.CurrentRunNumber != 0 { - n += 1 + sovO2Control(uint64(m.CurrentRunNumber)) - } - if len(m.Defaults) > 0 { - for k, v := range m.Defaults { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.UserVars) > 0 { - for k, v := range m.UserVars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *NewEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.WorkflowTemplate) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *NewEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Environment != nil { - l = m.Environment.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Workflow != nil { - l = m.Workflow.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ControlEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Type != 0 { - n += 1 + sovO2Control(uint64(m.Type)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ControlEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.CurrentRunNumber != 0 { - n += 1 + sovO2Control(uint64(m.CurrentRunNumber)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ModifyEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Operations) > 0 { - for _, e := range m.Operations { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.ReconfigureAll { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EnvironmentOperation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovO2Control(uint64(m.Type)) - } - l = len(m.RoleName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ModifyEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.FailedOperations) > 0 { - for _, e := range m.FailedOperations { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DestroyEnvironmentRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.KeepTasks { - n += 2 - } - if m.AllowInRunningState { - n += 2 - } - if m.Force { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DestroyEnvironmentReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CleanupTasksReply != nil { - l = m.CleanupTasksReply.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetEnvironmentPropertiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetEnvironmentPropertiesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentPropertiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Queries) > 0 { - for _, s := range m.Queries { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.ExcludeGlobals { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetEnvironmentPropertiesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ShortTaskInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Locked { - n += 2 - } - l = len(m.TaskId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ClassName) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.DeploymentInfo != nil { - l = m.DeploymentInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Pid) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskDeploymentInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.AgentId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.OfferId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ExecutorId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTasksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTasksReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Tasks) > 0 { - for _, e := range m.Tasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTaskRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.TaskId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetTaskReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Task != nil { - l = m.Task.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskClassInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.ControlMode) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CommandInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Env) > 0 { - for _, s := range m.Env { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.Shell { - n += 2 - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Arguments) > 0 { - for _, s := range m.Arguments { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.User) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChannelInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Type) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Target) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TaskInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ShortInfo != nil { - l = m.ShortInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if m.ClassInfo != nil { - l = m.ClassInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.InboundChannels) > 0 { - for _, e := range m.InboundChannels { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.OutboundChannels) > 0 { - for _, e := range m.OutboundChannels { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.CommandInfo != nil { - l = m.CommandInfo.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.TaskPath) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.EnvId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.Properties) > 0 { - for k, v := range m.Properties { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CleanupTasksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.TaskIds) > 0 { - for _, s := range m.TaskIds { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CleanupTasksReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.KilledTasks) > 0 { - for _, e := range m.KilledTasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.RunningTasks) > 0 { - for _, e := range m.RunningTasks { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetRolesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EnvId) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.PathSpec) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RoleInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.FullPath) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if len(m.TaskIds) > 0 { - for _, s := range m.TaskIds { - l = len(s) - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if len(m.Defaults) > 0 { - for k, v := range m.Defaults { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.Vars) > 0 { - for k, v := range m.Vars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if len(m.UserVars) > 0 { - for k, v := range m.UserVars { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovO2Control(uint64(len(k))) + 1 + len(v) + sovO2Control(uint64(len(v))) - n += mapEntrySize + 1 + sovO2Control(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetRolesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetWorkflowTemplatesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RepoPattern) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.RevisionPattern) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.AllBranches { - n += 2 - } - if m.AllTags { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *WorkflowTemplateInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Repo) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Template) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetWorkflowTemplatesReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.WorkflowTemplates) > 0 { - for _, e := range m.WorkflowTemplates { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListReposRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RepoInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.Default { - n += 2 - } - l = len(m.DefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListReposReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Repos) > 0 { - for _, e := range m.Repos { - l = e.Size() - n += 1 + l + sovO2Control(uint64(l)) - } - } - l = len(m.GlobalDefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AddRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.DefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AddRepoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NewDefaultRevision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - l = len(m.Info) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RemoveRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RemoveRepoReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NewDefaultRepo) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RefreshReposRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetDefaultRepoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetGlobalDefaultRevisionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetRepoDefaultRevisionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovO2Control(uint64(m.Index)) - } - l = len(m.Revision) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetRepoDefaultRevisionReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Info) - if l > 0 { - n += 1 + l + sovO2Control(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Empty) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovO2Control(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozO2Control(x uint64) (n int) { - return sovO2Control(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Event_MesosHeartbeat) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Event_MesosHeartbeat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Event_MesosHeartbeat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentStateChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentStateChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentStateChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Event = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Source = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Destination = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskStateChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskStateChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskStateChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskStatusChanged) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskStatusChanged: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskStatusChanged: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_TaskLaunched) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_TaskLaunched: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_TaskLaunched: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_MesosTaskCreated) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_MesosTaskCreated: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_MesosTaskCreated: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Taskresources", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Taskresources = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutorResources", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExecutorResources = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentCreated) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentCreated: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentCreated: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentDestroyed) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentDestroyed: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentDestroyed: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CleanupTasksReply", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CleanupTasksReply == nil { - m.CleanupTasksReply = &CleanupTasksReply{} - } - if err := m.CleanupTasksReply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environmentid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Environmentid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_EnvironmentError) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_EnvironmentError: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_EnvironmentError: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Ev_KillTasksMesos) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Ev_KillTasksMesos: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Ev_KillTasksMesos: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusUpdates", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StatusUpdates = append(m.StatusUpdates, &StatusUpdate{}) - if err := m.StatusUpdates[len(m.StatusUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusUpdate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StatusUpdate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusUpdate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType) - } - m.Level = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Level |= StatusUpdate_Level(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MesosHeartbeat", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Event_MesosHeartbeat{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Event = &StatusUpdate_MesosHeartbeat{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Event) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Event: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Timestamp = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentStateChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentStateChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentStateChanged{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentCreated", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentCreated{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentCreated{v} - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskStateChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskStateChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_TaskStateChanged{v} - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskStatusChanged", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskStatusChanged{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_TaskStatusChanged{v} - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasklaunched", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_TaskLaunched{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_Tasklaunched{v} - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MesosTaskcreated", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_MesosTaskCreated{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_MesosTaskcreated{v} - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentDestroyed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentDestroyed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentDestroyed{v} - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentError", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_EnvironmentError{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_EnvironmentError{v} - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KilltasksMesos", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Ev_KillTasksMesos{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Payload = &Event_KilltasksMesos{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SubscribeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SubscribeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SubscribeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetFrameworkInfoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetFrameworkInfoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetFrameworkInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Version) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Version: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Major", wireType) - } - m.Major = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Major |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Minor", wireType) - } - m.Minor = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Minor |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) - } - m.Patch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Patch |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Build = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProductName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProductName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VersionStr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VersionStr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetFrameworkInfoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetFrameworkInfoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetFrameworkInfoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FrameworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FrameworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentsCount", wireType) - } - m.EnvironmentsCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EnvironmentsCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TasksCount", wireType) - } - m.TasksCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TasksCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostsCount", wireType) - } - m.HostsCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostsCount |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InstanceName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InstanceName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Version == nil { - m.Version = &Version{} - } - if err := m.Version.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TeardownRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TeardownRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TeardownRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TeardownReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TeardownReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TeardownReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentsReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentsReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentsReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FrameworkId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FrameworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Environments = append(m.Environments, &EnvironmentInfo{}) - if err := m.Environments[len(m.Environments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EnvironmentInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvironmentInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvironmentInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedWhen", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CreatedWhen = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tasks = append(m.Tasks, &ShortTaskInfo{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootRole", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RootRole = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentRunNumber", wireType) - } - m.CurrentRunNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentRunNumber |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Defaults", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Defaults == nil { - m.Defaults = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Defaults[mapkey] = mapvalue - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserVars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UserVars == nil { - m.UserVars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.UserVars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NewEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NewEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NewEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTemplate", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WorkflowTemplate = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NewEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NewEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NewEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Environment == nil { - m.Environment = &EnvironmentInfo{} - } - if err := m.Environment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Workflow == nil { - m.Workflow = &RoleInfo{} - } - if err := m.Workflow.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ControlEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ControlEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ControlEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ControlEnvironmentRequest_Optype(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ControlEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ControlEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ControlEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentRunNumber", wireType) - } - m.CurrentRunNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentRunNumber |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ModifyEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ModifyEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ModifyEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operations = append(m.Operations, &EnvironmentOperation{}) - if err := m.Operations[len(m.Operations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReconfigureAll", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReconfigureAll = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EnvironmentOperation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvironmentOperation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvironmentOperation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= EnvironmentOperation_Optype(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ModifyEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ModifyEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ModifyEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailedOperations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailedOperations = append(m.FailedOperations, &EnvironmentOperation{}) - if err := m.FailedOperations[len(m.FailedOperations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DestroyEnvironmentRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DestroyEnvironmentRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DestroyEnvironmentRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeepTasks", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.KeepTasks = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowInRunningState", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowInRunningState = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Force = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DestroyEnvironmentReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DestroyEnvironmentReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DestroyEnvironmentReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CleanupTasksReply", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CleanupTasksReply == nil { - m.CleanupTasksReply = &CleanupTasksReply{} - } - if err := m.CleanupTasksReply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetEnvironmentPropertiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetEnvironmentPropertiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetEnvironmentPropertiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetEnvironmentPropertiesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetEnvironmentPropertiesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetEnvironmentPropertiesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentPropertiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentPropertiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentPropertiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Queries", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Queries = append(m.Queries, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExcludeGlobals", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExcludeGlobals = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetEnvironmentPropertiesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetEnvironmentPropertiesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetEnvironmentPropertiesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShortTaskInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ShortTaskInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShortTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Locked", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Locked = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClassName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClassName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DeploymentInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DeploymentInfo == nil { - m.DeploymentInfo = &TaskDeploymentInfo{} - } - if err := m.DeploymentInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Pid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskDeploymentInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskDeploymentInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskDeploymentInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hostname = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AgentId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OfferId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OfferId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutorId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExecutorId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTasksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTasksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTasksReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTasksReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTasksReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Tasks = append(m.Tasks, &ShortTaskInfo{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTaskRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTaskReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTaskReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTaskReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Task", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Task == nil { - m.Task = &TaskInfo{} - } - if err := m.Task.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskClassInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskClassInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskClassInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControlMode", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ControlMode = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CommandInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommandInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommandInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Env = append(m.Env, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Shell", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Shell = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arguments", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Arguments = append(m.Arguments, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.User = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChannelInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChannelInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChannelInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Target = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TaskInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TaskInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TaskInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShortInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ShortInfo == nil { - m.ShortInfo = &ShortTaskInfo{} - } - if err := m.ShortInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClassInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ClassInfo == nil { - m.ClassInfo = &TaskClassInfo{} - } - if err := m.ClassInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InboundChannels", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InboundChannels = append(m.InboundChannels, &ChannelInfo{}) - if err := m.InboundChannels[len(m.InboundChannels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundChannels", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OutboundChannels = append(m.OutboundChannels, &ChannelInfo{}) - if err := m.OutboundChannels[len(m.OutboundChannels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CommandInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CommandInfo == nil { - m.CommandInfo = &CommandInfo{} - } - if err := m.CommandInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskPath", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EnvId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Properties == nil { - m.Properties = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Properties[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CleanupTasksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CleanupTasksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskIds = append(m.TaskIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CleanupTasksReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CleanupTasksReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupTasksReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KilledTasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KilledTasks = append(m.KilledTasks, &ShortTaskInfo{}) - if err := m.KilledTasks[len(m.KilledTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RunningTasks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RunningTasks = append(m.RunningTasks, &ShortTaskInfo{}) - if err := m.RunningTasks[len(m.RunningTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EnvId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathSpec", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PathSpec = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RoleInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RoleInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RoleInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FullPath", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FullPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskIds = append(m.TaskIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &RoleInfo{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Defaults", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Defaults == nil { - m.Defaults = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Defaults[mapkey] = mapvalue - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vars == nil { - m.Vars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Vars[mapkey] = mapvalue - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserVars", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UserVars == nil { - m.UserVars = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthO2Control - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthO2Control - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.UserVars[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &RoleInfo{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetWorkflowTemplatesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowTemplatesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowTemplatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RepoPattern", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RepoPattern = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RevisionPattern", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RevisionPattern = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllBranches", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllBranches = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllTags", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllTags = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WorkflowTemplateInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WorkflowTemplateInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WorkflowTemplateInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Repo = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Template = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetWorkflowTemplatesReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowTemplatesReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowTemplatesReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTemplates", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WorkflowTemplates = append(m.WorkflowTemplates, &WorkflowTemplateInfo{}) - if err := m.WorkflowTemplates[len(m.WorkflowTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReposRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReposRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReposRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RepoInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RepoInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RepoInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Default = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReposReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReposReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReposReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Repos = append(m.Repos, &RepoInfo{}) - if err := m.Repos[len(m.Repos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GlobalDefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GlobalDefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddRepoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddRepoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddRepoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewDefaultRevision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewDefaultRevision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveRepoReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveRepoReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveRepoReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewDefaultRepo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewDefaultRepo = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RefreshReposRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RefreshReposRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshReposRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetDefaultRepoRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetDefaultRepoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetDefaultRepoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetGlobalDefaultRevisionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetGlobalDefaultRevisionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetGlobalDefaultRevisionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetRepoDefaultRevisionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetRepoDefaultRevisionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetRepoDefaultRevisionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Revision = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetRepoDefaultRevisionReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetRepoDefaultRevisionReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetRepoDefaultRevisionReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthO2Control - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthO2Control - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Empty) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowO2Control - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Empty: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Empty: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipO2Control(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthO2Control - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipO2Control(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowO2Control - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthO2Control - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupO2Control - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthO2Control - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthO2Control = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowO2Control = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupO2Control = fmt.Errorf("proto: unexpected end of group") -) diff --git a/core/protos/o2control.proto b/core/protos/o2control.proto index c12fcb25e..23b998355 100644 --- a/core/protos/o2control.proto +++ b/core/protos/o2control.proto @@ -26,7 +26,7 @@ syntax = "proto3"; package o2control; option java_package = "ch.cern.alice.o2.control.rpcserver"; -option go_package = "pb"; +option go_package = "protos;pb"; //////////////// Common event messages /////////////// diff --git a/core/server.go b/core/server.go index 08c303cdb..bf4c304a4 100644 --- a/core/server.go +++ b/core/server.go @@ -22,7 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -//go:generate protoc --gofast_out=plugins=grpc:. protos/o2control.proto +//go:generate protoc --go_out=plugins=grpc:. protos/o2control.proto package core import ( diff --git a/core/task/scheduler.go b/core/task/scheduler.go index 872a5e92f..cd46d2a04 100644 --- a/core/task/scheduler.go +++ b/core/task/scheduler.go @@ -48,7 +48,6 @@ import ( cpb "github.com/AliceO2Group/Control/core/protos" "github.com/AliceO2Group/Control/core/task/constraint" "github.com/AliceO2Group/Control/executor/protos" - "github.com/gogo/protobuf/proto" "github.com/mesos/mesos-go/api/v1/lib" "github.com/mesos/mesos-go/api/v1/lib/backoff" xmetrics "github.com/mesos/mesos-go/api/v1/lib/extras/metrics" @@ -61,6 +60,7 @@ import ( "github.com/mesos/mesos-go/api/v1/lib/scheduler/calls" "github.com/mesos/mesos-go/api/v1/lib/scheduler/events" "github.com/sirupsen/logrus" + "google.golang.org/protobuf/proto" ) var ( diff --git a/core/task/schedutil/mesosutil.go b/core/task/schedutil/mesosutil.go index d3560e417..1124f8300 100644 --- a/core/task/schedutil/mesosutil.go +++ b/core/task/schedutil/mesosutil.go @@ -39,12 +39,12 @@ import ( "github.com/spf13/viper" "github.com/AliceO2Group/Control/common/product" - proto "github.com/gogo/protobuf/proto" "github.com/mesos/mesos-go/api/v1/lib" "github.com/mesos/mesos-go/api/v1/lib/httpcli" "github.com/mesos/mesos-go/api/v1/lib/httpcli/httpsched" "github.com/mesos/mesos-go/api/v1/lib/resources" "github.com/mesos/mesos-go/api/v1/lib/scheduler/calls" + proto "google.golang.org/protobuf/proto" ) const AuthModeBasic = "basic" diff --git a/docs/makefile_reference.md b/docs/makefile_reference.md index ea85ff412..657d54366 100644 --- a/docs/makefile_reference.md +++ b/docs/makefile_reference.md @@ -15,9 +15,9 @@ AliECS comes with a `make`-based build system, with all `.PHONY` targets. | `make clean` | cleans the default build output directory (`./bin`) | | `make cleanall` | cleans the default build output directory (`./bin`, same as `make clean`), as well as `./tools` and `./vendor` | | `make vendor` | rebuilds/refreshes the tree of vendored dependencies (`go mod vendor`) and fetches 3rd party Protobuf files | -| `make tools` | ensures all build tools are present (currently only `gogo-proto` executables) | -| `make tools/protoc` | ensures `gogo-proto` executables are present (included in `make tools`) | +| `make tools` | ensures all build tools are present (currently only `protoc-gen-go`) | +| `make tools/protoc` | ensures `protoc-gen-go` is present (included in `make tools`) | | `make doc`
`make docs` | regenerates command reference documentation for command line tools | | `make help` | displays inline documentation | -The variable `WHAT` is obeyed by `make build` (or `make`) and `make install` in order to customize the components to build. For example `make WHAT=coconut install` builds and installs only `coconut`. By default `WHAT` includes all components. \ No newline at end of file +The variable `WHAT` is obeyed by `make build` (or `make`) and `make install` in order to customize the components to build. For example `make WHAT=coconut install` builds and installs only `coconut`. By default `WHAT` includes all components. diff --git a/executor/executor.go b/executor/executor.go index 52bd45df8..2a7547989 100644 --- a/executor/executor.go +++ b/executor/executor.go @@ -25,7 +25,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -//go:generate protoc -I ../occ --gofast_out=plugins=grpc:. protos/occ.proto +//go:generate protoc -I ../occ --go_out=plugins=grpc:. protos/occ.proto // Package executor implements the O² Control executor binary. package executor diff --git a/executor/executorcmd/client.go b/executor/executorcmd/client.go index 0253950b5..c17ecc045 100644 --- a/executor/executorcmd/client.go +++ b/executor/executorcmd/client.go @@ -141,8 +141,6 @@ func (r *RpcClient) doTransition(ei transitioner.EventInfo) (newState string, er }, grpc.EmptyCallOption{}) if err != nil { - // We must process the error explicitly here, otherwise we get an error because gRPC's - // Status is different from what gogoproto expects. status, ok := status.FromError(err) if ok { r.log.WithFields(logrus.Fields{ diff --git a/executor/protos/occ.pb.go b/executor/protos/occ.pb.go index a75b761a1..75d94a383 100644 --- a/executor/protos/occ.pb.go +++ b/executor/protos/occ.pb.go @@ -1,30 +1,56 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// +// === This file is part of ALICE O² === +// +// Copyright 2018 CERN and copyright holders of ALICE O². +// Author: Teo Mrnjavac +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// In applying this license CERN does not waive the privileges and +// immunities granted to it by virtue of its status as an +// Intergovernmental Organization or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.4 // source: protos/occ.proto package pb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type StateChangeTrigger int32 @@ -34,24 +60,45 @@ const ( StateChangeTrigger_DEVICE_ERROR StateChangeTrigger = 2 ) -var StateChangeTrigger_name = map[int32]string{ - 0: "EXECUTOR", - 1: "DEVICE_INTENTIONAL", - 2: "DEVICE_ERROR", -} +// Enum value maps for StateChangeTrigger. +var ( + StateChangeTrigger_name = map[int32]string{ + 0: "EXECUTOR", + 1: "DEVICE_INTENTIONAL", + 2: "DEVICE_ERROR", + } + StateChangeTrigger_value = map[string]int32{ + "EXECUTOR": 0, + "DEVICE_INTENTIONAL": 1, + "DEVICE_ERROR": 2, + } +) -var StateChangeTrigger_value = map[string]int32{ - "EXECUTOR": 0, - "DEVICE_INTENTIONAL": 1, - "DEVICE_ERROR": 2, +func (x StateChangeTrigger) Enum() *StateChangeTrigger { + p := new(StateChangeTrigger) + *p = x + return p } func (x StateChangeTrigger) String() string { - return proto.EnumName(StateChangeTrigger_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StateChangeTrigger) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[0].Descriptor() +} + +func (StateChangeTrigger) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[0] +} + +func (x StateChangeTrigger) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use StateChangeTrigger.Descriptor instead. func (StateChangeTrigger) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{0} + return file_protos_occ_proto_rawDescGZIP(), []int{0} } type StateType int32 @@ -61,22 +108,43 @@ const ( StateType_STATE_INTERMEDIATE StateType = 1 ) -var StateType_name = map[int32]string{ - 0: "STATE_STABLE", - 1: "STATE_INTERMEDIATE", -} +// Enum value maps for StateType. +var ( + StateType_name = map[int32]string{ + 0: "STATE_STABLE", + 1: "STATE_INTERMEDIATE", + } + StateType_value = map[string]int32{ + "STATE_STABLE": 0, + "STATE_INTERMEDIATE": 1, + } +) -var StateType_value = map[string]int32{ - "STATE_STABLE": 0, - "STATE_INTERMEDIATE": 1, +func (x StateType) Enum() *StateType { + p := new(StateType) + *p = x + return p } func (x StateType) String() string { - return proto.EnumName(StateType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StateType) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[1].Descriptor() +} + +func (StateType) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[1] +} + +func (x StateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use StateType.Descriptor instead. func (StateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{1} + return file_protos_occ_proto_rawDescGZIP(), []int{1} } type DeviceEventType int32 @@ -87,605 +155,843 @@ const ( DeviceEventType_BASIC_TASK_TERMINATED DeviceEventType = 2 ) -var DeviceEventType_name = map[int32]string{ - 0: "NULL_DEVICE_EVENT", - 1: "END_OF_STREAM", - 2: "BASIC_TASK_TERMINATED", -} +// Enum value maps for DeviceEventType. +var ( + DeviceEventType_name = map[int32]string{ + 0: "NULL_DEVICE_EVENT", + 1: "END_OF_STREAM", + 2: "BASIC_TASK_TERMINATED", + } + DeviceEventType_value = map[string]int32{ + "NULL_DEVICE_EVENT": 0, + "END_OF_STREAM": 1, + "BASIC_TASK_TERMINATED": 2, + } +) -var DeviceEventType_value = map[string]int32{ - "NULL_DEVICE_EVENT": 0, - "END_OF_STREAM": 1, - "BASIC_TASK_TERMINATED": 2, +func (x DeviceEventType) Enum() *DeviceEventType { + p := new(DeviceEventType) + *p = x + return p } func (x DeviceEventType) String() string { - return proto.EnumName(DeviceEventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DeviceEventType) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[2].Descriptor() +} + +func (DeviceEventType) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[2] +} + +func (x DeviceEventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use DeviceEventType.Descriptor instead. func (DeviceEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{2} + return file_protos_occ_proto_rawDescGZIP(), []int{2} } type StateStreamRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StateStreamRequest) Reset() { *m = StateStreamRequest{} } -func (m *StateStreamRequest) String() string { return proto.CompactTextString(m) } -func (*StateStreamRequest) ProtoMessage() {} -func (*StateStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{0} -} -func (m *StateStreamRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateStreamRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateStreamRequest) Reset() { + *x = StateStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateStreamRequest.Merge(m, src) -} -func (m *StateStreamRequest) XXX_Size() int { - return m.Size() + +func (x *StateStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateStreamRequest.DiscardUnknown(m) + +func (*StateStreamRequest) ProtoMessage() {} + +func (x *StateStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_StateStreamRequest proto.InternalMessageInfo +// Deprecated: Use StateStreamRequest.ProtoReflect.Descriptor instead. +func (*StateStreamRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{0} +} type StateStreamReply struct { - Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.StateType" json:"type,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.StateType" json:"type,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } -func (m *StateStreamReply) Reset() { *m = StateStreamReply{} } -func (m *StateStreamReply) String() string { return proto.CompactTextString(m) } -func (*StateStreamReply) ProtoMessage() {} -func (*StateStreamReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{1} -} -func (m *StateStreamReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateStreamReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateStreamReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateStreamReply) Reset() { + *x = StateStreamReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateStreamReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateStreamReply.Merge(m, src) -} -func (m *StateStreamReply) XXX_Size() int { - return m.Size() + +func (x *StateStreamReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateStreamReply) XXX_DiscardUnknown() { - xxx_messageInfo_StateStreamReply.DiscardUnknown(m) + +func (*StateStreamReply) ProtoMessage() {} + +func (x *StateStreamReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_StateStreamReply proto.InternalMessageInfo +// Deprecated: Use StateStreamReply.ProtoReflect.Descriptor instead. +func (*StateStreamReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{1} +} -func (m *StateStreamReply) GetType() StateType { - if m != nil { - return m.Type +func (x *StateStreamReply) GetType() StateType { + if x != nil { + return x.Type } return StateType_STATE_STABLE } -func (m *StateStreamReply) GetState() string { - if m != nil { - return m.State +func (x *StateStreamReply) GetState() string { + if x != nil { + return x.State } return "" } type EventStreamRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *EventStreamRequest) Reset() { *m = EventStreamRequest{} } -func (m *EventStreamRequest) String() string { return proto.CompactTextString(m) } -func (*EventStreamRequest) ProtoMessage() {} -func (*EventStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{2} -} -func (m *EventStreamRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EventStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EventStreamRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EventStreamRequest) Reset() { + *x = EventStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EventStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventStreamRequest.Merge(m, src) -} -func (m *EventStreamRequest) XXX_Size() int { - return m.Size() + +func (x *EventStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EventStreamRequest.DiscardUnknown(m) + +func (*EventStreamRequest) ProtoMessage() {} + +func (x *EventStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_EventStreamRequest proto.InternalMessageInfo +// Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead. +func (*EventStreamRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{2} +} type DeviceEvent struct { - Type DeviceEventType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.DeviceEventType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type DeviceEventType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.DeviceEventType" json:"type,omitempty"` } -func (m *DeviceEvent) Reset() { *m = DeviceEvent{} } -func (m *DeviceEvent) String() string { return proto.CompactTextString(m) } -func (*DeviceEvent) ProtoMessage() {} -func (*DeviceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{3} -} -func (m *DeviceEvent) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeviceEvent) Reset() { + *x = DeviceEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeviceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceEvent.Merge(m, src) -} -func (m *DeviceEvent) XXX_Size() int { - return m.Size() + +func (x *DeviceEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeviceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceEvent.DiscardUnknown(m) + +func (*DeviceEvent) ProtoMessage() {} + +func (x *DeviceEvent) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo +// Deprecated: Use DeviceEvent.ProtoReflect.Descriptor instead. +func (*DeviceEvent) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{3} +} -func (m *DeviceEvent) GetType() DeviceEventType { - if m != nil { - return m.Type +func (x *DeviceEvent) GetType() DeviceEventType { + if x != nil { + return x.Type } return DeviceEventType_NULL_DEVICE_EVENT } type EventStreamReply struct { - Event *DeviceEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event *DeviceEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } -func (m *EventStreamReply) Reset() { *m = EventStreamReply{} } -func (m *EventStreamReply) String() string { return proto.CompactTextString(m) } -func (*EventStreamReply) ProtoMessage() {} -func (*EventStreamReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{4} -} -func (m *EventStreamReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EventStreamReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EventStreamReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EventStreamReply) Reset() { + *x = EventStreamReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EventStreamReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventStreamReply.Merge(m, src) -} -func (m *EventStreamReply) XXX_Size() int { - return m.Size() + +func (x *EventStreamReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventStreamReply) XXX_DiscardUnknown() { - xxx_messageInfo_EventStreamReply.DiscardUnknown(m) + +func (*EventStreamReply) ProtoMessage() {} + +func (x *EventStreamReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_EventStreamReply proto.InternalMessageInfo +// Deprecated: Use EventStreamReply.ProtoReflect.Descriptor instead. +func (*EventStreamReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{4} +} -func (m *EventStreamReply) GetEvent() *DeviceEvent { - if m != nil { - return m.Event +func (x *EventStreamReply) GetEvent() *DeviceEvent { + if x != nil { + return x.Event } return nil } type GetStateRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetStateRequest) Reset() { *m = GetStateRequest{} } -func (m *GetStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetStateRequest) ProtoMessage() {} -func (*GetStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{5} -} -func (m *GetStateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetStateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetStateRequest) Reset() { + *x = GetStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStateRequest.Merge(m, src) -} -func (m *GetStateRequest) XXX_Size() int { - return m.Size() + +func (x *GetStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetStateRequest.DiscardUnknown(m) + +func (*GetStateRequest) ProtoMessage() {} + +func (x *GetStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_GetStateRequest proto.InternalMessageInfo +// Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead. +func (*GetStateRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{5} +} type GetStateReply struct { - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` } -func (m *GetStateReply) Reset() { *m = GetStateReply{} } -func (m *GetStateReply) String() string { return proto.CompactTextString(m) } -func (*GetStateReply) ProtoMessage() {} -func (*GetStateReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{6} -} -func (m *GetStateReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetStateReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetStateReply) Reset() { + *x = GetStateReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetStateReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStateReply.Merge(m, src) -} -func (m *GetStateReply) XXX_Size() int { - return m.Size() + +func (x *GetStateReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStateReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetStateReply.DiscardUnknown(m) + +func (*GetStateReply) ProtoMessage() {} + +func (x *GetStateReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_GetStateReply proto.InternalMessageInfo +// Deprecated: Use GetStateReply.ProtoReflect.Descriptor instead. +func (*GetStateReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{6} +} -func (m *GetStateReply) GetState() string { - if m != nil { - return m.State +func (x *GetStateReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *GetStateReply) GetPid() int32 { - if m != nil { - return m.Pid +func (x *GetStateReply) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } type ConfigEntry struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ConfigEntry) Reset() { *m = ConfigEntry{} } -func (m *ConfigEntry) String() string { return proto.CompactTextString(m) } -func (*ConfigEntry) ProtoMessage() {} -func (*ConfigEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{7} -} -func (m *ConfigEntry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfigEntry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ConfigEntry) Reset() { + *x = ConfigEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ConfigEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigEntry.Merge(m, src) -} -func (m *ConfigEntry) XXX_Size() int { - return m.Size() + +func (x *ConfigEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfigEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigEntry.DiscardUnknown(m) + +func (*ConfigEntry) ProtoMessage() {} + +func (x *ConfigEntry) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_ConfigEntry proto.InternalMessageInfo +// Deprecated: Use ConfigEntry.ProtoReflect.Descriptor instead. +func (*ConfigEntry) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{7} +} -func (m *ConfigEntry) GetKey() string { - if m != nil { - return m.Key +func (x *ConfigEntry) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *ConfigEntry) GetValue() string { - if m != nil { - return m.Value +func (x *ConfigEntry) GetValue() string { + if x != nil { + return x.Value } return "" } type TransitionRequest struct { - SrcState string `protobuf:"bytes,1,opt,name=srcState,proto3" json:"srcState,omitempty"` - TransitionEvent string `protobuf:"bytes,2,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` - Arguments []*ConfigEntry `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrcState string `protobuf:"bytes,1,opt,name=srcState,proto3" json:"srcState,omitempty"` + TransitionEvent string `protobuf:"bytes,2,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` + Arguments []*ConfigEntry `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` } -func (m *TransitionRequest) Reset() { *m = TransitionRequest{} } -func (m *TransitionRequest) String() string { return proto.CompactTextString(m) } -func (*TransitionRequest) ProtoMessage() {} -func (*TransitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{8} -} -func (m *TransitionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TransitionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TransitionRequest) Reset() { + *x = TransitionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TransitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransitionRequest.Merge(m, src) -} -func (m *TransitionRequest) XXX_Size() int { - return m.Size() + +func (x *TransitionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TransitionRequest.DiscardUnknown(m) + +func (*TransitionRequest) ProtoMessage() {} + +func (x *TransitionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_TransitionRequest proto.InternalMessageInfo +// Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead. +func (*TransitionRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{8} +} -func (m *TransitionRequest) GetSrcState() string { - if m != nil { - return m.SrcState +func (x *TransitionRequest) GetSrcState() string { + if x != nil { + return x.SrcState } return "" } -func (m *TransitionRequest) GetTransitionEvent() string { - if m != nil { - return m.TransitionEvent +func (x *TransitionRequest) GetTransitionEvent() string { + if x != nil { + return x.TransitionEvent } return "" } -func (m *TransitionRequest) GetArguments() []*ConfigEntry { - if m != nil { - return m.Arguments +func (x *TransitionRequest) GetArguments() []*ConfigEntry { + if x != nil { + return x.Arguments } return nil } type TransitionReply struct { - Trigger StateChangeTrigger `protobuf:"varint,1,opt,name=trigger,proto3,enum=occ_pb.StateChangeTrigger" json:"trigger,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - TransitionEvent string `protobuf:"bytes,3,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` - Ok bool `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransitionReply) Reset() { *m = TransitionReply{} } -func (m *TransitionReply) String() string { return proto.CompactTextString(m) } -func (*TransitionReply) ProtoMessage() {} -func (*TransitionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{9} -} -func (m *TransitionReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TransitionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TransitionReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trigger StateChangeTrigger `protobuf:"varint,1,opt,name=trigger,proto3,enum=occ_pb.StateChangeTrigger" json:"trigger,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + TransitionEvent string `protobuf:"bytes,3,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` + Ok bool `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"` } -func (m *TransitionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransitionReply.Merge(m, src) + +func (x *TransitionReply) Reset() { + *x = TransitionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TransitionReply) XXX_Size() int { - return m.Size() + +func (x *TransitionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransitionReply) XXX_DiscardUnknown() { - xxx_messageInfo_TransitionReply.DiscardUnknown(m) + +func (*TransitionReply) ProtoMessage() {} + +func (x *TransitionReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_TransitionReply proto.InternalMessageInfo +// Deprecated: Use TransitionReply.ProtoReflect.Descriptor instead. +func (*TransitionReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{9} +} -func (m *TransitionReply) GetTrigger() StateChangeTrigger { - if m != nil { - return m.Trigger +func (x *TransitionReply) GetTrigger() StateChangeTrigger { + if x != nil { + return x.Trigger } return StateChangeTrigger_EXECUTOR } -func (m *TransitionReply) GetState() string { - if m != nil { - return m.State +func (x *TransitionReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *TransitionReply) GetTransitionEvent() string { - if m != nil { - return m.TransitionEvent +func (x *TransitionReply) GetTransitionEvent() string { + if x != nil { + return x.TransitionEvent } return "" } -func (m *TransitionReply) GetOk() bool { - if m != nil { - return m.Ok +func (x *TransitionReply) GetOk() bool { + if x != nil { + return x.Ok } return false } -func init() { - proto.RegisterEnum("occ_pb.StateChangeTrigger", StateChangeTrigger_name, StateChangeTrigger_value) - proto.RegisterEnum("occ_pb.StateType", StateType_name, StateType_value) - proto.RegisterEnum("occ_pb.DeviceEventType", DeviceEventType_name, DeviceEventType_value) - proto.RegisterType((*StateStreamRequest)(nil), "occ_pb.StateStreamRequest") - proto.RegisterType((*StateStreamReply)(nil), "occ_pb.StateStreamReply") - proto.RegisterType((*EventStreamRequest)(nil), "occ_pb.EventStreamRequest") - proto.RegisterType((*DeviceEvent)(nil), "occ_pb.DeviceEvent") - proto.RegisterType((*EventStreamReply)(nil), "occ_pb.EventStreamReply") - proto.RegisterType((*GetStateRequest)(nil), "occ_pb.GetStateRequest") - proto.RegisterType((*GetStateReply)(nil), "occ_pb.GetStateReply") - proto.RegisterType((*ConfigEntry)(nil), "occ_pb.ConfigEntry") - proto.RegisterType((*TransitionRequest)(nil), "occ_pb.TransitionRequest") - proto.RegisterType((*TransitionReply)(nil), "occ_pb.TransitionReply") -} - -func init() { proto.RegisterFile("protos/occ.proto", fileDescriptor_17fd8faceeeb3e6c) } - -var fileDescriptor_17fd8faceeeb3e6c = []byte{ - // 637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xd1, 0x6e, 0xda, 0x4a, - 0x10, 0x65, 0x4d, 0x92, 0x4b, 0x86, 0x24, 0x98, 0xbd, 0xc9, 0x0d, 0x41, 0x57, 0x08, 0x59, 0xba, - 0x12, 0x37, 0x95, 0xdc, 0x96, 0x36, 0xaa, 0x54, 0xb5, 0x0f, 0x06, 0xb6, 0x11, 0x2a, 0x31, 0xd2, - 0x7a, 0x13, 0x55, 0x7d, 0xb1, 0x1c, 0x77, 0x4b, 0xac, 0x10, 0xdb, 0x35, 0x9b, 0x48, 0xfc, 0x43, - 0xdf, 0xdb, 0xfe, 0x51, 0x1f, 0xfb, 0x09, 0x55, 0xfa, 0x23, 0xd5, 0x2e, 0x60, 0x6c, 0x42, 0xdf, - 0xbc, 0x33, 0x67, 0xcf, 0x39, 0x33, 0x3b, 0x63, 0xd0, 0xe3, 0x24, 0x12, 0xd1, 0xe4, 0x71, 0xe4, - 0xfb, 0xa6, 0xfa, 0xc4, 0x5b, 0x91, 0xef, 0xbb, 0xf1, 0xa5, 0xb1, 0x0f, 0xd8, 0x11, 0x9e, 0xe0, - 0x8e, 0x48, 0xb8, 0x77, 0x43, 0xf9, 0xa7, 0x5b, 0x3e, 0x11, 0xc6, 0x10, 0xf4, 0x5c, 0x34, 0x1e, - 0x4f, 0xf1, 0x7f, 0xb0, 0x21, 0xa6, 0x31, 0xaf, 0xa1, 0x26, 0x6a, 0xed, 0xb5, 0xab, 0xe6, 0x8c, - 0xc0, 0x54, 0x38, 0x36, 0x8d, 0x39, 0x55, 0x69, 0xbc, 0x0f, 0x9b, 0x13, 0x19, 0xaa, 0x69, 0x4d, - 0xd4, 0xda, 0xa6, 0xb3, 0x83, 0x94, 0x21, 0x77, 0x3c, 0x14, 0x79, 0x99, 0x97, 0x50, 0xee, 0xf1, - 0xbb, 0xc0, 0xe7, 0x2a, 0x87, 0x1f, 0xe5, 0x14, 0x0e, 0x17, 0x0a, 0x19, 0xc8, 0x52, 0xc7, 0x78, - 0x0d, 0x7a, 0x8e, 0x51, 0x5a, 0xfc, 0x1f, 0x36, 0xb9, 0x8c, 0x29, 0x86, 0x72, 0xfb, 0xef, 0x35, - 0x0c, 0x74, 0x86, 0x30, 0xaa, 0x50, 0x39, 0xe5, 0x42, 0x99, 0x5f, 0xb8, 0x79, 0x01, 0xbb, 0xcb, - 0x90, 0xa4, 0x4b, 0x4b, 0x41, 0x99, 0x52, 0xb0, 0x0e, 0xc5, 0x38, 0xf8, 0xa0, 0xca, 0xdb, 0xa4, - 0xf2, 0xd3, 0x38, 0x81, 0x72, 0x37, 0x0a, 0x3f, 0x06, 0x23, 0x12, 0x8a, 0x64, 0x2a, 0x01, 0xd7, - 0x7c, 0x3a, 0xbf, 0x24, 0x3f, 0x25, 0xd1, 0x9d, 0x37, 0xbe, 0x4d, 0x7b, 0xa2, 0x0e, 0xc6, 0x67, - 0x04, 0x55, 0x96, 0x78, 0xe1, 0x24, 0x10, 0x41, 0x14, 0xce, 0x5d, 0xe0, 0x3a, 0x94, 0x26, 0x89, - 0xef, 0x64, 0x74, 0xd3, 0x33, 0x6e, 0x41, 0x45, 0xa4, 0x17, 0x54, 0x39, 0x73, 0xc6, 0xd5, 0x30, - 0x7e, 0x0a, 0xdb, 0x5e, 0x32, 0xba, 0xbd, 0xe1, 0xa1, 0x98, 0xd4, 0x8a, 0xcd, 0x62, 0xb6, 0x1b, - 0x19, 0xaf, 0x74, 0x89, 0x32, 0xbe, 0x20, 0xa8, 0x64, 0xed, 0xc8, 0x0e, 0x3c, 0x87, 0xbf, 0x44, - 0x12, 0x8c, 0x46, 0x3c, 0x99, 0x3f, 0x4a, 0x3d, 0xf7, 0xec, 0xdd, 0x2b, 0x2f, 0x1c, 0x71, 0x36, - 0x43, 0xd0, 0x05, 0x74, 0xfd, 0x08, 0xac, 0x33, 0x5f, 0x5c, 0x6f, 0x7e, 0x0f, 0xb4, 0xe8, 0xba, - 0xb6, 0xd1, 0x44, 0xad, 0x12, 0xd5, 0xa2, 0xeb, 0xe3, 0xc1, 0x7c, 0x46, 0x73, 0x72, 0x78, 0x07, - 0x4a, 0xe4, 0x1d, 0xe9, 0x9e, 0xb3, 0x21, 0xd5, 0x0b, 0xf8, 0x1f, 0xc0, 0x3d, 0x72, 0xd1, 0xef, - 0x12, 0xb7, 0x6f, 0x33, 0x62, 0xb3, 0xfe, 0xd0, 0xb6, 0x06, 0x3a, 0xc2, 0x3a, 0xec, 0xcc, 0xe3, - 0x84, 0xd2, 0x21, 0xd5, 0xb5, 0xe3, 0x13, 0xd8, 0x4e, 0x67, 0x56, 0xa6, 0x1d, 0x66, 0x31, 0xe2, - 0x3a, 0xcc, 0xea, 0x0c, 0xc8, 0x8c, 0x68, 0x16, 0x91, 0x3c, 0xf4, 0x8c, 0xf4, 0xfa, 0x16, 0x23, - 0x3a, 0x3a, 0xbe, 0x80, 0xca, 0xca, 0x20, 0xe2, 0x03, 0xa8, 0xda, 0xe7, 0x83, 0x81, 0xbb, 0x10, - 0xb8, 0x20, 0x36, 0xd3, 0x0b, 0xb8, 0x0a, 0xbb, 0xc4, 0xee, 0xb9, 0xc3, 0x37, 0xae, 0xc3, 0x28, - 0xb1, 0xce, 0x74, 0x84, 0x8f, 0xe0, 0xa0, 0x63, 0x39, 0xfd, 0xae, 0xcb, 0x2c, 0xe7, 0xad, 0x2b, - 0x79, 0xfb, 0xb6, 0xc5, 0x48, 0x4f, 0xd7, 0xda, 0xdf, 0x34, 0x28, 0x0e, 0x7d, 0x1f, 0x9f, 0x42, - 0x39, 0x33, 0xcf, 0x38, 0x6d, 0xf4, 0xc3, 0xb5, 0xa9, 0xd7, 0xd6, 0xe6, 0xe2, 0xf1, 0xd4, 0x28, - 0x3c, 0x41, 0x92, 0x28, 0xb3, 0xbb, 0x38, 0xff, 0x62, 0x7f, 0x20, 0x5a, 0x5d, 0x76, 0x45, 0xf4, - 0x0a, 0x4a, 0x8b, 0x7d, 0xc0, 0xe9, 0x32, 0xae, 0x2c, 0x4d, 0xfd, 0xe0, 0x61, 0x42, 0xdd, 0xc7, - 0x1d, 0x80, 0xe5, 0x34, 0xe1, 0xa3, 0x05, 0xec, 0xc1, 0xc0, 0xd7, 0x0f, 0xd7, 0xa5, 0x14, 0x47, - 0xa7, 0xfd, 0xfd, 0xbe, 0x81, 0x7e, 0xdc, 0x37, 0xd0, 0xcf, 0xfb, 0x06, 0xfa, 0xfa, 0xab, 0x51, - 0x80, 0x7f, 0xfd, 0x2b, 0xd3, 0xe7, 0x49, 0x68, 0x7a, 0xe3, 0xc0, 0xe7, 0x66, 0xd4, 0x36, 0xfd, - 0x28, 0x14, 0x49, 0x34, 0x96, 0x24, 0xef, 0xb5, 0xf8, 0xf2, 0x72, 0x4b, 0xfd, 0xdf, 0x9e, 0xfd, - 0x0e, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x94, 0x47, 0x22, 0xf3, 0x04, 0x00, 0x00, +var File_protos_occ_proto protoreflect.FileDescriptor + +var file_protos_occ_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x63, 0x63, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x06, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x4f, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x14, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3a, 0x0a, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x35, + 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x72, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x72, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x31, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6f, 0x63, 0x63, 0x5f, + 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x2a, 0x4c, + 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, + 0x56, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x09, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, + 0x45, 0x10, 0x01, 0x2a, 0x56, 0x0a, 0x0f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x44, + 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, + 0x0d, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x42, 0x41, 0x53, 0x49, 0x43, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54, + 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x32, 0x99, 0x02, 0x0a, 0x03, + 0x4f, 0x63, 0x63, 0x12, 0x47, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x12, 0x1a, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, + 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x0b, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1a, 0x2e, 0x6f, 0x63, + 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3c, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6f, 0x63, 0x63, + 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, + 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x29, 0x0a, 0x1c, 0x63, 0x68, 0x2e, 0x63, 0x65, + 0x72, 0x6e, 0x2e, 0x61, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x6f, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x6f, 0x63, 0x63, 0x5a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x3b, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_protos_occ_proto_rawDescOnce sync.Once + file_protos_occ_proto_rawDescData = file_protos_occ_proto_rawDesc +) + +func file_protos_occ_proto_rawDescGZIP() []byte { + file_protos_occ_proto_rawDescOnce.Do(func() { + file_protos_occ_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_occ_proto_rawDescData) + }) + return file_protos_occ_proto_rawDescData +} + +var file_protos_occ_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_protos_occ_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_protos_occ_proto_goTypes = []interface{}{ + (StateChangeTrigger)(0), // 0: occ_pb.StateChangeTrigger + (StateType)(0), // 1: occ_pb.StateType + (DeviceEventType)(0), // 2: occ_pb.DeviceEventType + (*StateStreamRequest)(nil), // 3: occ_pb.StateStreamRequest + (*StateStreamReply)(nil), // 4: occ_pb.StateStreamReply + (*EventStreamRequest)(nil), // 5: occ_pb.EventStreamRequest + (*DeviceEvent)(nil), // 6: occ_pb.DeviceEvent + (*EventStreamReply)(nil), // 7: occ_pb.EventStreamReply + (*GetStateRequest)(nil), // 8: occ_pb.GetStateRequest + (*GetStateReply)(nil), // 9: occ_pb.GetStateReply + (*ConfigEntry)(nil), // 10: occ_pb.ConfigEntry + (*TransitionRequest)(nil), // 11: occ_pb.TransitionRequest + (*TransitionReply)(nil), // 12: occ_pb.TransitionReply +} +var file_protos_occ_proto_depIdxs = []int32{ + 1, // 0: occ_pb.StateStreamReply.type:type_name -> occ_pb.StateType + 2, // 1: occ_pb.DeviceEvent.type:type_name -> occ_pb.DeviceEventType + 6, // 2: occ_pb.EventStreamReply.event:type_name -> occ_pb.DeviceEvent + 10, // 3: occ_pb.TransitionRequest.arguments:type_name -> occ_pb.ConfigEntry + 0, // 4: occ_pb.TransitionReply.trigger:type_name -> occ_pb.StateChangeTrigger + 5, // 5: occ_pb.Occ.EventStream:input_type -> occ_pb.EventStreamRequest + 3, // 6: occ_pb.Occ.StateStream:input_type -> occ_pb.StateStreamRequest + 8, // 7: occ_pb.Occ.GetState:input_type -> occ_pb.GetStateRequest + 11, // 8: occ_pb.Occ.Transition:input_type -> occ_pb.TransitionRequest + 7, // 9: occ_pb.Occ.EventStream:output_type -> occ_pb.EventStreamReply + 4, // 10: occ_pb.Occ.StateStream:output_type -> occ_pb.StateStreamReply + 9, // 11: occ_pb.Occ.GetState:output_type -> occ_pb.GetStateReply + 12, // 12: occ_pb.Occ.Transition:output_type -> occ_pb.TransitionReply + 9, // [9:13] is the sub-list for method output_type + 5, // [5:9] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_protos_occ_proto_init() } +func file_protos_occ_proto_init() { + if File_protos_occ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protos_occ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateStreamReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStateReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransitionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransitionReply); 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_protos_occ_proto_rawDesc, + NumEnums: 3, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_protos_occ_proto_goTypes, + DependencyIndexes: file_protos_occ_proto_depIdxs, + EnumInfos: file_protos_occ_proto_enumTypes, + MessageInfos: file_protos_occ_proto_msgTypes, + }.Build() + File_protos_occ_proto = out.File + file_protos_occ_proto_rawDesc = nil + file_protos_occ_proto_goTypes = nil + file_protos_occ_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // OccClient is the client API for Occ service. // @@ -700,10 +1006,10 @@ type OccClient interface { } type occClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewOccClient(cc *grpc.ClientConn) OccClient { +func NewOccClient(cc grpc.ClientConnInterface) OccClient { return &occClient{cc} } @@ -803,16 +1109,16 @@ type OccServer interface { type UnimplementedOccServer struct { } -func (*UnimplementedOccServer) EventStream(req *EventStreamRequest, srv Occ_EventStreamServer) error { +func (*UnimplementedOccServer) EventStream(*EventStreamRequest, Occ_EventStreamServer) error { return status.Errorf(codes.Unimplemented, "method EventStream not implemented") } -func (*UnimplementedOccServer) StateStream(req *StateStreamRequest, srv Occ_StateStreamServer) error { +func (*UnimplementedOccServer) StateStream(*StateStreamRequest, Occ_StateStreamServer) error { return status.Errorf(codes.Unimplemented, "method StateStream not implemented") } -func (*UnimplementedOccServer) GetState(ctx context.Context, req *GetStateRequest) (*GetStateReply, error) { +func (*UnimplementedOccServer) GetState(context.Context, *GetStateRequest) (*GetStateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetState not implemented") } -func (*UnimplementedOccServer) Transition(ctx context.Context, req *TransitionRequest) (*TransitionReply, error) { +func (*UnimplementedOccServer) Transition(context.Context, *TransitionRequest) (*TransitionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Transition not implemented") } @@ -925,1626 +1231,3 @@ var _Occ_serviceDesc = grpc.ServiceDesc{ }, Metadata: "protos/occ.proto", } - -func (m *StateStreamRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateStreamRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StateStreamReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateStreamReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateStreamReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *EventStreamRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EventStreamRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EventStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *DeviceEvent) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeviceEvent) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeviceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Type != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *EventStreamReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EventStreamReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EventStreamReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Event != nil { - { - size, err := m.Event.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOcc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetStateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetStateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetStateReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetStateReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetStateReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Pid != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x10 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConfigEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfigEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintOcc(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintOcc(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TransitionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TransitionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TransitionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Arguments) > 0 { - for iNdEx := len(m.Arguments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Arguments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOcc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.TransitionEvent) > 0 { - i -= len(m.TransitionEvent) - copy(dAtA[i:], m.TransitionEvent) - i = encodeVarintOcc(dAtA, i, uint64(len(m.TransitionEvent))) - i-- - dAtA[i] = 0x12 - } - if len(m.SrcState) > 0 { - i -= len(m.SrcState) - copy(dAtA[i:], m.SrcState) - i = encodeVarintOcc(dAtA, i, uint64(len(m.SrcState))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TransitionReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TransitionReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TransitionReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Ok { - i-- - if m.Ok { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.TransitionEvent) > 0 { - i -= len(m.TransitionEvent) - copy(dAtA[i:], m.TransitionEvent) - i = encodeVarintOcc(dAtA, i, uint64(len(m.TransitionEvent))) - i-- - dAtA[i] = 0x1a - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if m.Trigger != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Trigger)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintOcc(dAtA []byte, offset int, v uint64) int { - offset -= sovOcc(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *StateStreamRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateStreamReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovOcc(uint64(m.Type)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EventStreamRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DeviceEvent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovOcc(uint64(m.Type)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EventStreamReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Event != nil { - l = m.Event.Size() - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetStateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetStateReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.Pid != 0 { - n += 1 + sovOcc(uint64(m.Pid)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ConfigEntry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TransitionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SrcState) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.TransitionEvent) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if len(m.Arguments) > 0 { - for _, e := range m.Arguments { - l = e.Size() - n += 1 + l + sovOcc(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TransitionReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Trigger != 0 { - n += 1 + sovOcc(uint64(m.Trigger)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.TransitionEvent) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.Ok { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovOcc(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozOcc(x uint64) (n int) { - return sovOcc(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *StateStreamRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateStreamRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateStreamReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateStreamReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateStreamReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= StateType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventStreamRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventStreamRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeviceEvent) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeviceEvent: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeviceEvent: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= DeviceEventType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventStreamReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventStreamReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventStreamReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Event == nil { - m.Event = &DeviceEvent{} - } - if err := m.Event.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetStateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetStateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetStateReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetStateReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetStateReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfigEntry) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfigEntry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfigEntry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TransitionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TransitionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransitionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrcState", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SrcState = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransitionEvent", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransitionEvent = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arguments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Arguments = append(m.Arguments, &ConfigEntry{}) - if err := m.Arguments[len(m.Arguments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TransitionReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TransitionReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransitionReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Trigger", wireType) - } - m.Trigger = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Trigger |= StateChangeTrigger(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransitionEvent", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransitionEvent = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ok", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Ok = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipOcc(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthOcc - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupOcc - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthOcc - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthOcc = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowOcc = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupOcc = fmt.Errorf("proto: unexpected end of group") -) diff --git a/go.mod b/go.mod index 7b2c940ed..4ae6054bd 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ replace github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.3 // Issue: https://github.com/etcd-io/etcd/issues/11563 replace ( github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0 - google.golang.org/grpc => google.golang.org/grpc v1.30.0 + google.golang.org/grpc => google.golang.org/grpc v1.34.0 ) // Issue: https://github.com/rivo/tview/issues/416 @@ -34,10 +34,8 @@ require ( github.com/go-git/go-git/v5 v5.1.0 github.com/go-yaml/yaml v2.1.0+incompatible // indirect github.com/gobwas/glob v0.2.3 - github.com/gogo/protobuf v1.3.1 github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect - github.com/golang/protobuf v1.4.2 - github.com/google/uuid v1.1.1 // indirect + github.com/golang/protobuf v1.4.3 github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect github.com/gorilla/websocket v1.4.2 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.2.0 // indirect @@ -102,11 +100,14 @@ require ( go.etcd.io/bbolt v1.3.4 // indirect go.uber.org/zap v1.14.1 // indirect golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect - golang.org/x/net v0.0.0-20200707034311-ab3426394381 - golang.org/x/sys v0.0.0-20201014080544-cc95f250f6bc + golang.org/x/net v0.0.0-20201209123823-ac852fbbde11 + golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e + golang.org/x/text v0.3.4 // indirect golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect - google.golang.org/grpc v1.31.0 + google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d // indirect + google.golang.org/grpc v1.34.0 google.golang.org/grpc/examples v0.0.0-20200826230536-d31b6710005d // indirect + google.golang.org/protobuf v1.25.0 gopkg.in/ini.v1 v1.55.0 // indirect gopkg.in/osteele/liquid.v1 v1.2.4 // indirect gopkg.in/yaml.v2 v2.3.0 // indirect diff --git a/go.sum b/go.sum index 2e5d401b9..b6e48757b 100644 --- a/go.sum +++ b/go.sum @@ -129,6 +129,7 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.19+incompatible h1:2tYUqV9YMS1r2UKH1jUxEtLRVEu38yhUW7kl42Ou6P0= @@ -150,6 +151,7 @@ github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/denisbrodbeck/machineid v1.0.1 h1:geKr9qtkB876mXguW2X6TU4ZynleN6ezuMSRhl4D7AQ= github.com/denisbrodbeck/machineid v1.0.1/go.mod h1:dJUwb7PTidGDeYyUBmXZ2GphQBbjJCrnectwCyxcUSI= @@ -162,6 +164,7 @@ github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= @@ -210,9 +213,9 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -243,6 +246,8 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -272,6 +277,8 @@ github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm4 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= @@ -794,6 +801,8 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11 h1:lwlPPsmjDKK0J6eG6xDWd5XPehI0R024zxjDnw3esPA= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= @@ -867,6 +876,10 @@ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642 h1:B6caxRw+hozq68X2MY7jEpZh/ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201014080544-cc95f250f6bc h1:HVFDs9bKvTxP6bh1Rj9MCSo+UmafQtI8ZWDPVwVk9g4= golang.org/x/sys v0.0.0-20201014080544-cc95f250f6bc/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e h1:AyodaIpKjppX+cBfTASF2E1US3H2JFBj920Ot3rtDjs= +golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -874,6 +887,8 @@ golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1002,10 +1017,14 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98 h1:LCO0fg4kb6WwkXQXRQQgUYsFeFb5taTX5WAx5O/Vt28= google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d h1:HV9Z9qMhQEsdlvxNFELgQ11RkMzO3CMkjEySjCtuLes= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.26.0 h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.30.0 h1:M5a8xTlYTxwMn5ZFkwhRabsygDY5G8TYLyQDBxJNAxE= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.34.0 h1:raiipEjMOIC/TO2AvyTxP25XFdLxNIBwzDh3FM3XztI= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc/examples v0.0.0-20200826230536-d31b6710005d h1:vV+xpotnpsR73kzOS8o8hxDlc7Er+H5WZqOBwWcGktk= google.golang.org/grpc/examples v0.0.0-20200826230536-d31b6710005d/go.mod h1:Lh55/1hxmVHEkOvSIQ2uj0P12QyOCUNyRwnUlSS13hw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -1027,6 +1046,7 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogR gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLFVxaq6wH4YuVdsUOr75U= gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= diff --git a/occ/protos/occ.proto b/occ/protos/occ.proto index c4fa429bc..20d53239b 100644 --- a/occ/protos/occ.proto +++ b/occ/protos/occ.proto @@ -26,7 +26,7 @@ syntax = "proto3"; package occ_pb; option java_package = "ch.cern.alice.o2.control.occ"; -option go_package = "pb"; +option go_package = "protos;pb"; ////////////////////////////////////////////////////// diff --git a/odcshim/occserver/handlers.go b/odcshim/occserver/handlers.go index 789d482c4..3c2baec99 100644 --- a/odcshim/occserver/handlers.go +++ b/odcshim/occserver/handlers.go @@ -464,8 +464,6 @@ func handleConfigure(ctx context.Context, odcClient *odcclient.RpcClient, argume } func printGrpcError(err error) error { - // We must process the error explicitly here, otherwise we get an error because gRPC's - // Status is different from what gogoproto expects. grpcStatus, ok := status.FromError(err) if ok { log.WithFields(logrus.Fields{ diff --git a/odcshim/odcprotos/odc.pb.go b/odcshim/odcprotos/odc.pb.go index 3c4adadae..2b0f53dbd 100644 --- a/odcshim/odcprotos/odc.pb.go +++ b/odcshim/odcprotos/odc.pb.go @@ -1,208 +1,232 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.4 // source: odcprotos/odc.proto package odc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // Request status type ReplyStatus int32 const ( - ReplyStatus_UNKNOWN ReplyStatus = 0 - ReplyStatus_SUCCESS ReplyStatus = 1 - ReplyStatus_ERROR ReplyStatus = 2 + ReplyStatus_UNKNOWN ReplyStatus = 0 // Status is unknown + ReplyStatus_SUCCESS ReplyStatus = 1 // Request performed successfully + ReplyStatus_ERROR ReplyStatus = 2 // Failed to perform request ) -var ReplyStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SUCCESS", - 2: "ERROR", -} +// Enum value maps for ReplyStatus. +var ( + ReplyStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SUCCESS", + 2: "ERROR", + } + ReplyStatus_value = map[string]int32{ + "UNKNOWN": 0, + "SUCCESS": 1, + "ERROR": 2, + } +) -var ReplyStatus_value = map[string]int32{ - "UNKNOWN": 0, - "SUCCESS": 1, - "ERROR": 2, +func (x ReplyStatus) Enum() *ReplyStatus { + p := new(ReplyStatus) + *p = x + return p } func (x ReplyStatus) String() string { - return proto.EnumName(ReplyStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ReplyStatus) Descriptor() protoreflect.EnumDescriptor { + return file_odcprotos_odc_proto_enumTypes[0].Descriptor() +} + +func (ReplyStatus) Type() protoreflect.EnumType { + return &file_odcprotos_odc_proto_enumTypes[0] +} + +func (x ReplyStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ReplyStatus.Descriptor instead. func (ReplyStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{0} + return file_odcprotos_odc_proto_rawDescGZIP(), []int{0} } // General error type Error struct { - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` - Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // Detailed error message + Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // Error code. } -func (m *Error) Reset() { *m = Error{} } -func (m *Error) String() string { return proto.CompactTextString(m) } -func (*Error) ProtoMessage() {} -func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{0} -} -func (m *Error) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Error.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Error) Reset() { + *x = Error{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Error) XXX_Merge(src proto.Message) { - xxx_messageInfo_Error.Merge(m, src) -} -func (m *Error) XXX_Size() int { - return m.Size() + +func (x *Error) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Error) XXX_DiscardUnknown() { - xxx_messageInfo_Error.DiscardUnknown(m) + +func (*Error) ProtoMessage() {} + +func (x *Error) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_Error proto.InternalMessageInfo +// Deprecated: Use Error.ProtoReflect.Descriptor instead. +func (*Error) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{0} +} -func (m *Error) GetMsg() string { - if m != nil { - return m.Msg +func (x *Error) GetMsg() string { + if x != nil { + return x.Msg } return "" } -func (m *Error) GetCode() int32 { - if m != nil { - return m.Code +func (x *Error) GetCode() int32 { + if x != nil { + return x.Code } return 0 } // General reply to requests type GeneralReply struct { - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` - Status ReplyStatus `protobuf:"varint,2,opt,name=status,proto3,enum=odc.ReplyStatus" json:"status,omitempty"` - Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - Exectime int32 `protobuf:"varint,4,opt,name=exectime,proto3" json:"exectime,omitempty"` - Partitionid string `protobuf:"bytes,5,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Sessionid string `protobuf:"bytes,6,opt,name=sessionid,proto3" json:"sessionid,omitempty"` - State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeneralReply) Reset() { *m = GeneralReply{} } -func (m *GeneralReply) String() string { return proto.CompactTextString(m) } -func (*GeneralReply) ProtoMessage() {} -func (*GeneralReply) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{1} -} -func (m *GeneralReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GeneralReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GeneralReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // Detailed reply message + Status ReplyStatus `protobuf:"varint,2,opt,name=status,proto3,enum=odc.ReplyStatus" json:"status,omitempty"` // Request status code (UNKNOWN, SUCCESS, ERROR) + Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // If status is ERROR than this field contains error description otherwise it's empty + Exectime int32 `protobuf:"varint,4,opt,name=exectime,proto3" json:"exectime,omitempty"` // Request execution time in ms + Partitionid string `protobuf:"bytes,5,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Sessionid string `protobuf:"bytes,6,opt,name=sessionid,proto3" json:"sessionid,omitempty"` // DDS session ID + State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` // If successful and applicable to a request then contains an aggregated FairMQ device state, otherwise UNDEFINED. } -func (m *GeneralReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeneralReply.Merge(m, src) + +func (x *GeneralReply) Reset() { + *x = GeneralReply{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GeneralReply) XXX_Size() int { - return m.Size() + +func (x *GeneralReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GeneralReply) XXX_DiscardUnknown() { - xxx_messageInfo_GeneralReply.DiscardUnknown(m) + +func (*GeneralReply) ProtoMessage() {} + +func (x *GeneralReply) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_GeneralReply proto.InternalMessageInfo +// Deprecated: Use GeneralReply.ProtoReflect.Descriptor instead. +func (*GeneralReply) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{1} +} -func (m *GeneralReply) GetMsg() string { - if m != nil { - return m.Msg +func (x *GeneralReply) GetMsg() string { + if x != nil { + return x.Msg } return "" } -func (m *GeneralReply) GetStatus() ReplyStatus { - if m != nil { - return m.Status +func (x *GeneralReply) GetStatus() ReplyStatus { + if x != nil { + return x.Status } return ReplyStatus_UNKNOWN } -func (m *GeneralReply) GetError() *Error { - if m != nil { - return m.Error +func (x *GeneralReply) GetError() *Error { + if x != nil { + return x.Error } return nil } -func (m *GeneralReply) GetExectime() int32 { - if m != nil { - return m.Exectime +func (x *GeneralReply) GetExectime() int32 { + if x != nil { + return x.Exectime } return 0 } -func (m *GeneralReply) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *GeneralReply) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *GeneralReply) GetSessionid() string { - if m != nil { - return m.Sessionid +func (x *GeneralReply) GetSessionid() string { + if x != nil { + return x.Sessionid } return "" } -func (m *GeneralReply) GetState() string { - if m != nil { - return m.State +func (x *GeneralReply) GetState() string { + if x != nil { + return x.State } return "" } @@ -211,951 +235,1343 @@ func (m *GeneralReply) GetState() string { // Runtime task ID and path are the same as in DDS. // To get task details use DDS Topology API. type Device struct { - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Runtime task ID (same as in DDS) + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // FairMQ device state as string + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Runtime task path (same as in DDS) } -func (m *Device) Reset() { *m = Device{} } -func (m *Device) String() string { return proto.CompactTextString(m) } -func (*Device) ProtoMessage() {} -func (*Device) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{2} -} -func (m *Device) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Device.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Device) Reset() { + *x = Device{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Device) XXX_Merge(src proto.Message) { - xxx_messageInfo_Device.Merge(m, src) -} -func (m *Device) XXX_Size() int { - return m.Size() + +func (x *Device) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Device) XXX_DiscardUnknown() { - xxx_messageInfo_Device.DiscardUnknown(m) + +func (*Device) ProtoMessage() {} + +func (x *Device) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_Device proto.InternalMessageInfo +// Deprecated: Use Device.ProtoReflect.Descriptor instead. +func (*Device) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{2} +} -func (m *Device) GetId() uint64 { - if m != nil { - return m.Id +func (x *Device) GetId() uint64 { + if x != nil { + return x.Id } return 0 } -func (m *Device) GetState() string { - if m != nil { - return m.State +func (x *Device) GetState() string { + if x != nil { + return x.State } return "" } -func (m *Device) GetPath() string { - if m != nil { - return m.Path +func (x *Device) GetPath() string { + if x != nil { + return x.Path } return "" } // Device change/get state request type StateRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - Detailed bool `protobuf:"varint,3,opt,name=detailed,proto3" json:"detailed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Task path in the DDS topology. Can be a regular expression. + Detailed bool `protobuf:"varint,3,opt,name=detailed,proto3" json:"detailed,omitempty"` // If true then a list of affected devices is populated in the reply. } -func (m *StateRequest) Reset() { *m = StateRequest{} } -func (m *StateRequest) String() string { return proto.CompactTextString(m) } -func (*StateRequest) ProtoMessage() {} -func (*StateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{3} -} -func (m *StateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateRequest) Reset() { + *x = StateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateRequest.Merge(m, src) -} -func (m *StateRequest) XXX_Size() int { - return m.Size() + +func (x *StateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateRequest.DiscardUnknown(m) + +func (*StateRequest) ProtoMessage() {} + +func (x *StateRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_StateRequest proto.InternalMessageInfo +// Deprecated: Use StateRequest.ProtoReflect.Descriptor instead. +func (*StateRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{3} +} -func (m *StateRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *StateRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *StateRequest) GetPath() string { - if m != nil { - return m.Path +func (x *StateRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *StateRequest) GetDetailed() bool { - if m != nil { - return m.Detailed +func (x *StateRequest) GetDetailed() bool { + if x != nil { + return x.Detailed } return false } // Device change/get state reply type StateReply struct { - Reply *GeneralReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` - Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reply *GeneralReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` // General reply. See GeneralReply message for details. + Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` // If detailed reply is requested then this field contains a list of affected devices otherwise it's empty. } -func (m *StateReply) Reset() { *m = StateReply{} } -func (m *StateReply) String() string { return proto.CompactTextString(m) } -func (*StateReply) ProtoMessage() {} -func (*StateReply) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{4} -} -func (m *StateReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateReply) Reset() { + *x = StateReply{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateReply.Merge(m, src) -} -func (m *StateReply) XXX_Size() int { - return m.Size() + +func (x *StateReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateReply) XXX_DiscardUnknown() { - xxx_messageInfo_StateReply.DiscardUnknown(m) + +func (*StateReply) ProtoMessage() {} + +func (x *StateReply) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_StateReply proto.InternalMessageInfo +// Deprecated: Use StateReply.ProtoReflect.Descriptor instead. +func (*StateReply) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{4} +} -func (m *StateReply) GetReply() *GeneralReply { - if m != nil { - return m.Reply +func (x *StateReply) GetReply() *GeneralReply { + if x != nil { + return x.Reply } return nil } -func (m *StateReply) GetDevices() []*Device { - if m != nil { - return m.Devices +func (x *StateReply) GetDevices() []*Device { + if x != nil { + return x.Devices } return nil } // Initialize request type InitializeRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Sessionid string `protobuf:"bytes,2,opt,name=sessionid,proto3" json:"sessionid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Sessionid string `protobuf:"bytes,2,opt,name=sessionid,proto3" json:"sessionid,omitempty"` // DDS session ID. If session ID is provided that ODC connects to an existing DDS session. If session ID is an empty string that a new DDS session is created. } -func (m *InitializeRequest) Reset() { *m = InitializeRequest{} } -func (m *InitializeRequest) String() string { return proto.CompactTextString(m) } -func (*InitializeRequest) ProtoMessage() {} -func (*InitializeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{5} -} -func (m *InitializeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *InitializeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_InitializeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *InitializeRequest) Reset() { + *x = InitializeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *InitializeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitializeRequest.Merge(m, src) -} -func (m *InitializeRequest) XXX_Size() int { - return m.Size() + +func (x *InitializeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitializeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitializeRequest.DiscardUnknown(m) + +func (*InitializeRequest) ProtoMessage() {} + +func (x *InitializeRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_InitializeRequest proto.InternalMessageInfo +// Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead. +func (*InitializeRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{5} +} -func (m *InitializeRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *InitializeRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *InitializeRequest) GetSessionid() string { - if m != nil { - return m.Sessionid +func (x *InitializeRequest) GetSessionid() string { + if x != nil { + return x.Sessionid } return "" } // Submit request type SubmitRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS } -func (m *SubmitRequest) Reset() { *m = SubmitRequest{} } -func (m *SubmitRequest) String() string { return proto.CompactTextString(m) } -func (*SubmitRequest) ProtoMessage() {} -func (*SubmitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{6} -} -func (m *SubmitRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SubmitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SubmitRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SubmitRequest) Reset() { + *x = SubmitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SubmitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitRequest.Merge(m, src) -} -func (m *SubmitRequest) XXX_Size() int { - return m.Size() + +func (x *SubmitRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubmitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitRequest.DiscardUnknown(m) + +func (*SubmitRequest) ProtoMessage() {} + +func (x *SubmitRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_SubmitRequest proto.InternalMessageInfo +// Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead. +func (*SubmitRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{6} +} -func (m *SubmitRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *SubmitRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } // Activate request type ActivateRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` // Filepath to a DDS topology file } -func (m *ActivateRequest) Reset() { *m = ActivateRequest{} } -func (m *ActivateRequest) String() string { return proto.CompactTextString(m) } -func (*ActivateRequest) ProtoMessage() {} -func (*ActivateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{7} -} -func (m *ActivateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ActivateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ActivateRequest) Reset() { + *x = ActivateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ActivateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActivateRequest.Merge(m, src) -} -func (m *ActivateRequest) XXX_Size() int { - return m.Size() + +func (x *ActivateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ActivateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ActivateRequest.DiscardUnknown(m) + +func (*ActivateRequest) ProtoMessage() {} + +func (x *ActivateRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_ActivateRequest proto.InternalMessageInfo +// Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead. +func (*ActivateRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{7} +} -func (m *ActivateRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *ActivateRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *ActivateRequest) GetTopology() string { - if m != nil { - return m.Topology +func (x *ActivateRequest) GetTopology() string { + if x != nil { + return x.Topology } return "" } // Run request type RunRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` // Filepath to a DDS topology file } -func (m *RunRequest) Reset() { *m = RunRequest{} } -func (m *RunRequest) String() string { return proto.CompactTextString(m) } -func (*RunRequest) ProtoMessage() {} -func (*RunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{8} -} -func (m *RunRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RunRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RunRequest) Reset() { + *x = RunRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunRequest.Merge(m, src) -} -func (m *RunRequest) XXX_Size() int { - return m.Size() + +func (x *RunRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunRequest.DiscardUnknown(m) + +func (*RunRequest) ProtoMessage() {} + +func (x *RunRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_RunRequest proto.InternalMessageInfo +// Deprecated: Use RunRequest.ProtoReflect.Descriptor instead. +func (*RunRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{8} +} -func (m *RunRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *RunRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *RunRequest) GetTopology() string { - if m != nil { - return m.Topology +func (x *RunRequest) GetTopology() string { + if x != nil { + return x.Topology } return "" } // Update request type UpdateRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Topology string `protobuf:"bytes,2,opt,name=topology,proto3" json:"topology,omitempty"` // Filepath to a DDS topology file } -func (m *UpdateRequest) Reset() { *m = UpdateRequest{} } -func (m *UpdateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateRequest) ProtoMessage() {} -func (*UpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{9} -} -func (m *UpdateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateRequest) Reset() { + *x = UpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRequest.Merge(m, src) -} -func (m *UpdateRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateRequest.DiscardUnknown(m) + +func (*UpdateRequest) ProtoMessage() {} + +func (x *UpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_UpdateRequest proto.InternalMessageInfo +// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. +func (*UpdateRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{9} +} -func (m *UpdateRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *UpdateRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *UpdateRequest) GetTopology() string { - if m != nil { - return m.Topology +func (x *UpdateRequest) GetTopology() string { + if x != nil { + return x.Topology } return "" } // Shutdown request type ShutdownRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS } -func (m *ShutdownRequest) Reset() { *m = ShutdownRequest{} } -func (m *ShutdownRequest) String() string { return proto.CompactTextString(m) } -func (*ShutdownRequest) ProtoMessage() {} -func (*ShutdownRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{10} -} -func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShutdownRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ShutdownRequest) Reset() { + *x = ShutdownRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ShutdownRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShutdownRequest.Merge(m, src) -} -func (m *ShutdownRequest) XXX_Size() int { - return m.Size() + +func (x *ShutdownRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShutdownRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ShutdownRequest.DiscardUnknown(m) + +func (*ShutdownRequest) ProtoMessage() {} + +func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_ShutdownRequest proto.InternalMessageInfo +// Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead. +func (*ShutdownRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{10} +} -func (m *ShutdownRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *ShutdownRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } // Key-Value property type Property struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Property key + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Property value } -func (m *Property) Reset() { *m = Property{} } -func (m *Property) String() string { return proto.CompactTextString(m) } -func (*Property) ProtoMessage() {} -func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{11} -} -func (m *Property) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Property) Reset() { + *x = Property{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return m.Size() + +func (x *Property) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) + +func (*Property) ProtoMessage() {} + +func (x *Property) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_Property proto.InternalMessageInfo +// Deprecated: Use Property.ProtoReflect.Descriptor instead. +func (*Property) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{11} +} -func (m *Property) GetKey() string { - if m != nil { - return m.Key +func (x *Property) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Property) GetValue() string { - if m != nil { - return m.Value +func (x *Property) GetValue() string { + if x != nil { + return x.Value } return "" } // Set properties request type SetPropertiesRequest struct { - Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - Properties []*Property `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Partitionid string `protobuf:"bytes,1,opt,name=partitionid,proto3" json:"partitionid,omitempty"` // Partition ID from ECS + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Task path in the DDS topology. Can be a regular expression. + Properties []*Property `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty"` // List of properties to be set } -func (m *SetPropertiesRequest) Reset() { *m = SetPropertiesRequest{} } -func (m *SetPropertiesRequest) String() string { return proto.CompactTextString(m) } -func (*SetPropertiesRequest) ProtoMessage() {} -func (*SetPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{12} -} -func (m *SetPropertiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SetPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetPropertiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetPropertiesRequest) Reset() { + *x = SetPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SetPropertiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetPropertiesRequest.Merge(m, src) -} -func (m *SetPropertiesRequest) XXX_Size() int { - return m.Size() + +func (x *SetPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetPropertiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetPropertiesRequest.DiscardUnknown(m) + +func (*SetPropertiesRequest) ProtoMessage() {} + +func (x *SetPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_SetPropertiesRequest proto.InternalMessageInfo +// Deprecated: Use SetPropertiesRequest.ProtoReflect.Descriptor instead. +func (*SetPropertiesRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{12} +} -func (m *SetPropertiesRequest) GetPartitionid() string { - if m != nil { - return m.Partitionid +func (x *SetPropertiesRequest) GetPartitionid() string { + if x != nil { + return x.Partitionid } return "" } -func (m *SetPropertiesRequest) GetPath() string { - if m != nil { - return m.Path +func (x *SetPropertiesRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *SetPropertiesRequest) GetProperties() []*Property { - if m != nil { - return m.Properties +func (x *SetPropertiesRequest) GetProperties() []*Property { + if x != nil { + return x.Properties } return nil } // Configure request type ConfigureRequest struct { - Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // State change request. See StateRequest for details. } -func (m *ConfigureRequest) Reset() { *m = ConfigureRequest{} } -func (m *ConfigureRequest) String() string { return proto.CompactTextString(m) } -func (*ConfigureRequest) ProtoMessage() {} -func (*ConfigureRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{13} -} -func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfigureRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ConfigureRequest) Reset() { + *x = ConfigureRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ConfigureRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigureRequest.Merge(m, src) -} -func (m *ConfigureRequest) XXX_Size() int { - return m.Size() + +func (x *ConfigureRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfigureRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigureRequest.DiscardUnknown(m) + +func (*ConfigureRequest) ProtoMessage() {} + +func (x *ConfigureRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_ConfigureRequest proto.InternalMessageInfo +// Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead. +func (*ConfigureRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{13} +} -func (m *ConfigureRequest) GetRequest() *StateRequest { - if m != nil { - return m.Request +func (x *ConfigureRequest) GetRequest() *StateRequest { + if x != nil { + return x.Request } return nil } // Start request type StartRequest struct { - Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // State change request. See StateRequest for details. } -func (m *StartRequest) Reset() { *m = StartRequest{} } -func (m *StartRequest) String() string { return proto.CompactTextString(m) } -func (*StartRequest) ProtoMessage() {} -func (*StartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{14} -} -func (m *StartRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StartRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StartRequest) Reset() { + *x = StartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StartRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartRequest.Merge(m, src) -} -func (m *StartRequest) XXX_Size() int { - return m.Size() + +func (x *StartRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartRequest.DiscardUnknown(m) + +func (*StartRequest) ProtoMessage() {} + +func (x *StartRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_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) } -var xxx_messageInfo_StartRequest proto.InternalMessageInfo +// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead. +func (*StartRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{14} +} -func (m *StartRequest) GetRequest() *StateRequest { - if m != nil { - return m.Request +func (x *StartRequest) GetRequest() *StateRequest { + if x != nil { + return x.Request } return nil } // Stop request type StopRequest struct { - Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // State change request. See StateRequest for details. } -func (m *StopRequest) Reset() { *m = StopRequest{} } -func (m *StopRequest) String() string { return proto.CompactTextString(m) } -func (*StopRequest) ProtoMessage() {} -func (*StopRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{15} -} -func (m *StopRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StopRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StopRequest) Reset() { + *x = StopRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StopRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopRequest.Merge(m, src) -} -func (m *StopRequest) XXX_Size() int { - return m.Size() + +func (x *StopRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopRequest.DiscardUnknown(m) + +func (*StopRequest) ProtoMessage() {} + +func (x *StopRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StopRequest proto.InternalMessageInfo +// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead. +func (*StopRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{15} +} -func (m *StopRequest) GetRequest() *StateRequest { - if m != nil { - return m.Request +func (x *StopRequest) GetRequest() *StateRequest { + if x != nil { + return x.Request } return nil } // Reset request type ResetRequest struct { - Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // State change request. See StateRequest for details. } -func (m *ResetRequest) Reset() { *m = ResetRequest{} } -func (m *ResetRequest) String() string { return proto.CompactTextString(m) } -func (*ResetRequest) ProtoMessage() {} -func (*ResetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{16} -} -func (m *ResetRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResetRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResetRequest) Reset() { + *x = ResetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetRequest.Merge(m, src) -} -func (m *ResetRequest) XXX_Size() int { - return m.Size() + +func (x *ResetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResetRequest.DiscardUnknown(m) + +func (*ResetRequest) ProtoMessage() {} + +func (x *ResetRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_proto_msgTypes[16] + 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) } -var xxx_messageInfo_ResetRequest proto.InternalMessageInfo +// Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead. +func (*ResetRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{16} +} -func (m *ResetRequest) GetRequest() *StateRequest { - if m != nil { - return m.Request +func (x *ResetRequest) GetRequest() *StateRequest { + if x != nil { + return x.Request } return nil } // Terminate request type TerminateRequest struct { - Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Request *StateRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // State change request. See StateRequest for details. } -func (m *TerminateRequest) Reset() { *m = TerminateRequest{} } -func (m *TerminateRequest) String() string { return proto.CompactTextString(m) } -func (*TerminateRequest) ProtoMessage() {} -func (*TerminateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_289c0e4bbb6a131e, []int{17} -} -func (m *TerminateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TerminateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TerminateRequest) Reset() { + *x = TerminateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_odcprotos_odc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TerminateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TerminateRequest.Merge(m, src) -} -func (m *TerminateRequest) XXX_Size() int { - return m.Size() + +func (x *TerminateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TerminateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TerminateRequest.DiscardUnknown(m) + +func (*TerminateRequest) ProtoMessage() {} + +func (x *TerminateRequest) ProtoReflect() protoreflect.Message { + mi := &file_odcprotos_odc_proto_msgTypes[17] + 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) } -var xxx_messageInfo_TerminateRequest proto.InternalMessageInfo +// Deprecated: Use TerminateRequest.ProtoReflect.Descriptor instead. +func (*TerminateRequest) Descriptor() ([]byte, []int) { + return file_odcprotos_odc_proto_rawDescGZIP(), []int{17} +} -func (m *TerminateRequest) GetRequest() *StateRequest { - if m != nil { - return m.Request +func (x *TerminateRequest) GetRequest() *StateRequest { + if x != nil { + return x.Request } return nil } -func init() { - proto.RegisterEnum("odc.ReplyStatus", ReplyStatus_name, ReplyStatus_value) - proto.RegisterType((*Error)(nil), "odc.Error") - proto.RegisterType((*GeneralReply)(nil), "odc.GeneralReply") - proto.RegisterType((*Device)(nil), "odc.Device") - proto.RegisterType((*StateRequest)(nil), "odc.StateRequest") - proto.RegisterType((*StateReply)(nil), "odc.StateReply") - proto.RegisterType((*InitializeRequest)(nil), "odc.InitializeRequest") - proto.RegisterType((*SubmitRequest)(nil), "odc.SubmitRequest") - proto.RegisterType((*ActivateRequest)(nil), "odc.ActivateRequest") - proto.RegisterType((*RunRequest)(nil), "odc.RunRequest") - proto.RegisterType((*UpdateRequest)(nil), "odc.UpdateRequest") - proto.RegisterType((*ShutdownRequest)(nil), "odc.ShutdownRequest") - proto.RegisterType((*Property)(nil), "odc.Property") - proto.RegisterType((*SetPropertiesRequest)(nil), "odc.SetPropertiesRequest") - proto.RegisterType((*ConfigureRequest)(nil), "odc.ConfigureRequest") - proto.RegisterType((*StartRequest)(nil), "odc.StartRequest") - proto.RegisterType((*StopRequest)(nil), "odc.StopRequest") - proto.RegisterType((*ResetRequest)(nil), "odc.ResetRequest") - proto.RegisterType((*TerminateRequest)(nil), "odc.TerminateRequest") -} - -func init() { proto.RegisterFile("odcprotos/odc.proto", fileDescriptor_289c0e4bbb6a131e) } - -var fileDescriptor_289c0e4bbb6a131e = []byte{ - // 763 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xae, 0x93, 0x38, 0x3f, 0xe3, 0xa6, 0x71, 0x97, 0x82, 0x42, 0x84, 0xa2, 0x68, 0x25, 0x44, - 0x44, 0xd5, 0x42, 0x53, 0xf5, 0x00, 0x1c, 0x2a, 0x9a, 0x56, 0x15, 0x20, 0x1a, 0xb4, 0xa6, 0xe2, - 0xc2, 0x81, 0x34, 0x5e, 0xda, 0x55, 0x93, 0xac, 0xb1, 0xd7, 0x85, 0xc0, 0x8b, 0xf0, 0x12, 0xbc, - 0x07, 0x47, 0x9e, 0x00, 0xa1, 0xf2, 0x22, 0xc8, 0x63, 0xc7, 0x71, 0x12, 0x57, 0x6a, 0x4b, 0x6f, - 0xbb, 0x9e, 0x6f, 0x66, 0xbe, 0x9d, 0xfd, 0xbe, 0x4d, 0xe0, 0x96, 0xb4, 0x7b, 0x8e, 0x2b, 0x95, - 0xf4, 0x1e, 0x49, 0xbb, 0xb7, 0x8e, 0x4b, 0x92, 0x95, 0x76, 0x8f, 0xae, 0x81, 0xbe, 0xe7, 0xba, - 0xd2, 0x25, 0x26, 0x64, 0x07, 0xde, 0x71, 0x55, 0x6b, 0x68, 0xcd, 0x12, 0x0b, 0x96, 0x84, 0x40, - 0xae, 0x27, 0x6d, 0x5e, 0xcd, 0x34, 0xb4, 0xa6, 0xce, 0x70, 0x4d, 0x7f, 0x6b, 0xb0, 0xb8, 0xcf, - 0x87, 0xdc, 0xed, 0xf6, 0x19, 0x77, 0xfa, 0xa3, 0x94, 0xb4, 0x26, 0xe4, 0x3d, 0xd5, 0x55, 0xbe, - 0x87, 0x89, 0x4b, 0x2d, 0x73, 0x3d, 0x68, 0x89, 0x68, 0x0b, 0xbf, 0xb3, 0x28, 0x4e, 0x1a, 0xa0, - 0xf3, 0xa0, 0x77, 0x35, 0xdb, 0xd0, 0x9a, 0x46, 0x0b, 0x10, 0x88, 0x6c, 0x58, 0x18, 0x20, 0x35, - 0x28, 0xf2, 0x2f, 0xbc, 0xa7, 0xc4, 0x80, 0x57, 0x73, 0x48, 0x23, 0xde, 0x93, 0x06, 0x18, 0x4e, - 0xd7, 0x55, 0x42, 0x09, 0x39, 0x14, 0x76, 0x55, 0x47, 0x06, 0xc9, 0x4f, 0xe4, 0x1e, 0x94, 0x3c, - 0xee, 0x79, 0x61, 0x3c, 0x8f, 0xf1, 0xc9, 0x07, 0xb2, 0x02, 0x7a, 0xc0, 0x83, 0x57, 0x0b, 0x18, - 0x09, 0x37, 0x74, 0x07, 0xf2, 0xbb, 0xfc, 0x4c, 0xf4, 0x38, 0x59, 0x82, 0x8c, 0xb0, 0xf1, 0x60, - 0x39, 0x96, 0x49, 0xe2, 0x33, 0x09, 0x7c, 0x30, 0x24, 0xa7, 0xab, 0x4e, 0xf0, 0x08, 0x25, 0x86, - 0x6b, 0xfa, 0x01, 0x16, 0x83, 0x93, 0x72, 0xc6, 0x3f, 0xf9, 0xdc, 0x53, 0xb3, 0x4c, 0xb5, 0x79, - 0xa6, 0xe3, 0x2a, 0x99, 0x49, 0x95, 0xe0, 0xec, 0x36, 0x57, 0x5d, 0xd1, 0xe7, 0x36, 0x56, 0x2f, - 0xb2, 0x78, 0x4f, 0xdf, 0x03, 0x44, 0x1d, 0x82, 0x3b, 0x78, 0x00, 0xba, 0x1b, 0x2c, 0xb0, 0xb2, - 0xd1, 0x5a, 0xc6, 0x39, 0x26, 0x6f, 0x89, 0x85, 0x71, 0x72, 0x1f, 0x0a, 0x36, 0x1e, 0x2e, 0xb8, - 0x9b, 0x6c, 0xd3, 0x68, 0x19, 0x08, 0x0d, 0x0f, 0xcc, 0xc6, 0x31, 0x6a, 0xc1, 0xf2, 0x8b, 0xa1, - 0x50, 0xa2, 0xdb, 0x17, 0x5f, 0xaf, 0x70, 0x88, 0xa9, 0x71, 0x67, 0x66, 0xc6, 0x4d, 0x37, 0xa0, - 0x6c, 0xf9, 0x47, 0x03, 0xa1, 0x2e, 0x5d, 0x90, 0x76, 0xa0, 0xf2, 0xbc, 0xa7, 0xc4, 0xd9, 0x95, - 0x46, 0x59, 0x83, 0xa2, 0x92, 0x8e, 0xec, 0xcb, 0xe3, 0x51, 0x44, 0x22, 0xde, 0xd3, 0x97, 0x00, - 0xcc, 0x1f, 0xde, 0x4c, 0xad, 0xd7, 0x50, 0x3e, 0x74, 0xec, 0x1b, 0xa3, 0xb6, 0x09, 0x15, 0xeb, - 0xc4, 0x57, 0xb6, 0xfc, 0x7c, 0x79, 0x7e, 0xb4, 0x05, 0xc5, 0x37, 0xae, 0x74, 0xb8, 0xab, 0xd0, - 0x88, 0xa7, 0x7c, 0x34, 0x36, 0xe2, 0x29, 0x1f, 0x05, 0x82, 0x3d, 0xeb, 0xf6, 0xfd, 0x58, 0xb0, - 0xb8, 0xa1, 0xdf, 0x60, 0xc5, 0xe2, 0x2a, 0x4a, 0x13, 0xdc, 0xfb, 0x3f, 0x91, 0xae, 0x01, 0x38, - 0x71, 0xa9, 0x6a, 0x16, 0x45, 0x55, 0x46, 0x51, 0x8d, 0x89, 0xb1, 0x04, 0x80, 0x6e, 0x83, 0xd9, - 0x96, 0xc3, 0x8f, 0xe2, 0xd8, 0x77, 0xe3, 0xb9, 0xad, 0x42, 0xc1, 0x0d, 0x97, 0x53, 0xfa, 0x4d, - 0x3a, 0x88, 0x8d, 0x11, 0xf4, 0x19, 0x5a, 0xcb, 0x55, 0xd7, 0x4a, 0x7e, 0x0a, 0x86, 0xa5, 0xa4, - 0x73, 0xdd, 0xc6, 0x8c, 0x7b, 0xfc, 0x7a, 0x8d, 0xb7, 0xc1, 0x7c, 0xcb, 0xdd, 0x81, 0x18, 0x26, - 0xe4, 0x72, 0x95, 0x02, 0x0f, 0x5b, 0x60, 0x24, 0x1e, 0x50, 0x62, 0x40, 0xe1, 0xf0, 0xe0, 0xd5, - 0x41, 0xe7, 0xdd, 0x81, 0xb9, 0x10, 0x6c, 0xac, 0xc3, 0x76, 0x7b, 0xcf, 0xb2, 0x4c, 0x8d, 0x94, - 0x40, 0xdf, 0x63, 0xac, 0xc3, 0xcc, 0x4c, 0xeb, 0x87, 0x0e, 0xd9, 0xce, 0x6e, 0x9b, 0x3c, 0x01, - 0x98, 0xb8, 0x99, 0xdc, 0xc1, 0x2e, 0x73, 0xf6, 0xae, 0xcd, 0x3f, 0x1a, 0x74, 0x81, 0x6c, 0x40, - 0x3e, 0xf4, 0x2c, 0x21, 0x21, 0xb9, 0xa4, 0x81, 0xd3, 0x53, 0xb6, 0xa0, 0x38, 0xf6, 0x2c, 0x59, - 0x41, 0xc0, 0x8c, 0x85, 0xd3, 0xd3, 0x56, 0x21, 0xcb, 0xfc, 0x21, 0xa9, 0x84, 0xbf, 0x15, 0xb1, - 0x47, 0x2f, 0xa4, 0x15, 0x5a, 0x2f, 0xa2, 0x35, 0xe5, 0xc3, 0x8b, 0x68, 0x95, 0x62, 0xe1, 0x91, - 0xdb, 0x88, 0x98, 0x15, 0x62, 0xad, 0x92, 0xbc, 0x80, 0x30, 0x6d, 0x1b, 0xca, 0x53, 0x66, 0x21, - 0x77, 0x43, 0x4c, 0x8a, 0x81, 0xd2, 0xfb, 0x3e, 0x86, 0xe2, 0x3e, 0x57, 0x58, 0x93, 0xcc, 0x5f, - 0x70, 0x5a, 0xcb, 0x35, 0xd0, 0x51, 0xe1, 0x13, 0x78, 0xac, 0xf6, 0x34, 0xf8, 0x2a, 0xe4, 0x02, - 0x4d, 0x13, 0x33, 0x0a, 0xc5, 0xf2, 0xbe, 0xa0, 0x36, 0x8a, 0x38, 0xaa, 0x9d, 0x14, 0x74, 0x1a, - 0x7c, 0x0b, 0x4a, 0xb1, 0x6c, 0xa3, 0xa1, 0xcd, 0xca, 0x38, 0x3d, 0xad, 0x38, 0x7e, 0xca, 0x22, - 0x09, 0xcc, 0xbc, 0x6c, 0xa9, 0xa3, 0xda, 0x31, 0x7f, 0x9e, 0xd7, 0xb5, 0x5f, 0xe7, 0x75, 0xed, - 0xcf, 0x79, 0x5d, 0xfb, 0xfe, 0xb7, 0xbe, 0x70, 0x94, 0xc7, 0xff, 0x29, 0x9b, 0xff, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xd5, 0xf4, 0x1f, 0xfc, 0xbe, 0x08, 0x00, 0x00, +var File_odcprotos_odc_proto protoreflect.FileDescriptor + +var file_odcprotos_odc_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x6f, 0x64, 0x63, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x64, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x6f, 0x64, 0x63, 0x22, 0x2d, 0x0a, 0x05, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x28, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x6f, + 0x64, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x63, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, + 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x42, 0x0a, 0x06, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x60, + 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, + 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, + 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x27, + 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x6f, 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, + 0x52, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x53, + 0x0a, 0x11, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x22, 0x4a, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x6c, + 0x6f, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x6c, + 0x6f, 0x67, 0x79, 0x22, 0x4d, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, + 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, + 0x67, 0x79, 0x22, 0x33, 0x0a, 0x0f, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7b, 0x0a, 0x14, 0x53, + 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x6f, 0x64, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x0c, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x64, 0x63, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3a, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x3f, 0x0a, 0x10, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2a, 0x32, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x02, 0x32, 0xad, 0x05, 0x0a, 0x03, 0x4f, 0x44, 0x43, 0x12, 0x39, 0x0a, 0x0a, + 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x2e, 0x6f, 0x64, 0x63, + 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x06, 0x53, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x12, 0x12, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35, 0x0a, 0x08, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x14, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, + 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x2b, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x52, + 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x31, + 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, + 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, + 0x00, 0x12, 0x35, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x15, + 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x6f, 0x64, 0x63, 0x2e, + 0x53, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x08, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x2d, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x12, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x2b, 0x0a, 0x04, 0x53, 0x74, + 0x6f, 0x70, 0x12, 0x10, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x2d, 0x0a, 0x05, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x12, 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35, 0x0a, 0x09, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6f, 0x64, 0x63, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35, 0x0a, + 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x14, 0x2e, 0x6f, 0x64, 0x63, 0x2e, + 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x11, 0x2e, 0x6f, 0x64, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x22, 0x00, 0x42, 0x0f, 0x5a, 0x0d, 0x6f, 0x64, 0x63, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x73, 0x3b, 0x6f, 0x64, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_odcprotos_odc_proto_rawDescOnce sync.Once + file_odcprotos_odc_proto_rawDescData = file_odcprotos_odc_proto_rawDesc +) + +func file_odcprotos_odc_proto_rawDescGZIP() []byte { + file_odcprotos_odc_proto_rawDescOnce.Do(func() { + file_odcprotos_odc_proto_rawDescData = protoimpl.X.CompressGZIP(file_odcprotos_odc_proto_rawDescData) + }) + return file_odcprotos_odc_proto_rawDescData +} + +var file_odcprotos_odc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_odcprotos_odc_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_odcprotos_odc_proto_goTypes = []interface{}{ + (ReplyStatus)(0), // 0: odc.ReplyStatus + (*Error)(nil), // 1: odc.Error + (*GeneralReply)(nil), // 2: odc.GeneralReply + (*Device)(nil), // 3: odc.Device + (*StateRequest)(nil), // 4: odc.StateRequest + (*StateReply)(nil), // 5: odc.StateReply + (*InitializeRequest)(nil), // 6: odc.InitializeRequest + (*SubmitRequest)(nil), // 7: odc.SubmitRequest + (*ActivateRequest)(nil), // 8: odc.ActivateRequest + (*RunRequest)(nil), // 9: odc.RunRequest + (*UpdateRequest)(nil), // 10: odc.UpdateRequest + (*ShutdownRequest)(nil), // 11: odc.ShutdownRequest + (*Property)(nil), // 12: odc.Property + (*SetPropertiesRequest)(nil), // 13: odc.SetPropertiesRequest + (*ConfigureRequest)(nil), // 14: odc.ConfigureRequest + (*StartRequest)(nil), // 15: odc.StartRequest + (*StopRequest)(nil), // 16: odc.StopRequest + (*ResetRequest)(nil), // 17: odc.ResetRequest + (*TerminateRequest)(nil), // 18: odc.TerminateRequest +} +var file_odcprotos_odc_proto_depIdxs = []int32{ + 0, // 0: odc.GeneralReply.status:type_name -> odc.ReplyStatus + 1, // 1: odc.GeneralReply.error:type_name -> odc.Error + 2, // 2: odc.StateReply.reply:type_name -> odc.GeneralReply + 3, // 3: odc.StateReply.devices:type_name -> odc.Device + 12, // 4: odc.SetPropertiesRequest.properties:type_name -> odc.Property + 4, // 5: odc.ConfigureRequest.request:type_name -> odc.StateRequest + 4, // 6: odc.StartRequest.request:type_name -> odc.StateRequest + 4, // 7: odc.StopRequest.request:type_name -> odc.StateRequest + 4, // 8: odc.ResetRequest.request:type_name -> odc.StateRequest + 4, // 9: odc.TerminateRequest.request:type_name -> odc.StateRequest + 6, // 10: odc.ODC.Initialize:input_type -> odc.InitializeRequest + 7, // 11: odc.ODC.Submit:input_type -> odc.SubmitRequest + 8, // 12: odc.ODC.Activate:input_type -> odc.ActivateRequest + 9, // 13: odc.ODC.Run:input_type -> odc.RunRequest + 10, // 14: odc.ODC.Update:input_type -> odc.UpdateRequest + 14, // 15: odc.ODC.Configure:input_type -> odc.ConfigureRequest + 13, // 16: odc.ODC.SetProperties:input_type -> odc.SetPropertiesRequest + 4, // 17: odc.ODC.GetState:input_type -> odc.StateRequest + 15, // 18: odc.ODC.Start:input_type -> odc.StartRequest + 16, // 19: odc.ODC.Stop:input_type -> odc.StopRequest + 17, // 20: odc.ODC.Reset:input_type -> odc.ResetRequest + 18, // 21: odc.ODC.Terminate:input_type -> odc.TerminateRequest + 11, // 22: odc.ODC.Shutdown:input_type -> odc.ShutdownRequest + 2, // 23: odc.ODC.Initialize:output_type -> odc.GeneralReply + 2, // 24: odc.ODC.Submit:output_type -> odc.GeneralReply + 2, // 25: odc.ODC.Activate:output_type -> odc.GeneralReply + 2, // 26: odc.ODC.Run:output_type -> odc.GeneralReply + 2, // 27: odc.ODC.Update:output_type -> odc.GeneralReply + 5, // 28: odc.ODC.Configure:output_type -> odc.StateReply + 2, // 29: odc.ODC.SetProperties:output_type -> odc.GeneralReply + 5, // 30: odc.ODC.GetState:output_type -> odc.StateReply + 5, // 31: odc.ODC.Start:output_type -> odc.StateReply + 5, // 32: odc.ODC.Stop:output_type -> odc.StateReply + 5, // 33: odc.ODC.Reset:output_type -> odc.StateReply + 5, // 34: odc.ODC.Terminate:output_type -> odc.StateReply + 2, // 35: odc.ODC.Shutdown:output_type -> odc.GeneralReply + 23, // [23:36] is the sub-list for method output_type + 10, // [10:23] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_odcprotos_odc_proto_init() } +func file_odcprotos_odc_proto_init() { + if File_odcprotos_odc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_odcprotos_odc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Error); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneralReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Device); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitializeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RunRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShutdownRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Property); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigureRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_odcprotos_odc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TerminateRequest); 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_odcprotos_odc_proto_rawDesc, + NumEnums: 1, + NumMessages: 18, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_odcprotos_odc_proto_goTypes, + DependencyIndexes: file_odcprotos_odc_proto_depIdxs, + EnumInfos: file_odcprotos_odc_proto_enumTypes, + MessageInfos: file_odcprotos_odc_proto_msgTypes, + }.Build() + File_odcprotos_odc_proto = out.File + file_odcprotos_odc_proto_rawDesc = nil + file_odcprotos_odc_proto_goTypes = nil + file_odcprotos_odc_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // ODCClient is the client API for ODC service. // @@ -1194,10 +1610,10 @@ type ODCClient interface { } type oDCClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewODCClient(cc *grpc.ClientConn) ODCClient { +func NewODCClient(cc grpc.ClientConnInterface) ODCClient { return &oDCClient{cc} } @@ -1356,43 +1772,43 @@ type ODCServer interface { type UnimplementedODCServer struct { } -func (*UnimplementedODCServer) Initialize(ctx context.Context, req *InitializeRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Initialize(context.Context, *InitializeRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Initialize not implemented") } -func (*UnimplementedODCServer) Submit(ctx context.Context, req *SubmitRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Submit(context.Context, *SubmitRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Submit not implemented") } -func (*UnimplementedODCServer) Activate(ctx context.Context, req *ActivateRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Activate(context.Context, *ActivateRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented") } -func (*UnimplementedODCServer) Run(ctx context.Context, req *RunRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Run(context.Context, *RunRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Run not implemented") } -func (*UnimplementedODCServer) Update(ctx context.Context, req *UpdateRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Update(context.Context, *UpdateRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") } -func (*UnimplementedODCServer) Configure(ctx context.Context, req *ConfigureRequest) (*StateReply, error) { +func (*UnimplementedODCServer) Configure(context.Context, *ConfigureRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") } -func (*UnimplementedODCServer) SetProperties(ctx context.Context, req *SetPropertiesRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) SetProperties(context.Context, *SetPropertiesRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetProperties not implemented") } -func (*UnimplementedODCServer) GetState(ctx context.Context, req *StateRequest) (*StateReply, error) { +func (*UnimplementedODCServer) GetState(context.Context, *StateRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetState not implemented") } -func (*UnimplementedODCServer) Start(ctx context.Context, req *StartRequest) (*StateReply, error) { +func (*UnimplementedODCServer) Start(context.Context, *StartRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") } -func (*UnimplementedODCServer) Stop(ctx context.Context, req *StopRequest) (*StateReply, error) { +func (*UnimplementedODCServer) Stop(context.Context, *StopRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") } -func (*UnimplementedODCServer) Reset(ctx context.Context, req *ResetRequest) (*StateReply, error) { +func (*UnimplementedODCServer) Reset(context.Context, *ResetRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Reset not implemented") } -func (*UnimplementedODCServer) Terminate(ctx context.Context, req *TerminateRequest) (*StateReply, error) { +func (*UnimplementedODCServer) Terminate(context.Context, *TerminateRequest) (*StateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Terminate not implemented") } -func (*UnimplementedODCServer) Shutdown(ctx context.Context, req *ShutdownRequest) (*GeneralReply, error) { +func (*UnimplementedODCServer) Shutdown(context.Context, *ShutdownRequest) (*GeneralReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Shutdown not implemented") } @@ -1694,3381 +2110,3 @@ var _ODC_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "odcprotos/odc.proto", } - -func (m *Error) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Error) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Code != 0 { - i = encodeVarintOdc(dAtA, i, uint64(m.Code)) - i-- - dAtA[i] = 0x10 - } - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Msg))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GeneralReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GeneralReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GeneralReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOdc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x3a - } - if len(m.Sessionid) > 0 { - i -= len(m.Sessionid) - copy(dAtA[i:], m.Sessionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Sessionid))) - i-- - dAtA[i] = 0x32 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0x2a - } - if m.Exectime != 0 { - i = encodeVarintOdc(dAtA, i, uint64(m.Exectime)) - i-- - dAtA[i] = 0x20 - } - if m.Error != nil { - { - size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Status != 0 { - i = encodeVarintOdc(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x10 - } - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Msg))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Device) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Device) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Device) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x1a - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOdc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if m.Id != 0 { - i = encodeVarintOdc(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Detailed { - i-- - if m.Detailed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Devices) > 0 { - for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Devices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Reply != nil { - { - size, err := m.Reply.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *InitializeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *InitializeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *InitializeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Sessionid) > 0 { - i -= len(m.Sessionid) - copy(dAtA[i:], m.Sessionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Sessionid))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SubmitRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SubmitRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SubmitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ActivateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ActivateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Topology) > 0 { - i -= len(m.Topology) - copy(dAtA[i:], m.Topology) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Topology))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RunRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RunRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RunRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Topology) > 0 { - i -= len(m.Topology) - copy(dAtA[i:], m.Topology) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Topology))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Topology) > 0 { - i -= len(m.Topology) - copy(dAtA[i:], m.Topology) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Topology))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShutdownRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ShutdownRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShutdownRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Property) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Property) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Property) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetPropertiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetPropertiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetPropertiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Properties) > 0 { - for iNdEx := len(m.Properties) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Properties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x12 - } - if len(m.Partitionid) > 0 { - i -= len(m.Partitionid) - copy(dAtA[i:], m.Partitionid) - i = encodeVarintOdc(dAtA, i, uint64(len(m.Partitionid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConfigureRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfigureRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfigureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Request != nil { - { - size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StartRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StartRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Request != nil { - { - size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StopRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StopRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StopRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Request != nil { - { - size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResetRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResetRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Request != nil { - { - size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TerminateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TerminateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TerminateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Request != nil { - { - size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOdc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintOdc(dAtA []byte, offset int, v uint64) int { - offset -= sovOdc(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Error) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Msg) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.Code != 0 { - n += 1 + sovOdc(uint64(m.Code)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GeneralReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Msg) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.Status != 0 { - n += 1 + sovOdc(uint64(m.Status)) - } - if m.Error != nil { - l = m.Error.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.Exectime != 0 { - n += 1 + sovOdc(uint64(m.Exectime)) - } - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Sessionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Device) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Id != 0 { - n += 1 + sovOdc(uint64(m.Id)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Path) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Path) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.Detailed { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Reply != nil { - l = m.Reply.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if len(m.Devices) > 0 { - for _, e := range m.Devices { - l = e.Size() - n += 1 + l + sovOdc(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *InitializeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Sessionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SubmitRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ActivateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Topology) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RunRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Topology) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *UpdateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Topology) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ShutdownRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Property) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SetPropertiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Partitionid) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - l = len(m.Path) - if l > 0 { - n += 1 + l + sovOdc(uint64(l)) - } - if len(m.Properties) > 0 { - for _, e := range m.Properties { - l = e.Size() - n += 1 + l + sovOdc(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ConfigureRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Request != nil { - l = m.Request.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StartRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Request != nil { - l = m.Request.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StopRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Request != nil { - l = m.Request.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ResetRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Request != nil { - l = m.Request.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TerminateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Request != nil { - l = m.Request.Size() - n += 1 + l + sovOdc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovOdc(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozOdc(x uint64) (n int) { - return sovOdc(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Error) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Error: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Error: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Msg = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) - } - m.Code = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Code |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GeneralReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GeneralReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GeneralReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Msg = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - m.Status = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Status |= ReplyStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Error == nil { - m.Error = &Error{} - } - if err := m.Error.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Exectime", wireType) - } - m.Exectime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Exectime |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sessionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sessionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Device) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Device: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Device: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Detailed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Detailed = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reply", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Reply == nil { - m.Reply = &GeneralReply{} - } - if err := m.Reply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Devices", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Devices = append(m.Devices, &Device{}) - if err := m.Devices[len(m.Devices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *InitializeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: InitializeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InitializeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sessionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sessionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SubmitRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SubmitRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SubmitRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ActivateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ActivateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ActivateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Topology", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Topology = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RunRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RunRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RunRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Topology", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Topology = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Topology", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Topology = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShutdownRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ShutdownRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShutdownRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Property) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Property: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Property: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetPropertiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetPropertiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetPropertiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Partitionid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Partitionid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Properties = append(m.Properties, &Property{}) - if err := m.Properties[len(m.Properties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfigureRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfigureRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfigureRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Request == nil { - m.Request = &StateRequest{} - } - if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Request == nil { - m.Request = &StateRequest{} - } - if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StopRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StopRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StopRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Request == nil { - m.Request = &StateRequest{} - } - if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResetRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResetRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResetRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Request == nil { - m.Request = &StateRequest{} - } - if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TerminateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TerminateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TerminateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOdc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOdc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOdc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Request == nil { - m.Request = &StateRequest{} - } - if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOdc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOdc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipOdc(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOdc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOdc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOdc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthOdc - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupOdc - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthOdc - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthOdc = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowOdc = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupOdc = fmt.Errorf("proto: unexpected end of group") -) diff --git a/odcshim/odcprotos/odc.proto b/odcshim/odcprotos/odc.proto index b5ba78054..0a1740833 100644 --- a/odcshim/odcprotos/odc.proto +++ b/odcshim/odcprotos/odc.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package odc; +option go_package = "odcprotos;odc"; // The ODC service definition. // For details also see https://github.com/FairRootGroup/ODC#command-mapping diff --git a/odcshim/odcshim.go b/odcshim/odcshim.go index a2bcefe2b..00a8d6964 100644 --- a/odcshim/odcshim.go +++ b/odcshim/odcshim.go @@ -36,8 +36,8 @@ import ( "github.com/spf13/viper" ) -//go:generate protoc -I ../occ --gofast_out=plugins=grpc:. protos/occ.proto -//go:generate protoc -I ../odcshim --gofast_out=plugins=grpc:. odcprotos/odc.proto +//go:generate protoc -I ../occ --go_out=plugins=grpc:. protos/occ.proto +//go:generate protoc -I ../odcshim --go_out=plugins=grpc:. odcprotos/odc.proto var log = logger.New(logrus.StandardLogger(), "o2-aliecs-odc-shim") diff --git a/odcshim/protos/occ.pb.go b/odcshim/protos/occ.pb.go index a75b761a1..75d94a383 100644 --- a/odcshim/protos/occ.pb.go +++ b/odcshim/protos/occ.pb.go @@ -1,30 +1,56 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// +// === This file is part of ALICE O² === +// +// Copyright 2018 CERN and copyright holders of ALICE O². +// Author: Teo Mrnjavac +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// In applying this license CERN does not waive the privileges and +// immunities granted to it by virtue of its status as an +// Intergovernmental Organization or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.4 // source: protos/occ.proto package pb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type StateChangeTrigger int32 @@ -34,24 +60,45 @@ const ( StateChangeTrigger_DEVICE_ERROR StateChangeTrigger = 2 ) -var StateChangeTrigger_name = map[int32]string{ - 0: "EXECUTOR", - 1: "DEVICE_INTENTIONAL", - 2: "DEVICE_ERROR", -} +// Enum value maps for StateChangeTrigger. +var ( + StateChangeTrigger_name = map[int32]string{ + 0: "EXECUTOR", + 1: "DEVICE_INTENTIONAL", + 2: "DEVICE_ERROR", + } + StateChangeTrigger_value = map[string]int32{ + "EXECUTOR": 0, + "DEVICE_INTENTIONAL": 1, + "DEVICE_ERROR": 2, + } +) -var StateChangeTrigger_value = map[string]int32{ - "EXECUTOR": 0, - "DEVICE_INTENTIONAL": 1, - "DEVICE_ERROR": 2, +func (x StateChangeTrigger) Enum() *StateChangeTrigger { + p := new(StateChangeTrigger) + *p = x + return p } func (x StateChangeTrigger) String() string { - return proto.EnumName(StateChangeTrigger_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StateChangeTrigger) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[0].Descriptor() +} + +func (StateChangeTrigger) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[0] +} + +func (x StateChangeTrigger) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use StateChangeTrigger.Descriptor instead. func (StateChangeTrigger) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{0} + return file_protos_occ_proto_rawDescGZIP(), []int{0} } type StateType int32 @@ -61,22 +108,43 @@ const ( StateType_STATE_INTERMEDIATE StateType = 1 ) -var StateType_name = map[int32]string{ - 0: "STATE_STABLE", - 1: "STATE_INTERMEDIATE", -} +// Enum value maps for StateType. +var ( + StateType_name = map[int32]string{ + 0: "STATE_STABLE", + 1: "STATE_INTERMEDIATE", + } + StateType_value = map[string]int32{ + "STATE_STABLE": 0, + "STATE_INTERMEDIATE": 1, + } +) -var StateType_value = map[string]int32{ - "STATE_STABLE": 0, - "STATE_INTERMEDIATE": 1, +func (x StateType) Enum() *StateType { + p := new(StateType) + *p = x + return p } func (x StateType) String() string { - return proto.EnumName(StateType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StateType) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[1].Descriptor() +} + +func (StateType) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[1] +} + +func (x StateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use StateType.Descriptor instead. func (StateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{1} + return file_protos_occ_proto_rawDescGZIP(), []int{1} } type DeviceEventType int32 @@ -87,605 +155,843 @@ const ( DeviceEventType_BASIC_TASK_TERMINATED DeviceEventType = 2 ) -var DeviceEventType_name = map[int32]string{ - 0: "NULL_DEVICE_EVENT", - 1: "END_OF_STREAM", - 2: "BASIC_TASK_TERMINATED", -} +// Enum value maps for DeviceEventType. +var ( + DeviceEventType_name = map[int32]string{ + 0: "NULL_DEVICE_EVENT", + 1: "END_OF_STREAM", + 2: "BASIC_TASK_TERMINATED", + } + DeviceEventType_value = map[string]int32{ + "NULL_DEVICE_EVENT": 0, + "END_OF_STREAM": 1, + "BASIC_TASK_TERMINATED": 2, + } +) -var DeviceEventType_value = map[string]int32{ - "NULL_DEVICE_EVENT": 0, - "END_OF_STREAM": 1, - "BASIC_TASK_TERMINATED": 2, +func (x DeviceEventType) Enum() *DeviceEventType { + p := new(DeviceEventType) + *p = x + return p } func (x DeviceEventType) String() string { - return proto.EnumName(DeviceEventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DeviceEventType) Descriptor() protoreflect.EnumDescriptor { + return file_protos_occ_proto_enumTypes[2].Descriptor() +} + +func (DeviceEventType) Type() protoreflect.EnumType { + return &file_protos_occ_proto_enumTypes[2] +} + +func (x DeviceEventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use DeviceEventType.Descriptor instead. func (DeviceEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{2} + return file_protos_occ_proto_rawDescGZIP(), []int{2} } type StateStreamRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StateStreamRequest) Reset() { *m = StateStreamRequest{} } -func (m *StateStreamRequest) String() string { return proto.CompactTextString(m) } -func (*StateStreamRequest) ProtoMessage() {} -func (*StateStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{0} -} -func (m *StateStreamRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateStreamRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateStreamRequest) Reset() { + *x = StateStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateStreamRequest.Merge(m, src) -} -func (m *StateStreamRequest) XXX_Size() int { - return m.Size() + +func (x *StateStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateStreamRequest.DiscardUnknown(m) + +func (*StateStreamRequest) ProtoMessage() {} + +func (x *StateStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_StateStreamRequest proto.InternalMessageInfo +// Deprecated: Use StateStreamRequest.ProtoReflect.Descriptor instead. +func (*StateStreamRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{0} +} type StateStreamReply struct { - Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.StateType" json:"type,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.StateType" json:"type,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } -func (m *StateStreamReply) Reset() { *m = StateStreamReply{} } -func (m *StateStreamReply) String() string { return proto.CompactTextString(m) } -func (*StateStreamReply) ProtoMessage() {} -func (*StateStreamReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{1} -} -func (m *StateStreamReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateStreamReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateStreamReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateStreamReply) Reset() { + *x = StateStreamReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateStreamReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateStreamReply.Merge(m, src) -} -func (m *StateStreamReply) XXX_Size() int { - return m.Size() + +func (x *StateStreamReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateStreamReply) XXX_DiscardUnknown() { - xxx_messageInfo_StateStreamReply.DiscardUnknown(m) + +func (*StateStreamReply) ProtoMessage() {} + +func (x *StateStreamReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_StateStreamReply proto.InternalMessageInfo +// Deprecated: Use StateStreamReply.ProtoReflect.Descriptor instead. +func (*StateStreamReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{1} +} -func (m *StateStreamReply) GetType() StateType { - if m != nil { - return m.Type +func (x *StateStreamReply) GetType() StateType { + if x != nil { + return x.Type } return StateType_STATE_STABLE } -func (m *StateStreamReply) GetState() string { - if m != nil { - return m.State +func (x *StateStreamReply) GetState() string { + if x != nil { + return x.State } return "" } type EventStreamRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *EventStreamRequest) Reset() { *m = EventStreamRequest{} } -func (m *EventStreamRequest) String() string { return proto.CompactTextString(m) } -func (*EventStreamRequest) ProtoMessage() {} -func (*EventStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{2} -} -func (m *EventStreamRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EventStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EventStreamRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EventStreamRequest) Reset() { + *x = EventStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EventStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventStreamRequest.Merge(m, src) -} -func (m *EventStreamRequest) XXX_Size() int { - return m.Size() + +func (x *EventStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EventStreamRequest.DiscardUnknown(m) + +func (*EventStreamRequest) ProtoMessage() {} + +func (x *EventStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_EventStreamRequest proto.InternalMessageInfo +// Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead. +func (*EventStreamRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{2} +} type DeviceEvent struct { - Type DeviceEventType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.DeviceEventType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type DeviceEventType `protobuf:"varint,1,opt,name=type,proto3,enum=occ_pb.DeviceEventType" json:"type,omitempty"` } -func (m *DeviceEvent) Reset() { *m = DeviceEvent{} } -func (m *DeviceEvent) String() string { return proto.CompactTextString(m) } -func (*DeviceEvent) ProtoMessage() {} -func (*DeviceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{3} -} -func (m *DeviceEvent) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeviceEvent) Reset() { + *x = DeviceEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeviceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceEvent.Merge(m, src) -} -func (m *DeviceEvent) XXX_Size() int { - return m.Size() + +func (x *DeviceEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeviceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceEvent.DiscardUnknown(m) + +func (*DeviceEvent) ProtoMessage() {} + +func (x *DeviceEvent) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo +// Deprecated: Use DeviceEvent.ProtoReflect.Descriptor instead. +func (*DeviceEvent) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{3} +} -func (m *DeviceEvent) GetType() DeviceEventType { - if m != nil { - return m.Type +func (x *DeviceEvent) GetType() DeviceEventType { + if x != nil { + return x.Type } return DeviceEventType_NULL_DEVICE_EVENT } type EventStreamReply struct { - Event *DeviceEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event *DeviceEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } -func (m *EventStreamReply) Reset() { *m = EventStreamReply{} } -func (m *EventStreamReply) String() string { return proto.CompactTextString(m) } -func (*EventStreamReply) ProtoMessage() {} -func (*EventStreamReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{4} -} -func (m *EventStreamReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EventStreamReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EventStreamReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EventStreamReply) Reset() { + *x = EventStreamReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EventStreamReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventStreamReply.Merge(m, src) -} -func (m *EventStreamReply) XXX_Size() int { - return m.Size() + +func (x *EventStreamReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventStreamReply) XXX_DiscardUnknown() { - xxx_messageInfo_EventStreamReply.DiscardUnknown(m) + +func (*EventStreamReply) ProtoMessage() {} + +func (x *EventStreamReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_EventStreamReply proto.InternalMessageInfo +// Deprecated: Use EventStreamReply.ProtoReflect.Descriptor instead. +func (*EventStreamReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{4} +} -func (m *EventStreamReply) GetEvent() *DeviceEvent { - if m != nil { - return m.Event +func (x *EventStreamReply) GetEvent() *DeviceEvent { + if x != nil { + return x.Event } return nil } type GetStateRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetStateRequest) Reset() { *m = GetStateRequest{} } -func (m *GetStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetStateRequest) ProtoMessage() {} -func (*GetStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{5} -} -func (m *GetStateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetStateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetStateRequest) Reset() { + *x = GetStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStateRequest.Merge(m, src) -} -func (m *GetStateRequest) XXX_Size() int { - return m.Size() + +func (x *GetStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetStateRequest.DiscardUnknown(m) + +func (*GetStateRequest) ProtoMessage() {} + +func (x *GetStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_GetStateRequest proto.InternalMessageInfo +// Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead. +func (*GetStateRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{5} +} type GetStateReply struct { - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` } -func (m *GetStateReply) Reset() { *m = GetStateReply{} } -func (m *GetStateReply) String() string { return proto.CompactTextString(m) } -func (*GetStateReply) ProtoMessage() {} -func (*GetStateReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{6} -} -func (m *GetStateReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetStateReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetStateReply) Reset() { + *x = GetStateReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetStateReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStateReply.Merge(m, src) -} -func (m *GetStateReply) XXX_Size() int { - return m.Size() + +func (x *GetStateReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStateReply) XXX_DiscardUnknown() { - xxx_messageInfo_GetStateReply.DiscardUnknown(m) + +func (*GetStateReply) ProtoMessage() {} + +func (x *GetStateReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_GetStateReply proto.InternalMessageInfo +// Deprecated: Use GetStateReply.ProtoReflect.Descriptor instead. +func (*GetStateReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{6} +} -func (m *GetStateReply) GetState() string { - if m != nil { - return m.State +func (x *GetStateReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *GetStateReply) GetPid() int32 { - if m != nil { - return m.Pid +func (x *GetStateReply) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } type ConfigEntry struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ConfigEntry) Reset() { *m = ConfigEntry{} } -func (m *ConfigEntry) String() string { return proto.CompactTextString(m) } -func (*ConfigEntry) ProtoMessage() {} -func (*ConfigEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{7} -} -func (m *ConfigEntry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfigEntry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ConfigEntry) Reset() { + *x = ConfigEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ConfigEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigEntry.Merge(m, src) -} -func (m *ConfigEntry) XXX_Size() int { - return m.Size() + +func (x *ConfigEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfigEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigEntry.DiscardUnknown(m) + +func (*ConfigEntry) ProtoMessage() {} + +func (x *ConfigEntry) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_ConfigEntry proto.InternalMessageInfo +// Deprecated: Use ConfigEntry.ProtoReflect.Descriptor instead. +func (*ConfigEntry) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{7} +} -func (m *ConfigEntry) GetKey() string { - if m != nil { - return m.Key +func (x *ConfigEntry) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *ConfigEntry) GetValue() string { - if m != nil { - return m.Value +func (x *ConfigEntry) GetValue() string { + if x != nil { + return x.Value } return "" } type TransitionRequest struct { - SrcState string `protobuf:"bytes,1,opt,name=srcState,proto3" json:"srcState,omitempty"` - TransitionEvent string `protobuf:"bytes,2,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` - Arguments []*ConfigEntry `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrcState string `protobuf:"bytes,1,opt,name=srcState,proto3" json:"srcState,omitempty"` + TransitionEvent string `protobuf:"bytes,2,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` + Arguments []*ConfigEntry `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` } -func (m *TransitionRequest) Reset() { *m = TransitionRequest{} } -func (m *TransitionRequest) String() string { return proto.CompactTextString(m) } -func (*TransitionRequest) ProtoMessage() {} -func (*TransitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{8} -} -func (m *TransitionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TransitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TransitionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *TransitionRequest) Reset() { + *x = TransitionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *TransitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransitionRequest.Merge(m, src) -} -func (m *TransitionRequest) XXX_Size() int { - return m.Size() + +func (x *TransitionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TransitionRequest.DiscardUnknown(m) + +func (*TransitionRequest) ProtoMessage() {} + +func (x *TransitionRequest) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_TransitionRequest proto.InternalMessageInfo +// Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead. +func (*TransitionRequest) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{8} +} -func (m *TransitionRequest) GetSrcState() string { - if m != nil { - return m.SrcState +func (x *TransitionRequest) GetSrcState() string { + if x != nil { + return x.SrcState } return "" } -func (m *TransitionRequest) GetTransitionEvent() string { - if m != nil { - return m.TransitionEvent +func (x *TransitionRequest) GetTransitionEvent() string { + if x != nil { + return x.TransitionEvent } return "" } -func (m *TransitionRequest) GetArguments() []*ConfigEntry { - if m != nil { - return m.Arguments +func (x *TransitionRequest) GetArguments() []*ConfigEntry { + if x != nil { + return x.Arguments } return nil } type TransitionReply struct { - Trigger StateChangeTrigger `protobuf:"varint,1,opt,name=trigger,proto3,enum=occ_pb.StateChangeTrigger" json:"trigger,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - TransitionEvent string `protobuf:"bytes,3,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` - Ok bool `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransitionReply) Reset() { *m = TransitionReply{} } -func (m *TransitionReply) String() string { return proto.CompactTextString(m) } -func (*TransitionReply) ProtoMessage() {} -func (*TransitionReply) Descriptor() ([]byte, []int) { - return fileDescriptor_17fd8faceeeb3e6c, []int{9} -} -func (m *TransitionReply) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TransitionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_TransitionReply.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trigger StateChangeTrigger `protobuf:"varint,1,opt,name=trigger,proto3,enum=occ_pb.StateChangeTrigger" json:"trigger,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + TransitionEvent string `protobuf:"bytes,3,opt,name=transitionEvent,proto3" json:"transitionEvent,omitempty"` + Ok bool `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"` } -func (m *TransitionReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransitionReply.Merge(m, src) + +func (x *TransitionReply) Reset() { + *x = TransitionReply{} + if protoimpl.UnsafeEnabled { + mi := &file_protos_occ_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TransitionReply) XXX_Size() int { - return m.Size() + +func (x *TransitionReply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransitionReply) XXX_DiscardUnknown() { - xxx_messageInfo_TransitionReply.DiscardUnknown(m) + +func (*TransitionReply) ProtoMessage() {} + +func (x *TransitionReply) ProtoReflect() protoreflect.Message { + mi := &file_protos_occ_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) } -var xxx_messageInfo_TransitionReply proto.InternalMessageInfo +// Deprecated: Use TransitionReply.ProtoReflect.Descriptor instead. +func (*TransitionReply) Descriptor() ([]byte, []int) { + return file_protos_occ_proto_rawDescGZIP(), []int{9} +} -func (m *TransitionReply) GetTrigger() StateChangeTrigger { - if m != nil { - return m.Trigger +func (x *TransitionReply) GetTrigger() StateChangeTrigger { + if x != nil { + return x.Trigger } return StateChangeTrigger_EXECUTOR } -func (m *TransitionReply) GetState() string { - if m != nil { - return m.State +func (x *TransitionReply) GetState() string { + if x != nil { + return x.State } return "" } -func (m *TransitionReply) GetTransitionEvent() string { - if m != nil { - return m.TransitionEvent +func (x *TransitionReply) GetTransitionEvent() string { + if x != nil { + return x.TransitionEvent } return "" } -func (m *TransitionReply) GetOk() bool { - if m != nil { - return m.Ok +func (x *TransitionReply) GetOk() bool { + if x != nil { + return x.Ok } return false } -func init() { - proto.RegisterEnum("occ_pb.StateChangeTrigger", StateChangeTrigger_name, StateChangeTrigger_value) - proto.RegisterEnum("occ_pb.StateType", StateType_name, StateType_value) - proto.RegisterEnum("occ_pb.DeviceEventType", DeviceEventType_name, DeviceEventType_value) - proto.RegisterType((*StateStreamRequest)(nil), "occ_pb.StateStreamRequest") - proto.RegisterType((*StateStreamReply)(nil), "occ_pb.StateStreamReply") - proto.RegisterType((*EventStreamRequest)(nil), "occ_pb.EventStreamRequest") - proto.RegisterType((*DeviceEvent)(nil), "occ_pb.DeviceEvent") - proto.RegisterType((*EventStreamReply)(nil), "occ_pb.EventStreamReply") - proto.RegisterType((*GetStateRequest)(nil), "occ_pb.GetStateRequest") - proto.RegisterType((*GetStateReply)(nil), "occ_pb.GetStateReply") - proto.RegisterType((*ConfigEntry)(nil), "occ_pb.ConfigEntry") - proto.RegisterType((*TransitionRequest)(nil), "occ_pb.TransitionRequest") - proto.RegisterType((*TransitionReply)(nil), "occ_pb.TransitionReply") -} - -func init() { proto.RegisterFile("protos/occ.proto", fileDescriptor_17fd8faceeeb3e6c) } - -var fileDescriptor_17fd8faceeeb3e6c = []byte{ - // 637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xd1, 0x6e, 0xda, 0x4a, - 0x10, 0x65, 0x4d, 0x92, 0x4b, 0x86, 0x24, 0x98, 0xbd, 0xc9, 0x0d, 0x41, 0x57, 0x08, 0x59, 0xba, - 0x12, 0x37, 0x95, 0xdc, 0x96, 0x36, 0xaa, 0x54, 0xb5, 0x0f, 0x06, 0xb6, 0x11, 0x2a, 0x31, 0xd2, - 0x7a, 0x13, 0x55, 0x7d, 0xb1, 0x1c, 0x77, 0x4b, 0xac, 0x10, 0xdb, 0x35, 0x9b, 0x48, 0xfc, 0x43, - 0xdf, 0xdb, 0xfe, 0x51, 0x1f, 0xfb, 0x09, 0x55, 0xfa, 0x23, 0xd5, 0x2e, 0x60, 0x6c, 0x42, 0xdf, - 0xbc, 0x33, 0x67, 0xcf, 0x39, 0x33, 0x3b, 0x63, 0xd0, 0xe3, 0x24, 0x12, 0xd1, 0xe4, 0x71, 0xe4, - 0xfb, 0xa6, 0xfa, 0xc4, 0x5b, 0x91, 0xef, 0xbb, 0xf1, 0xa5, 0xb1, 0x0f, 0xd8, 0x11, 0x9e, 0xe0, - 0x8e, 0x48, 0xb8, 0x77, 0x43, 0xf9, 0xa7, 0x5b, 0x3e, 0x11, 0xc6, 0x10, 0xf4, 0x5c, 0x34, 0x1e, - 0x4f, 0xf1, 0x7f, 0xb0, 0x21, 0xa6, 0x31, 0xaf, 0xa1, 0x26, 0x6a, 0xed, 0xb5, 0xab, 0xe6, 0x8c, - 0xc0, 0x54, 0x38, 0x36, 0x8d, 0x39, 0x55, 0x69, 0xbc, 0x0f, 0x9b, 0x13, 0x19, 0xaa, 0x69, 0x4d, - 0xd4, 0xda, 0xa6, 0xb3, 0x83, 0x94, 0x21, 0x77, 0x3c, 0x14, 0x79, 0x99, 0x97, 0x50, 0xee, 0xf1, - 0xbb, 0xc0, 0xe7, 0x2a, 0x87, 0x1f, 0xe5, 0x14, 0x0e, 0x17, 0x0a, 0x19, 0xc8, 0x52, 0xc7, 0x78, - 0x0d, 0x7a, 0x8e, 0x51, 0x5a, 0xfc, 0x1f, 0x36, 0xb9, 0x8c, 0x29, 0x86, 0x72, 0xfb, 0xef, 0x35, - 0x0c, 0x74, 0x86, 0x30, 0xaa, 0x50, 0x39, 0xe5, 0x42, 0x99, 0x5f, 0xb8, 0x79, 0x01, 0xbb, 0xcb, - 0x90, 0xa4, 0x4b, 0x4b, 0x41, 0x99, 0x52, 0xb0, 0x0e, 0xc5, 0x38, 0xf8, 0xa0, 0xca, 0xdb, 0xa4, - 0xf2, 0xd3, 0x38, 0x81, 0x72, 0x37, 0x0a, 0x3f, 0x06, 0x23, 0x12, 0x8a, 0x64, 0x2a, 0x01, 0xd7, - 0x7c, 0x3a, 0xbf, 0x24, 0x3f, 0x25, 0xd1, 0x9d, 0x37, 0xbe, 0x4d, 0x7b, 0xa2, 0x0e, 0xc6, 0x67, - 0x04, 0x55, 0x96, 0x78, 0xe1, 0x24, 0x10, 0x41, 0x14, 0xce, 0x5d, 0xe0, 0x3a, 0x94, 0x26, 0x89, - 0xef, 0x64, 0x74, 0xd3, 0x33, 0x6e, 0x41, 0x45, 0xa4, 0x17, 0x54, 0x39, 0x73, 0xc6, 0xd5, 0x30, - 0x7e, 0x0a, 0xdb, 0x5e, 0x32, 0xba, 0xbd, 0xe1, 0xa1, 0x98, 0xd4, 0x8a, 0xcd, 0x62, 0xb6, 0x1b, - 0x19, 0xaf, 0x74, 0x89, 0x32, 0xbe, 0x20, 0xa8, 0x64, 0xed, 0xc8, 0x0e, 0x3c, 0x87, 0xbf, 0x44, - 0x12, 0x8c, 0x46, 0x3c, 0x99, 0x3f, 0x4a, 0x3d, 0xf7, 0xec, 0xdd, 0x2b, 0x2f, 0x1c, 0x71, 0x36, - 0x43, 0xd0, 0x05, 0x74, 0xfd, 0x08, 0xac, 0x33, 0x5f, 0x5c, 0x6f, 0x7e, 0x0f, 0xb4, 0xe8, 0xba, - 0xb6, 0xd1, 0x44, 0xad, 0x12, 0xd5, 0xa2, 0xeb, 0xe3, 0xc1, 0x7c, 0x46, 0x73, 0x72, 0x78, 0x07, - 0x4a, 0xe4, 0x1d, 0xe9, 0x9e, 0xb3, 0x21, 0xd5, 0x0b, 0xf8, 0x1f, 0xc0, 0x3d, 0x72, 0xd1, 0xef, - 0x12, 0xb7, 0x6f, 0x33, 0x62, 0xb3, 0xfe, 0xd0, 0xb6, 0x06, 0x3a, 0xc2, 0x3a, 0xec, 0xcc, 0xe3, - 0x84, 0xd2, 0x21, 0xd5, 0xb5, 0xe3, 0x13, 0xd8, 0x4e, 0x67, 0x56, 0xa6, 0x1d, 0x66, 0x31, 0xe2, - 0x3a, 0xcc, 0xea, 0x0c, 0xc8, 0x8c, 0x68, 0x16, 0x91, 0x3c, 0xf4, 0x8c, 0xf4, 0xfa, 0x16, 0x23, - 0x3a, 0x3a, 0xbe, 0x80, 0xca, 0xca, 0x20, 0xe2, 0x03, 0xa8, 0xda, 0xe7, 0x83, 0x81, 0xbb, 0x10, - 0xb8, 0x20, 0x36, 0xd3, 0x0b, 0xb8, 0x0a, 0xbb, 0xc4, 0xee, 0xb9, 0xc3, 0x37, 0xae, 0xc3, 0x28, - 0xb1, 0xce, 0x74, 0x84, 0x8f, 0xe0, 0xa0, 0x63, 0x39, 0xfd, 0xae, 0xcb, 0x2c, 0xe7, 0xad, 0x2b, - 0x79, 0xfb, 0xb6, 0xc5, 0x48, 0x4f, 0xd7, 0xda, 0xdf, 0x34, 0x28, 0x0e, 0x7d, 0x1f, 0x9f, 0x42, - 0x39, 0x33, 0xcf, 0x38, 0x6d, 0xf4, 0xc3, 0xb5, 0xa9, 0xd7, 0xd6, 0xe6, 0xe2, 0xf1, 0xd4, 0x28, - 0x3c, 0x41, 0x92, 0x28, 0xb3, 0xbb, 0x38, 0xff, 0x62, 0x7f, 0x20, 0x5a, 0x5d, 0x76, 0x45, 0xf4, - 0x0a, 0x4a, 0x8b, 0x7d, 0xc0, 0xe9, 0x32, 0xae, 0x2c, 0x4d, 0xfd, 0xe0, 0x61, 0x42, 0xdd, 0xc7, - 0x1d, 0x80, 0xe5, 0x34, 0xe1, 0xa3, 0x05, 0xec, 0xc1, 0xc0, 0xd7, 0x0f, 0xd7, 0xa5, 0x14, 0x47, - 0xa7, 0xfd, 0xfd, 0xbe, 0x81, 0x7e, 0xdc, 0x37, 0xd0, 0xcf, 0xfb, 0x06, 0xfa, 0xfa, 0xab, 0x51, - 0x80, 0x7f, 0xfd, 0x2b, 0xd3, 0xe7, 0x49, 0x68, 0x7a, 0xe3, 0xc0, 0xe7, 0x66, 0xd4, 0x36, 0xfd, - 0x28, 0x14, 0x49, 0x34, 0x96, 0x24, 0xef, 0xb5, 0xf8, 0xf2, 0x72, 0x4b, 0xfd, 0xdf, 0x9e, 0xfd, - 0x0e, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x94, 0x47, 0x22, 0xf3, 0x04, 0x00, 0x00, +var File_protos_occ_proto protoreflect.FileDescriptor + +var file_protos_occ_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x63, 0x63, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x06, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x4f, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x14, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3a, 0x0a, 0x0b, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x35, + 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x72, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x72, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x31, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6f, 0x63, 0x63, 0x5f, + 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x2a, 0x4c, + 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, + 0x56, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x09, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, + 0x45, 0x10, 0x01, 0x2a, 0x56, 0x0a, 0x0f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x44, + 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, + 0x0d, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x42, 0x41, 0x53, 0x49, 0x43, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54, + 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x32, 0x99, 0x02, 0x0a, 0x03, + 0x4f, 0x63, 0x63, 0x12, 0x47, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x12, 0x1a, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, + 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x0b, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1a, 0x2e, 0x6f, 0x63, + 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3c, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x17, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6f, 0x63, 0x63, + 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x19, 0x2e, 0x6f, 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6f, + 0x63, 0x63, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x29, 0x0a, 0x1c, 0x63, 0x68, 0x2e, 0x63, 0x65, + 0x72, 0x6e, 0x2e, 0x61, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x6f, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x6f, 0x63, 0x63, 0x5a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x3b, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_protos_occ_proto_rawDescOnce sync.Once + file_protos_occ_proto_rawDescData = file_protos_occ_proto_rawDesc +) + +func file_protos_occ_proto_rawDescGZIP() []byte { + file_protos_occ_proto_rawDescOnce.Do(func() { + file_protos_occ_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_occ_proto_rawDescData) + }) + return file_protos_occ_proto_rawDescData +} + +var file_protos_occ_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_protos_occ_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_protos_occ_proto_goTypes = []interface{}{ + (StateChangeTrigger)(0), // 0: occ_pb.StateChangeTrigger + (StateType)(0), // 1: occ_pb.StateType + (DeviceEventType)(0), // 2: occ_pb.DeviceEventType + (*StateStreamRequest)(nil), // 3: occ_pb.StateStreamRequest + (*StateStreamReply)(nil), // 4: occ_pb.StateStreamReply + (*EventStreamRequest)(nil), // 5: occ_pb.EventStreamRequest + (*DeviceEvent)(nil), // 6: occ_pb.DeviceEvent + (*EventStreamReply)(nil), // 7: occ_pb.EventStreamReply + (*GetStateRequest)(nil), // 8: occ_pb.GetStateRequest + (*GetStateReply)(nil), // 9: occ_pb.GetStateReply + (*ConfigEntry)(nil), // 10: occ_pb.ConfigEntry + (*TransitionRequest)(nil), // 11: occ_pb.TransitionRequest + (*TransitionReply)(nil), // 12: occ_pb.TransitionReply +} +var file_protos_occ_proto_depIdxs = []int32{ + 1, // 0: occ_pb.StateStreamReply.type:type_name -> occ_pb.StateType + 2, // 1: occ_pb.DeviceEvent.type:type_name -> occ_pb.DeviceEventType + 6, // 2: occ_pb.EventStreamReply.event:type_name -> occ_pb.DeviceEvent + 10, // 3: occ_pb.TransitionRequest.arguments:type_name -> occ_pb.ConfigEntry + 0, // 4: occ_pb.TransitionReply.trigger:type_name -> occ_pb.StateChangeTrigger + 5, // 5: occ_pb.Occ.EventStream:input_type -> occ_pb.EventStreamRequest + 3, // 6: occ_pb.Occ.StateStream:input_type -> occ_pb.StateStreamRequest + 8, // 7: occ_pb.Occ.GetState:input_type -> occ_pb.GetStateRequest + 11, // 8: occ_pb.Occ.Transition:input_type -> occ_pb.TransitionRequest + 7, // 9: occ_pb.Occ.EventStream:output_type -> occ_pb.EventStreamReply + 4, // 10: occ_pb.Occ.StateStream:output_type -> occ_pb.StateStreamReply + 9, // 11: occ_pb.Occ.GetState:output_type -> occ_pb.GetStateReply + 12, // 12: occ_pb.Occ.Transition:output_type -> occ_pb.TransitionReply + 9, // [9:13] is the sub-list for method output_type + 5, // [5:9] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_protos_occ_proto_init() } +func file_protos_occ_proto_init() { + if File_protos_occ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protos_occ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateStreamReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStateReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransitionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protos_occ_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransitionReply); 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_protos_occ_proto_rawDesc, + NumEnums: 3, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_protos_occ_proto_goTypes, + DependencyIndexes: file_protos_occ_proto_depIdxs, + EnumInfos: file_protos_occ_proto_enumTypes, + MessageInfos: file_protos_occ_proto_msgTypes, + }.Build() + File_protos_occ_proto = out.File + file_protos_occ_proto_rawDesc = nil + file_protos_occ_proto_goTypes = nil + file_protos_occ_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // OccClient is the client API for Occ service. // @@ -700,10 +1006,10 @@ type OccClient interface { } type occClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewOccClient(cc *grpc.ClientConn) OccClient { +func NewOccClient(cc grpc.ClientConnInterface) OccClient { return &occClient{cc} } @@ -803,16 +1109,16 @@ type OccServer interface { type UnimplementedOccServer struct { } -func (*UnimplementedOccServer) EventStream(req *EventStreamRequest, srv Occ_EventStreamServer) error { +func (*UnimplementedOccServer) EventStream(*EventStreamRequest, Occ_EventStreamServer) error { return status.Errorf(codes.Unimplemented, "method EventStream not implemented") } -func (*UnimplementedOccServer) StateStream(req *StateStreamRequest, srv Occ_StateStreamServer) error { +func (*UnimplementedOccServer) StateStream(*StateStreamRequest, Occ_StateStreamServer) error { return status.Errorf(codes.Unimplemented, "method StateStream not implemented") } -func (*UnimplementedOccServer) GetState(ctx context.Context, req *GetStateRequest) (*GetStateReply, error) { +func (*UnimplementedOccServer) GetState(context.Context, *GetStateRequest) (*GetStateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetState not implemented") } -func (*UnimplementedOccServer) Transition(ctx context.Context, req *TransitionRequest) (*TransitionReply, error) { +func (*UnimplementedOccServer) Transition(context.Context, *TransitionRequest) (*TransitionReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Transition not implemented") } @@ -925,1626 +1231,3 @@ var _Occ_serviceDesc = grpc.ServiceDesc{ }, Metadata: "protos/occ.proto", } - -func (m *StateStreamRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateStreamRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *StateStreamReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateStreamReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateStreamReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *EventStreamRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EventStreamRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EventStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *DeviceEvent) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeviceEvent) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeviceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Type != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *EventStreamReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EventStreamReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EventStreamReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Event != nil { - { - size, err := m.Event.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOcc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetStateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetStateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - return len(dAtA) - i, nil -} - -func (m *GetStateReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetStateReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetStateReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Pid != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Pid)) - i-- - dAtA[i] = 0x10 - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConfigEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfigEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintOcc(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintOcc(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TransitionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TransitionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TransitionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Arguments) > 0 { - for iNdEx := len(m.Arguments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Arguments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintOcc(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.TransitionEvent) > 0 { - i -= len(m.TransitionEvent) - copy(dAtA[i:], m.TransitionEvent) - i = encodeVarintOcc(dAtA, i, uint64(len(m.TransitionEvent))) - i-- - dAtA[i] = 0x12 - } - if len(m.SrcState) > 0 { - i -= len(m.SrcState) - copy(dAtA[i:], m.SrcState) - i = encodeVarintOcc(dAtA, i, uint64(len(m.SrcState))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TransitionReply) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *TransitionReply) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TransitionReply) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Ok { - i-- - if m.Ok { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.TransitionEvent) > 0 { - i -= len(m.TransitionEvent) - copy(dAtA[i:], m.TransitionEvent) - i = encodeVarintOcc(dAtA, i, uint64(len(m.TransitionEvent))) - i-- - dAtA[i] = 0x1a - } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintOcc(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x12 - } - if m.Trigger != 0 { - i = encodeVarintOcc(dAtA, i, uint64(m.Trigger)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintOcc(dAtA []byte, offset int, v uint64) int { - offset -= sovOcc(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *StateStreamRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateStreamReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovOcc(uint64(m.Type)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EventStreamRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DeviceEvent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovOcc(uint64(m.Type)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *EventStreamReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Event != nil { - l = m.Event.Size() - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetStateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetStateReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.Pid != 0 { - n += 1 + sovOcc(uint64(m.Pid)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ConfigEntry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TransitionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SrcState) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.TransitionEvent) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if len(m.Arguments) > 0 { - for _, e := range m.Arguments { - l = e.Size() - n += 1 + l + sovOcc(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *TransitionReply) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Trigger != 0 { - n += 1 + sovOcc(uint64(m.Trigger)) - } - l = len(m.State) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - l = len(m.TransitionEvent) - if l > 0 { - n += 1 + l + sovOcc(uint64(l)) - } - if m.Ok { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovOcc(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozOcc(x uint64) (n int) { - return sovOcc(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *StateStreamRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateStreamRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateStreamReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateStreamReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateStreamReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= StateType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventStreamRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventStreamRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeviceEvent) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeviceEvent: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeviceEvent: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= DeviceEventType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventStreamReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventStreamReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventStreamReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Event == nil { - m.Event = &DeviceEvent{} - } - if err := m.Event.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetStateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetStateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetStateReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetStateReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetStateReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType) - } - m.Pid = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Pid |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfigEntry) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfigEntry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfigEntry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TransitionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TransitionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransitionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrcState", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SrcState = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransitionEvent", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransitionEvent = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Arguments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Arguments = append(m.Arguments, &ConfigEntry{}) - if err := m.Arguments[len(m.Arguments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TransitionReply) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TransitionReply: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransitionReply: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Trigger", wireType) - } - m.Trigger = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Trigger |= StateChangeTrigger(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransitionEvent", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthOcc - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthOcc - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TransitionEvent = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ok", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowOcc - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Ok = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipOcc(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthOcc - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipOcc(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowOcc - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthOcc - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupOcc - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthOcc - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthOcc = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowOcc = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupOcc = fmt.Errorf("proto: unexpected end of group") -)